mindsystem-cc 3.6.0 → 3.10.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/README.md +197 -214
- package/agents/ms-code-simplifier.md +1 -1
- package/agents/ms-debugger.md +43 -3
- package/agents/ms-designer.md +16 -4
- package/agents/ms-executor.md +5 -0
- package/agents/ms-flutter-code-quality.md +1 -1
- package/agents/ms-flutter-simplifier.md +1 -1
- package/agents/ms-mockup-designer.md +170 -0
- package/agents/ms-plan-checker.md +58 -0
- package/agents/ms-plan-writer.md +472 -0
- package/agents/ms-roadmapper.md +210 -17
- package/commands/ms/add-phase.md +7 -0
- package/commands/ms/add-todo.md +46 -5
- package/commands/ms/{do-work.md → adhoc.md} +9 -2
- package/commands/ms/audit-milestone.md +35 -124
- package/commands/ms/check-phase.md +5 -2
- package/commands/ms/check-todos.md +40 -17
- package/commands/ms/complete-milestone.md +13 -2
- package/commands/ms/create-roadmap.md +135 -54
- package/commands/ms/debug.md +7 -0
- package/commands/ms/design-phase.md +77 -13
- package/commands/ms/discuss-phase.md +9 -1
- package/commands/ms/execute-phase.md +17 -76
- package/commands/ms/help.md +45 -73
- package/commands/ms/insert-phase.md +7 -0
- package/commands/ms/list-phase-assumptions.md +6 -0
- package/commands/ms/map-codebase.md +2 -0
- package/commands/ms/new-milestone.md +216 -126
- package/commands/ms/new-project.md +21 -4
- package/commands/ms/plan-milestone-gaps.md +7 -0
- package/commands/ms/plan-phase.md +21 -7
- package/commands/ms/progress.md +5 -92
- package/commands/ms/release-notes.md +95 -0
- package/commands/ms/remove-phase.md +18 -0
- package/commands/ms/research-phase.md +24 -1
- package/commands/ms/research-project.md +9 -2
- package/commands/ms/review-design.md +7 -0
- package/commands/ms/verify-work.md +9 -2
- package/mindsystem/references/checkpoint-detection.md +50 -0
- package/mindsystem/references/continuation-format.md +2 -3
- package/mindsystem/references/design-directions.md +113 -0
- package/mindsystem/references/plan-format.md +1 -0
- package/mindsystem/references/plan-risk-assessment.md +260 -0
- package/mindsystem/references/prework-status.md +116 -0
- package/mindsystem/references/questioning.md +14 -0
- package/mindsystem/references/routing/audit-result-routing.md +124 -0
- package/mindsystem/references/routing/between-milestones-routing.md +45 -0
- package/mindsystem/references/routing/gap-closure-routing.md +71 -0
- package/mindsystem/references/routing/milestone-complete-routing.md +40 -0
- package/mindsystem/references/routing/next-phase-routing.md +165 -0
- package/mindsystem/templates/DEBUG.md +22 -1
- package/mindsystem/templates/adhoc-summary.md +15 -4
- package/mindsystem/templates/config.json +1 -0
- package/mindsystem/templates/context.md +60 -2
- package/mindsystem/templates/learnings.md +150 -0
- package/mindsystem/templates/milestone-context.md +76 -0
- package/mindsystem/templates/mockup-mobile.md +266 -0
- package/mindsystem/templates/mockup-web.md +126 -0
- package/mindsystem/templates/phase-prompt.md +2 -0
- package/mindsystem/templates/roadmap.md +17 -5
- package/mindsystem/templates/state.md +10 -4
- package/mindsystem/templates/summary.md +2 -2
- package/mindsystem/templates/tech-debt.md +59 -0
- package/mindsystem/workflows/{do-work.md → adhoc.md} +9 -2
- package/mindsystem/workflows/complete-milestone.md +121 -7
- package/mindsystem/workflows/discuss-phase.md +13 -2
- package/mindsystem/workflows/execute-phase.md +40 -109
- package/mindsystem/workflows/execute-plan.md +5 -60
- package/mindsystem/workflows/mockup-generation.md +139 -0
- package/mindsystem/workflows/plan-phase.md +303 -329
- package/mindsystem/workflows/verify-work.md +9 -2
- package/package.json +1 -1
- package/skills/flutter-code-quality/SKILL.md +1 -1
- package/skills/flutter-code-simplification/SKILL.md +1 -1
- package/skills/flutter-senior-review/AGENTS.md +1 -1
- package/skills/flutter-senior-review/SKILL.md +1 -1
- package/agents/ms-milestone-auditor.md +0 -448
- package/commands/ms/define-requirements.md +0 -121
- package/commands/ms/update.md +0 -159
- package/commands/ms/whats-new.md +0 -124
- package/mindsystem/workflows/create-milestone.md +0 -243
- package/mindsystem/workflows/discuss-milestone.md +0 -310
- package/mindsystem/workflows/research-phase.md +0 -17
package/README.md
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
# MINDSYSTEM
|
|
4
4
|
|
|
5
|
-
**
|
|
6
|
-
|
|
7
|
-
*Based on [GSD](https://github.com/glittercowboy/get-shit-done) by TÂCHES.*
|
|
5
|
+
**Spec-driven development for Claude Code, built for engineers who ship production code.**
|
|
8
6
|
|
|
9
7
|
**Solves context rot — the quality degradation that happens as Claude fills its context window.**
|
|
10
8
|
|
|
9
|
+
_Built on the philosophy of [GSD](https://github.com/glittercowboy/get-shit-done) by TÂCHES._
|
|
10
|
+
|
|
11
11
|
[](https://www.npmjs.com/package/mindsystem-cc)
|
|
12
12
|
[](LICENSE)
|
|
13
13
|
|
|
@@ -25,41 +25,59 @@ npx mindsystem-cc
|
|
|
25
25
|
|
|
26
26
|
<br>
|
|
27
27
|
|
|
28
|
-
[Why](#why-this
|
|
28
|
+
[Why](#why-engineers-use-this) · [Install](#installation) · [Mental model](#mental-model) · [Playbooks](#playbooks) · [Why this works](#why-this-works) · [Config](#configuration) · [Commands](#command-index-one-liners) · [Troubleshooting](#troubleshooting)
|
|
29
29
|
|
|
30
30
|
</div>
|
|
31
31
|
|
|
32
32
|
---
|
|
33
33
|
|
|
34
|
-
## Why This
|
|
34
|
+
## Why Engineers Use This
|
|
35
35
|
|
|
36
|
-
>
|
|
36
|
+
> _"I'm a solo developer. I don't write code — Claude Code does. Other spec-driven development tools exist; BMAD, Speckit... But they all seem to make things way more complicated than they need to be. I'm not a 50-person software company. I don't want to play enterprise theater. I'm just a creative person trying to build great things that work."_
|
|
37
37
|
>
|
|
38
38
|
> — **TÂCHES**, creator of the original [GSD](https://github.com/glittercowboy/get-shit-done)
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
This philosophy resonated. GSD proved that spec-driven development could be simple and effective.
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
Mindsystem takes that foundation and optimizes it for a specific kind of user: **Claude Code power users who ship production code**. You're not vibe coding. You want speed, but you also want control, reviewable diffs, and quality gates. You care about what the output code looks like.
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
Where GSD went broad, Mindsystem goes deep - more verification, more review checkpoints, more ways to inspect and override. Less magic, more engineering.
|
|
45
45
|
|
|
46
|
-
###
|
|
47
|
-
Mindsystem avoids mega-flows. Commands stay small, explicit, and composable — you pick the depth you need for this task (quick fix vs. new feature vs. UI-heavy system).
|
|
46
|
+
### What you get
|
|
48
47
|
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
- **Consistent quality across long sessions.** You plan in the main chat; work runs in fresh subagents at peak context quality.
|
|
49
|
+
- **A single source of truth.** Your `.planning/` folder holds what you're building and what you've proven works — not a scrolling chat transcript.
|
|
50
|
+
- **Reviewable diffs.** Every change creates a commit _and_ a `.patch` file you can inspect, apply, or throw away.
|
|
51
|
+
- **Smart division of labor.** Scripts handle mechanics. Models handle judgment calls and code.
|
|
51
52
|
|
|
52
|
-
###
|
|
53
|
-
Deterministic chores live in scripts; language models do what they’re good at: interpreting intent, making trade-offs, and writing code you can review.
|
|
53
|
+
### Beyond the foundation
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
The original GSD established the philosophy and core infrastructure. Mindsystem extends it with features you'll actually need when shipping production code:
|
|
56
56
|
|
|
57
|
-
- **
|
|
58
|
-
- **
|
|
59
|
-
- **
|
|
60
|
-
- **
|
|
61
|
-
- **
|
|
62
|
-
- **
|
|
57
|
+
- **Batched UAT with inline fixing.** `/ms:verify-work` shows you tests in batches, fixes failures on the spot (inline or via subagents), and loops until things pass.
|
|
58
|
+
- **Mock-assisted testing.** Generate mock states for tricky scenarios (errors, empty states, role-based views) without shipping mock code.
|
|
59
|
+
- **Patch files everywhere.** Phase execution and UAT fixes produce `.patch` files (`{phase}-changes.patch`, `{phase}-uat-fixes.patch`) so you can diff before you commit.
|
|
60
|
+
- **UI quality tools.** `/ms:design-phase` writes UI/UX specs. `/ms:review-design` audits existing UI and suggests improvements.
|
|
61
|
+
- **Fast research via CLI.** `ms-lookup` searches APIs (Context7 docs, Perplexity) with caching and JSON output. Example: `ms-lookup docs react "useEffect cleanup"`.
|
|
62
|
+
- **Lean milestone management.** Finishing a milestone consolidates decisions into `vX.Y-DECISIONS.md` and archives the rest, keeping `.planning/` tidy.
|
|
63
|
+
- **Configurable code reviews.** Reviewers run after execution and at milestone audits, creating separate commits. Milestone reviews can be report-only — you decide what gets fixed.
|
|
64
|
+
- **Design mockups.** `/ms:design-phase` generates parallel HTML/CSS mockup variants to explore visual directions before locking a design spec.
|
|
65
|
+
- **Cross-milestone learnings.** Milestone completion extracts curated patterns into `LEARNINGS.md` so planning in future milestones starts smarter.
|
|
66
|
+
- **Structured tech debt.** `/ms:audit-milestone` maintains `TECH-DEBT.md` — a single source of truth for debt items with severity, source, and suggested fixes.
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## Mental Model
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
PLAN You decide scope, design, and break work into small tasks
|
|
74
|
+
↓
|
|
75
|
+
EXECUTE Fresh subagents run each task (commits + .patch files)
|
|
76
|
+
↓
|
|
77
|
+
VERIFY You test manually, Mindsystem fixes inline, repeat until done
|
|
78
|
+
↓
|
|
79
|
+
SHIP Audit milestone, archive decisions, start fresh
|
|
80
|
+
```
|
|
63
81
|
|
|
64
82
|
---
|
|
65
83
|
|
|
@@ -69,30 +87,31 @@ Deterministic chores live in scripts; language models do what they’re good at:
|
|
|
69
87
|
npx mindsystem-cc
|
|
70
88
|
```
|
|
71
89
|
|
|
72
|
-
This
|
|
90
|
+
This adds Mindsystem slash commands to `~/.claude/` (global) or `./.claude/` (local).
|
|
73
91
|
|
|
74
|
-
|
|
92
|
+
Restart Claude Code after installing so it picks up the new commands, then run:
|
|
75
93
|
|
|
76
94
|
```
|
|
77
95
|
/ms:help
|
|
78
96
|
```
|
|
79
97
|
|
|
80
|
-
|
|
98
|
+
<details>
|
|
99
|
+
<summary><strong>Non-interactive install (Docker, CI, scripts)</strong></summary>
|
|
81
100
|
|
|
82
101
|
```bash
|
|
83
102
|
npx mindsystem-cc --global # Install to ~/.claude/
|
|
84
103
|
npx mindsystem-cc --local # Install to ./.claude/
|
|
85
104
|
```
|
|
86
105
|
|
|
87
|
-
|
|
106
|
+
</details>
|
|
88
107
|
|
|
89
|
-
|
|
108
|
+
<details>
|
|
109
|
+
<summary><strong>Staying updated</strong></summary>
|
|
90
110
|
|
|
91
111
|
Inside Claude Code:
|
|
92
112
|
|
|
93
113
|
```
|
|
94
|
-
/ms:
|
|
95
|
-
/ms:update
|
|
114
|
+
/ms:release-notes
|
|
96
115
|
```
|
|
97
116
|
|
|
98
117
|
Or via npm:
|
|
@@ -101,9 +120,12 @@ Or via npm:
|
|
|
101
120
|
npx mindsystem-cc@latest
|
|
102
121
|
```
|
|
103
122
|
|
|
104
|
-
|
|
123
|
+
</details>
|
|
124
|
+
|
|
125
|
+
<details>
|
|
126
|
+
<summary><strong>Development installation</strong></summary>
|
|
105
127
|
|
|
106
|
-
Clone
|
|
128
|
+
Clone and run the installer locally:
|
|
107
129
|
|
|
108
130
|
```bash
|
|
109
131
|
git clone https://github.com/rolandtolnay/mindsystem.git
|
|
@@ -111,180 +133,170 @@ cd mindsystem
|
|
|
111
133
|
node bin/install.js --local
|
|
112
134
|
```
|
|
113
135
|
|
|
114
|
-
|
|
136
|
+
This installs to `./.claude/` so you can test changes before contributing.
|
|
115
137
|
|
|
116
|
-
|
|
138
|
+
</details>
|
|
117
139
|
|
|
118
|
-
|
|
140
|
+
---
|
|
119
141
|
|
|
120
|
-
|
|
142
|
+
## Playbooks
|
|
121
143
|
|
|
122
|
-
|
|
123
|
-
/ms:new-project
|
|
124
|
-
/ms:research-project
|
|
125
|
-
/ms:define-requirements
|
|
126
|
-
/ms:create-roadmap
|
|
127
|
-
/ms:plan-phase 1
|
|
128
|
-
/ms:execute-phase 1
|
|
129
|
-
```
|
|
144
|
+
Replace `<N>` with the phase number you're working on.
|
|
130
145
|
|
|
131
|
-
|
|
146
|
+
### New project (greenfield)
|
|
132
147
|
|
|
133
|
-
|
|
148
|
+
**When:** You're starting fresh — new repo or blank slate.
|
|
134
149
|
|
|
135
|
-
|
|
150
|
+
**Run:**
|
|
136
151
|
|
|
137
152
|
```
|
|
138
|
-
/ms:map-codebase
|
|
139
153
|
/ms:new-project
|
|
140
|
-
/ms:research-project
|
|
141
|
-
/ms:define-requirements
|
|
154
|
+
/ms:research-project # optional (recommended when domain is new)
|
|
142
155
|
/ms:create-roadmap
|
|
143
156
|
/ms:plan-phase 1
|
|
144
157
|
/ms:execute-phase 1
|
|
145
158
|
```
|
|
146
159
|
|
|
147
|
-
|
|
160
|
+
**What you'll get:**
|
|
148
161
|
|
|
149
|
-
|
|
162
|
+
- `.planning/PROJECT.md` — vision and constraints
|
|
163
|
+
- `.planning/REQUIREMENTS.md` — checkable scope
|
|
164
|
+
- `.planning/ROADMAP.md` + `.planning/STATE.md` — plan and project memory
|
|
150
165
|
|
|
151
|
-
|
|
166
|
+
**Tip:** For UI-heavy phases, run `/ms:design-phase 1` before `/ms:plan-phase 1`.
|
|
152
167
|
|
|
153
|
-
|
|
168
|
+
### Existing project (brownfield adoption)
|
|
154
169
|
|
|
155
|
-
|
|
170
|
+
**When:** You have a codebase and want Mindsystem to respect its structure, conventions, and tests.
|
|
171
|
+
|
|
172
|
+
**Run:**
|
|
156
173
|
|
|
157
174
|
```
|
|
175
|
+
/ms:map-codebase
|
|
158
176
|
/ms:new-project
|
|
159
|
-
/ms:
|
|
177
|
+
/ms:research-project # optional (use for new domain areas)
|
|
160
178
|
/ms:create-roadmap
|
|
161
179
|
/ms:plan-phase 1
|
|
162
180
|
/ms:execute-phase 1
|
|
163
181
|
```
|
|
164
182
|
|
|
165
|
-
|
|
183
|
+
**What you'll get:**
|
|
184
|
+
|
|
185
|
+
- `.planning/codebase/*` — captured conventions and structure
|
|
186
|
+
- `.planning/PROJECT.md` / `.planning/REQUIREMENTS.md` / `.planning/ROADMAP.md`
|
|
166
187
|
|
|
167
|
-
###
|
|
188
|
+
### Add feature (existing product)
|
|
189
|
+
|
|
190
|
+
**When:** You already have a `.planning/` folder and want to add a traceable feature.
|
|
191
|
+
|
|
192
|
+
**Run:**
|
|
168
193
|
|
|
169
194
|
```
|
|
170
|
-
/ms:
|
|
171
|
-
/ms:
|
|
172
|
-
/ms:
|
|
195
|
+
/ms:add-phase "Feature: <short name>"
|
|
196
|
+
/ms:discuss-phase <N> # optional (lock intent before planning)
|
|
197
|
+
/ms:design-phase <N> # optional (UI-heavy)
|
|
173
198
|
/ms:plan-phase <N>
|
|
174
199
|
/ms:execute-phase <N>
|
|
175
200
|
```
|
|
176
201
|
|
|
177
|
-
|
|
202
|
+
**What you'll get:**
|
|
203
|
+
|
|
204
|
+
- `.planning/ROADMAP.md` updated with the new phase
|
|
205
|
+
- `.planning/phases/<N>-*/<N>-01-PLAN.md` + `*-SUMMARY.md`
|
|
178
206
|
|
|
179
|
-
|
|
207
|
+
**Tip:** Use `/ms:insert-phase <after> "..."` instead of `/ms:add-phase` when work must happen _before_ the next planned phase.
|
|
208
|
+
|
|
209
|
+
### Work on feature (plan → execute → verify loop)
|
|
210
|
+
|
|
211
|
+
**When:** You want real confidence — implementation, review, and manual UAT.
|
|
212
|
+
|
|
213
|
+
**Run:**
|
|
180
214
|
|
|
181
215
|
```
|
|
182
|
-
/ms:debug "Describe the bug and what you observed"
|
|
183
|
-
/ms:insert-phase <after> "Hotfix: <short description>"
|
|
184
216
|
/ms:plan-phase <N>
|
|
185
217
|
/ms:execute-phase <N>
|
|
218
|
+
/ms:verify-work <N>
|
|
186
219
|
```
|
|
187
220
|
|
|
188
|
-
|
|
221
|
+
**What you'll get:**
|
|
189
222
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
/
|
|
193
|
-
|
|
223
|
+
- `.planning/phases/<N>-*/<N>-changes.patch` — phase implementation diff
|
|
224
|
+
- `.planning/phases/<N>-*/<N>-VERIFICATION.md` — phase goal verification report
|
|
225
|
+
- `.planning/phases/<N>-*/<N>-UAT.md` + `<N>-uat-fixes.patch` — manual test log and fixes diff
|
|
226
|
+
|
|
227
|
+
**How it works:** `/ms:verify-work` fixes issues in-session (inline or via subagent), commits them as `fix(<N>-uat): ...`, and asks you to re-test.
|
|
228
|
+
|
|
229
|
+
**Tip:** For UI that works but feels off, run `/ms:review-design <scope>` to audit and improve quality.
|
|
230
|
+
|
|
231
|
+
### Fix bug
|
|
232
|
+
|
|
233
|
+
**When:** Something's broken and you want a structured investigation that survives `/clear`.
|
|
194
234
|
|
|
195
|
-
|
|
235
|
+
**Run:**
|
|
196
236
|
|
|
197
237
|
```
|
|
198
|
-
/ms:
|
|
199
|
-
/ms:design-phase <N>
|
|
200
|
-
/ms:plan-phase <N>
|
|
201
|
-
/ms:execute-phase <N>
|
|
202
|
-
/ms:verify-work <N>
|
|
238
|
+
/ms:debug "Describe symptoms and what you observed"
|
|
203
239
|
```
|
|
204
240
|
|
|
205
|
-
|
|
241
|
+
**Then route the fix:**
|
|
242
|
+
|
|
243
|
+
- **Small and urgent (1–2 tasks):** `/ms:adhoc "Fix <bug>"`
|
|
244
|
+
- **Must happen before next phase:** `/ms:insert-phase <after> "Hotfix: <bug>"` → `/ms:plan-phase <N>` → `/ms:execute-phase <N>`
|
|
245
|
+
- **Belongs in current phase after verification gaps:** `/ms:plan-phase <N> --gaps` → `/ms:execute-phase <N>`
|
|
246
|
+
|
|
247
|
+
### Scope change (what to use when)
|
|
248
|
+
|
|
249
|
+
**When:** You discover new work mid-stream.
|
|
206
250
|
|
|
207
|
-
|
|
251
|
+
| Situation | Command |
|
|
252
|
+
| ----------------------------- | -------------------------------- |
|
|
253
|
+
| Non-urgent work for later | `/ms:add-phase "..."` |
|
|
254
|
+
| Urgent work before next phase | `/ms:insert-phase <after> "..."` |
|
|
255
|
+
| Task to capture for later | `/ms:add-todo "..."` |
|
|
256
|
+
| Small fix to do right now | `/ms:adhoc "..."` |
|
|
208
257
|
|
|
209
|
-
###
|
|
258
|
+
### Milestone ship (finishing a version)
|
|
259
|
+
|
|
260
|
+
**When:** A version is ready and you want to lock it down cleanly.
|
|
261
|
+
|
|
262
|
+
**Run:**
|
|
210
263
|
|
|
211
264
|
```
|
|
212
265
|
/ms:audit-milestone 1.0.0
|
|
213
266
|
/ms:complete-milestone 1.0.0
|
|
214
267
|
/ms:new-milestone "v1.1"
|
|
215
|
-
/ms:add-phase "Next feature"
|
|
216
268
|
```
|
|
217
269
|
|
|
218
|
-
|
|
270
|
+
**What you'll get:**
|
|
219
271
|
|
|
220
|
-
|
|
272
|
+
- `.planning/milestones/v1.0-DECISIONS.md` — consolidated decisions for future reference
|
|
273
|
+
- `.planning/milestones/v1.0-ROADMAP.md` / `v1.0-REQUIREMENTS.md` — archived detail to keep active docs lean
|
|
221
274
|
|
|
222
|
-
|
|
275
|
+
**Tip:** Milestone review can be **report-only** (e.g., Flutter structural review) so you stay in control. Create a quality phase, or accept tech debt explicitly — your call.
|
|
223
276
|
|
|
224
|
-
|
|
225
|
-
Long Claude Code sessions degrade. Mindsystem pushes project “truth” into files that persist across sessions (vision, requirements, roadmap, state, plans), so you’re not relying on chat history as the only source of reality.
|
|
277
|
+
---
|
|
226
278
|
|
|
227
|
-
|
|
228
|
-
Planning and discussion happen with you; execution happens in fresh subagent contexts, so implementation doesn’t inherit the accumulated noise of a long conversation.
|
|
279
|
+
## Why This Works
|
|
229
280
|
|
|
230
|
-
|
|
231
|
-
Mindsystem keeps plans intentionally small and explicit, with concrete “verify” criteria. When verification finds gaps, you can generate targeted follow-up work (e.g. `/ms:plan-phase <N> --gaps`). For UI-heavy work, `/ms:verify-work` guides manual UAT and can use subagents to investigate and fix issues as they’re found.
|
|
281
|
+
**Context rot is handled structurally.** The truth lives in `.planning/` files (scope, decisions, plans, verification), not buried in a scrolling chat.
|
|
232
282
|
|
|
233
|
-
|
|
283
|
+
**Execution stays sharp.** Plans are small by design and run in fresh subagents, so implementation doesn't inherit long-chat drift.
|
|
234
284
|
|
|
235
|
-
|
|
285
|
+
**Verification is built in.** Phase verification plus `/ms:verify-work` gives you a human-in-the-loop UAT loop with inline fixes and mock support.
|
|
236
286
|
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
| Command | What it does |
|
|
242
|
-
|--------:|--------------|
|
|
243
|
-
| `/ms:help` | Show the full command reference and usage guide. |
|
|
244
|
-
| `/ms:progress` | Show where you are and what’s next. |
|
|
245
|
-
| `/ms:new-project` | Initialize `.planning/` and capture project intent. |
|
|
246
|
-
| `/ms:map-codebase` | Analyze an existing repo and capture conventions + structure. |
|
|
247
|
-
| `/ms:research-project` | Research the overall domain ecosystem (optional). |
|
|
248
|
-
| `/ms:define-requirements` | Scope v1/v2/out-of-scope requirements with checkboxes. |
|
|
249
|
-
| `/ms:create-roadmap` | Create roadmap phases and persistent state tracking. |
|
|
250
|
-
| | |
|
|
251
|
-
| `/ms:discuss-phase <N>` | Gather context before planning a phase. |
|
|
252
|
-
| `/ms:list-phase-assumptions <N>` | Show what Claude assumes before planning/execution. |
|
|
253
|
-
| `/ms:research-phase <N>` | Deep research for unfamiliar or niche phase domains. |
|
|
254
|
-
| `/ms:design-phase <N>` | Produce a UI/UX design spec for a phase. |
|
|
255
|
-
| `/ms:plan-phase [N] [--gaps]` | Generate task plans for a phase (or close gaps). |
|
|
256
|
-
| `/ms:check-phase <N>` | Verify phase plans before execution (optional). |
|
|
257
|
-
| | |
|
|
258
|
-
| `/ms:execute-phase <N>` | Execute all plans in a phase (parallel, checkpointed). |
|
|
259
|
-
| `/ms:verify-work [N]` | User acceptance test of a phase or a plan. |
|
|
260
|
-
| `/ms:debug [desc]` | Run a systematic debugging workflow with persistent state. |
|
|
261
|
-
| `/ms:review-design [scope]` | Audit and improve design quality of implemented features. |
|
|
262
|
-
| `/ms:do-work <desc>` | Execute small discovered work (kept intentionally small). |
|
|
263
|
-
| | |
|
|
264
|
-
| `/ms:add-phase <desc>` | Append a phase to the roadmap. |
|
|
265
|
-
| `/ms:insert-phase <after> <desc>` | Insert urgent work between phases (renumbers). |
|
|
266
|
-
| `/ms:remove-phase <N>` | Remove a future phase and renumber subsequent phases. |
|
|
267
|
-
| | |
|
|
268
|
-
| `/ms:discuss-milestone` | Gather context for the next milestone. |
|
|
269
|
-
| `/ms:new-milestone [name]` | Create a new milestone with phases. |
|
|
270
|
-
| `/ms:audit-milestone [version]` | Audit milestone completion before archiving. |
|
|
271
|
-
| `/ms:complete-milestone <version>` | Archive the milestone and prep the next version. |
|
|
272
|
-
| `/ms:plan-milestone-gaps` | Create phases to close gaps from a milestone audit. |
|
|
273
|
-
| | |
|
|
274
|
-
| `/ms:add-todo [desc]` | Capture an idea/task for later. |
|
|
275
|
-
| `/ms:check-todos [area]` | List pending todos and pick one to work on. |
|
|
276
|
-
| `/ms:whats-new` | See what changed since your installed version. |
|
|
277
|
-
| `/ms:update` | Update Mindsystem and show the changelog. |
|
|
287
|
+
**Review fits your workflow.** Changes become commits and `.patch` files. Milestone reviews can be report-only when you want full control.
|
|
288
|
+
|
|
289
|
+
**Planning docs stay readable.** Milestones consolidate and archive decisions so active files don't grow forever.
|
|
278
290
|
|
|
279
291
|
---
|
|
280
292
|
|
|
281
293
|
## Configuration
|
|
282
294
|
|
|
283
|
-
Mindsystem stores project
|
|
295
|
+
Mindsystem stores project config in `.planning/config.json`.
|
|
284
296
|
|
|
285
|
-
### Code
|
|
297
|
+
### Code review
|
|
286
298
|
|
|
287
|
-
After phase
|
|
299
|
+
After `/ms:execute-phase` (and optionally `/ms:audit-milestone`), Mindsystem runs a reviewer that produces a **separate commit** for easy inspection.
|
|
288
300
|
|
|
289
301
|
```json
|
|
290
302
|
{
|
|
@@ -296,106 +308,77 @@ After phase execution (and optionally at milestone completion), Mindsystem runs
|
|
|
296
308
|
}
|
|
297
309
|
```
|
|
298
310
|
|
|
299
|
-
**
|
|
311
|
+
**Options:**
|
|
300
312
|
|
|
301
|
-
|
|
|
302
|
-
|
|
303
|
-
|
|
|
304
|
-
|
|
|
305
|
-
|
|
|
313
|
+
| Value | What it does |
|
|
314
|
+
| ------------------------- | -------------------------------------------------------------- |
|
|
315
|
+
| `null` | Use the default (stack-aware when available) |
|
|
316
|
+
| `"ms-code-simplifier"` | Generic reviewer — improves clarity and maintainability |
|
|
317
|
+
| `"ms-flutter-simplifier"` | Flutter/Dart-specific — strong widget and Riverpod conventions |
|
|
318
|
+
| `"ms-flutter-reviewer"` | Flutter structural analysis (report-only, no code changes) |
|
|
319
|
+
| `"skip"` | Disable review for that level |
|
|
306
320
|
|
|
307
|
-
**
|
|
321
|
+
**Flutter-specific tools (built-in):**
|
|
308
322
|
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
| `"ms-flutter-simplifier"` | Flutter/Dart-specific reviewer with Riverpod and widget patterns |
|
|
313
|
-
| `"ms-flutter-reviewer"` | Flutter/Dart structural analysis (reports only, does not modify code). When used at milestone level, offers binary choice: create quality phase or accept as tech debt. |
|
|
314
|
-
| `"ms-code-simplifier"` | Generic code reviewer for any language |
|
|
315
|
-
| `"skip"` | Skip code review at this level |
|
|
316
|
-
| `"my-custom-agent"` | Use any custom agent you've defined |
|
|
323
|
+
- **`ms-flutter-simplifier`** — pragmatic refactors that preserve behavior
|
|
324
|
+
- **`ms-flutter-reviewer`** — milestone-level structural audit with actionable report (you control the fixes)
|
|
325
|
+
- **`flutter-senior-review` skill** — domain principles that raise review quality beyond generic lint advice
|
|
317
326
|
|
|
318
|
-
|
|
319
|
-
```json
|
|
320
|
-
{
|
|
321
|
-
"code_review": {
|
|
322
|
-
"adhoc": "ms-flutter-simplifier",
|
|
323
|
-
"phase": "ms-flutter-simplifier",
|
|
324
|
-
"milestone": "ms-flutter-reviewer"
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
```
|
|
328
|
-
|
|
329
|
-
**Example: Skip all code review**
|
|
330
|
-
```json
|
|
331
|
-
{
|
|
332
|
-
"code_review": {
|
|
333
|
-
"adhoc": "skip",
|
|
334
|
-
"phase": "skip",
|
|
335
|
-
"milestone": "skip"
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
```
|
|
327
|
+
---
|
|
339
328
|
|
|
340
|
-
|
|
329
|
+
## Command Index (One-Liners)
|
|
330
|
+
|
|
331
|
+
Full docs live in `/ms:help` (same content as `commands/ms/help.md`).
|
|
332
|
+
|
|
333
|
+
| Command | What it does |
|
|
334
|
+
| ---------------------------------------- | ------------------------------------------------------------- |
|
|
335
|
+
| `/ms:help` | Show the full command reference |
|
|
336
|
+
| `/ms:progress` | Show where you are and what to run next |
|
|
337
|
+
| `/ms:new-project` | Initialize `.planning/` and capture intent |
|
|
338
|
+
| `/ms:map-codebase` | Document existing repo's stack, structure, and conventions |
|
|
339
|
+
| `/ms:research-project` | Do domain research and save findings to `.planning/research/` |
|
|
340
|
+
| `/ms:create-roadmap` | Define requirements and create phases mapped to them |
|
|
341
|
+
| `/ms:discuss-phase <number>` | Lock intent and constraints before planning |
|
|
342
|
+
| `/ms:design-phase <number>` | Generate UI/UX spec for UI-heavy work |
|
|
343
|
+
| `/ms:review-design [scope]` | Audit and improve existing UI quality |
|
|
344
|
+
| `/ms:research-phase <number>` | Do deep research for niche phase domains |
|
|
345
|
+
| `/ms:list-phase-assumptions <number>` | Show what Mindsystem assumes before planning |
|
|
346
|
+
| `/ms:plan-phase [number] [--gaps]` | Create small, verifiable plans with optional risk-based verification |
|
|
347
|
+
| `/ms:check-phase <number>` | Sanity-check plans before execution |
|
|
348
|
+
| `/ms:execute-phase <phase-number>` | Run all unexecuted plans in fresh subagents |
|
|
349
|
+
| `/ms:verify-work [number]` | Batched manual UAT with inline fixes |
|
|
350
|
+
| `/ms:debug [issue description]` | Structured debugging that survives `/clear` |
|
|
351
|
+
| `/ms:adhoc <description>` | Execute a small fix now with review |
|
|
352
|
+
| `/ms:add-phase <description>` | Append a new phase to the roadmap |
|
|
353
|
+
| `/ms:insert-phase <after> <description>` | Insert urgent work between phases |
|
|
354
|
+
| `/ms:remove-phase <number>` | Delete a future phase and renumber |
|
|
355
|
+
| `/ms:audit-milestone [version]` | Audit completion and surface gaps |
|
|
356
|
+
| `/ms:complete-milestone <version>` | Archive and consolidate decisions |
|
|
357
|
+
| `/ms:new-milestone [name]` | Discover what to build next, start new milestone |
|
|
358
|
+
| `/ms:plan-milestone-gaps` | Turn audit gaps into fix phases |
|
|
359
|
+
| `/ms:add-todo [description]` | Capture a deferred task in `.planning/todos/` |
|
|
360
|
+
| `/ms:check-todos [area]` | List pending todos and route into work |
|
|
361
|
+
| `/ms:release-notes` | Show full release notes with update status |
|
|
341
362
|
|
|
342
363
|
---
|
|
343
364
|
|
|
344
|
-
## Troubleshooting
|
|
365
|
+
## Troubleshooting
|
|
345
366
|
|
|
346
367
|
**Commands not found after install?**
|
|
368
|
+
|
|
347
369
|
- Restart Claude Code to reload slash commands.
|
|
348
|
-
-
|
|
370
|
+
- Check that files exist in `~/.claude/commands/ms/` (global) or `./.claude/commands/ms/` (local).
|
|
349
371
|
|
|
350
372
|
**Commands not working as expected?**
|
|
373
|
+
|
|
351
374
|
- Run `/ms:help` to verify installation.
|
|
352
375
|
- Re-run `npx mindsystem-cc` to reinstall.
|
|
353
376
|
|
|
354
377
|
**Updating to the latest version?**
|
|
355
|
-
```bash
|
|
356
|
-
npx mindsystem-cc@latest
|
|
357
|
-
```
|
|
358
|
-
|
|
359
|
-
<details>
|
|
360
|
-
<summary><strong>Claude Code permissions (optional)</strong></summary>
|
|
361
378
|
|
|
362
|
-
If you use Claude Code’s permissions allowlist, you can add a small set of shell commands Mindsystem commonly needs. Example:
|
|
363
|
-
|
|
364
|
-
```json
|
|
365
|
-
{
|
|
366
|
-
"permissions": {
|
|
367
|
-
"allow": [
|
|
368
|
-
"Bash(date:*)",
|
|
369
|
-
"Bash(echo:*)",
|
|
370
|
-
"Bash(cat:*)",
|
|
371
|
-
"Bash(ls:*)",
|
|
372
|
-
"Bash(mkdir:*)",
|
|
373
|
-
"Bash(wc:*)",
|
|
374
|
-
"Bash(head:*)",
|
|
375
|
-
"Bash(tail:*)",
|
|
376
|
-
"Bash(sort:*)",
|
|
377
|
-
"Bash(grep:*)",
|
|
378
|
-
"Bash(tr:*)",
|
|
379
|
-
"Bash(git add:*)",
|
|
380
|
-
"Bash(git commit:*)",
|
|
381
|
-
"Bash(git status:*)",
|
|
382
|
-
"Bash(git log:*)",
|
|
383
|
-
"Bash(git diff:*)",
|
|
384
|
-
"Bash(git tag:*)"
|
|
385
|
-
]
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
```
|
|
389
|
-
|
|
390
|
-
</details>
|
|
391
|
-
|
|
392
|
-
**Using Docker or containerized environments?**
|
|
393
|
-
|
|
394
|
-
If file reads fail with tilde paths (`~/.claude/...`), set `CLAUDE_CONFIG_DIR` before installing:
|
|
395
379
|
```bash
|
|
396
|
-
|
|
380
|
+
npx mindsystem-cc@latest
|
|
397
381
|
```
|
|
398
|
-
This ensures absolute paths are used instead of `~` which may not expand correctly in containers.
|
|
399
382
|
|
|
400
383
|
---
|
|
401
384
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ms-code-simplifier
|
|
3
|
-
description: Simplifies code for clarity, consistency, and maintainability. Technology-agnostic fallback simplifier spawned by execute-phase/
|
|
3
|
+
description: Simplifies code for clarity, consistency, and maintainability. Technology-agnostic fallback simplifier spawned by execute-phase/adhoc after code changes.
|
|
4
4
|
model: sonnet
|
|
5
5
|
tools: Read, Write, Edit, Bash, Grep, Glob
|
|
6
6
|
color: cyan
|