mindsystem-cc 3.0.0 → 3.1.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 CHANGED
@@ -2,16 +2,14 @@
2
2
 
3
3
  # MINDSYSTEM
4
4
 
5
- **A light-weight and powerful meta-prompting, context engineering and spec-driven development system for Claude Code by Roland Tolnay.**
5
+ **A lightweight, opinionated spec-driven development system for Claude Code.**
6
6
 
7
7
  *Based on [GSD](https://github.com/glittercowboy/get-shit-done) by TÂCHES.*
8
8
 
9
9
  **Solves context rot — the quality degradation that happens as Claude fills its context window.**
10
10
 
11
- [![npm version](https://img.shields.io/npm/v/mindsystem-cc?style=for-the-badge&logo=npm&logoColor=white&color=CB3837)](https://www.npmjs.com/package/mindsystem-cc)
12
- [![npm downloads](https://img.shields.io/npm/dm/mindsystem-cc?style=for-the-badge&logo=npm&logoColor=white&color=CB3837)](https://www.npmjs.com/package/mindsystem-cc)
13
- [![License](https://img.shields.io/badge/license-MIT-blue?style=for-the-badge)](LICENSE)
14
- [![GitHub stars](https://img.shields.io/github/stars/rolandtolnay/mindsystem?style=for-the-badge&logo=github&color=181717)](https://github.com/rolandtolnay/mindsystem)
11
+ [![npm version](https://img.shields.io/npm/v/mindsystem-cc?style=flat-square&logo=npm&logoColor=white&color=CB3837)](https://www.npmjs.com/package/mindsystem-cc)
12
+ [![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](LICENSE)
15
13
 
16
14
  <br>
17
15
 
@@ -19,7 +17,7 @@
19
17
  npx mindsystem-cc
20
18
  ```
21
19
 
22
- **Works on Mac, Windows, and Linux.**
20
+ **Works on macOS, Windows, and Linux.**
23
21
 
24
22
  <br>
25
23
 
@@ -27,17 +25,7 @@ npx mindsystem-cc
27
25
 
28
26
  <br>
29
27
 
30
- *"If you know clearly what you want, this WILL build it for you. No bs."*
31
-
32
- *"I've done SpecKit, OpenSpec and Taskmaster — this has produced the best results for me."*
33
-
34
- *"By far the most powerful addition to my Claude Code. Nothing over-engineered. Literally just gets shit done."*
35
-
36
- <br>
37
-
38
- **Trusted by engineers at Amazon, Google, Shopify, and Webflow.**
39
-
40
- [Why I Built This](#why-i-built-this) · [How It Works](#how-it-works) · [Commands](#commands) · [Why It Works](#why-it-works)
28
+ [Why](#why-this-exists) · [Install](#installation) · [Quickstart](#quickstart) · [Workflows](#common-workflows) · [Commands](#command-index) · [Troubleshooting](#troubleshooting--advanced)
41
29
 
42
30
  </div>
43
31
 
@@ -49,71 +37,45 @@ npx mindsystem-cc
49
37
  >
50
38
  > — **TÂCHES**, creator of the original [GSD](https://github.com/glittercowboy/get-shit-done)
51
39
 
52
- Mindsystem is a fork of GSD that shares this philosophy but diverges in approach.
40
+ Mindsystem is a fork of GSD that shares the same “keep it simple” philosophy, but is tuned for a specific audience: **Claude Code power users who prefer to design in plain English**.
53
41
 
54
- ### Fork Philosophy
42
+ You already understand architecture, trade-offs, and quality. Mindsystem focuses on turning your intent into stable outputs over long sessions: it externalizes project memory into files and pushes execution into fresh contexts so quality stays high.
55
43
 
56
- **Modularity over bundling.** Commands stay separated rather than unified into mega-flows. Each command has a clear purpose — you know exactly which to use without consulting documentation.
44
+ ## Philosophy
57
45
 
58
- **Main context for collaboration.** Planning and interactive work stays in the main context rather than delegating to subagents. This preserves conversational iteration, your ability to question and redirect, and visibility into Claude's reasoning. Subagents handle autonomous execution, not collaborative thinking.
46
+ ### Opinionated, modular commands
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).
59
48
 
60
- **User as collaborator.** You decide when to proceed, what to skip. Separate commands for research, requirements, planning, execution. No hidden delegation or background orchestration.
49
+ ### Collaboration stays in the main chat
50
+ Planning and back-and-forth happen with you. Subagents are for autonomous execution, not for hiding key decisions or reasoning.
61
51
 
62
- **Script + prompt hybrid.** Deterministic logic lives in shell scripts, not natural language. Prompts handle reasoning and decisions; scripts handle mechanical operations.
63
-
64
- ### What's New in This Fork
65
-
66
- **Design Phase System.** Full UI/UX specification workflow with `/ms:design-phase`. Dedicated designer agent creates DESIGN.md with ASCII wireframes, component specs, and UX flows. Includes mathematical validation — touch targets, spacing minimums, WCAG AA contrast checks — before implementation begins.
67
-
68
- **ms-lookup Research CLI.** Python tool at `scripts/ms-lookup/` for library documentation (Context7) and deep research (Perplexity). Integrated into research workflows. Run standalone or let agents use it automatically.
69
-
70
- **Enhanced Verification.** Mock support for isolated testing, batched UAT with grouped test presentation, and auto-diagnosis — when issues are found, parallel debug agents investigate root causes before you decide how to fix them.
71
-
72
- ---
52
+ ### Scripts for mechanics, prompts for judgment
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.
73
54
 
74
- Vibecoding has a bad reputation. You describe what you want, AI generates code, and you get inconsistent garbage that falls apart at scale.
55
+ ## What’s New (Fork Highlights)
75
56
 
76
- Mindsystem fixes that. It's the context engineering layer that makes Claude Code reliable. Describe your idea, let the system extract everything it needs to know, and let Claude Code get to work.
57
+ - **Quality-control pipeline**: execution produces reviewable artifacts and verification steps.
58
+ - **Design phase**: `/ms:design-phase` generates a UI/UX spec (flows, components, wireframes) before implementation.
59
+ - **Research tooling**: `scripts/ms-lookup/` can be used standalone or inside workflows.
60
+ - **Enhanced verification**: better UAT batching and debugging support when gaps are found.
77
61
 
78
62
  ---
79
63
 
80
- ## Who This Is For
81
-
82
- People who want to describe what they want and have it built correctly — without pretending they're running a 50-person engineering org.
83
-
84
- ---
85
-
86
- ## Getting Started
64
+ ## Installation
87
65
 
88
66
  ```bash
89
67
  npx mindsystem-cc
90
68
  ```
91
69
 
92
- That's it. Verify with `/ms:help` inside your Claude Code interface.
93
-
94
- ### Start Here
95
-
96
- - If you already have `.planning/` in this repo: run `/ms:progress`.
97
- - If you’re starting in an existing codebase (brownfield): run `/ms:map-codebase`, then `/ms:new-project`.
98
- - Otherwise: run `/ms:new-project`.
70
+ This installs Mindsystem slash commands into `~/.claude/` (global) or `./.claude/` (local).
99
71
 
100
- ### Staying Updated
101
-
102
- Mindsystem evolves fast. Check for updates periodically:
72
+ After install, restart Claude Code (so it reloads slash commands) and verify with:
103
73
 
104
74
  ```
105
- /ms:whats-new # See what changed since your version
106
- /ms:update # Update and show changelog
75
+ /ms:help
107
76
  ```
108
77
 
109
- Or update directly via npm:
110
-
111
- ```bash
112
- npx mindsystem-cc@latest
113
- ```
114
-
115
- <details>
116
- <summary><strong>Non-interactive Install (Docker, CI, Scripts)</strong></summary>
78
+ ### Non-interactive install (Docker, CI, scripts)
117
79
 
118
80
  ```bash
119
81
  npx mindsystem-cc --global # Install to ~/.claude/
@@ -122,350 +84,247 @@ npx mindsystem-cc --local # Install to ./.claude/
122
84
 
123
85
  Use `--global` (`-g`) or `--local` (`-l`) to skip the interactive prompt.
124
86
 
125
- </details>
126
-
127
- <details>
128
- <summary><strong>Development Installation</strong></summary>
87
+ ### Staying updated
129
88
 
130
- Clone the repository and run the installer locally:
89
+ Inside Claude Code:
131
90
 
132
- ```bash
133
- git clone https://github.com/rolandtolnay/mindsystem.git
134
- cd gsd
135
- node bin/install.js --local
91
+ ```
92
+ /ms:whats-new
93
+ /ms:update
136
94
  ```
137
95
 
138
- Installs to `./.claude/` for testing modifications before contributing.
139
-
140
- </details>
141
-
142
- ### Recommended: Skip Permissions Mode
143
-
144
- Mindsystem is designed for frictionless automation. Run Claude Code with:
96
+ Or via npm:
145
97
 
146
98
  ```bash
147
- claude --dangerously-skip-permissions
99
+ npx mindsystem-cc@latest
148
100
  ```
149
101
 
150
- > [!TIP]
151
- > This is how Mindsystem is intended to be used — stopping to approve `date` and `git commit` 50 times defeats the purpose.
102
+ ### Development installation
152
103
 
153
- <details>
154
- <summary><strong>Alternative: Granular Permissions</strong></summary>
155
-
156
- If you prefer not to use that flag, add this to your project's `.claude/settings.json`:
104
+ Clone the repository and run the installer locally:
157
105
 
158
- ```json
159
- {
160
- "permissions": {
161
- "allow": [
162
- "Bash(date:*)",
163
- "Bash(echo:*)",
164
- "Bash(cat:*)",
165
- "Bash(ls:*)",
166
- "Bash(mkdir:*)",
167
- "Bash(wc:*)",
168
- "Bash(head:*)",
169
- "Bash(tail:*)",
170
- "Bash(sort:*)",
171
- "Bash(grep:*)",
172
- "Bash(tr:*)",
173
- "Bash(git add:*)",
174
- "Bash(git commit:*)",
175
- "Bash(git status:*)",
176
- "Bash(git log:*)",
177
- "Bash(git diff:*)",
178
- "Bash(git tag:*)"
179
- ]
180
- }
181
- }
106
+ ```bash
107
+ git clone https://github.com/rolandtolnay/mindsystem.git
108
+ cd mindsystem
109
+ node bin/install.js --local
182
110
  ```
183
111
 
184
- </details>
112
+ Installs to `./.claude/` for testing modifications before contributing.
185
113
 
186
114
  ---
187
115
 
188
- ## How It Works
116
+ ## Quickstart
189
117
 
190
- ### 1. Start with an idea
118
+ ### New project (greenfield MVP)
191
119
 
192
120
  ```
193
121
  /ms:new-project
122
+ /ms:research-project
123
+ /ms:define-requirements
124
+ /ms:create-roadmap
125
+ /ms:plan-phase 1
126
+ /ms:execute-phase 1
194
127
  ```
195
128
 
196
- The system asks questions. Keeps asking until it has everything your goals, constraints, tech preferences, edge cases. You go back and forth until the idea is fully captured. Creates **PROJECT.md**.
129
+ At a high level: `/ms:new-project` captures intent and creates the project workspace, `/ms:research-project` pulls in ecosystem knowledge and common pitfalls, `/ms:define-requirements` turns “what you want” into checkable scope, and `/ms:create-roadmap` converts that scope into phases plus persistent project memory. `/ms:plan-phase` then breaks a phase into small, verifiable tasks, and `/ms:execute-phase` runs those tasks in fresh subagent contexts with verification and reviewable artifacts. The payoff is less context rot, fewer forgotten decisions, and more repeatable output than “just keep chatting until it works”.
130
+
131
+ `/ms:research-project` is part of the default flow. Skip it only when you already know the domain and stack choices.
197
132
 
198
- ### 1.5. Research the domain (optional)
133
+ ### Existing project (brownfield)
199
134
 
200
135
  ```
136
+ /ms:map-codebase
137
+ /ms:new-project
201
138
  /ms:research-project
139
+ /ms:define-requirements
140
+ /ms:create-roadmap
141
+ /ms:plan-phase 1
142
+ /ms:execute-phase 1
202
143
  ```
203
144
 
204
- Spawns parallel agents to investigate the domain what's the standard stack, what features users expect, common architectural patterns, and pitfalls to avoid. Creates `.planning/research/` with ecosystem knowledge.
145
+ `/ms:map-codebase` is the “adoption” step: it teaches Mindsystem your repo’s conventions, structure, and testing patterns so plans land in the right places.
205
146
 
206
- > Recommended for best results. Skip only if you need speed over thoroughness.
147
+ ---
207
148
 
208
- ### 2. Define requirements
149
+ ## Common Workflows
209
150
 
210
- ```
211
- /ms:define-requirements
212
- ```
213
-
214
- Scope what's v1, what's v2, and what's out of scope. Creates **REQUIREMENTS.md** with checkable requirements and traceability. Works with or without prior research.
151
+ Replace `<N>` with the phase you’re working on (usually `1` when you’re starting).
215
152
 
216
- ### 3. Create roadmap
153
+ ### 1) Ship an MVP (fast, structured)
217
154
 
218
155
  ```
156
+ /ms:new-project
157
+ /ms:define-requirements
219
158
  /ms:create-roadmap
159
+ /ms:plan-phase 1
160
+ /ms:execute-phase 1
220
161
  ```
221
162
 
222
- Produces:
223
- - **ROADMAP.md** — Phases from start to finish, mapped to requirements
224
- - **STATE.md** — Living memory that persists across sessions
163
+ Use when you already know the shape of the product and want momentum with guardrails (planning + verification).
225
164
 
226
- ### 4. Plan and execute phases
165
+ ### 2) Add a feature to an existing codebase
227
166
 
228
167
  ```
229
- /ms:plan-phase 1 # System creates atomic task plans
230
- /ms:execute-phase 1 # Parallel agents execute all plans (includes verification)
168
+ /ms:map-codebase
169
+ /ms:new-project
170
+ /ms:discuss-phase <N>
171
+ /ms:plan-phase <N>
172
+ /ms:execute-phase <N>
231
173
  ```
232
174
 
233
- Each phase breaks into 2-3 task plans. Each plan runs in a fresh subagent context — 200k tokens purely for implementation, zero degradation. Plans without dependencies run in parallel.
234
-
235
- Checkpoints and resumption are handled automatically — if interrupted, run `/ms:execute-phase 1` again and it picks up where it left off.
175
+ Use `/ms:discuss-phase` when you have strong opinions about UX/behavior and want them captured before planning.
236
176
 
237
- If a phase verifies with gaps, close them with:
177
+ ### 3) Fix a bug / hotfix with traceability
238
178
 
239
179
  ```
240
- /ms:plan-phase 1 --gaps
241
- /ms:execute-phase 1
180
+ /ms:debug "Describe the bug and what you observed"
181
+ /ms:insert-phase <after> "Hotfix: <short description>"
182
+ /ms:plan-phase <N>
183
+ /ms:execute-phase <N>
242
184
  ```
243
185
 
244
- ### 5. Ship and iterate
186
+ If execution verifies with gaps:
245
187
 
246
188
  ```
247
- /ms:audit-milestone 1.0.0 # (recommended) verify milestone before archiving
248
- /ms:complete-milestone 1.0.0 # Archive v1, prep for v2
249
- /ms:add-phase "Add admin dashboard"
250
- /ms:insert-phase 2 "Fix critical auth bug"
189
+ /ms:plan-phase <N> --gaps
190
+ /ms:execute-phase <N>
251
191
  ```
252
192
 
253
- Ship your MVP in a day. Add features. Insert hotfixes. The system stays modular — you're never stuck.
254
-
255
- ---
256
-
257
- ## Existing Projects (Brownfield)
258
-
259
- Already have code? Start here instead.
260
-
261
- ### 1. Map the codebase
193
+ ### 4) Complex UI/UX feature (design first)
262
194
 
263
195
  ```
264
- /ms:map-codebase
196
+ /ms:discuss-phase <N>
197
+ /ms:design-phase <N>
198
+ /ms:plan-phase <N>
199
+ /ms:execute-phase <N>
200
+ /ms:verify-work <N>
265
201
  ```
266
202
 
267
- Spawns parallel agents to analyze your code. Creates `.planning/codebase/` with 7 documents:
203
+ Use when the UI is the product (new interaction patterns, multiple screens, hard edge cases). Design is optional; this is the “pay the thinking cost up front” path.
268
204
 
269
- | Document | Purpose |
270
- |----------|---------|
271
- | `STACK.md` | Languages, frameworks, dependencies |
272
- | `ARCHITECTURE.md` | Patterns, layers, data flow |
273
- | `STRUCTURE.md` | Directory layout, where things live |
274
- | `CONVENTIONS.md` | Code style, naming patterns |
275
- | `TESTING.md` | Test framework, patterns |
276
- | `INTEGRATIONS.md` | External services, APIs |
277
- | `CONCERNS.md` | Tech debt, known issues, fragile areas |
205
+ `/ms:verify-work` guides you through manual UI verification (UAT). When issues are found, it can spin up subagents to investigate and fix them, then re-present the checks until you’re satisfied.
278
206
 
279
- ### 2. Initialize project
207
+ ### 5) Milestone-driven iteration in an existing product
280
208
 
281
209
  ```
282
- /ms:new-project
210
+ /ms:audit-milestone 1.0.0
211
+ /ms:complete-milestone 1.0.0
212
+ /ms:new-milestone "v1.1"
213
+ /ms:add-phase "Next feature"
283
214
  ```
284
215
 
285
- Same as greenfield, but the system knows your codebase. Questions focus on what you're adding/changing, not starting from scratch.
286
-
287
- ### 3. Continue as normal
288
-
289
- From here, it's the same flow:
290
- - `/ms:research-project` (optional) → `/ms:define-requirements` → `/ms:create-roadmap` → `/ms:plan-phase` → `/ms:execute-phase <phase>`
291
-
292
- The codebase docs load automatically during planning. Claude knows your patterns, conventions, and where to put things.
216
+ Use when you’re shipping continuously: audit what’s “actually done”, archive cleanly, then start the next milestone with explicit phases.
293
217
 
294
218
  ---
295
219
 
296
- ## Why It Works
297
-
298
- ### Context Engineering
299
-
300
- Claude Code is incredibly powerful *if* you give it the context it needs. Most people don't.
301
-
302
- Mindsystem handles it for you:
303
-
304
- | File | What it does |
305
- |------|--------------|
306
- | `PROJECT.md` | Project vision, always loaded |
307
- | `research/` | Ecosystem knowledge (stack, features, architecture, pitfalls) |
308
- | `REQUIREMENTS.md` | Scoped v1/v2 requirements with phase traceability |
309
- | `ROADMAP.md` | Where you're going, what's done |
310
- | `STATE.md` | Decisions, blockers, position — memory across sessions |
311
- | `PLAN.md` | Atomic task with XML structure, verification steps |
312
- | `SUMMARY.md` | What happened, what changed, committed to history |
313
- | `todos/` | Captured ideas and tasks for later work |
314
- | `adhoc/` | Small work executed mid-session with audit trail |
315
-
316
- Size limits based on where Claude's quality degrades. Stay under, get consistent excellence.
317
-
318
- ### XML Prompt Formatting
319
-
320
- Every plan is structured XML optimized for Claude:
321
-
322
- ```xml
323
- <task type="auto">
324
- <name>Create login endpoint</name>
325
- <files>src/app/api/auth/login/route.ts</files>
326
- <action>
327
- Use jose for JWT (not jsonwebtoken - CommonJS issues).
328
- Validate credentials against users table.
329
- Return httpOnly cookie on success.
330
- </action>
331
- <verify>curl -X POST localhost:3000/api/auth/login returns 200 + Set-Cookie</verify>
332
- <done>Valid credentials return cookie, invalid return 401</done>
333
- </task>
334
- ```
220
+ ## Appendix: How Mindsystem Works (High-Level)
335
221
 
336
- Precise instructions. No guessing. Verification built in.
222
+ ### Context rot external memory
223
+ 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.
337
224
 
338
- ### Subagent Execution
225
+ ### Fresh contexts for execution
226
+ Planning and discussion happen with you; execution happens in fresh subagent contexts, so implementation doesn’t inherit the accumulated noise of a long conversation.
339
227
 
340
- As Claude fills its context window, quality degrades. You've seen it: *"Due to context limits, I'll be more concise now."* That "concision" is code for cutting corners.
228
+ ### Small plans + verification loops
229
+ 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.
341
230
 
342
- Mindsystem prevents this. Each plan is maximum 3 tasks. Each plan runs in a fresh subagent — 200k tokens purely for implementation, zero accumulated garbage.
343
-
344
- | Task | Context | Quality |
345
- |------|---------|---------|
346
- | Task 1 | Fresh | ✅ Full |
347
- | Task 2 | Fresh | ✅ Full |
348
- | Task 3 | Fresh | ✅ Full |
349
-
350
- No degradation. Walk away, come back to completed work.
351
-
352
- ### Atomic Git Commits
353
-
354
- Each task gets its own commit immediately after completion:
355
-
356
- ```bash
357
- abc123f docs(08-02): complete user registration plan
358
- def456g feat(08-02): add email confirmation flow
359
- hij789k feat(08-02): implement password hashing
360
- lmn012o feat(08-02): create registration endpoint
361
- ```
362
-
363
- > [!NOTE]
364
- > **Benefits:** Git bisect finds exact failing task. Each task independently revertable. Clear history for Claude in future sessions. Better observability in AI-automated workflow.
365
-
366
- Every commit is surgical, traceable, and meaningful.
367
-
368
- ### Modular by Design
369
-
370
- - Add phases to current milestone
371
- - Insert urgent work between phases
372
- - Complete milestones and start fresh
373
- - Adjust plans without rebuilding everything
374
-
375
- You're never locked in. The system adapts.
231
+ If you want the authoritative, up-to-date guide, run `/ms:help` inside Claude Code (or read `commands/ms/help.md`).
376
232
 
377
233
  ---
378
234
 
379
- ## Commands
380
-
381
- For full details and up-to-date usage, run `/ms:help` inside Claude Code (or read `commands/ms/help.md`).
382
-
383
- ### Setup
384
-
385
- | Command | What it does |
386
- |---------|--------------|
387
- | `/ms:new-project` | Extract your idea through questions, create PROJECT.md |
388
- | `/ms:research-project` | Research domain ecosystem (stacks, features, pitfalls) |
389
- | `/ms:define-requirements` | Scope v1/v2/out-of-scope with checkable requirements |
390
- | `/ms:create-roadmap` | Create roadmap with phases mapped to requirements |
391
- | `/ms:map-codebase` | Map existing codebase for brownfield projects |
392
-
393
- ### Execution
394
-
395
- | Command | What it does |
396
- |---------|--------------|
397
- | `/ms:plan-phase [N] [--gaps]` | Generate task plans for a phase (or close verification gaps) |
398
- | `/ms:execute-phase <N>` | Execute all plans in phase (parallel, handles checkpoints) |
399
- | `/ms:progress` | Where am I? What's next? |
400
-
401
- ### Verification
402
-
403
- | Command | What it does |
404
- |---------|--------------|
405
- | `/ms:check-phase <N>` | Verify phase plans before execution (optional) |
406
- | `/ms:verify-work [N]` | User acceptance test of phase or plan ¹ |
407
- | `/ms:audit-milestone [version]` | Audit milestone completion before archiving |
235
+ ## Command Index
408
236
 
409
- ### Milestones
237
+ Commands are grouped by workflow domain (start → plan → execute → ship → maintain).
410
238
 
411
239
  | Command | What it does |
412
- |---------|--------------|
413
- | `/ms:complete-milestone <version>` | Ship it, prep next version |
414
- | `/ms:discuss-milestone` | Gather context for next milestone |
415
- | `/ms:new-milestone [name]` | Create new milestone with phases |
416
- | `/ms:plan-milestone-gaps` | Create phases to close gaps from audit |
417
-
418
- ### Phase Management
419
-
420
- | Command | What it does |
421
- |---------|--------------|
422
- | `/ms:add-phase <desc>` | Append phase to roadmap |
423
- | `/ms:insert-phase <after> <desc>` | Insert urgent work between phases |
424
- | `/ms:remove-phase <N>` | Remove future phase, renumber subsequent |
425
- | `/ms:discuss-phase <N>` | Gather context before planning |
426
- | `/ms:research-phase <N>` | Deep research for unfamiliar domains |
427
- | `/ms:list-phase-assumptions <N>` | See what Claude assumes before correcting |
428
-
429
- ### Session
430
-
431
- | Command | What it does |
432
- |---------|--------------|
433
- | `/ms:pause-work` | Create handoff file when stopping mid-phase |
434
- | `/ms:resume-work` | Restore from last session |
435
-
436
- ### Utilities
437
-
438
- | Command | What it does |
439
- |---------|--------------|
440
- | `/ms:add-todo [desc]` | Capture idea or task for later |
441
- | `/ms:check-todos [area]` | List pending todos, select one to work on |
442
- | `/ms:do-work <desc>` | Execute small discovered work (max 2 tasks) |
443
- | `/ms:debug [desc]` | Systematic debugging with persistent state |
444
- | `/ms:review-design [scope]` | Audit and improve design of implemented features |
445
- | `/ms:simplify-flutter [scope]` | Simplify Flutter/Dart code for clarity and maintainability |
446
- | `/ms:help` | Show all commands and usage guide |
447
- | `/ms:update` | Update Mindsystem with changelog display |
448
- | `/ms:whats-new` | See what changed since installed version |
449
-
450
- <sup>¹ Contributed by reddit user OracleGreyBeard</sup>
240
+ |--------:|--------------|
241
+ | `/ms:help` | Show the full command reference and usage guide. |
242
+ | `/ms:progress` | Show where you are and what’s next. |
243
+ | `/ms:new-project` | Initialize `.planning/` and capture project intent. |
244
+ | `/ms:map-codebase` | Analyze an existing repo and capture conventions + structure. |
245
+ | `/ms:research-project` | Research the overall domain ecosystem (optional). |
246
+ | `/ms:define-requirements` | Scope v1/v2/out-of-scope requirements with checkboxes. |
247
+ | `/ms:create-roadmap` | Create roadmap phases and persistent state tracking. |
248
+ | | |
249
+ | `/ms:discuss-phase <N>` | Gather context before planning a phase. |
250
+ | `/ms:list-phase-assumptions <N>` | Show what Claude assumes before planning/execution. |
251
+ | `/ms:research-phase <N>` | Deep research for unfamiliar or niche phase domains. |
252
+ | `/ms:design-phase <N>` | Produce a UI/UX design spec for a phase. |
253
+ | `/ms:plan-phase [N] [--gaps]` | Generate task plans for a phase (or close gaps). |
254
+ | `/ms:check-phase <N>` | Verify phase plans before execution (optional). |
255
+ | | |
256
+ | `/ms:execute-phase <N>` | Execute all plans in a phase (parallel, checkpointed). |
257
+ | `/ms:verify-work [N]` | User acceptance test of a phase or a plan. |
258
+ | `/ms:debug [desc]` | Run a systematic debugging workflow with persistent state. |
259
+ | `/ms:review-design [scope]` | Audit and improve design quality of implemented features. |
260
+ | `/ms:simplify-flutter [scope]` | Simplify Flutter/Dart code for clarity. |
261
+ | `/ms:do-work <desc>` | Execute small discovered work (kept intentionally small). |
262
+ | | |
263
+ | `/ms:add-phase <desc>` | Append a phase to the roadmap. |
264
+ | `/ms:insert-phase <after> <desc>` | Insert urgent work between phases (renumbers). |
265
+ | `/ms:remove-phase <N>` | Remove a future phase and renumber subsequent phases. |
266
+ | | |
267
+ | `/ms:discuss-milestone` | Gather context for the next milestone. |
268
+ | `/ms:new-milestone [name]` | Create a new milestone with phases. |
269
+ | `/ms:audit-milestone [version]` | Audit milestone completion before archiving. |
270
+ | `/ms:complete-milestone <version>` | Archive the milestone and prep the next version. |
271
+ | `/ms:plan-milestone-gaps` | Create phases to close gaps from a milestone audit. |
272
+ | | |
273
+ | `/ms:add-todo [desc]` | Capture an idea/task for later. |
274
+ | `/ms:check-todos [area]` | List pending todos and pick one to work on. |
275
+ | `/ms:whats-new` | See what changed since your installed version. |
276
+ | `/ms:update` | Update Mindsystem and show the changelog. |
451
277
 
452
278
  ---
453
279
 
454
- ## Troubleshooting
280
+ ## Troubleshooting & Advanced
455
281
 
456
282
  **Commands not found after install?**
457
- - Restart Claude Code to reload slash commands
458
- - Verify files exist in `~/.claude/commands/ms/` (global) or `./.claude/commands/ms/` (local)
283
+ - Restart Claude Code to reload slash commands.
284
+ - Verify files exist in `~/.claude/commands/ms/` (global) or `./.claude/commands/ms/` (local).
459
285
 
460
286
  **Commands not working as expected?**
461
- - Run `/ms:help` to verify installation
462
- - Re-run `npx mindsystem-cc` to reinstall
287
+ - Run `/ms:help` to verify installation.
288
+ - Re-run `npx mindsystem-cc` to reinstall.
463
289
 
464
290
  **Updating to the latest version?**
465
291
  ```bash
466
292
  npx mindsystem-cc@latest
467
293
  ```
468
294
 
295
+ <details>
296
+ <summary><strong>Claude Code permissions (optional)</strong></summary>
297
+
298
+ If you use Claude Code’s permissions allowlist, you can add a small set of shell commands Mindsystem commonly needs. Example:
299
+
300
+ ```json
301
+ {
302
+ "permissions": {
303
+ "allow": [
304
+ "Bash(date:*)",
305
+ "Bash(echo:*)",
306
+ "Bash(cat:*)",
307
+ "Bash(ls:*)",
308
+ "Bash(mkdir:*)",
309
+ "Bash(wc:*)",
310
+ "Bash(head:*)",
311
+ "Bash(tail:*)",
312
+ "Bash(sort:*)",
313
+ "Bash(grep:*)",
314
+ "Bash(tr:*)",
315
+ "Bash(git add:*)",
316
+ "Bash(git commit:*)",
317
+ "Bash(git status:*)",
318
+ "Bash(git log:*)",
319
+ "Bash(git diff:*)",
320
+ "Bash(git tag:*)"
321
+ ]
322
+ }
323
+ }
324
+ ```
325
+
326
+ </details>
327
+
469
328
  **Using Docker or containerized environments?**
470
329
 
471
330
  If file reads fail with tilde paths (`~/.claude/...`), set `CLAUDE_CONFIG_DIR` before installing:
@@ -476,18 +335,6 @@ This ensures absolute paths are used instead of `~` which may not expand correct
476
335
 
477
336
  ---
478
337
 
479
- ## Star History
480
-
481
- <a href="https://star-history.com/#rolandtolnay/mindsystem&Date">
482
- <picture>
483
- <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=rolandtolnay/mindsystem&type=Date&theme=dark" />
484
- <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=rolandtolnay/mindsystem&type=Date" />
485
- <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=rolandtolnay/mindsystem&type=Date" />
486
- </picture>
487
- </a>
488
-
489
- ---
490
-
491
338
  ## License
492
339
 
493
340
  MIT License. See [LICENSE](LICENSE) for details.