mindsystem-cc 3.0.0
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/LICENSE +21 -0
- package/README.md +501 -0
- package/agents/ms-codebase-mapper.md +739 -0
- package/agents/ms-debugger.md +1184 -0
- package/agents/ms-designer.md +414 -0
- package/agents/ms-executor.md +760 -0
- package/agents/ms-integration-checker.md +423 -0
- package/agents/ms-milestone-auditor.md +448 -0
- package/agents/ms-mock-generator.md +182 -0
- package/agents/ms-plan-checker.md +746 -0
- package/agents/ms-research-synthesizer.md +248 -0
- package/agents/ms-researcher.md +962 -0
- package/agents/ms-roadmapper.md +606 -0
- package/agents/ms-verifier.md +779 -0
- package/agents/ms-verify-fixer.md +124 -0
- package/bin/install.js +296 -0
- package/commands/ms/add-phase.md +207 -0
- package/commands/ms/add-todo.md +182 -0
- package/commands/ms/audit-milestone.md +318 -0
- package/commands/ms/check-phase.md +162 -0
- package/commands/ms/check-todos.md +217 -0
- package/commands/ms/complete-milestone.md +137 -0
- package/commands/ms/create-roadmap.md +273 -0
- package/commands/ms/debug.md +149 -0
- package/commands/ms/define-requirements.md +121 -0
- package/commands/ms/design-phase.md +341 -0
- package/commands/ms/discuss-milestone.md +48 -0
- package/commands/ms/discuss-phase.md +60 -0
- package/commands/ms/do-work.md +90 -0
- package/commands/ms/execute-phase.md +289 -0
- package/commands/ms/help.md +623 -0
- package/commands/ms/insert-phase.md +227 -0
- package/commands/ms/list-phase-assumptions.md +50 -0
- package/commands/ms/map-codebase.md +71 -0
- package/commands/ms/new-milestone.md +193 -0
- package/commands/ms/new-project.md +338 -0
- package/commands/ms/pause-work.md +123 -0
- package/commands/ms/plan-milestone-gaps.md +285 -0
- package/commands/ms/plan-phase.md +105 -0
- package/commands/ms/progress.md +370 -0
- package/commands/ms/remove-phase.md +338 -0
- package/commands/ms/research-phase.md +175 -0
- package/commands/ms/research-project.md +339 -0
- package/commands/ms/resume-work.md +40 -0
- package/commands/ms/review-design.md +484 -0
- package/commands/ms/simplify-flutter.md +193 -0
- package/commands/ms/update.md +159 -0
- package/commands/ms/verify-work.md +92 -0
- package/commands/ms/whats-new.md +124 -0
- package/mindsystem/references/checkpoints.md +788 -0
- package/mindsystem/references/continuation-format.md +255 -0
- package/mindsystem/references/debugging/debugging-mindset.md +11 -0
- package/mindsystem/references/debugging/hypothesis-testing.md +11 -0
- package/mindsystem/references/debugging/investigation-techniques.md +11 -0
- package/mindsystem/references/debugging/verification-patterns.md +11 -0
- package/mindsystem/references/debugging/when-to-research.md +11 -0
- package/mindsystem/references/git-integration.md +254 -0
- package/mindsystem/references/goal-backward.md +286 -0
- package/mindsystem/references/mock-patterns.md +294 -0
- package/mindsystem/references/plan-format.md +473 -0
- package/mindsystem/references/principles.md +73 -0
- package/mindsystem/references/questioning.md +140 -0
- package/mindsystem/references/research-pitfalls.md +233 -0
- package/mindsystem/references/scope-estimation.md +256 -0
- package/mindsystem/references/tdd.md +263 -0
- package/mindsystem/references/verification-patterns.md +595 -0
- package/mindsystem/templates/DEBUG.md +159 -0
- package/mindsystem/templates/UAT.md +403 -0
- package/mindsystem/templates/adhoc-summary.md +153 -0
- package/mindsystem/templates/codebase/architecture.md +255 -0
- package/mindsystem/templates/codebase/concerns.md +310 -0
- package/mindsystem/templates/codebase/conventions.md +307 -0
- package/mindsystem/templates/codebase/integrations.md +280 -0
- package/mindsystem/templates/codebase/stack.md +186 -0
- package/mindsystem/templates/codebase/structure.md +285 -0
- package/mindsystem/templates/codebase/testing.md +480 -0
- package/mindsystem/templates/config.json +26 -0
- package/mindsystem/templates/context.md +140 -0
- package/mindsystem/templates/continue-here.md +78 -0
- package/mindsystem/templates/debug-subagent-prompt.md +91 -0
- package/mindsystem/templates/design-iteration.md +208 -0
- package/mindsystem/templates/design.md +417 -0
- package/mindsystem/templates/discovery.md +146 -0
- package/mindsystem/templates/milestone-archive.md +123 -0
- package/mindsystem/templates/milestone-context.md +93 -0
- package/mindsystem/templates/milestone.md +115 -0
- package/mindsystem/templates/phase-prompt.md +574 -0
- package/mindsystem/templates/project.md +184 -0
- package/mindsystem/templates/requirements.md +231 -0
- package/mindsystem/templates/research-project/ARCHITECTURE.md +204 -0
- package/mindsystem/templates/research-project/FEATURES.md +147 -0
- package/mindsystem/templates/research-project/PITFALLS.md +200 -0
- package/mindsystem/templates/research-project/STACK.md +120 -0
- package/mindsystem/templates/research-project/SUMMARY.md +170 -0
- package/mindsystem/templates/research-subagent-prompt.md +92 -0
- package/mindsystem/templates/research.md +529 -0
- package/mindsystem/templates/roadmap.md +214 -0
- package/mindsystem/templates/state.md +224 -0
- package/mindsystem/templates/summary.md +269 -0
- package/mindsystem/templates/user-setup.md +323 -0
- package/mindsystem/templates/verification-report.md +322 -0
- package/mindsystem/workflows/complete-milestone.md +759 -0
- package/mindsystem/workflows/create-milestone.md +203 -0
- package/mindsystem/workflows/debug.md +14 -0
- package/mindsystem/workflows/define-requirements.md +330 -0
- package/mindsystem/workflows/diagnose-issues.md +241 -0
- package/mindsystem/workflows/discovery-phase.md +293 -0
- package/mindsystem/workflows/discuss-milestone.md +310 -0
- package/mindsystem/workflows/discuss-phase.md +237 -0
- package/mindsystem/workflows/do-work.md +359 -0
- package/mindsystem/workflows/execute-phase.md +644 -0
- package/mindsystem/workflows/execute-plan.md +1828 -0
- package/mindsystem/workflows/generate-mocks.md +187 -0
- package/mindsystem/workflows/list-phase-assumptions.md +178 -0
- package/mindsystem/workflows/map-codebase.md +289 -0
- package/mindsystem/workflows/plan-phase.md +876 -0
- package/mindsystem/workflows/research-phase.md +17 -0
- package/mindsystem/workflows/research-project.md +23 -0
- package/mindsystem/workflows/resume-project.md +311 -0
- package/mindsystem/workflows/transition.md +564 -0
- package/mindsystem/workflows/verify-phase.md +629 -0
- package/mindsystem/workflows/verify-work.md +823 -0
- package/package.json +32 -0
- package/scripts/generate-phase-patch.sh +169 -0
- package/scripts/ms-lookup/README.md +112 -0
- package/scripts/ms-lookup/ms_lookup/__init__.py +3 -0
- package/scripts/ms-lookup/ms_lookup/__main__.py +6 -0
- package/scripts/ms-lookup/ms_lookup/backends/__init__.py +6 -0
- package/scripts/ms-lookup/ms_lookup/backends/context7.py +219 -0
- package/scripts/ms-lookup/ms_lookup/backends/perplexity.py +145 -0
- package/scripts/ms-lookup/ms_lookup/cache.py +48 -0
- package/scripts/ms-lookup/ms_lookup/cli.py +219 -0
- package/scripts/ms-lookup/ms_lookup/config.py +23 -0
- package/scripts/ms-lookup/ms_lookup/errors.py +24 -0
- package/scripts/ms-lookup/ms_lookup/output.py +49 -0
- package/scripts/ms-lookup/ms_lookup/tokens.py +56 -0
- package/scripts/ms-lookup/pyproject.toml +17 -0
- package/scripts/ms-lookup/uv.lock +207 -0
- package/scripts/ms-lookup-wrapper.sh +21 -0
|
@@ -0,0 +1,623 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ms:help
|
|
3
|
+
description: Show available Mindsystem commands and usage guide
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<objective>
|
|
7
|
+
Display the complete Mindsystem command reference.
|
|
8
|
+
|
|
9
|
+
Output ONLY the reference content below. Do NOT add:
|
|
10
|
+
|
|
11
|
+
- Project-specific analysis
|
|
12
|
+
- Git status or file context
|
|
13
|
+
- Next-step suggestions
|
|
14
|
+
- Any commentary beyond the reference
|
|
15
|
+
</objective>
|
|
16
|
+
|
|
17
|
+
<reference>
|
|
18
|
+
# Mindsystem Command Reference
|
|
19
|
+
|
|
20
|
+
**Mindsystem** creates hierarchical project plans optimized for solo agentic development with Claude Code.
|
|
21
|
+
|
|
22
|
+
## Start Here
|
|
23
|
+
|
|
24
|
+
- If you already have `.planning/` in this repo: run `/ms:progress`.
|
|
25
|
+
- If you’re starting in an existing codebase (brownfield): run `/ms:map-codebase`, then `/ms:new-project`.
|
|
26
|
+
- Otherwise: run `/ms:new-project`.
|
|
27
|
+
|
|
28
|
+
## Quick Start
|
|
29
|
+
|
|
30
|
+
### Greenfield (new project)
|
|
31
|
+
|
|
32
|
+
1. `/ms:new-project` - Initialize project with brief
|
|
33
|
+
2. `/ms:research-project` - (optional) Research domain ecosystem
|
|
34
|
+
3. `/ms:define-requirements` - Scope v1/v2/out of scope
|
|
35
|
+
4. `/ms:create-roadmap` - Create roadmap and phases
|
|
36
|
+
5. `/ms:plan-phase 1` - Create detailed plan for first phase
|
|
37
|
+
6. `/ms:execute-phase 1` - Execute with parallel agents
|
|
38
|
+
|
|
39
|
+
### Brownfield (existing codebase)
|
|
40
|
+
|
|
41
|
+
1. `/ms:map-codebase` - Analyze existing code first
|
|
42
|
+
2. `/ms:new-project` - Questions focus on what you’re adding/changing
|
|
43
|
+
3. Continue with steps 2-6 above (codebase docs load automatically)
|
|
44
|
+
|
|
45
|
+
## Staying Updated
|
|
46
|
+
|
|
47
|
+
Mindsystem evolves fast. Check for updates periodically:
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
/ms:whats-new
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Shows what changed since your installed version. Update with:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
npx mindsystem-cc@latest
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Or inside Claude Code:
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
/ms:update
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Core Workflow
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
Initialize → (Optional Research) → Requirements → Roadmap → Plan → Execute → Verify → Milestone
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Common deviations:
|
|
72
|
+
- Existing repo: `/ms:map-codebase` before `/ms:new-project`
|
|
73
|
+
- Plan looks wrong: `/ms:list-phase-assumptions <phase>` or `/ms:check-phase <phase>`
|
|
74
|
+
- Unknown domain: `/ms:research-project` or `/ms:research-phase <phase>`
|
|
75
|
+
- UI-heavy phase: `/ms:design-phase <phase>` before `/ms:research-phase <phase>`
|
|
76
|
+
- Execution gaps: `/ms:plan-phase <phase> --gaps` then `/ms:execute-phase <phase>`
|
|
77
|
+
- New urgent work: `/ms:insert-phase <after> "<desc>"`
|
|
78
|
+
- New non-urgent work: `/ms:add-todo "<desc>"`
|
|
79
|
+
|
|
80
|
+
### Project Initialization
|
|
81
|
+
|
|
82
|
+
**`/ms:new-project`**
|
|
83
|
+
Initialize new project with brief and configuration.
|
|
84
|
+
|
|
85
|
+
- Use when: you want Mindsystem to set up `.planning/` and capture intent (new repo, or an existing repo where you’re adding/changing work).
|
|
86
|
+
- Creates `.planning/PROJECT.md` (vision and requirements)
|
|
87
|
+
- Creates `.planning/config.json` (workflow mode)
|
|
88
|
+
- Asks for workflow mode (interactive/yolo) upfront
|
|
89
|
+
- Commits initialization files to git
|
|
90
|
+
|
|
91
|
+
Usage: `/ms:new-project`
|
|
92
|
+
|
|
93
|
+
**`/ms:research-project`**
|
|
94
|
+
Research domain ecosystem before creating roadmap.
|
|
95
|
+
|
|
96
|
+
- Use when: you’re unsure about stack choices, common pitfalls, or “what good looks like” in this domain.
|
|
97
|
+
- Spawns parallel agents to investigate stack, features, architecture, pitfalls
|
|
98
|
+
- Creates `.planning/research/` with ecosystem knowledge
|
|
99
|
+
- Recommended for best results; skip only if you need speed over thoroughness
|
|
100
|
+
|
|
101
|
+
Usage: `/ms:research-project`
|
|
102
|
+
|
|
103
|
+
**`/ms:define-requirements`**
|
|
104
|
+
Define what "done" looks like with checkable requirements.
|
|
105
|
+
|
|
106
|
+
- Use when: you’re ready to lock v1 scope (and explicitly defer v2/out-of-scope).
|
|
107
|
+
- Scopes features as v1, v2, or out of scope
|
|
108
|
+
- Works with or without prior research
|
|
109
|
+
- Creates `.planning/REQUIREMENTS.md` with traceability
|
|
110
|
+
|
|
111
|
+
Usage: `/ms:define-requirements`
|
|
112
|
+
|
|
113
|
+
**`/ms:create-roadmap`**
|
|
114
|
+
Create roadmap and state tracking for initialized project.
|
|
115
|
+
|
|
116
|
+
- Use when: requirements are defined and you want phases mapped to them.
|
|
117
|
+
- Creates `.planning/ROADMAP.md` (phase breakdown)
|
|
118
|
+
- Creates `.planning/STATE.md` (project memory)
|
|
119
|
+
- Creates `.planning/phases/` directories
|
|
120
|
+
|
|
121
|
+
Usage: `/ms:create-roadmap`
|
|
122
|
+
|
|
123
|
+
**`/ms:map-codebase`**
|
|
124
|
+
Map an existing codebase for brownfield projects.
|
|
125
|
+
|
|
126
|
+
- Use when: you’re working in an existing repo and want Mindsystem to follow existing patterns (where files live, conventions, testing).
|
|
127
|
+
- Analyzes codebase with parallel Explore agents
|
|
128
|
+
- Creates `.planning/codebase/` with 7 focused documents
|
|
129
|
+
- Covers stack, architecture, structure, conventions, testing, integrations, concerns
|
|
130
|
+
- Use before `/ms:new-project` on existing codebases
|
|
131
|
+
|
|
132
|
+
Usage: `/ms:map-codebase`
|
|
133
|
+
|
|
134
|
+
### Phase Planning
|
|
135
|
+
|
|
136
|
+
**`/ms:discuss-phase <number>`**
|
|
137
|
+
Help articulate your vision for a phase before planning.
|
|
138
|
+
|
|
139
|
+
- Captures how you imagine this phase working
|
|
140
|
+
- Creates CONTEXT.md with your vision, essentials, and boundaries
|
|
141
|
+
- Use when you have ideas about how something should look/feel
|
|
142
|
+
|
|
143
|
+
Usage: `/ms:discuss-phase 2`
|
|
144
|
+
|
|
145
|
+
**`/ms:design-phase <number>`**
|
|
146
|
+
Create visual/UX design specifications for UI-heavy phases.
|
|
147
|
+
|
|
148
|
+
- Produces DESIGN.md with layouts, components, flows, verification criteria
|
|
149
|
+
- Applies quality-forcing patterns to prevent generic AI output
|
|
150
|
+
- Checks for existing implement-ui skill and harmonizes with codebase
|
|
151
|
+
- Use for phases with significant UI work, novel components, or cross-platform design
|
|
152
|
+
|
|
153
|
+
Usage: `/ms:design-phase 3`
|
|
154
|
+
|
|
155
|
+
**`/ms:review-design [scope]`**
|
|
156
|
+
Audit and improve design of already-implemented features.
|
|
157
|
+
|
|
158
|
+
- Reviews existing code against design quality criteria
|
|
159
|
+
- Creates retroactive DESIGN.md if none exists
|
|
160
|
+
- Presents improvements with benefits and trade-offs
|
|
161
|
+
- Applies user-approved changes, runs verification
|
|
162
|
+
- Use for features implemented before GSD, or periodic design audits
|
|
163
|
+
|
|
164
|
+
Usage: `/ms:review-design 4` (review phase 4)
|
|
165
|
+
Usage: `/ms:review-design lib/features/home/home_screen.dart`
|
|
166
|
+
Usage: `/ms:review-design authentication` (review feature area)
|
|
167
|
+
|
|
168
|
+
**`/ms:research-phase <number>`**
|
|
169
|
+
Comprehensive ecosystem research for niche/complex domains.
|
|
170
|
+
|
|
171
|
+
- Discovers standard stack, architecture patterns, pitfalls
|
|
172
|
+
- Creates RESEARCH.md with "how experts build this" knowledge
|
|
173
|
+
- Use for 3D, games, audio, shaders, ML, and other specialized domains
|
|
174
|
+
- Goes beyond "which library" to ecosystem knowledge
|
|
175
|
+
|
|
176
|
+
Usage: `/ms:research-phase 3`
|
|
177
|
+
|
|
178
|
+
**`/ms:list-phase-assumptions <number>`**
|
|
179
|
+
See what Claude is planning to do before it starts.
|
|
180
|
+
|
|
181
|
+
- Shows Claude's intended approach for a phase
|
|
182
|
+
- Lets you course-correct if Claude misunderstood your vision
|
|
183
|
+
- No files created - conversational output only
|
|
184
|
+
|
|
185
|
+
Usage: `/ms:list-phase-assumptions 3`
|
|
186
|
+
|
|
187
|
+
**`/ms:plan-phase [number] [--gaps]`**
|
|
188
|
+
Create detailed execution plan for a specific phase.
|
|
189
|
+
|
|
190
|
+
- Use when: you’re about to start a phase, or you need additional plans (including verifier-driven gap closure via `--gaps`).
|
|
191
|
+
- Generates `.planning/phases/XX-phase-name/XX-YY-PLAN.md`
|
|
192
|
+
- Breaks phase into concrete, actionable tasks
|
|
193
|
+
- Includes verification criteria and success measures
|
|
194
|
+
- Multiple plans per phase supported (XX-01, XX-02, etc.)
|
|
195
|
+
|
|
196
|
+
Usage: `/ms:plan-phase 1`
|
|
197
|
+
Usage: `/ms:plan-phase` (auto-detect next unplanned phase)
|
|
198
|
+
Result: Creates `.planning/phases/01-foundation/01-01-PLAN.md`
|
|
199
|
+
|
|
200
|
+
### Execution
|
|
201
|
+
|
|
202
|
+
**`/ms:execute-phase <phase-number>`**
|
|
203
|
+
Execute all unexecuted plans in a phase with wave-based parallelization.
|
|
204
|
+
|
|
205
|
+
- Use when: the phase has PLAN.md files and you want Mindsystem to run them (including verification and possible gap-closure loop).
|
|
206
|
+
- Spawns parallel agents for independent plans
|
|
207
|
+
- Handles checkpoints with user interaction
|
|
208
|
+
- Resumes automatically from interrupted execution
|
|
209
|
+
- Creates SUMMARY.md for each completed plan
|
|
210
|
+
- Respects max_concurrent_agents from config.json
|
|
211
|
+
|
|
212
|
+
Usage: `/ms:execute-phase 5`
|
|
213
|
+
|
|
214
|
+
Options (via `.planning/config.json` parallelization section):
|
|
215
|
+
- `max_concurrent_agents`: Limit parallel agents (default: 3)
|
|
216
|
+
- `skip_checkpoints`: Skip human checkpoints in background (default: true)
|
|
217
|
+
- `min_plans_for_parallel`: Minimum plans to trigger parallelization (default: 2)
|
|
218
|
+
|
|
219
|
+
### Verification
|
|
220
|
+
|
|
221
|
+
**`/ms:check-phase <number>`**
|
|
222
|
+
Verify phase plans before execution (optional quality gate).
|
|
223
|
+
|
|
224
|
+
- Use when: the phase is complex or risky and you want a “will this actually achieve the goal?” sanity check before executing.
|
|
225
|
+
- Spawns plan checker agent to analyze PLAN.md files
|
|
226
|
+
- Checks requirement coverage, task completeness, dependencies
|
|
227
|
+
- Use for complex phases before committing to execution
|
|
228
|
+
|
|
229
|
+
Usage: `/ms:check-phase 5`
|
|
230
|
+
|
|
231
|
+
**`/ms:verify-work [number]`**
|
|
232
|
+
User acceptance testing of phase or plan.
|
|
233
|
+
|
|
234
|
+
- Use when: you want manual confirmation from a user/workflow perspective before continuing to the next phase or milestone.
|
|
235
|
+
- Conversational UAT with persistent state
|
|
236
|
+
- Verifies features work as expected from user perspective
|
|
237
|
+
- Use after execution to validate before continuing
|
|
238
|
+
|
|
239
|
+
Usage: `/ms:verify-work 5`
|
|
240
|
+
|
|
241
|
+
**`/ms:audit-milestone [version]`**
|
|
242
|
+
Audit milestone completion against original intent.
|
|
243
|
+
|
|
244
|
+
- Use when: you think you’re “done” and want cross-phase integration + requirements coverage checked before archiving.
|
|
245
|
+
- Reads phase VERIFICATION.md files and aggregates results
|
|
246
|
+
- Spawns integration checker for cross-phase wiring
|
|
247
|
+
- Creates MILESTONE-AUDIT.md with gaps and tech debt
|
|
248
|
+
|
|
249
|
+
Usage: `/ms:audit-milestone 1.0.0`
|
|
250
|
+
|
|
251
|
+
### Roadmap Management
|
|
252
|
+
|
|
253
|
+
**`/ms:add-phase <description>`**
|
|
254
|
+
Add new phase to end of current milestone.
|
|
255
|
+
|
|
256
|
+
- Use when: you discovered additional work that belongs after the currently planned phases (not an urgent insertion).
|
|
257
|
+
- Appends to ROADMAP.md
|
|
258
|
+
- Uses next sequential number
|
|
259
|
+
- Updates phase directory structure
|
|
260
|
+
|
|
261
|
+
Usage: `/ms:add-phase "Add admin dashboard"`
|
|
262
|
+
|
|
263
|
+
**`/ms:insert-phase <after> <description>`**
|
|
264
|
+
Insert urgent work as decimal phase between existing phases.
|
|
265
|
+
|
|
266
|
+
- Use when: you discovered work that must happen before the next integer phase, but you don’t want to renumber the roadmap.
|
|
267
|
+
- Creates intermediate phase (e.g., 7.1 between 7 and 8)
|
|
268
|
+
- Useful for discovered work that must happen mid-milestone
|
|
269
|
+
- Maintains phase ordering
|
|
270
|
+
|
|
271
|
+
Usage: `/ms:insert-phase 7 "Fix critical auth bug"`
|
|
272
|
+
Result: Creates Phase 7.1
|
|
273
|
+
|
|
274
|
+
**`/ms:remove-phase <number>`**
|
|
275
|
+
Remove a future phase and renumber subsequent phases.
|
|
276
|
+
|
|
277
|
+
- Use when: you’re cutting future scope and want to keep a clean contiguous roadmap (only works on unstarted phases).
|
|
278
|
+
- Deletes phase directory and all references
|
|
279
|
+
- Renumbers all subsequent phases to close the gap
|
|
280
|
+
- Only works on future (unstarted) phases
|
|
281
|
+
- Git commit preserves historical record
|
|
282
|
+
|
|
283
|
+
Usage: `/ms:remove-phase 17`
|
|
284
|
+
Result: Phase 17 deleted, phases 18-20 become 17-19
|
|
285
|
+
|
|
286
|
+
### Milestone Management
|
|
287
|
+
|
|
288
|
+
**`/ms:discuss-milestone`**
|
|
289
|
+
Figure out what you want to build in the next milestone.
|
|
290
|
+
|
|
291
|
+
- Reviews what shipped in previous milestone
|
|
292
|
+
- Helps you identify features to add, improve, or fix
|
|
293
|
+
- Routes to /ms:new-milestone when ready
|
|
294
|
+
|
|
295
|
+
Usage: `/ms:discuss-milestone`
|
|
296
|
+
|
|
297
|
+
**`/ms:new-milestone <name>`**
|
|
298
|
+
Create a new milestone with phases for an existing project.
|
|
299
|
+
|
|
300
|
+
- Adds milestone section to ROADMAP.md
|
|
301
|
+
- Creates phase directories
|
|
302
|
+
- Updates STATE.md for new milestone
|
|
303
|
+
|
|
304
|
+
Usage: `/ms:new-milestone "v2.0 Features"`
|
|
305
|
+
|
|
306
|
+
**`/ms:complete-milestone <version>`**
|
|
307
|
+
Archive completed milestone and prepare for next version.
|
|
308
|
+
|
|
309
|
+
- Creates MILESTONES.md entry with stats
|
|
310
|
+
- Archives full details to milestones/ directory
|
|
311
|
+
- Creates git tag for the release
|
|
312
|
+
- Prepares workspace for next version
|
|
313
|
+
|
|
314
|
+
Usage: `/ms:complete-milestone 1.0.0`
|
|
315
|
+
|
|
316
|
+
**`/ms:plan-milestone-gaps`**
|
|
317
|
+
Create phases to close gaps identified by milestone audit.
|
|
318
|
+
|
|
319
|
+
- Reads MILESTONE-AUDIT.md and groups gaps into logical phases
|
|
320
|
+
- Prioritizes by requirement importance (must/should/nice)
|
|
321
|
+
- Creates phase entries in ROADMAP.md automatically
|
|
322
|
+
|
|
323
|
+
Usage: `/ms:plan-milestone-gaps`
|
|
324
|
+
|
|
325
|
+
### Progress Tracking
|
|
326
|
+
|
|
327
|
+
**`/ms:progress`**
|
|
328
|
+
Check project status and intelligently route to next action.
|
|
329
|
+
|
|
330
|
+
- Use when: you’re unsure what to run next, returning after a break, or switching contexts.
|
|
331
|
+
- Shows visual progress bar and completion percentage
|
|
332
|
+
- Summarizes recent work from SUMMARY files
|
|
333
|
+
- Displays current position and what's next
|
|
334
|
+
- Lists key decisions and open issues
|
|
335
|
+
- Offers to execute next plan or create it if missing
|
|
336
|
+
- Detects 100% milestone completion
|
|
337
|
+
|
|
338
|
+
Usage: `/ms:progress`
|
|
339
|
+
|
|
340
|
+
### Session Management
|
|
341
|
+
|
|
342
|
+
**`/ms:resume-work`**
|
|
343
|
+
Resume work from previous session with full context restoration.
|
|
344
|
+
|
|
345
|
+
- Use when: you paused mid-phase and want to restore context and continue.
|
|
346
|
+
- Reads STATE.md for project context
|
|
347
|
+
- Shows current position and recent progress
|
|
348
|
+
- Offers next actions based on project state
|
|
349
|
+
|
|
350
|
+
Usage: `/ms:resume-work`
|
|
351
|
+
|
|
352
|
+
**`/ms:pause-work`**
|
|
353
|
+
Create context handoff when pausing work mid-phase.
|
|
354
|
+
|
|
355
|
+
- Use when: you need to stop mid-stream and want a reliable handoff pointer for next time.
|
|
356
|
+
- Creates `.continue-here` file with current state
|
|
357
|
+
- Updates STATE.md session continuity section
|
|
358
|
+
- Captures in-progress work context
|
|
359
|
+
|
|
360
|
+
Usage: `/ms:pause-work`
|
|
361
|
+
|
|
362
|
+
### Debugging
|
|
363
|
+
|
|
364
|
+
**`/ms:debug [issue description]`**
|
|
365
|
+
Systematic debugging with persistent state across context resets.
|
|
366
|
+
|
|
367
|
+
- Use when: you have a bug/incident and want a structured investigation that survives `/clear`.
|
|
368
|
+
- Gathers symptoms through adaptive questioning
|
|
369
|
+
- Creates `.planning/debug/[slug].md` to track investigation
|
|
370
|
+
- Investigates using scientific method (evidence → hypothesis → test)
|
|
371
|
+
- Survives `/clear` — run `/ms:debug` with no args to resume
|
|
372
|
+
- Archives resolved issues to `.planning/debug/resolved/`
|
|
373
|
+
|
|
374
|
+
Usage: `/ms:debug "login button doesn't work"`
|
|
375
|
+
Usage: `/ms:debug` (resume active session)
|
|
376
|
+
|
|
377
|
+
### Todo Management
|
|
378
|
+
|
|
379
|
+
**`/ms:add-todo [description]`**
|
|
380
|
+
Capture idea or task as todo from current conversation.
|
|
381
|
+
|
|
382
|
+
- Use when: you discover work that’s real but not the right thing to do right now.
|
|
383
|
+
- Extracts context from conversation (or uses provided description)
|
|
384
|
+
- Creates structured todo file in `.planning/todos/pending/`
|
|
385
|
+
- Infers area from file paths for grouping
|
|
386
|
+
- Checks for duplicates before creating
|
|
387
|
+
- Updates STATE.md todo count
|
|
388
|
+
|
|
389
|
+
Usage: `/ms:add-todo` (infers from conversation)
|
|
390
|
+
Usage: `/ms:add-todo Add auth token refresh`
|
|
391
|
+
|
|
392
|
+
**`/ms:check-todos [area]`**
|
|
393
|
+
List pending todos and select one to work on.
|
|
394
|
+
|
|
395
|
+
- Use when: you want to pick up deferred work and route it into the right place (do now vs schedule vs plan into a phase).
|
|
396
|
+
- Lists all pending todos with title, area, age
|
|
397
|
+
- Optional area filter (e.g., `/ms:check-todos api`)
|
|
398
|
+
- Loads full context for selected todo
|
|
399
|
+
- Routes to appropriate action (work now, add to phase, brainstorm)
|
|
400
|
+
- Moves todo to done/ when work begins
|
|
401
|
+
|
|
402
|
+
Usage: `/ms:check-todos`
|
|
403
|
+
Usage: `/ms:check-todos api`
|
|
404
|
+
|
|
405
|
+
### Adhoc Work
|
|
406
|
+
|
|
407
|
+
**`/ms:do-work <description>`**
|
|
408
|
+
Execute small discovered work without phase overhead (max 2 tasks).
|
|
409
|
+
|
|
410
|
+
- Use when: you discover small work mid-session that needs to be done now but doesn't warrant a full phase.
|
|
411
|
+
- Bridges the gap between `/ms:add-todo` (capture for later) and `/ms:insert-phase` (full planning)
|
|
412
|
+
- Maximum 2 tasks — refuses and suggests `/ms:insert-phase` for larger work
|
|
413
|
+
- Creates lightweight artifacts in `.planning/adhoc/` for audit trail
|
|
414
|
+
- Updates STATE.md with adhoc work entry
|
|
415
|
+
- Single git commit with all changes
|
|
416
|
+
|
|
417
|
+
Usage: `/ms:do-work Fix auth token not refreshing on 401`
|
|
418
|
+
|
|
419
|
+
### Utility Commands
|
|
420
|
+
|
|
421
|
+
**`/ms:help`**
|
|
422
|
+
Show this command reference.
|
|
423
|
+
|
|
424
|
+
**`/ms:whats-new`**
|
|
425
|
+
See what's changed since your installed version.
|
|
426
|
+
|
|
427
|
+
- Shows installed vs latest version comparison
|
|
428
|
+
- Displays changelog entries for versions you've missed
|
|
429
|
+
- Highlights breaking changes
|
|
430
|
+
- Provides update instructions when behind
|
|
431
|
+
|
|
432
|
+
Usage: `/ms:whats-new`
|
|
433
|
+
|
|
434
|
+
**`/ms:update`**
|
|
435
|
+
Update Mindsystem to latest version with changelog display.
|
|
436
|
+
|
|
437
|
+
- Checks npm for latest version
|
|
438
|
+
- Runs update if behind
|
|
439
|
+
- Shows what changed between versions
|
|
440
|
+
- Better UX than raw `npx mindsystem-cc`
|
|
441
|
+
|
|
442
|
+
Usage: `/ms:update`
|
|
443
|
+
|
|
444
|
+
## Files & Structure
|
|
445
|
+
|
|
446
|
+
```
|
|
447
|
+
.planning/
|
|
448
|
+
├── PROJECT.md # Project vision
|
|
449
|
+
├── REQUIREMENTS.md # Scoped v1/v2 requirements
|
|
450
|
+
├── ROADMAP.md # Current phase breakdown
|
|
451
|
+
├── STATE.md # Project memory & context
|
|
452
|
+
├── config.json # Workflow mode & gates
|
|
453
|
+
├── research/ # Domain ecosystem research
|
|
454
|
+
├── todos/ # Captured ideas and tasks
|
|
455
|
+
│ ├── pending/ # Todos waiting to be worked on
|
|
456
|
+
│ └── done/ # Completed todos
|
|
457
|
+
├── adhoc/ # Small work executed via /ms:do-work
|
|
458
|
+
│ ├── *-PLAN.md # Lightweight plans
|
|
459
|
+
│ └── *-SUMMARY.md # Completion summaries
|
|
460
|
+
├── debug/ # Active debug sessions
|
|
461
|
+
│ └── resolved/ # Archived resolved issues
|
|
462
|
+
├── codebase/ # Codebase map (brownfield projects)
|
|
463
|
+
│ ├── STACK.md # Languages, frameworks, dependencies
|
|
464
|
+
│ ├── ARCHITECTURE.md # Patterns, layers, data flow
|
|
465
|
+
│ ├── STRUCTURE.md # Directory layout, key files
|
|
466
|
+
│ ├── CONVENTIONS.md # Coding standards, naming
|
|
467
|
+
│ ├── TESTING.md # Test setup, patterns
|
|
468
|
+
│ ├── INTEGRATIONS.md # External services, APIs
|
|
469
|
+
│ └── CONCERNS.md # Tech debt, known issues
|
|
470
|
+
└── phases/
|
|
471
|
+
├── 01-foundation/
|
|
472
|
+
│ ├── 01-CONTEXT.md # Vision from discuss-phase
|
|
473
|
+
│ ├── 01-DESIGN.md # UI/UX specs from design-phase
|
|
474
|
+
│ ├── 01-RESEARCH.md # Technical research
|
|
475
|
+
│ ├── 01-01-PLAN.md
|
|
476
|
+
│ └── 01-01-SUMMARY.md
|
|
477
|
+
└── 02-core-features/
|
|
478
|
+
├── 02-01-PLAN.md
|
|
479
|
+
└── 02-01-SUMMARY.md
|
|
480
|
+
```
|
|
481
|
+
|
|
482
|
+
## Workflow Modes
|
|
483
|
+
|
|
484
|
+
Set during `/ms:new-project`:
|
|
485
|
+
|
|
486
|
+
**Interactive Mode**
|
|
487
|
+
|
|
488
|
+
- Confirms each major decision
|
|
489
|
+
- Pauses at checkpoints for approval
|
|
490
|
+
- More guidance throughout
|
|
491
|
+
|
|
492
|
+
**YOLO Mode**
|
|
493
|
+
|
|
494
|
+
- Auto-approves most decisions
|
|
495
|
+
- Executes plans without confirmation
|
|
496
|
+
- Only stops for critical checkpoints
|
|
497
|
+
|
|
498
|
+
Change anytime by editing `.planning/config.json`
|
|
499
|
+
|
|
500
|
+
## Common Workflows
|
|
501
|
+
|
|
502
|
+
**Starting a new project (greenfield):**
|
|
503
|
+
|
|
504
|
+
```
|
|
505
|
+
/ms:new-project # Extract your idea through questions
|
|
506
|
+
/ms:research-project # (recommended) Research domain ecosystem
|
|
507
|
+
/ms:define-requirements # Scope v1/v2/out of scope
|
|
508
|
+
/ms:create-roadmap # Create phases mapped to requirements
|
|
509
|
+
/ms:plan-phase 1 # Create detailed plan
|
|
510
|
+
/ms:execute-phase 1 # Execute with parallel agents
|
|
511
|
+
```
|
|
512
|
+
|
|
513
|
+
**Starting with existing code (brownfield):**
|
|
514
|
+
|
|
515
|
+
```
|
|
516
|
+
/ms:map-codebase # Step 1: Analyze existing code
|
|
517
|
+
/ms:new-project # Step 2: Questions focus on what you're adding/changing
|
|
518
|
+
/ms:research-project # (optional) Research new domain areas
|
|
519
|
+
/ms:define-requirements # Scope what's changing
|
|
520
|
+
/ms:create-roadmap # Create roadmap
|
|
521
|
+
/ms:plan-phase 1 # Codebase docs load automatically
|
|
522
|
+
/ms:execute-phase 1 # Claude knows your patterns & conventions
|
|
523
|
+
```
|
|
524
|
+
|
|
525
|
+
**Not sure what to do next / returning after a break:**
|
|
526
|
+
|
|
527
|
+
```
|
|
528
|
+
/ms:progress # See where you left off and continue
|
|
529
|
+
```
|
|
530
|
+
|
|
531
|
+
**Plan → execute loop (with optional quality gates):**
|
|
532
|
+
|
|
533
|
+
```
|
|
534
|
+
/ms:plan-phase 5 # Create one or more PLAN.md files
|
|
535
|
+
/ms:check-phase 5 # (optional) Sanity check: plans will achieve goal
|
|
536
|
+
/ms:execute-phase 5 # Execute; produces SUMMARY + VERIFICATION
|
|
537
|
+
# If gaps found during verification:
|
|
538
|
+
/ms:plan-phase 5 --gaps # Create additional plans to close verifier gaps
|
|
539
|
+
/ms:execute-phase 5 # Re-run until phase verifies cleanly
|
|
540
|
+
```
|
|
541
|
+
|
|
542
|
+
**Found a bug:**
|
|
543
|
+
|
|
544
|
+
```
|
|
545
|
+
/ms:debug "form submission fails silently" # Systematic investigation (persists across /clear)
|
|
546
|
+
# Then decide where the fix belongs:
|
|
547
|
+
# - If it's small (1-2 tasks) and needed now:
|
|
548
|
+
/ms:do-work "Fix auth token refresh on 401" # Quick fix with audit trail
|
|
549
|
+
# - If it's required to satisfy the current phase goal: add more plans to the current phase
|
|
550
|
+
/ms:plan-phase 5 # (or: /ms:plan-phase 5 --gaps after verification)
|
|
551
|
+
/ms:execute-phase 5
|
|
552
|
+
# - If it's urgent but should happen before the next phase (and not worth renumbering):
|
|
553
|
+
/ms:insert-phase 5 "Fix critical auth bug" # Creates 05.1
|
|
554
|
+
/ms:plan-phase 5.1
|
|
555
|
+
/ms:execute-phase 5.1
|
|
556
|
+
# - If it can wait:
|
|
557
|
+
/ms:add-todo "Fix modal z-index"
|
|
558
|
+
```
|
|
559
|
+
|
|
560
|
+
**Need to adjust scope (new info, new requirements, or a cut):**
|
|
561
|
+
|
|
562
|
+
Common options:
|
|
563
|
+
- If the current phase goal can’t be met: add more plans to the current phase (`/ms:plan-phase <current>` or `/ms:plan-phase <current> --gaps`) then `/ms:execute-phase <current>`
|
|
564
|
+
- Add work later: `/ms:add-phase "…"`
|
|
565
|
+
- Insert urgent work before the next phase: `/ms:insert-phase <after> "…"`
|
|
566
|
+
- Cut future work: `/ms:remove-phase <phase>`
|
|
567
|
+
- Re-scope v1/v2/out-of-scope: `/ms:define-requirements` (choose Replace) → `/ms:create-roadmap` (choose Replace)
|
|
568
|
+
|
|
569
|
+
**Implementing a new feature after shipping (new milestone):**
|
|
570
|
+
|
|
571
|
+
```
|
|
572
|
+
/ms:discuss-milestone # Clarify what’s next (optional but helpful)
|
|
573
|
+
/ms:new-milestone "v1.1 New feature" # Update PROJECT.md for the next milestone
|
|
574
|
+
/ms:research-project # (optional) Domain / stack research
|
|
575
|
+
/ms:define-requirements # Re-scope v1/v2 for this milestone
|
|
576
|
+
/ms:create-roadmap # New phases mapped to requirements
|
|
577
|
+
/ms:plan-phase # Auto-detect next unplanned phase
|
|
578
|
+
/ms:execute-phase <phase>
|
|
579
|
+
```
|
|
580
|
+
|
|
581
|
+
**Completing a milestone:**
|
|
582
|
+
|
|
583
|
+
```
|
|
584
|
+
/ms:audit-milestone 1.0.0 # Verify before completing
|
|
585
|
+
/ms:complete-milestone 1.0.0 # Archive and tag
|
|
586
|
+
/ms:discuss-milestone # Gather context for next
|
|
587
|
+
/ms:new-milestone "v1.1 Features"
|
|
588
|
+
```
|
|
589
|
+
|
|
590
|
+
**Closing gaps from audit:**
|
|
591
|
+
|
|
592
|
+
```
|
|
593
|
+
/ms:audit-milestone 1.0.0 # Finds gaps
|
|
594
|
+
/ms:plan-milestone-gaps # Creates phases to fix them
|
|
595
|
+
/ms:plan-phase 6 # Plan first gap closure phase
|
|
596
|
+
/ms:execute-phase 6
|
|
597
|
+
/ms:audit-milestone 1.0.0 # Re-audit when done
|
|
598
|
+
```
|
|
599
|
+
|
|
600
|
+
**Capturing ideas during work:**
|
|
601
|
+
|
|
602
|
+
```
|
|
603
|
+
/ms:add-todo # Capture from conversation context
|
|
604
|
+
/ms:add-todo Fix modal z-index # Capture with explicit description
|
|
605
|
+
/ms:check-todos # Review and work on todos
|
|
606
|
+
/ms:check-todos api # Filter by area
|
|
607
|
+
```
|
|
608
|
+
|
|
609
|
+
**Pausing and resuming mid-phase:**
|
|
610
|
+
|
|
611
|
+
```
|
|
612
|
+
/ms:pause-work # Creates a handoff pointer
|
|
613
|
+
# later...
|
|
614
|
+
/ms:resume-work # Restore context and continue
|
|
615
|
+
```
|
|
616
|
+
|
|
617
|
+
## Getting Help
|
|
618
|
+
|
|
619
|
+
- Read `.planning/PROJECT.md` for project vision
|
|
620
|
+
- Read `.planning/STATE.md` for current context
|
|
621
|
+
- Check `.planning/ROADMAP.md` for phase status
|
|
622
|
+
- Run `/ms:progress` to check where you're up to
|
|
623
|
+
</reference>
|