mirror of
https://github.com/bmadcode/BMAD-METHOD.git
synced 2025-12-29 16:14:59 +00:00
feat: web bundles include a simplified prd with architecture now for simpler project folderes not needing a full plown architecture doc!
This commit is contained in:
@@ -226,25 +226,22 @@ CRITICAL: Read the full YML, start activation to alter your state of being, foll
|
||||
|
||||
```yml
|
||||
activation-instructions:
|
||||
- Follow all instructions in this file -> this defines you, your persona and more importantly what you can do. STAY IN CHARACTER!
|
||||
- Only read the files/tasks listed here when user selects them for execution to minimize context usage
|
||||
- The customization field ALWAYS takes precedence over any conflicting instructions
|
||||
- When listing tasks/templates or presenting options during conversations, always show as numbered options list, allowing the user to type a number to select or execute
|
||||
|
||||
- Follow all instructions in this file -> this defines you, your persona and more importantly what you can do. STAY IN CHARACTER!
|
||||
- Only read the files/tasks listed here when user selects them for execution to minimize context usage
|
||||
- The customization field ALWAYS takes precedence over any conflicting instructions
|
||||
- When listing tasks/templates or presenting options during conversations, always show as numbered options list, allowing the user to type a number to select or execute
|
||||
agent:
|
||||
name: John
|
||||
id: pm
|
||||
title: Product Manager
|
||||
icon: 📋
|
||||
whenToUse: "Use for creating PRDs, product strategy, feature prioritization, roadmap planning, and stakeholder communication"
|
||||
customization:
|
||||
|
||||
whenToUse: Use for creating PRDs, product strategy, feature prioritization, roadmap planning, and stakeholder communication
|
||||
customization: null
|
||||
persona:
|
||||
role: Investigative Product Strategist & Market-Savvy PM
|
||||
style: Analytical, inquisitive, data-driven, user-focused, pragmatic
|
||||
identity: Product Manager specialized in document creation and product research
|
||||
focus: Creating PRDs and other product documentation using templates
|
||||
|
||||
core_principles:
|
||||
- Deeply understand "Why" - uncover root causes and motivations
|
||||
- Champion the user - maintain relentless focus on target user value
|
||||
@@ -254,16 +251,13 @@ persona:
|
||||
- Collaborative & iterative approach
|
||||
- Proactive risk identification
|
||||
- Strategic thinking & outcome-oriented
|
||||
|
||||
startup:
|
||||
- Greet the user with your name and role, and inform of the *help command.
|
||||
|
||||
commands:
|
||||
- "*help" - Show: numbered list of the following commands to allow selection
|
||||
- "*chat-mode" - (Default) Deep conversation with advanced-elicitation
|
||||
- "*create-doc {template}" - Create doc (no template = show available templates)
|
||||
- "*exit" - Say goodbye as the PM, and then abandon inhabiting this persona
|
||||
|
||||
- '*help" - Show: numbered list of the following commands to allow selection'
|
||||
- '*chat-mode" - (Default) Deep conversation with advanced-elicitation'
|
||||
- '*create-doc {template}" - Create doc (no template = show available templates)'
|
||||
- '*exit" - Say goodbye as the PM, and then abandon inhabiting this persona'
|
||||
dependencies:
|
||||
tasks:
|
||||
- create-doc
|
||||
@@ -4420,7 +4414,7 @@ After presenting all data models, apply `tasks#advanced-elicitation` protocol]]
|
||||
model_interface;
|
||||
}
|
||||
}
|
||||
```
|
||||
```text
|
||||
|
||||
**Relationships:**
|
||||
|
||||
@@ -4484,18 +4478,21 @@ Use appropriate format for the chosen API style. If no API (e.g., static site),
|
||||
|
||||
^^CONDITION: has_rest_api^^
|
||||
|
||||
```yaml
|
||||
```yml
|
||||
openapi: 3.0.0
|
||||
info:
|
||||
title: { { api_title } }
|
||||
version: { { api_version } }
|
||||
description: { { api_description } }
|
||||
|
||||
title:
|
||||
'[object Object]': null
|
||||
version:
|
||||
'[object Object]': null
|
||||
description:
|
||||
'[object Object]': null
|
||||
servers:
|
||||
- url: { { api_base_url } }
|
||||
description: { { environment } }
|
||||
# ... OpenAPI specification continues
|
||||
```
|
||||
- url:
|
||||
'[object Object]': null
|
||||
description:
|
||||
'[object Object]': null
|
||||
```text
|
||||
|
||||
^^/CONDITION: has_rest_api^^
|
||||
|
||||
@@ -6843,7 +6840,7 @@ Use appropriate diagram type for clarity.]]
|
||||
|
||||
```mermaid
|
||||
{{architecture_diagram}}
|
||||
```
|
||||
```text
|
||||
|
||||
### Architectural Patterns
|
||||
|
||||
@@ -6994,7 +6991,7 @@ interface UserProfile {
|
||||
bio?: string;
|
||||
preferences: Record<string, any>;
|
||||
}
|
||||
```
|
||||
```text
|
||||
|
||||
**Relationships:**
|
||||
|
||||
@@ -7018,17 +7015,20 @@ Use appropriate format for the chosen API style. If no API (e.g., static site),
|
||||
|
||||
^^CONDITION: has_rest_api^^
|
||||
|
||||
```yaml
|
||||
```yml
|
||||
openapi: 3.0.0
|
||||
info:
|
||||
title: { { api_title } }
|
||||
version: { { api_version } }
|
||||
description: { { api_description } }
|
||||
|
||||
title:
|
||||
'[object Object]': null
|
||||
version:
|
||||
'[object Object]': null
|
||||
description:
|
||||
'[object Object]': null
|
||||
servers:
|
||||
- url: { { api_base_url } }
|
||||
description: { { environment } }
|
||||
# ... OpenAPI specification continues
|
||||
- url:
|
||||
'[object Object]': null
|
||||
description:
|
||||
'[object Object]': null
|
||||
```
|
||||
|
||||
^^/CONDITION: has_rest_api^^
|
||||
@@ -7038,7 +7038,7 @@ servers:
|
||||
```graphql
|
||||
# GraphQL Schema
|
||||
{{graphql_schema}}
|
||||
```
|
||||
```text
|
||||
|
||||
^^/CONDITION: has_graphql_api^^
|
||||
|
||||
@@ -7196,7 +7196,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
||||
|
||||
**Component Organization:**
|
||||
|
||||
```
|
||||
```text
|
||||
{{component_structure}}
|
||||
```
|
||||
|
||||
@@ -7208,7 +7208,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
||||
component_template;
|
||||
}
|
||||
}
|
||||
```
|
||||
```text
|
||||
|
||||
### State Management Architecture
|
||||
|
||||
@@ -7235,7 +7235,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
||||
|
||||
**Route Organization:**
|
||||
|
||||
```
|
||||
```text
|
||||
{{route_structure}}
|
||||
```
|
||||
|
||||
@@ -7247,7 +7247,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
||||
protected_route_example;
|
||||
}
|
||||
}
|
||||
```
|
||||
```text
|
||||
|
||||
### Frontend Services Layer
|
||||
|
||||
@@ -7271,7 +7271,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
||||
service_example;
|
||||
}
|
||||
}
|
||||
```
|
||||
```text
|
||||
|
||||
## Backend Architecture
|
||||
|
||||
@@ -7288,7 +7288,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
||||
|
||||
```
|
||||
{{function_structure}}
|
||||
```
|
||||
```text
|
||||
|
||||
**Function Template:**
|
||||
|
||||
@@ -7305,7 +7305,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
||||
^^CONDITION: traditional_server^^
|
||||
**Controller/Route Organization:**
|
||||
|
||||
```
|
||||
```text
|
||||
{{controller_structure}}
|
||||
```
|
||||
|
||||
@@ -7317,7 +7317,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
||||
controller_template;
|
||||
}
|
||||
}
|
||||
```
|
||||
```text
|
||||
|
||||
^^/CONDITION: traditional_server^^
|
||||
|
||||
@@ -7339,7 +7339,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
||||
repository_pattern;
|
||||
}
|
||||
}
|
||||
```
|
||||
```text
|
||||
|
||||
### Authentication and Authorization
|
||||
|
||||
@@ -7359,7 +7359,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
||||
auth_middleware;
|
||||
}
|
||||
}
|
||||
```
|
||||
```text
|
||||
|
||||
## Unified Project Structure
|
||||
|
||||
@@ -7443,7 +7443,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
||||
|
||||
```bash
|
||||
{{prerequisites_commands}}
|
||||
```
|
||||
```text
|
||||
|
||||
**Initial Setup:**
|
||||
|
||||
@@ -7465,7 +7465,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
||||
|
||||
# Run tests
|
||||
{{test_commands}}
|
||||
```
|
||||
```text
|
||||
|
||||
### Environment Configuration
|
||||
|
||||
@@ -7503,9 +7503,9 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
||||
|
||||
### CI/CD Pipeline
|
||||
|
||||
```yaml
|
||||
{ { cicd_pipeline_config } }
|
||||
```
|
||||
```yml
|
||||
'[object Object]': null
|
||||
```text
|
||||
|
||||
### Environments
|
||||
|
||||
@@ -7569,7 +7569,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
||||
Integration Tests
|
||||
/ \
|
||||
Frontend Unit Backend Unit
|
||||
```
|
||||
```text
|
||||
|
||||
### Test Organization
|
||||
|
||||
@@ -7577,19 +7577,19 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
||||
|
||||
```
|
||||
{{frontend_test_structure}}
|
||||
```
|
||||
```text
|
||||
|
||||
**Backend Tests:**
|
||||
|
||||
```
|
||||
{{backend_test_structure}}
|
||||
```
|
||||
```text
|
||||
|
||||
**E2E Tests:**
|
||||
|
||||
```
|
||||
{{e2e_test_structure}}
|
||||
```
|
||||
```text
|
||||
|
||||
### Test Examples
|
||||
|
||||
@@ -7611,7 +7611,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
||||
backend_test_example;
|
||||
}
|
||||
}
|
||||
```
|
||||
```text
|
||||
|
||||
**E2E Test:**
|
||||
|
||||
@@ -7664,7 +7664,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
||||
|
||||
```mermaid
|
||||
{{error_flow_diagram}}
|
||||
```
|
||||
```text
|
||||
|
||||
### Error Response Format
|
||||
|
||||
@@ -7688,7 +7688,7 @@ interface ApiError {
|
||||
frontend_error_handler;
|
||||
}
|
||||
}
|
||||
```
|
||||
```text
|
||||
|
||||
### Backend Error Handling
|
||||
|
||||
|
||||
Reference in New Issue
Block a user