squad-station 0.5.1
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/.squad/examples/orchestrator-claude.yml +31 -0
- package/.squad/examples/orchestrator-gemini.yml +31 -0
- package/.squad/sdd/bmad-playbook.md +240 -0
- package/.squad/sdd/gsd-playbook.md +621 -0
- package/.squad/sdd/superpowers-playbook.md +349 -0
- package/bin/run.js +180 -0
- package/package.json +31 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Squad Station — Claude orchestrator + Claude workers
|
|
2
|
+
# Copy to project root as squad.yml, then run: squad-station init
|
|
3
|
+
|
|
4
|
+
project: my-project
|
|
5
|
+
|
|
6
|
+
sdd:
|
|
7
|
+
- name: get-shit-done
|
|
8
|
+
playbook: ".squad/sdd/gsd-playbook.md"
|
|
9
|
+
# - name: bmad-method
|
|
10
|
+
# playbook: ".squad/sdd/bmad-playbook.md"
|
|
11
|
+
# - name: superpowers
|
|
12
|
+
# playbook: ".squad/sdd/superpowers-playbook.md"
|
|
13
|
+
|
|
14
|
+
orchestrator:
|
|
15
|
+
provider: claude-code
|
|
16
|
+
role: orchestrator
|
|
17
|
+
model: haiku
|
|
18
|
+
description: Team leader, monitors and coordinates tasks for agents
|
|
19
|
+
|
|
20
|
+
agents:
|
|
21
|
+
- name: implement
|
|
22
|
+
provider: claude-code
|
|
23
|
+
role: worker
|
|
24
|
+
model: sonnet
|
|
25
|
+
description: Senior coder, coding, fixing bugs
|
|
26
|
+
|
|
27
|
+
- name: brainstorm
|
|
28
|
+
provider: claude-code
|
|
29
|
+
role: worker
|
|
30
|
+
model: opus
|
|
31
|
+
description: Technical Lead, planner, analysis, code reviews
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Squad Station — Gemini orchestrator + Claude workers
|
|
2
|
+
# Copy to project root as squad.yml, then run: squad-station init
|
|
3
|
+
|
|
4
|
+
project: my-project
|
|
5
|
+
|
|
6
|
+
sdd:
|
|
7
|
+
- name: get-shit-done
|
|
8
|
+
playbook: ".squad/sdd/gsd-playbook.md"
|
|
9
|
+
# - name: bmad-method
|
|
10
|
+
# playbook: ".squad/sdd/bmad-playbook.md"
|
|
11
|
+
# - name: superpowers
|
|
12
|
+
# playbook: ".squad/sdd/superpowers-playbook.md"
|
|
13
|
+
|
|
14
|
+
orchestrator:
|
|
15
|
+
provider: gemini-cli
|
|
16
|
+
role: orchestrator
|
|
17
|
+
model: gemini-3.1-pro-preview
|
|
18
|
+
description: Team leader, monitors and coordinates tasks for agents
|
|
19
|
+
|
|
20
|
+
agents:
|
|
21
|
+
- name: implement
|
|
22
|
+
provider: claude-code
|
|
23
|
+
role: worker
|
|
24
|
+
model: sonnet
|
|
25
|
+
description: Senior coder, coding, fixing bugs
|
|
26
|
+
|
|
27
|
+
- name: brainstorm
|
|
28
|
+
provider: claude-code
|
|
29
|
+
role: worker
|
|
30
|
+
model: opus
|
|
31
|
+
description: Technical Lead, planner, analysis, code reviews
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
# BMad Method — Playbook v6.0.4
|
|
2
|
+
|
|
3
|
+
> Comprehensive operational guide for BMad Method — installation, Day 1 workflow, cheat sheet, troubleshooting, best practices.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Installation & Setup
|
|
8
|
+
|
|
9
|
+
### Prerequisites
|
|
10
|
+
|
|
11
|
+
| Requirement | Version | Notes |
|
|
12
|
+
|---|---|---|
|
|
13
|
+
| **Node.js** | ≥ 20.0.0 | Required |
|
|
14
|
+
| **Git** | Latest | Recommended |
|
|
15
|
+
| **AI IDE** | Latest | Claude Code, Cursor, Codex CLI, Windsurf, OpenCode |
|
|
16
|
+
| **npm** | Bundled with Node.js | Needed for `npx` |
|
|
17
|
+
|
|
18
|
+
### Installation — Interactive Mode
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npx bmad-method install
|
|
22
|
+
npx bmad-method@6.0.4 install # If stuck on stale beta version
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
**Steps the installer will ask:**
|
|
26
|
+
1. **Select modules** — BMM, BMB, TEA, GDS, CIS
|
|
27
|
+
2. **Select IDE** — Claude Code, Cursor, Windsurf...
|
|
28
|
+
3. **Configure paths** — Output artifacts path
|
|
29
|
+
4. **Project name** — Project name
|
|
30
|
+
5. **Skill level** — beginner / intermediate / expert
|
|
31
|
+
6. **Confirm** — Review and confirm
|
|
32
|
+
|
|
33
|
+
### Installation — Non-Interactive Mode (CI/CD)
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
npx bmad-method install --directory /path/to/project --modules bmm --tools claude-code --yes
|
|
37
|
+
npx bmad-method install --directory ./my-project --modules bmm,tea,bmb --tools cursor --yes
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
| Flag | Description |
|
|
41
|
+
|---|---|
|
|
42
|
+
| `--directory <path>` | Project path |
|
|
43
|
+
| `--modules <list>` | Modules: `bmm`, `bmb`, `tea`, `gds`, `cis` |
|
|
44
|
+
| `--tools <ide>` | IDE: `claude-code`, `cursor`, `windsurf`, `codex`, `opencode` |
|
|
45
|
+
| `--yes` | Skip confirmation |
|
|
46
|
+
|
|
47
|
+
### Post-Installation Result
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
your-project/
|
|
51
|
+
├── _bmad/ # BMad configuration
|
|
52
|
+
│ ├── agents/ # Agent persona files
|
|
53
|
+
│ ├── workflows/ # Workflow configs
|
|
54
|
+
│ ├── tasks/ # Reusable tasks
|
|
55
|
+
│ └── data/ # Reference data
|
|
56
|
+
├── _bmad-output/
|
|
57
|
+
│ ├── planning-artifacts/ # PRD, Architecture, Epics
|
|
58
|
+
│ ├── implementation-artifacts/ # Sprint status, Stories
|
|
59
|
+
│ └── project-context.md # (optional) Implementation rules
|
|
60
|
+
├── .claude/skills/ # Generated skills (depends on IDE)
|
|
61
|
+
└── docs/ # Project knowledge
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## Day 1 Workflow
|
|
67
|
+
|
|
68
|
+
### Greenfield Project (New Project)
|
|
69
|
+
|
|
70
|
+
```
|
|
71
|
+
Install BMad → Open AI IDE → Run bmad-help → Choose Planning Track:
|
|
72
|
+
- Bug fix → Quick Flow: bmad-quick-spec → bmad-quick-dev → Done!
|
|
73
|
+
- Product → BMad Method: brainstorming → create-prd → create-ux-design → create-architecture → create-epics-and-stories → check-implementation-readiness → sprint-planning → Build Cycle
|
|
74
|
+
- Enterprise → (same as BMad Method, more thorough)
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### Brownfield Project (Existing Project)
|
|
78
|
+
|
|
79
|
+
1. **Install BMad** — `npx bmad-method install` in the existing project folder
|
|
80
|
+
2. **Run `/bmad-help`** — BMad-Help will detect project state
|
|
81
|
+
3. **Create Project Context** — `/bmad-generate-project-context`
|
|
82
|
+
4. **Choose track** — Quick Flow for small changes, BMad Method for major features
|
|
83
|
+
5. **Start from the appropriate phase**
|
|
84
|
+
|
|
85
|
+
### Build Cycle (Repeat for each story)
|
|
86
|
+
|
|
87
|
+
| Step | Agent | Command | Description |
|
|
88
|
+
|---|---|---|---|
|
|
89
|
+
| 1 | Scrum Master | `/bmad-create-story` | Create story file from epic |
|
|
90
|
+
| 2 | Developer | `/bmad-dev-story` | Implement story (new chat!) |
|
|
91
|
+
| 3 | Developer | `/bmad-code-review` | Review code quality |
|
|
92
|
+
| 4 | Scrum Master | `/bmad-retrospective` | After completing an epic |
|
|
93
|
+
|
|
94
|
+
⚡ **IMPORTANT:** Always use a **fresh chat** for each workflow!
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## Daily Operations
|
|
99
|
+
|
|
100
|
+
### Daily Operations Checklist
|
|
101
|
+
|
|
102
|
+
1. Open AI IDE in project folder
|
|
103
|
+
2. Run `/bmad-help` → view project state and next steps
|
|
104
|
+
3. Run `/bmad-create-story` for the next story (new chat)
|
|
105
|
+
4. Run `/bmad-dev-story` to implement (new chat)
|
|
106
|
+
5. Run `/bmad-code-review` when finished (new chat)
|
|
107
|
+
6. Commit code frequently
|
|
108
|
+
|
|
109
|
+
When an epic is completed: `/bmad-retrospective` (new chat)
|
|
110
|
+
When scope changes: `/bmad-correct-course` (new chat)
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## Strategic Configuration
|
|
115
|
+
|
|
116
|
+
### Presets by project type
|
|
117
|
+
|
|
118
|
+
| Project Type | Modules | Track |
|
|
119
|
+
|---|---|---|
|
|
120
|
+
| **Side project / MVP** | `bmm` | Quick Flow |
|
|
121
|
+
| **Startup product** | `bmm` + `cis` | BMad Method |
|
|
122
|
+
| **Enterprise app** | `bmm` + `tea` | Enterprise |
|
|
123
|
+
| **Game** | `bmm` + `gds` | BMad Method |
|
|
124
|
+
| **Custom agents** | `bmm` + `bmb` | BMad Method |
|
|
125
|
+
|
|
126
|
+
### When to use each Agent?
|
|
127
|
+
|
|
128
|
+
| Situation | Agent | Skill |
|
|
129
|
+
|---|---|---|
|
|
130
|
+
| New idea | Analyst (Mary) | `/bmad-brainstorming` |
|
|
131
|
+
| Market/tech research | Analyst (Mary) | `/bmad-research` |
|
|
132
|
+
| Writing requirements | PM (John) | `/bmad-create-prd` |
|
|
133
|
+
| UI/UX design | UX Designer (Sally) | `/bmad-create-ux-design` |
|
|
134
|
+
| Architecture design | Architect (Winston) | `/bmad-create-architecture` |
|
|
135
|
+
| Sprint planning | Scrum Master (Bob) | `/bmad-sprint-planning` |
|
|
136
|
+
| Code implementation | Developer (Amelia) | `/bmad-dev-story` |
|
|
137
|
+
| Code review | Developer (Amelia) | `/bmad-code-review` |
|
|
138
|
+
| Quick bug fix | Quick Flow (Barry) | `/bmad-quick-spec` + `/bmad-quick-dev` |
|
|
139
|
+
| Don't know what to do next | BMad-Help | `/bmad-help` |
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
## Cheat Sheet
|
|
144
|
+
|
|
145
|
+
### Core Skills
|
|
146
|
+
|
|
147
|
+
| Skill | Phase | Description |
|
|
148
|
+
|---|---|---|
|
|
149
|
+
| `/bmad-help` | Any | Intelligent guide |
|
|
150
|
+
| `/bmad-brainstorming` | 1 | Guided ideation session |
|
|
151
|
+
| `/bmad-research` | 1 | Market/technical research |
|
|
152
|
+
| `/bmad-create-product-brief` | 1 | Foundation document |
|
|
153
|
+
| `/bmad-create-prd` | 2 | Product Requirements Document |
|
|
154
|
+
| `/bmad-create-ux-design` | 2 | UX Design document |
|
|
155
|
+
| `/bmad-quick-spec` | 2 | Quick Flow: tech-spec |
|
|
156
|
+
| `/bmad-create-architecture` | 3 | Architecture document |
|
|
157
|
+
| `/bmad-create-epics-and-stories` | 3 | Break PRD → epics |
|
|
158
|
+
| `/bmad-check-implementation-readiness` | 3 | Validate planning cohesion |
|
|
159
|
+
| `/bmad-sprint-planning` | 4 | Initialize sprint tracking |
|
|
160
|
+
| `/bmad-create-story` | 4 | Create story file |
|
|
161
|
+
| `/bmad-dev-story` | 4 | Implement story |
|
|
162
|
+
| `/bmad-quick-dev` | 4 | Quick Flow: implement |
|
|
163
|
+
| `/bmad-code-review` | 4 | Adversarial code review |
|
|
164
|
+
| `/bmad-retrospective` | 4 | Epic retrospective |
|
|
165
|
+
| `/bmad-correct-course` | Any | Handle scope changes |
|
|
166
|
+
|
|
167
|
+
### Agent Personas
|
|
168
|
+
|
|
169
|
+
| Skill | Persona |
|
|
170
|
+
|---|---|
|
|
171
|
+
| `/bmad-analyst` | Mary — Analyst |
|
|
172
|
+
| `/bmad-pm` | John — Product Manager |
|
|
173
|
+
| `/bmad-architect` | Winston — Architect |
|
|
174
|
+
| `/bmad-sm` | Bob — Scrum Master |
|
|
175
|
+
| `/bmad-dev` | Amelia — Developer |
|
|
176
|
+
| `/bmad-qa` | Quinn — QA Engineer |
|
|
177
|
+
| `/bmad-master` | Barry — Quick Flow Solo Dev |
|
|
178
|
+
| `/bmad-ux-designer` | Sally — UX Designer |
|
|
179
|
+
| `/bmad-tech-writer` | Paige — Technical Writer |
|
|
180
|
+
| `/bmad-party-mode` | All agents in one room |
|
|
181
|
+
|
|
182
|
+
### Utilities
|
|
183
|
+
|
|
184
|
+
| Skill | Description |
|
|
185
|
+
|---|---|
|
|
186
|
+
| `/bmad-shard-doc` | Split large markdown file |
|
|
187
|
+
| `/bmad-index-docs` | Index project documentation |
|
|
188
|
+
| `/bmad-generate-project-context` | Generate project context file |
|
|
189
|
+
|
|
190
|
+
---
|
|
191
|
+
|
|
192
|
+
## Troubleshooting
|
|
193
|
+
|
|
194
|
+
| Error | Fix |
|
|
195
|
+
|---|---|
|
|
196
|
+
| Skills not showing | Restart IDE, check settings |
|
|
197
|
+
| Old version | `npx bmad-method@6.0.4 install` |
|
|
198
|
+
| Old skills module | `rm -rf .claude/skills/bmad-*` → re-install |
|
|
199
|
+
| Nested install | Install at project root |
|
|
200
|
+
| Context noise | Fresh chat for each workflow |
|
|
201
|
+
| Agent wrong role | Fresh chat + invoke correct skill |
|
|
202
|
+
| Quick Flow scope creep | Escalate to BMad Method |
|
|
203
|
+
| Cannot find module | `nvm install 20` |
|
|
204
|
+
|
|
205
|
+
### Debug Steps
|
|
206
|
+
|
|
207
|
+
```bash
|
|
208
|
+
node --version # Must be >= 20
|
|
209
|
+
npm cache clean --force
|
|
210
|
+
npx bmad-method@6.0.4 install
|
|
211
|
+
ls -la .claude/skills/
|
|
212
|
+
cat _bmad/module.yaml
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
---
|
|
216
|
+
|
|
217
|
+
## Best Practices
|
|
218
|
+
|
|
219
|
+
### ✅ Gold Rules
|
|
220
|
+
|
|
221
|
+
1. **Always use a fresh chat** for each workflow — avoid context pollution
|
|
222
|
+
2. **Start with `/bmad-help`** — inspect project state → recommend next step
|
|
223
|
+
3. **Create Project Context early** — agents understand tech preferences
|
|
224
|
+
4. **Choose the right planning track** — Quick Flow / BMad Method / Enterprise
|
|
225
|
+
5. **Run Implementation Readiness** before coding
|
|
226
|
+
6. **Code Review every story** — adversarial review catches bugs early
|
|
227
|
+
7. **Retrospective every epic** — continuous improvement
|
|
228
|
+
8. **Commit code frequently** — keep diffs small
|
|
229
|
+
9. **Upgrade BMad regularly** — bug fixes, better behavior
|
|
230
|
+
|
|
231
|
+
### ❌ Anti-Patterns
|
|
232
|
+
|
|
233
|
+
| Anti-Pattern | Solution |
|
|
234
|
+
|---|---|
|
|
235
|
+
| Running multiple workflows in the same chat | Fresh chat for each workflow |
|
|
236
|
+
| Skip PRD and go straight to code | At minimum need a PRD or tech-spec |
|
|
237
|
+
| Vibe-coding instead of following the process | Use structured workflows |
|
|
238
|
+
| Not creating Project Context | Create `project-context.md` early |
|
|
239
|
+
| Using Quick Flow for complex features | Escalate to BMad Method |
|
|
240
|
+
| Not running Code Review | Always `/bmad-code-review` after every story |
|