mindsystem-cc 3.5.0 → 3.10.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/README.md +198 -212
- 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 +168 -0
- package/agents/ms-flutter-simplifier.md +4 -51
- 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 +109 -1
- package/bin/install.js +444 -93
- 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 +12 -1
- package/commands/ms/create-roadmap.md +11 -0
- package/commands/ms/debug.md +7 -0
- package/commands/ms/define-requirements.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 +24 -43
- 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 +64 -78
- package/commands/ms/new-project.md +18 -1
- 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 +7 -0
- 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/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 +47 -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/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 +97 -2
- package/mindsystem/workflows/discuss-phase.md +13 -2
- package/mindsystem/workflows/execute-phase.md +8 -82
- 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 +142 -0
- package/skills/flutter-code-simplification/SKILL.md +102 -0
- package/agents/ms-milestone-auditor.md +0 -448
- package/commands/ms/update.md +0 -159
- package/commands/ms/whats-new.md +0 -124
- 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
|
+
|
|
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.
|
|
41
43
|
|
|
42
|
-
|
|
44
|
+
Where GSD went broad, Mindsystem goes deep - more verification, more review checkpoints, more ways to inspect and override. Less magic, more engineering.
|
|
43
45
|
|
|
44
|
-
|
|
46
|
+
### What you get
|
|
45
47
|
|
|
46
|
-
|
|
47
|
-
|
|
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.
|
|
48
52
|
|
|
49
|
-
###
|
|
50
|
-
Planning and back-and-forth happen with you. Subagents are for autonomous execution, not for hiding key decisions or reasoning.
|
|
53
|
+
### Beyond the foundation
|
|
51
54
|
|
|
52
|
-
|
|
53
|
-
|
|
55
|
+
The original GSD established the philosophy and core infrastructure. Mindsystem extends it with features you'll actually need when shipping production code:
|
|
56
|
+
|
|
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
|
+
---
|
|
54
69
|
|
|
55
|
-
##
|
|
70
|
+
## Mental Model
|
|
56
71
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
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>
|
|
105
124
|
|
|
106
|
-
|
|
125
|
+
<details>
|
|
126
|
+
<summary><strong>Development installation</strong></summary>
|
|
127
|
+
|
|
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,172 @@ 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.
|
|
137
|
+
|
|
138
|
+
</details>
|
|
115
139
|
|
|
116
140
|
---
|
|
117
141
|
|
|
118
|
-
##
|
|
142
|
+
## Playbooks
|
|
119
143
|
|
|
120
|
-
|
|
144
|
+
Replace `<N>` with the phase number you're working on.
|
|
121
145
|
|
|
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
|
-
```
|
|
146
|
+
### New project (greenfield)
|
|
130
147
|
|
|
131
|
-
|
|
148
|
+
**When:** You're starting fresh — new repo or blank slate.
|
|
132
149
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
### Existing project (brownfield)
|
|
150
|
+
**Run:**
|
|
136
151
|
|
|
137
152
|
```
|
|
138
|
-
/ms:map-codebase
|
|
139
153
|
/ms:new-project
|
|
140
|
-
/ms:research-project
|
|
154
|
+
/ms:research-project # optional (recommended when domain is new)
|
|
141
155
|
/ms:define-requirements
|
|
142
156
|
/ms:create-roadmap
|
|
143
157
|
/ms:plan-phase 1
|
|
144
158
|
/ms:execute-phase 1
|
|
145
159
|
```
|
|
146
160
|
|
|
147
|
-
|
|
161
|
+
**What you'll get:**
|
|
148
162
|
|
|
149
|
-
|
|
163
|
+
- `.planning/PROJECT.md` — vision and constraints
|
|
164
|
+
- `.planning/REQUIREMENTS.md` — checkable scope
|
|
165
|
+
- `.planning/ROADMAP.md` + `.planning/STATE.md` — plan and project memory
|
|
150
166
|
|
|
151
|
-
|
|
167
|
+
**Tip:** For UI-heavy phases, run `/ms:design-phase 1` before `/ms:plan-phase 1`.
|
|
152
168
|
|
|
153
|
-
|
|
169
|
+
### Existing project (brownfield adoption)
|
|
154
170
|
|
|
155
|
-
|
|
171
|
+
**When:** You have a codebase and want Mindsystem to respect its structure, conventions, and tests.
|
|
172
|
+
|
|
173
|
+
**Run:**
|
|
156
174
|
|
|
157
175
|
```
|
|
176
|
+
/ms:map-codebase
|
|
158
177
|
/ms:new-project
|
|
178
|
+
/ms:research-project # optional (use for new domain areas)
|
|
159
179
|
/ms:define-requirements
|
|
160
180
|
/ms:create-roadmap
|
|
161
181
|
/ms:plan-phase 1
|
|
162
182
|
/ms:execute-phase 1
|
|
163
183
|
```
|
|
164
184
|
|
|
165
|
-
|
|
185
|
+
**What you'll get:**
|
|
186
|
+
|
|
187
|
+
- `.planning/codebase/*` — captured conventions and structure
|
|
188
|
+
- `.planning/PROJECT.md` / `.planning/REQUIREMENTS.md` / `.planning/ROADMAP.md`
|
|
166
189
|
|
|
167
|
-
###
|
|
190
|
+
### Add feature (existing product)
|
|
191
|
+
|
|
192
|
+
**When:** You already have a `.planning/` folder and want to add a traceable feature.
|
|
193
|
+
|
|
194
|
+
**Run:**
|
|
168
195
|
|
|
169
196
|
```
|
|
170
|
-
/ms:
|
|
171
|
-
/ms:
|
|
172
|
-
/ms:
|
|
197
|
+
/ms:add-phase "Feature: <short name>"
|
|
198
|
+
/ms:discuss-phase <N> # optional (lock intent before planning)
|
|
199
|
+
/ms:design-phase <N> # optional (UI-heavy)
|
|
173
200
|
/ms:plan-phase <N>
|
|
174
201
|
/ms:execute-phase <N>
|
|
175
202
|
```
|
|
176
203
|
|
|
177
|
-
|
|
204
|
+
**What you'll get:**
|
|
205
|
+
|
|
206
|
+
- `.planning/ROADMAP.md` updated with the new phase
|
|
207
|
+
- `.planning/phases/<N>-*/<N>-01-PLAN.md` + `*-SUMMARY.md`
|
|
178
208
|
|
|
179
|
-
|
|
209
|
+
**Tip:** Use `/ms:insert-phase <after> "..."` instead of `/ms:add-phase` when work must happen _before_ the next planned phase.
|
|
210
|
+
|
|
211
|
+
### Work on feature (plan → execute → verify loop)
|
|
212
|
+
|
|
213
|
+
**When:** You want real confidence — implementation, review, and manual UAT.
|
|
214
|
+
|
|
215
|
+
**Run:**
|
|
180
216
|
|
|
181
217
|
```
|
|
182
|
-
/ms:debug "Describe the bug and what you observed"
|
|
183
|
-
/ms:insert-phase <after> "Hotfix: <short description>"
|
|
184
218
|
/ms:plan-phase <N>
|
|
185
219
|
/ms:execute-phase <N>
|
|
220
|
+
/ms:verify-work <N>
|
|
186
221
|
```
|
|
187
222
|
|
|
188
|
-
|
|
223
|
+
**What you'll get:**
|
|
189
224
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
/
|
|
193
|
-
|
|
225
|
+
- `.planning/phases/<N>-*/<N>-changes.patch` — phase implementation diff
|
|
226
|
+
- `.planning/phases/<N>-*/<N>-VERIFICATION.md` — phase goal verification report
|
|
227
|
+
- `.planning/phases/<N>-*/<N>-UAT.md` + `<N>-uat-fixes.patch` — manual test log and fixes diff
|
|
228
|
+
|
|
229
|
+
**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.
|
|
230
|
+
|
|
231
|
+
**Tip:** For UI that works but feels off, run `/ms:review-design <scope>` to audit and improve quality.
|
|
232
|
+
|
|
233
|
+
### Fix bug
|
|
234
|
+
|
|
235
|
+
**When:** Something's broken and you want a structured investigation that survives `/clear`.
|
|
194
236
|
|
|
195
|
-
|
|
237
|
+
**Run:**
|
|
196
238
|
|
|
197
239
|
```
|
|
198
|
-
/ms:
|
|
199
|
-
/ms:design-phase <N>
|
|
200
|
-
/ms:plan-phase <N>
|
|
201
|
-
/ms:execute-phase <N>
|
|
202
|
-
/ms:verify-work <N>
|
|
240
|
+
/ms:debug "Describe symptoms and what you observed"
|
|
203
241
|
```
|
|
204
242
|
|
|
205
|
-
|
|
243
|
+
**Then route the fix:**
|
|
244
|
+
|
|
245
|
+
- **Small and urgent (1–2 tasks):** `/ms:adhoc "Fix <bug>"`
|
|
246
|
+
- **Must happen before next phase:** `/ms:insert-phase <after> "Hotfix: <bug>"` → `/ms:plan-phase <N>` → `/ms:execute-phase <N>`
|
|
247
|
+
- **Belongs in current phase after verification gaps:** `/ms:plan-phase <N> --gaps` → `/ms:execute-phase <N>`
|
|
248
|
+
|
|
249
|
+
### Scope change (what to use when)
|
|
250
|
+
|
|
251
|
+
**When:** You discover new work mid-stream.
|
|
206
252
|
|
|
207
|
-
|
|
253
|
+
| Situation | Command |
|
|
254
|
+
| ----------------------------- | -------------------------------- |
|
|
255
|
+
| Non-urgent work for later | `/ms:add-phase "..."` |
|
|
256
|
+
| Urgent work before next phase | `/ms:insert-phase <after> "..."` |
|
|
257
|
+
| Task to capture for later | `/ms:add-todo "..."` |
|
|
258
|
+
| Small fix to do right now | `/ms:adhoc "..."` |
|
|
208
259
|
|
|
209
|
-
###
|
|
260
|
+
### Milestone ship (finishing a version)
|
|
261
|
+
|
|
262
|
+
**When:** A version is ready and you want to lock it down cleanly.
|
|
263
|
+
|
|
264
|
+
**Run:**
|
|
210
265
|
|
|
211
266
|
```
|
|
212
267
|
/ms:audit-milestone 1.0.0
|
|
213
268
|
/ms:complete-milestone 1.0.0
|
|
214
269
|
/ms:new-milestone "v1.1"
|
|
215
|
-
/ms:add-phase "Next feature"
|
|
216
270
|
```
|
|
217
271
|
|
|
218
|
-
|
|
272
|
+
**What you'll get:**
|
|
219
273
|
|
|
220
|
-
|
|
274
|
+
- `.planning/milestones/v1.0-DECISIONS.md` — consolidated decisions for future reference
|
|
275
|
+
- `.planning/milestones/v1.0-ROADMAP.md` / `v1.0-REQUIREMENTS.md` — archived detail to keep active docs lean
|
|
221
276
|
|
|
222
|
-
|
|
277
|
+
**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
278
|
|
|
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.
|
|
279
|
+
---
|
|
226
280
|
|
|
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.
|
|
281
|
+
## Why This Works
|
|
229
282
|
|
|
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.
|
|
283
|
+
**Context rot is handled structurally.** The truth lives in `.planning/` files (scope, decisions, plans, verification), not buried in a scrolling chat.
|
|
232
284
|
|
|
233
|
-
|
|
285
|
+
**Execution stays sharp.** Plans are small by design and run in fresh subagents, so implementation doesn't inherit long-chat drift.
|
|
234
286
|
|
|
235
|
-
|
|
287
|
+
**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
288
|
|
|
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. |
|
|
289
|
+
**Review fits your workflow.** Changes become commits and `.patch` files. Milestone reviews can be report-only when you want full control.
|
|
290
|
+
|
|
291
|
+
**Planning docs stay readable.** Milestones consolidate and archive decisions so active files don't grow forever.
|
|
278
292
|
|
|
279
293
|
---
|
|
280
294
|
|
|
281
295
|
## Configuration
|
|
282
296
|
|
|
283
|
-
Mindsystem stores project
|
|
297
|
+
Mindsystem stores project config in `.planning/config.json`.
|
|
284
298
|
|
|
285
|
-
### Code
|
|
299
|
+
### Code review
|
|
286
300
|
|
|
287
|
-
After phase
|
|
301
|
+
After `/ms:execute-phase` (and optionally `/ms:audit-milestone`), Mindsystem runs a reviewer that produces a **separate commit** for easy inspection.
|
|
288
302
|
|
|
289
303
|
```json
|
|
290
304
|
{
|
|
@@ -296,106 +310,78 @@ After phase execution (and optionally at milestone completion), Mindsystem runs
|
|
|
296
310
|
}
|
|
297
311
|
```
|
|
298
312
|
|
|
299
|
-
**
|
|
313
|
+
**Options:**
|
|
300
314
|
|
|
301
|
-
|
|
|
302
|
-
|
|
303
|
-
|
|
|
304
|
-
|
|
|
305
|
-
|
|
|
315
|
+
| Value | What it does |
|
|
316
|
+
| ------------------------- | -------------------------------------------------------------- |
|
|
317
|
+
| `null` | Use the default (stack-aware when available) |
|
|
318
|
+
| `"ms-code-simplifier"` | Generic reviewer — improves clarity and maintainability |
|
|
319
|
+
| `"ms-flutter-simplifier"` | Flutter/Dart-specific — strong widget and Riverpod conventions |
|
|
320
|
+
| `"ms-flutter-reviewer"` | Flutter structural analysis (report-only, no code changes) |
|
|
321
|
+
| `"skip"` | Disable review for that level |
|
|
306
322
|
|
|
307
|
-
**
|
|
323
|
+
**Flutter-specific tools (built-in):**
|
|
308
324
|
|
|
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 |
|
|
325
|
+
- **`ms-flutter-simplifier`** — pragmatic refactors that preserve behavior
|
|
326
|
+
- **`ms-flutter-reviewer`** — milestone-level structural audit with actionable report (you control the fixes)
|
|
327
|
+
- **`flutter-senior-review` skill** — domain principles that raise review quality beyond generic lint advice
|
|
317
328
|
|
|
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
|
-
```
|
|
329
|
+
---
|
|
339
330
|
|
|
340
|
-
|
|
331
|
+
## Command Index (One-Liners)
|
|
332
|
+
|
|
333
|
+
Full docs live in `/ms:help` (same content as `commands/ms/help.md`).
|
|
334
|
+
|
|
335
|
+
| Command | What it does |
|
|
336
|
+
| ---------------------------------------- | ------------------------------------------------------------- |
|
|
337
|
+
| `/ms:help` | Show the full command reference |
|
|
338
|
+
| `/ms:progress` | Show where you are and what to run next |
|
|
339
|
+
| `/ms:new-project` | Initialize `.planning/` and capture intent |
|
|
340
|
+
| `/ms:map-codebase` | Document existing repo's stack, structure, and conventions |
|
|
341
|
+
| `/ms:research-project` | Do domain research and save findings to `.planning/research/` |
|
|
342
|
+
| `/ms:define-requirements` | Turn intent into checkable v1/v2/out-of-scope requirements |
|
|
343
|
+
| `/ms:create-roadmap` | Convert requirements into phases and state |
|
|
344
|
+
| `/ms:discuss-phase <number>` | Lock intent and constraints before planning |
|
|
345
|
+
| `/ms:design-phase <number>` | Generate UI/UX spec for UI-heavy work |
|
|
346
|
+
| `/ms:review-design [scope]` | Audit and improve existing UI quality |
|
|
347
|
+
| `/ms:research-phase <number>` | Do deep research for niche phase domains |
|
|
348
|
+
| `/ms:list-phase-assumptions <number>` | Show what Mindsystem assumes before planning |
|
|
349
|
+
| `/ms:plan-phase [number] [--gaps]` | Create small, verifiable plans with optional risk-based verification |
|
|
350
|
+
| `/ms:check-phase <number>` | Sanity-check plans before execution |
|
|
351
|
+
| `/ms:execute-phase <phase-number>` | Run all unexecuted plans in fresh subagents |
|
|
352
|
+
| `/ms:verify-work [number]` | Batched manual UAT with inline fixes |
|
|
353
|
+
| `/ms:debug [issue description]` | Structured debugging that survives `/clear` |
|
|
354
|
+
| `/ms:adhoc <description>` | Execute a small fix now with review |
|
|
355
|
+
| `/ms:add-phase <description>` | Append a new phase to the roadmap |
|
|
356
|
+
| `/ms:insert-phase <after> <description>` | Insert urgent work between phases |
|
|
357
|
+
| `/ms:remove-phase <number>` | Delete a future phase and renumber |
|
|
358
|
+
| `/ms:audit-milestone [version]` | Audit completion and surface gaps |
|
|
359
|
+
| `/ms:complete-milestone <version>` | Archive and consolidate decisions |
|
|
360
|
+
| `/ms:new-milestone [name]` | Start next milestone with fresh scope |
|
|
361
|
+
| `/ms:plan-milestone-gaps` | Turn audit gaps into fix phases |
|
|
362
|
+
| `/ms:add-todo [description]` | Capture a deferred task in `.planning/todos/` |
|
|
363
|
+
| `/ms:check-todos [area]` | List pending todos and route into work |
|
|
364
|
+
| `/ms:release-notes` | Show full release notes with update status |
|
|
341
365
|
|
|
342
366
|
---
|
|
343
367
|
|
|
344
|
-
## Troubleshooting
|
|
368
|
+
## Troubleshooting
|
|
345
369
|
|
|
346
370
|
**Commands not found after install?**
|
|
371
|
+
|
|
347
372
|
- Restart Claude Code to reload slash commands.
|
|
348
|
-
-
|
|
373
|
+
- Check that files exist in `~/.claude/commands/ms/` (global) or `./.claude/commands/ms/` (local).
|
|
349
374
|
|
|
350
375
|
**Commands not working as expected?**
|
|
376
|
+
|
|
351
377
|
- Run `/ms:help` to verify installation.
|
|
352
378
|
- Re-run `npx mindsystem-cc` to reinstall.
|
|
353
379
|
|
|
354
380
|
**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
381
|
|
|
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
382
|
```bash
|
|
396
|
-
|
|
383
|
+
npx mindsystem-cc@latest
|
|
397
384
|
```
|
|
398
|
-
This ensures absolute paths are used instead of `~` which may not expand correctly in containers.
|
|
399
385
|
|
|
400
386
|
---
|
|
401
387
|
|
|
@@ -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
|