claude-symphony 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -12
- package/assets/claude_symphony.webp +0 -0
- package/assets/claude_symphony_ascii.txt +8 -0
- package/bin/create.js +80 -69
- package/package.json +3 -2
- package/template/.claude/commands/benchmark.md +32 -32
- package/template/.claude/commands/brainstorm.md +33 -33
- package/template/.claude/commands/checkpoint.md +42 -42
- package/template/.claude/commands/codex.md +52 -52
- package/template/.claude/commands/collaborate.md +47 -47
- package/template/.claude/commands/context.md +77 -77
- package/template/.claude/commands/deploy.md +50 -50
- package/template/.claude/commands/fork.md +46 -46
- package/template/.claude/commands/gemini.md +43 -43
- package/template/.claude/commands/handoff.md +42 -42
- package/template/.claude/commands/implement.md +42 -42
- package/template/.claude/commands/init-project.md +25 -25
- package/template/.claude/commands/next.md +67 -67
- package/template/.claude/commands/planning.md +38 -38
- package/template/.claude/commands/qa.md +47 -47
- package/template/.claude/commands/refactor.md +50 -50
- package/template/.claude/commands/research.md +31 -31
- package/template/.claude/commands/restore.md +53 -53
- package/template/.claude/commands/run-stage.md +45 -45
- package/template/.claude/commands/stages.md +49 -49
- package/template/.claude/commands/status.md +41 -41
- package/template/.claude/commands/tasks.md +33 -33
- package/template/.claude/commands/test.md +45 -45
- package/template/.claude/commands/ui-ux.md +31 -31
- package/template/.claude/commands/validate.md +81 -81
- package/template/.claude/hooks/ai-selector.sh +39 -39
- package/template/.claude/hooks/auto-checkpoint.sh +30 -30
- package/template/.claude/hooks/output-validator.sh +45 -45
- package/template/.claude/hooks/post-stage.sh +28 -28
- package/template/.claude/hooks/pre-stage.sh +47 -47
- package/template/.claude/hooks/session-start.sh +27 -27
- package/template/.claude/hooks/statusline.sh +24 -24
- package/template/.claude/hooks/stop.sh +26 -26
- package/template/.claude/settings.json +32 -32
- package/template/.claude/skills/ai-collaboration/README.md +31 -31
- package/template/.claude/skills/ai-collaboration/debate.md +66 -66
- package/template/.claude/skills/ai-collaboration/parallel.md +34 -34
- package/template/.claude/skills/ai-collaboration/prompts/CLAUDE.md +59 -63
- package/template/.claude/skills/auto-checkpoint/README.md +46 -46
- package/template/.claude/skills/auto-checkpoint/prompts/CLAUDE.md +68 -72
- package/template/.claude/skills/auto-checkpoint/rollback.md +95 -95
- package/template/.claude/skills/auto-checkpoint/trigger.md +37 -37
- package/template/.claude/skills/context-compression/README.md +69 -69
- package/template/.claude/skills/context-compression/analyze.md +74 -74
- package/template/.claude/skills/context-compression/compress.md +103 -103
- package/template/.claude/skills/context-compression/prompts/compression.md +78 -78
- package/template/.claude/skills/output-validator/README.md +33 -33
- package/template/.claude/skills/output-validator/prompts/CLAUDE.md +74 -78
- package/template/.claude/skills/output-validator/validate.md +76 -76
- package/template/.claude/skills/smart-handoff/README.md +35 -35
- package/template/.claude/skills/smart-handoff/extract.md +42 -42
- package/template/.claude/skills/smart-handoff/prompts/CLAUDE.md +52 -54
- package/template/.claude/skills/smart-handoff/summarize.md +55 -55
- package/template/.claude/skills/stage-transition/README.md +50 -50
- package/template/.claude/skills/stage-transition/handoff-gen.md +89 -89
- package/template/.claude/skills/stage-transition/prompts/transition.md +74 -74
- package/template/.claude/skills/stage-transition/validate.md +41 -41
- package/template/CLAUDE.md +334 -335
- package/template/config/ai_benchmarking.yaml +22 -22
- package/template/config/ai_collaboration.yaml +18 -18
- package/template/config/ai_logging.yaml +50 -50
- package/template/config/auto_checkpoint.yaml +32 -32
- package/template/config/context.yaml +20 -20
- package/template/config/git.yaml +51 -51
- package/template/config/handoff_intelligence.yaml +23 -23
- package/template/config/mcp_fallbacks.yaml +71 -71
- package/template/config/memory_integration.yaml +23 -23
- package/template/config/model_enforcement.yaml +53 -53
- package/template/config/models.yaml +24 -24
- package/template/config/output_validation.yaml +44 -44
- package/template/config/pipeline.yaml +25 -25
- package/template/config/pipeline_forking.yaml +40 -40
- package/template/config/qa_logging.yaml +67 -67
- package/template/config/smart_rollback.yaml +48 -48
- package/template/config/stage_personas.yaml +154 -154
- package/template/config/workflow.yaml +16 -16
- package/template/scripts/ai-benchmark.sh +41 -41
- package/template/scripts/codex-wrapper.sh +32 -32
- package/template/scripts/context-manager.sh +136 -136
- package/template/scripts/create-checkpoint.sh +34 -34
- package/template/scripts/gemini-wrapper.sh +31 -31
- package/template/scripts/init-project.sh +40 -40
- package/template/scripts/list-stages.sh +30 -30
- package/template/scripts/next-stage.sh +67 -67
- package/template/scripts/output-validate.sh +2 -2
- package/template/scripts/pipeline-fork.sh +68 -68
- package/template/scripts/pre-run-check.sh +84 -84
- package/template/scripts/restore-checkpoint.sh +50 -50
- package/template/scripts/run-stage.sh +44 -44
- package/template/scripts/show-status.sh +30 -30
- package/template/scripts/smart-handoff.sh +70 -70
- package/template/stages/01-brainstorm/CLAUDE.md +70 -74
- package/template/stages/01-brainstorm/README.md +54 -54
- package/template/stages/01-brainstorm/config.yaml +18 -18
- package/template/stages/01-brainstorm/prompts/collaboration.md +24 -24
- package/template/stages/01-brainstorm/prompts/ideation.md +41 -41
- package/template/stages/01-brainstorm/prompts/persona.md +50 -50
- package/template/stages/01-brainstorm/prompts/requirements.md +55 -55
- package/template/stages/01-brainstorm/prompts/validation.md +28 -28
- package/template/stages/01-brainstorm/templates/ideas.md +47 -47
- package/template/stages/01-brainstorm/templates/requirements_analysis.md +61 -61
- package/template/stages/02-research/CLAUDE.md +72 -76
- package/template/stages/02-research/config.yaml +12 -12
- package/template/stages/02-research/prompts/collaboration.md +29 -29
- package/template/stages/02-research/prompts/feasibility.md +38 -38
- package/template/stages/02-research/prompts/market_analysis.md +29 -29
- package/template/stages/02-research/prompts/tech_stack.md +34 -34
- package/template/stages/02-research/prompts/validation.md +29 -29
- package/template/stages/03-planning/CLAUDE.md +88 -92
- package/template/stages/03-planning/config.yaml +10 -10
- package/template/stages/03-planning/prompts/architecture.md +43 -43
- package/template/stages/03-planning/prompts/collaboration.md +34 -34
- package/template/stages/03-planning/prompts/validation.md +34 -34
- package/template/stages/04-ui-ux/CLAUDE.md +68 -72
- package/template/stages/04-ui-ux/config.yaml +5 -5
- package/template/stages/04-ui-ux/prompts/collaboration.md +35 -35
- package/template/stages/04-ui-ux/prompts/validation.md +30 -30
- package/template/stages/05-task-management/CLAUDE.md +81 -85
- package/template/stages/05-task-management/config.yaml +17 -17
- package/template/stages/05-task-management/prompts/collaboration.md +30 -30
- package/template/stages/05-task-management/prompts/validation.md +33 -33
- package/template/stages/05-task-management/templates/notion_integration.md +70 -70
- package/template/stages/05-task-management/templates/parallel_groups.yaml +64 -64
- package/template/stages/05-task-management/templates/task_schema.yaml +33 -33
- package/template/stages/06-implementation/CLAUDE.md +117 -121
- package/template/stages/06-implementation/config.yaml +10 -10
- package/template/stages/06-implementation/prompts/collaboration.md +29 -29
- package/template/stages/06-implementation/prompts/validation.md +36 -36
- package/template/stages/07-refactoring/CLAUDE.md +120 -124
- package/template/stages/07-refactoring/config.yaml +11 -11
- package/template/stages/07-refactoring/prompts/collaboration.md +36 -36
- package/template/stages/07-refactoring/prompts/validation.md +40 -40
- package/template/stages/08-qa/CLAUDE.md +80 -84
- package/template/stages/08-qa/config.yaml +7 -7
- package/template/stages/08-qa/prompts/collaboration.md +34 -34
- package/template/stages/08-qa/prompts/validation.md +41 -41
- package/template/stages/09-testing/CLAUDE.md +86 -90
- package/template/stages/09-testing/config.yaml +10 -10
- package/template/stages/09-testing/prompts/collaboration.md +38 -38
- package/template/stages/09-testing/prompts/validation.md +41 -41
- package/template/stages/10-deployment/CLAUDE.md +86 -90
- package/template/stages/10-deployment/config.yaml +11 -11
- package/template/stages/10-deployment/prompts/collaboration.md +37 -37
- package/template/stages/10-deployment/prompts/validation.md +54 -54
- package/template/stages/10-deployment/templates/github-actions-cd.yaml +1 -1
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
# Market Analysis Prompt
|
|
2
2
|
|
|
3
|
-
##
|
|
4
|
-
Claude (MCP
|
|
3
|
+
## Model
|
|
4
|
+
Claude (with MCP server integration)
|
|
5
5
|
|
|
6
|
-
##
|
|
6
|
+
## Prompt
|
|
7
7
|
|
|
8
8
|
```
|
|
9
|
-
|
|
9
|
+
You are a market analysis expert.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Please perform a market analysis for the following project:
|
|
12
12
|
|
|
13
13
|
---
|
|
14
|
-
##
|
|
14
|
+
## Project Overview
|
|
15
15
|
{{PROJECT_OVERVIEW}}
|
|
16
16
|
|
|
17
|
-
##
|
|
17
|
+
## Target Market
|
|
18
18
|
{{TARGET_MARKET}}
|
|
19
19
|
---
|
|
20
20
|
|
|
21
|
-
##
|
|
21
|
+
## Analysis Items
|
|
22
22
|
|
|
23
|
-
### 1.
|
|
23
|
+
### 1. Market Size
|
|
24
24
|
- TAM (Total Addressable Market)
|
|
25
25
|
- SAM (Serviceable Addressable Market)
|
|
26
26
|
- SOM (Serviceable Obtainable Market)
|
|
27
27
|
|
|
28
|
-
### 2.
|
|
29
|
-
|
|
28
|
+
### 2. Competitor Analysis
|
|
29
|
+
For at least 3 competitors:
|
|
30
30
|
|
|
31
|
-
|
|
|
32
|
-
|
|
31
|
+
| Competitor | Strengths | Weaknesses | Pricing | Target | Differentiation |
|
|
32
|
+
|------------|-----------|------------|---------|--------|-----------------|
|
|
33
33
|
|
|
34
|
-
### 3.
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
-
|
|
34
|
+
### 3. Market Trends
|
|
35
|
+
- Growth trends
|
|
36
|
+
- Technology trends
|
|
37
|
+
- User behavior changes
|
|
38
38
|
|
|
39
|
-
### 4.
|
|
40
|
-
-
|
|
41
|
-
-
|
|
42
|
-
-
|
|
43
|
-
-
|
|
39
|
+
### 4. Entry Barriers
|
|
40
|
+
- Technical barriers
|
|
41
|
+
- Capital barriers
|
|
42
|
+
- Network effects
|
|
43
|
+
- Regulatory barriers
|
|
44
44
|
|
|
45
|
-
### 5.
|
|
45
|
+
### 5. Opportunities and Threats (partial SWOT)
|
|
46
46
|
- Opportunities
|
|
47
47
|
- Threats
|
|
48
48
|
|
|
49
|
-
## MCP
|
|
50
|
-
- firecrawl:
|
|
51
|
-
- exa:
|
|
49
|
+
## MCP Usage
|
|
50
|
+
- firecrawl: Competitor website crawling
|
|
51
|
+
- exa: Market report and news search
|
|
52
52
|
|
|
53
|
-
##
|
|
54
|
-
|
|
53
|
+
## Output Format
|
|
54
|
+
Structured market analysis report
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
-
##
|
|
57
|
+
## Expected Output
|
|
58
58
|
`outputs/market_analysis.md`
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
# Tech Stack Research Prompt
|
|
2
2
|
|
|
3
|
-
##
|
|
4
|
-
Claude (MCP
|
|
3
|
+
## Model
|
|
4
|
+
Claude (with MCP server integration)
|
|
5
5
|
|
|
6
|
-
##
|
|
6
|
+
## Prompt
|
|
7
7
|
|
|
8
8
|
```
|
|
9
|
-
|
|
9
|
+
You are a senior solutions architect.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Please research the optimal technology stack based on the following requirements:
|
|
12
12
|
|
|
13
13
|
---
|
|
14
|
-
##
|
|
14
|
+
## Requirements
|
|
15
15
|
{{REQUIREMENTS}}
|
|
16
16
|
|
|
17
|
-
## MVP
|
|
17
|
+
## MVP Features
|
|
18
18
|
{{MVP_FEATURES}}
|
|
19
19
|
---
|
|
20
20
|
|
|
21
|
-
##
|
|
21
|
+
## Research Items
|
|
22
22
|
|
|
23
|
-
### 1.
|
|
24
|
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
23
|
+
### 1. Frontend
|
|
24
|
+
For each option:
|
|
25
|
+
- Framework/library name
|
|
26
|
+
- Pros / Cons
|
|
27
|
+
- Learning curve
|
|
28
|
+
- Community/ecosystem
|
|
29
|
+
- Performance characteristics
|
|
30
|
+
- Recommended use cases
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
Comparison targets: React, Vue, Svelte, Next.js, Nuxt, etc.
|
|
33
33
|
|
|
34
|
-
### 2.
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
### 2. Backend
|
|
35
|
+
Comparison targets: Node.js, Python, Go, Rust, etc.
|
|
36
|
+
Including respective frameworks (Express, FastAPI, Gin, etc.)
|
|
37
37
|
|
|
38
|
-
### 3.
|
|
39
|
-
-
|
|
38
|
+
### 3. Database
|
|
39
|
+
- Relational: PostgreSQL, MySQL
|
|
40
40
|
- NoSQL: MongoDB, Redis
|
|
41
41
|
- NewSQL: CockroachDB, PlanetScale
|
|
42
42
|
|
|
43
|
-
### 4.
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
-
|
|
43
|
+
### 4. Infrastructure
|
|
44
|
+
- Cloud: AWS, GCP, Azure, Vercel, Railway
|
|
45
|
+
- Containers: Docker, Kubernetes
|
|
46
|
+
- Serverless: Lambda, Cloud Functions
|
|
47
47
|
|
|
48
|
-
### 5.
|
|
49
|
-
-
|
|
48
|
+
### 5. Development Tools
|
|
49
|
+
- Version control, CI/CD, monitoring, logging
|
|
50
50
|
|
|
51
|
-
## MCP
|
|
52
|
-
- context7
|
|
53
|
-
- exa
|
|
51
|
+
## MCP Usage
|
|
52
|
+
- context7: Check official documentation for each technology
|
|
53
|
+
- exa: Search for latest comparison analysis articles
|
|
54
54
|
|
|
55
|
-
##
|
|
56
|
-
|
|
55
|
+
## Output Format
|
|
56
|
+
Write technology stack comparison table and final recommendations in markdown
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
-
##
|
|
59
|
+
## Expected Output
|
|
60
60
|
`outputs/tech_research.md`
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Output Validation Prompt - Research
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## Validation Targets
|
|
4
4
|
|
|
5
|
-
|
|
|
6
|
-
|
|
7
|
-
| `tech_research.md` |
|
|
8
|
-
| `market_analysis.md` |
|
|
9
|
-
| `feasibility_report.md` |
|
|
10
|
-
| `HANDOFF.md` |
|
|
5
|
+
| Output | Required Conditions | Validation Method |
|
|
6
|
+
|--------|---------------------|-------------------|
|
|
7
|
+
| `tech_research.md` | Tech stack comparison table | Structure verification |
|
|
8
|
+
| `market_analysis.md` | 3+ competitor analysis | Count verification |
|
|
9
|
+
| `feasibility_report.md` | Risk section included | Structure verification |
|
|
10
|
+
| `HANDOFF.md` | Key decisions | Item verification |
|
|
11
11
|
|
|
12
|
-
##
|
|
12
|
+
## Validation Command
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
15
|
/validate --stage 02-research
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
-
##
|
|
18
|
+
## Quality Criteria
|
|
19
19
|
|
|
20
20
|
### tech_research.md
|
|
21
|
-
- [ ]
|
|
22
|
-
- [ ]
|
|
23
|
-
- [ ]
|
|
24
|
-
- [ ]
|
|
21
|
+
- [ ] Tech stack comparison table included
|
|
22
|
+
- [ ] Pros and cons analysis for each technology
|
|
23
|
+
- [ ] Learning curve evaluation
|
|
24
|
+
- [ ] Community/ecosystem evaluation
|
|
25
25
|
|
|
26
26
|
### market_analysis.md
|
|
27
|
-
- [ ]
|
|
28
|
-
- [ ]
|
|
29
|
-
- [ ]
|
|
30
|
-
- [ ]
|
|
27
|
+
- [ ] 3+ competitor analysis
|
|
28
|
+
- [ ] Market size and trends
|
|
29
|
+
- [ ] Entry barrier analysis
|
|
30
|
+
- [ ] Differentiation points
|
|
31
31
|
|
|
32
32
|
### feasibility_report.md
|
|
33
|
-
- [ ]
|
|
34
|
-
- [ ]
|
|
35
|
-
- [ ]
|
|
36
|
-
- [ ] Go/No-Go
|
|
33
|
+
- [ ] Technical feasibility
|
|
34
|
+
- [ ] Time/resource requirements
|
|
35
|
+
- [ ] Risk assessment and mitigation
|
|
36
|
+
- [ ] Go/No-Go recommendation
|
|
37
37
|
|
|
38
38
|
### HANDOFF.md
|
|
39
|
-
- [ ]
|
|
40
|
-
- [ ]
|
|
41
|
-
- [ ]
|
|
39
|
+
- [ ] Completed research checklist
|
|
40
|
+
- [ ] Key findings
|
|
41
|
+
- [ ] Recommended tech stack
|
|
42
42
|
|
|
43
|
-
##
|
|
43
|
+
## Automated Validation Script
|
|
44
44
|
|
|
45
45
|
```bash
|
|
46
|
-
#
|
|
46
|
+
# Check competitor analysis count
|
|
47
47
|
grep -c "^### " outputs/market_analysis.md
|
|
48
48
|
|
|
49
|
-
#
|
|
50
|
-
grep -E "^##
|
|
49
|
+
# Check risk section
|
|
50
|
+
grep -E "^## Risk|Risk" outputs/feasibility_report.md
|
|
51
51
|
```
|
|
@@ -1,98 +1,94 @@
|
|
|
1
1
|
# Stage 03: Planning
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
##
|
|
6
|
-
|
|
7
|
-
>
|
|
8
|
-
>
|
|
9
|
-
>
|
|
10
|
-
|
|
11
|
-
###
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
###
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
|
|
23
|
-
###
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
|
|
28
|
-
### AI
|
|
29
|
-
- **Temperature**: 0.6 (
|
|
30
|
-
-
|
|
31
|
-
|
|
32
|
-
##
|
|
33
|
-
- **Primary**: Gemini (
|
|
34
|
-
- **Mode**: Plan Mode -
|
|
35
|
-
|
|
36
|
-
##
|
|
37
|
-
1.
|
|
38
|
-
2.
|
|
39
|
-
3.
|
|
40
|
-
4.
|
|
41
|
-
|
|
42
|
-
##
|
|
3
|
+
System architecture and technology stack decision stage
|
|
4
|
+
|
|
5
|
+
## Persona: Strategic Architect
|
|
6
|
+
|
|
7
|
+
> You are a Strategic Architect.
|
|
8
|
+
> Design the big picture and establish systematic plans.
|
|
9
|
+
> Identify risks in advance and prepare alternatives.
|
|
10
|
+
|
|
11
|
+
### Characteristics
|
|
12
|
+
- Strategic thinking
|
|
13
|
+
- Structuring ability
|
|
14
|
+
- Risk assessment
|
|
15
|
+
- Priority judgment
|
|
16
|
+
|
|
17
|
+
### Recommended Actions
|
|
18
|
+
- Design overall picture
|
|
19
|
+
- Define milestones
|
|
20
|
+
- Identify risks
|
|
21
|
+
- Propose alternative paths
|
|
22
|
+
|
|
23
|
+
### Actions to Avoid
|
|
24
|
+
- Focus on detailed implementation
|
|
25
|
+
- Consider only short-term perspective
|
|
26
|
+
- Present single path only
|
|
27
|
+
|
|
28
|
+
### AI Settings
|
|
29
|
+
- **Temperature**: 0.6 (balanced creativity)
|
|
30
|
+
- **Structuring emphasis**: High
|
|
31
|
+
|
|
32
|
+
## Execution Model
|
|
33
|
+
- **Primary**: Gemini (architecture design, diagrams)
|
|
34
|
+
- **Mode**: Plan Mode - structured design
|
|
35
|
+
|
|
36
|
+
## Goals
|
|
37
|
+
1. System architecture design
|
|
38
|
+
2. Final technology stack decision
|
|
39
|
+
3. Project plan establishment
|
|
40
|
+
4. Milestone definition
|
|
41
|
+
|
|
42
|
+
## Input Files
|
|
43
43
|
- `../02-research/outputs/tech_research.md`
|
|
44
44
|
- `../02-research/outputs/feasibility_report.md`
|
|
45
45
|
- `../02-research/HANDOFF.md`
|
|
46
46
|
|
|
47
|
-
##
|
|
48
|
-
- `outputs/architecture.md` -
|
|
49
|
-
- `outputs/tech_stack.md` -
|
|
50
|
-
- `outputs/project_plan.md` -
|
|
51
|
-
- `outputs/implementation.yaml` -
|
|
52
|
-
- `HANDOFF.md` -
|
|
53
|
-
|
|
54
|
-
###
|
|
55
|
-
`config/implementation.yaml.template
|
|
56
|
-
-
|
|
57
|
-
-
|
|
58
|
-
-
|
|
59
|
-
-
|
|
60
|
-
-
|
|
61
|
-
|
|
62
|
-
##
|
|
63
|
-
|
|
64
|
-
### 1.
|
|
65
|
-
-
|
|
66
|
-
-
|
|
67
|
-
- API
|
|
68
|
-
-
|
|
69
|
-
|
|
70
|
-
### 2.
|
|
71
|
-
- Research
|
|
72
|
-
-
|
|
73
|
-
-
|
|
74
|
-
|
|
75
|
-
### 3.
|
|
76
|
-
-
|
|
77
|
-
-
|
|
78
|
-
-
|
|
79
|
-
|
|
80
|
-
##
|
|
81
|
-
-
|
|
82
|
-
-
|
|
83
|
-
-
|
|
84
|
-
-
|
|
85
|
-
|
|
86
|
-
##
|
|
87
|
-
- [ ]
|
|
88
|
-
- [ ]
|
|
89
|
-
- [ ]
|
|
90
|
-
- [ ]
|
|
91
|
-
- [ ] HANDOFF.md
|
|
92
|
-
|
|
93
|
-
##
|
|
94
|
-
→ **04-ui-ux**:
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
47
|
+
## Output Files
|
|
48
|
+
- `outputs/architecture.md` - System architecture
|
|
49
|
+
- `outputs/tech_stack.md` - Technology stack decision
|
|
50
|
+
- `outputs/project_plan.md` - Project plan
|
|
51
|
+
- `outputs/implementation.yaml` - **Implementation rules** (template: `config/implementation.yaml.template`)
|
|
52
|
+
- `HANDOFF.md` - Handoff document for next stage
|
|
53
|
+
|
|
54
|
+
### implementation.yaml Required
|
|
55
|
+
Based on `config/implementation.yaml.template`, define project implementation rules:
|
|
56
|
+
- Component type (functional/class)
|
|
57
|
+
- Styling approach (css-modules/tailwind/styled-components)
|
|
58
|
+
- State management (context/redux/zustand)
|
|
59
|
+
- Naming conventions (PascalCase/kebab-case)
|
|
60
|
+
- Folder structure (feature-based/type-based)
|
|
61
|
+
|
|
62
|
+
## Workflow
|
|
63
|
+
|
|
64
|
+
### 1. Architecture Design
|
|
65
|
+
- Define system components
|
|
66
|
+
- Design data flow
|
|
67
|
+
- API design overview
|
|
68
|
+
- Infrastructure configuration
|
|
69
|
+
|
|
70
|
+
### 2. Technology Stack Finalization
|
|
71
|
+
- Review Research stage recommended stack
|
|
72
|
+
- Document final selection and rationale
|
|
73
|
+
- Define versions and dependencies
|
|
74
|
+
|
|
75
|
+
### 3. Project Planning
|
|
76
|
+
- Sprint planning
|
|
77
|
+
- Milestone definition
|
|
78
|
+
- Resource allocation
|
|
79
|
+
|
|
80
|
+
## Architecture Diagram Inclusions
|
|
81
|
+
- System context diagram
|
|
82
|
+
- Container diagram
|
|
83
|
+
- Component diagram
|
|
84
|
+
- Sequence diagram (core flows)
|
|
85
|
+
|
|
86
|
+
## Completion Criteria
|
|
87
|
+
- [ ] Write system architecture document
|
|
88
|
+
- [ ] Final technology stack decision
|
|
89
|
+
- [ ] Establish project plan
|
|
90
|
+
- [ ] Define 3+ milestones
|
|
91
|
+
- [ ] Generate HANDOFF.md
|
|
92
|
+
|
|
93
|
+
## Next Stage
|
|
94
|
+
→ **04-ui-ux**: User interface and experience design
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
stage:
|
|
4
4
|
id: "03-planning"
|
|
5
5
|
name: "Planning"
|
|
6
|
-
description: "
|
|
6
|
+
description: "System architecture and technology stack decision"
|
|
7
7
|
|
|
8
8
|
models:
|
|
9
9
|
primary: "gemini"
|
|
@@ -27,13 +27,13 @@ inputs:
|
|
|
27
27
|
outputs:
|
|
28
28
|
required:
|
|
29
29
|
- name: "architecture.md"
|
|
30
|
-
description: "
|
|
30
|
+
description: "System architecture"
|
|
31
31
|
- name: "tech_stack.md"
|
|
32
|
-
description: "
|
|
32
|
+
description: "Technology stack decision"
|
|
33
33
|
- name: "project_plan.md"
|
|
34
|
-
description: "
|
|
34
|
+
description: "Project plan"
|
|
35
35
|
- name: "implementation.yaml"
|
|
36
|
-
description: "
|
|
36
|
+
description: "Implementation rules configuration (Issue #10)"
|
|
37
37
|
template: "../../config/implementation.yaml.template"
|
|
38
38
|
- name: "HANDOFF.md"
|
|
39
39
|
|
|
@@ -50,11 +50,11 @@ prompts:
|
|
|
50
50
|
|
|
51
51
|
completion:
|
|
52
52
|
checklist:
|
|
53
|
-
- "
|
|
54
|
-
- "
|
|
55
|
-
- "
|
|
56
|
-
- "
|
|
57
|
-
- "HANDOFF.md
|
|
53
|
+
- "Write system architecture document"
|
|
54
|
+
- "Final technology stack decision"
|
|
55
|
+
- "Establish project plan"
|
|
56
|
+
- "Define 3+ milestones"
|
|
57
|
+
- "Generate HANDOFF.md"
|
|
58
58
|
|
|
59
59
|
transition:
|
|
60
60
|
next_stage: "04-ui-ux"
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
# Architecture Design Prompt
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## Model
|
|
4
4
|
Gemini
|
|
5
5
|
|
|
6
|
-
##
|
|
6
|
+
## Prompt
|
|
7
7
|
|
|
8
8
|
```
|
|
9
|
-
|
|
9
|
+
You are a senior software architect.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Please design a system architecture based on the following requirements and technical research:
|
|
12
12
|
|
|
13
13
|
---
|
|
14
|
-
##
|
|
14
|
+
## Requirements
|
|
15
15
|
{{REQUIREMENTS}}
|
|
16
16
|
|
|
17
|
-
##
|
|
17
|
+
## Technical Research Results
|
|
18
18
|
{{TECH_RESEARCH}}
|
|
19
19
|
|
|
20
|
-
##
|
|
20
|
+
## Feasibility Assessment
|
|
21
21
|
{{FEASIBILITY}}
|
|
22
22
|
---
|
|
23
23
|
|
|
24
|
-
##
|
|
25
|
-
|
|
26
|
-
### 1.
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
|
|
31
|
-
### 2.
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
### 3.
|
|
36
|
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
-
|
|
40
|
-
-
|
|
41
|
-
|
|
42
|
-
### 4.
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
|
|
47
|
-
### 5.
|
|
48
|
-
-
|
|
49
|
-
-
|
|
50
|
-
-
|
|
51
|
-
|
|
52
|
-
### 6.
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
56
|
-
|
|
57
|
-
##
|
|
58
|
-
|
|
24
|
+
## Design Items
|
|
25
|
+
|
|
26
|
+
### 1. System Overview
|
|
27
|
+
- System purpose
|
|
28
|
+
- Key features
|
|
29
|
+
- Non-functional requirements response
|
|
30
|
+
|
|
31
|
+
### 2. Architecture Style
|
|
32
|
+
- Selection: Monolithic / Microservices / Serverless / Hybrid
|
|
33
|
+
- Selection rationale
|
|
34
|
+
|
|
35
|
+
### 3. Component Design
|
|
36
|
+
For each component:
|
|
37
|
+
- Name
|
|
38
|
+
- Responsibility
|
|
39
|
+
- Interface
|
|
40
|
+
- Dependencies
|
|
41
|
+
|
|
42
|
+
### 4. Data Architecture
|
|
43
|
+
- Data model overview
|
|
44
|
+
- Data flow
|
|
45
|
+
- Storage strategy
|
|
46
|
+
|
|
47
|
+
### 5. Integration Points
|
|
48
|
+
- External APIs
|
|
49
|
+
- Third-party services
|
|
50
|
+
- Authentication/Authorization
|
|
51
|
+
|
|
52
|
+
### 6. Diagrams (Mermaid)
|
|
53
|
+
- System context
|
|
54
|
+
- Container diagram
|
|
55
|
+
- Component diagram
|
|
56
|
+
|
|
57
|
+
## Output Format
|
|
58
|
+
Markdown document including Mermaid diagrams
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
-
##
|
|
61
|
+
## Expected Output
|
|
62
62
|
`outputs/architecture.md`
|