maxsimcli 5.0.6 → 5.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.
Files changed (91) hide show
  1. package/README.md +316 -288
  2. package/dist/assets/CHANGELOG.md +14 -0
  3. package/dist/assets/hooks/maxsim-capture-learnings.cjs +128 -0
  4. package/dist/assets/hooks/maxsim-capture-learnings.cjs.map +1 -0
  5. package/dist/assets/hooks/maxsim-check-update.cjs +126 -88
  6. package/dist/assets/hooks/maxsim-check-update.cjs.map +1 -1
  7. package/dist/assets/hooks/maxsim-notification-sound.cjs +87 -43
  8. package/dist/assets/hooks/maxsim-notification-sound.cjs.map +1 -1
  9. package/dist/assets/hooks/maxsim-statusline.cjs +45 -171
  10. package/dist/assets/hooks/maxsim-statusline.cjs.map +1 -1
  11. package/dist/assets/hooks/maxsim-stop-sound.cjs +86 -43
  12. package/dist/assets/hooks/maxsim-stop-sound.cjs.map +1 -1
  13. package/dist/assets/hooks/maxsim-sync-reminder.cjs +72 -21
  14. package/dist/assets/hooks/maxsim-sync-reminder.cjs.map +1 -1
  15. package/dist/assets/templates/agents/AGENTS.md +62 -51
  16. package/dist/assets/templates/agents/executor.md +44 -59
  17. package/dist/assets/templates/agents/planner.md +36 -31
  18. package/dist/assets/templates/agents/researcher.md +35 -43
  19. package/dist/assets/templates/agents/verifier.md +29 -31
  20. package/dist/assets/templates/commands/maxsim/debug.md +20 -154
  21. package/dist/assets/templates/commands/maxsim/execute.md +19 -33
  22. package/dist/assets/templates/commands/maxsim/go.md +21 -20
  23. package/dist/assets/templates/commands/maxsim/help.md +5 -14
  24. package/dist/assets/templates/commands/maxsim/init.md +18 -40
  25. package/dist/assets/templates/commands/maxsim/plan.md +22 -37
  26. package/dist/assets/templates/commands/maxsim/progress.md +15 -16
  27. package/dist/assets/templates/commands/maxsim/quick.md +18 -29
  28. package/dist/assets/templates/commands/maxsim/settings.md +18 -26
  29. package/dist/assets/templates/references/continuation-format.md +2 -4
  30. package/dist/assets/templates/references/model-profiles.md +2 -2
  31. package/dist/assets/templates/references/planning-config.md +10 -11
  32. package/dist/assets/templates/references/self-improvement.md +120 -0
  33. package/dist/assets/templates/rules/conventions.md +1 -1
  34. package/dist/assets/templates/rules/verification-protocol.md +1 -1
  35. package/dist/assets/templates/skills/brainstorming/SKILL.md +35 -26
  36. package/dist/assets/templates/skills/code-review/SKILL.md +78 -55
  37. package/dist/assets/templates/skills/commit-conventions/SKILL.md +70 -36
  38. package/dist/assets/templates/skills/github-operations/SKILL.md +142 -0
  39. package/dist/assets/templates/skills/handoff-contract/SKILL.md +62 -28
  40. package/dist/assets/templates/skills/maxsim-batch/SKILL.md +68 -42
  41. package/dist/assets/templates/skills/maxsim-simplify/SKILL.md +65 -40
  42. package/dist/assets/templates/skills/project-memory/SKILL.md +121 -0
  43. package/dist/assets/templates/skills/research/SKILL.md +126 -0
  44. package/dist/assets/templates/skills/roadmap-writing/SKILL.md +71 -68
  45. package/dist/assets/templates/skills/systematic-debugging/SKILL.md +37 -25
  46. package/dist/assets/templates/skills/tdd/SKILL.md +36 -39
  47. package/dist/assets/templates/skills/using-maxsim/SKILL.md +69 -55
  48. package/dist/assets/templates/skills/verification/SKILL.md +167 -0
  49. package/dist/assets/templates/workflows/batch.md +249 -268
  50. package/dist/assets/templates/workflows/diagnose-issues.md +225 -151
  51. package/dist/assets/templates/workflows/execute-plan.md +191 -981
  52. package/dist/assets/templates/workflows/execute.md +350 -309
  53. package/dist/assets/templates/workflows/go.md +119 -138
  54. package/dist/assets/templates/workflows/health.md +71 -114
  55. package/dist/assets/templates/workflows/help.md +85 -147
  56. package/dist/assets/templates/workflows/init-existing.md +180 -1373
  57. package/dist/assets/templates/workflows/init.md +53 -165
  58. package/dist/assets/templates/workflows/new-milestone.md +91 -334
  59. package/dist/assets/templates/workflows/new-project.md +165 -1384
  60. package/dist/assets/templates/workflows/plan-create.md +182 -73
  61. package/dist/assets/templates/workflows/plan-discuss.md +89 -82
  62. package/dist/assets/templates/workflows/plan-research.md +191 -85
  63. package/dist/assets/templates/workflows/plan.md +122 -58
  64. package/dist/assets/templates/workflows/progress.md +76 -310
  65. package/dist/assets/templates/workflows/quick.md +70 -495
  66. package/dist/assets/templates/workflows/sdd.md +231 -221
  67. package/dist/assets/templates/workflows/settings.md +90 -120
  68. package/dist/assets/templates/workflows/verify-phase.md +296 -258
  69. package/dist/cli.cjs +17 -23465
  70. package/dist/cli.cjs.map +1 -1
  71. package/dist/install.cjs +356 -8358
  72. package/dist/install.cjs.map +1 -1
  73. package/package.json +16 -22
  74. package/dist/assets/templates/skills/agent-system-map/SKILL.md +0 -92
  75. package/dist/assets/templates/skills/evidence-collection/SKILL.md +0 -87
  76. package/dist/assets/templates/skills/github-artifact-protocol/SKILL.md +0 -67
  77. package/dist/assets/templates/skills/github-tools-guide/SKILL.md +0 -89
  78. package/dist/assets/templates/skills/input-validation/SKILL.md +0 -51
  79. package/dist/assets/templates/skills/memory-management/SKILL.md +0 -75
  80. package/dist/assets/templates/skills/research-methodology/SKILL.md +0 -137
  81. package/dist/assets/templates/skills/sdd/SKILL.md +0 -91
  82. package/dist/assets/templates/skills/tool-priority-guide/SKILL.md +0 -80
  83. package/dist/assets/templates/skills/verification-before-completion/SKILL.md +0 -71
  84. package/dist/assets/templates/skills/verification-gates/SKILL.md +0 -169
  85. package/dist/assets/templates/workflows/discuss-phase.md +0 -683
  86. package/dist/assets/templates/workflows/research-phase.md +0 -73
  87. package/dist/assets/templates/workflows/verify-work.md +0 -572
  88. package/dist/core-D5zUr9cb.cjs +0 -4305
  89. package/dist/core-D5zUr9cb.cjs.map +0 -1
  90. package/dist/skills-CjFWZIGM.cjs +0 -6824
  91. package/dist/skills-CjFWZIGM.cjs.map +0 -1
@@ -1,47 +1,41 @@
1
1
  <purpose>
2
- Display the complete MAXSIM command reference. Output ONLY the reference content. Do NOT add project-specific analysis, git status, next-step suggestions, or any commentary beyond the reference.
2
+ Display all available MaxsimCLI commands with descriptions, syntax, and examples. Output ONLY the reference content no project analysis, no git status, no commentary.
3
3
  </purpose>
4
4
 
5
5
  <reference>
6
6
  # MAXSIM Command Reference
7
7
 
8
- MAXSIM is a spec-driven development system for Claude Code. It structures work into milestones, phases, plans, and tasks -- each backed by state-machine logic that tracks progress and resumes automatically.
9
-
10
- ## Table of Contents
11
-
12
- 1. [Getting Started](#getting-started)
13
- 2. [Commands](#commands)
14
- 3. [Plan Flow](#plan-flow)
15
- 4. [Execute Flow](#execute-flow)
16
- 5. [Project Structure](#project-structure)
17
- 6. [Quick Reference](#quick-reference)
8
+ MAXSIM is a spec-driven development system for Claude Code. It structures work into milestones, phases, plans, and tasks each backed by GitHub Issues as the sole source of truth.
18
9
 
19
10
  ---
20
11
 
21
- ## Getting Started
22
-
23
- **First time?** Run `/maxsim:init` to initialize your project.
12
+ ## Commands
24
13
 
25
- **Returning?** Run `/maxsim:go` to auto-detect where you left off.
26
-
27
- **Core loop:**
28
- ```
29
- /maxsim:init --> /maxsim:plan 1 --> /maxsim:execute 1 --> /maxsim:plan 2 --> ...
30
- ```
14
+ | Command | Description |
15
+ |---------|-------------|
16
+ | `/maxsim:init` | Initialize a new project or start a new milestone |
17
+ | `/maxsim:plan [N]` | Plan a phase (discussion → research → planning) |
18
+ | `/maxsim:execute [N]` | Execute all plans in a phase |
19
+ | `/maxsim:go` | Auto-detect state and dispatch to the right command |
20
+ | `/maxsim:progress` | Show project status and recommend next action |
21
+ | `/maxsim:quick` | Run a small ad-hoc task without phase ceremony |
22
+ | `/maxsim:settings` | View and modify MaxsimCLI configuration |
23
+ | `/maxsim:health` | Verify installation and GitHub connectivity |
24
+ | `/maxsim:help` | Show this command reference |
31
25
 
32
26
  ---
33
27
 
34
- ## Commands
35
-
36
28
  ### /maxsim:init
37
29
 
38
- Initialize a new project or manage milestone lifecycle.
30
+ Initialize a new project or start a new milestone cycle.
39
31
 
40
- - **New project:** Deep questioning, optional domain research, requirements definition, roadmap creation
41
- - **Existing project:** Scans codebase, creates planning docs from existing code
42
- - **Active project:** Detects current state, offers milestone lifecycle options (complete, start new)
32
+ - **New project:** Questioning research requirements roadmap → GitHub Issues
33
+ - **Existing project:** Detects current state, offers milestone lifecycle options
43
34
 
44
- Usage: `/maxsim:init` or `/maxsim:init --auto`
35
+ ```
36
+ /maxsim:init
37
+ /maxsim:init --auto
38
+ ```
45
39
 
46
40
  ---
47
41
 
@@ -49,182 +43,125 @@ Usage: `/maxsim:init` or `/maxsim:init --auto`
49
43
 
50
44
  Plan a phase through three stages: Discussion, Research, Planning.
51
45
 
52
- - **Discussion:** Gather implementation decisions via conversation, creates CONTEXT.md
53
- - **Research:** Spawn researcher agent for domain analysis, creates RESEARCH.md
54
- - **Planning:** Spawn planner agent to create executable PLAN.md files
55
- - Auto-detects current stage and resumes from there
56
- - Gate confirmation between each stage
46
+ - Gather implementation decisions via conversation (creates CONTEXT.md)
47
+ - Spawn researcher agent for domain analysis (creates RESEARCH.md)
48
+ - Spawn planner agent to create executable PLAN.md files
49
+ - Auto-detects current stage and resumes from checkpoint
57
50
 
58
- Usage: `/maxsim:plan 3` or `/maxsim:plan` (auto-detects next unplanned phase)
59
-
60
- Flags: `--force-research` (re-run research), `--skip-verify` (skip plan verification)
51
+ ```
52
+ /maxsim:plan 3
53
+ /maxsim:plan (auto-detects next unplanned phase)
54
+ /maxsim:plan 3 --force-research
55
+ ```
61
56
 
62
57
  ---
63
58
 
64
59
  ### /maxsim:execute [N]
65
60
 
66
- Execute all plans in a phase with auto-verification.
61
+ Execute all plans in a phase using wave-ordered parallel agents.
67
62
 
68
- - Runs plans in wave order (parallel within waves)
69
- - Auto-verifies after execution completes
63
+ - Runs plans in wave order (parallel within waves, sequential across waves)
64
+ - Auto-verifies after execution via GitHub Issue task completion
70
65
  - Retries failed verification (max 2 retries, 3 total attempts)
71
- - On final failure, reports what failed and lets you decide
72
66
 
73
- Usage: `/maxsim:execute 3`
67
+ ```
68
+ /maxsim:execute 3
69
+ ```
74
70
 
75
71
  ---
76
72
 
77
73
  ### /maxsim:go
78
74
 
79
- Auto-detect project state and dispatch to the right command.
75
+ Auto-detect project state from GitHub Issues and dispatch to the right command.
80
76
 
81
- - Deep context analysis: project state, git status, recent commits
82
- - Surfaces problems proactively before suggesting actions
83
- - Show + Act pattern: displays what was detected, then acts immediately
84
- - No arguments -- pure auto-detection
77
+ - Reads live GitHub board to determine current position
78
+ - Surfaces blockers and anomalies before suggesting an action
79
+ - No arguments pure auto-detection
85
80
 
86
- Usage: `/maxsim:go`
81
+ ```
82
+ /maxsim:go
83
+ ```
87
84
 
88
85
  ---
89
86
 
90
87
  ### /maxsim:progress
91
88
 
92
- View project progress and milestone status.
93
-
94
- - Phase completion overview with visual progress
95
- - Recent activity summary from SUMMARY files
96
- - Current position and what comes next
97
- - Offers milestone completion when all phases are done
98
-
99
- Usage: `/maxsim:progress`
100
-
101
- ---
89
+ Show project status from GitHub Issues and recommend the next action.
102
90
 
103
- ### /maxsim:debug [description]
91
+ - Overall progress percentage and phase breakdown by status
92
+ - Current milestone and its completion %
93
+ - Open blockers and bugs
94
+ - Recommends the correct next command
104
95
 
105
- Systematic debugging with persistent state across context resets.
106
-
107
- - Scientific method: gather symptoms, hypothesize, test, verify
108
- - Persistent debug sessions in `.planning/debug/` -- survives `/clear`
109
- - Spawns isolated verifier agent (fresh 200K context per investigation)
110
- - Run with no args to resume an active session
111
-
112
- Usage: `/maxsim:debug login form returns 500` or `/maxsim:debug` (resume)
96
+ ```
97
+ /maxsim:progress
98
+ ```
113
99
 
114
100
  ---
115
101
 
116
- ### /maxsim:quick [--full]
102
+ ### /maxsim:quick
117
103
 
118
- Ad-hoc tasks with MAXSIM guarantees.
104
+ Run a small ad-hoc task without full phase planning.
119
105
 
120
- - Atomic commits, state tracking
121
- - `--full` flag enables plan-checking and verification agents
106
+ - Creates a GitHub Issue with label "type:quick"
107
+ - Executes the task directly (no plan files, no wave scheduling)
108
+ - Runs verification, commits, closes the issue
122
109
 
123
- Usage: `/maxsim:quick` or `/maxsim:quick --full`
110
+ ```
111
+ /maxsim:quick
112
+ /maxsim:quick refactor the auth module to remove dead code
113
+ ```
124
114
 
125
115
  ---
126
116
 
127
117
  ### /maxsim:settings
128
118
 
129
- Configure MAXSIM workflow and model profile.
119
+ View and modify MaxsimCLI configuration.
130
120
 
131
121
  - Model profile: quality, balanced, or budget
132
122
  - Toggle agents: researcher, plan checker, verifier
133
- - Branching strategy configuration
134
- - Updates `.planning/config.json`
123
+ - Parallelism and competition strategy
124
+ - Git branching strategy
135
125
 
136
- Usage: `/maxsim:settings`
126
+ ```
127
+ /maxsim:settings
128
+ ```
137
129
 
138
130
  ---
139
131
 
140
- ### /maxsim:help
132
+ ### /maxsim:health
141
133
 
142
- Show this command reference.
134
+ Verify MaxsimCLI installation and GitHub connectivity.
143
135
 
144
- Usage: `/maxsim:help`
145
-
146
- ---
147
-
148
- ## Plan Flow
136
+ - Checks .claude/ directory structure
137
+ - Verifies gh CLI is installed and authenticated
138
+ - Confirms GitHub repo and project board are accessible
139
+ - Reports status of each check with fix instructions
149
140
 
150
141
  ```
151
- /maxsim:plan N
152
- |
153
- v
154
- Discussion -- gather decisions via conversation
155
- |
156
- | Gate: "N decisions captured. Continue?"
157
- v
158
- Research -- spawn researcher agent
159
- |
160
- | Gate: "Research complete. Continue?"
161
- v
162
- Planning -- spawn planner agent
163
- |
164
- | Gate: "N plans in M waves. Ready?"
165
- v
166
- Done -- CONTEXT.md + RESEARCH.md + PLAN.md files created
142
+ /maxsim:health
167
143
  ```
168
144
 
169
- **Artifacts produced at each stage:**
170
-
171
- | Stage | Artifact | Contains |
172
- |-------|----------|----------|
173
- | Discussion | CONTEXT.md | Locked decisions, constraints, boundaries |
174
- | Research | RESEARCH.md | Domain findings, patterns, recommendations |
175
- | Planning | PLAN.md (1+) | Executable tasks with verification criteria |
176
-
177
- **Re-entry:** Running `/maxsim:plan` on an already-planned phase shows status and offers options (view plans, re-plan, execute).
178
-
179
145
  ---
180
146
 
181
- ## Execute Flow
147
+ ### /maxsim:help
148
+
149
+ Show this command reference.
182
150
 
183
151
  ```
184
- /maxsim:execute N
185
- |
186
- v
187
- Execute -- run plans in wave order
188
- | (parallel within waves)
189
- v
190
- Verify -- spawn verifier agent
191
- |
192
- +--> PASS --> Phase complete!
193
- |
194
- +--> FAIL --> Retry (max 2)
195
- |
196
- v
197
- Fix --> Re-verify
198
- |
199
- +--> PASS --> Done
200
- +--> FAIL --> Report to user
152
+ /maxsim:help
201
153
  ```
202
154
 
203
- **Wave execution:** Plans declare wave numbers in their frontmatter. All plans in wave 1 run first (in parallel), then wave 2, etc. This respects dependencies between plans.
204
-
205
155
  ---
206
156
 
207
- ## Project Structure
157
+ ## Core Loop
208
158
 
209
159
  ```
210
- .planning/
211
- PROJECT.md # Project vision and context
212
- REQUIREMENTS.md # Scoped requirements with IDs
213
- ROADMAP.md # Phase structure and progress
214
- STATE.md # Project memory: decisions, blockers, metrics
215
- config.json # Workflow preferences
216
- phases/
217
- 01-foundation/
218
- 01-CONTEXT.md # Discussion decisions
219
- 01-RESEARCH.md # Domain research
220
- 01-01-PLAN.md # Execution plan
221
- 01-01-SUMMARY.md # Completion record
222
- 02-features/
223
- ...
224
- debug/ # Active debug sessions
225
- quick/ # Quick task plans and summaries
160
+ /maxsim:init → /maxsim:plan 1 → /maxsim:execute 1 → /maxsim:plan 2 → /maxsim:execute 2 → ...
226
161
  ```
227
162
 
163
+ **Returning?** Run `/maxsim:go` — it reads GitHub Issues and resumes automatically.
164
+
228
165
  ---
229
166
 
230
167
  ## Quick Reference
@@ -237,17 +174,18 @@ Usage: `/maxsim:help`
237
174
  | Plan a specific phase | `/maxsim:plan N` |
238
175
  | Execute a phase | `/maxsim:execute N` |
239
176
  | Check progress | `/maxsim:progress` |
240
- | Debug an issue | `/maxsim:debug description` |
241
177
  | Quick ad-hoc task | `/maxsim:quick` |
242
178
  | Change settings | `/maxsim:settings` |
179
+ | Check installation | `/maxsim:health` |
243
180
  | See this help | `/maxsim:help` |
244
181
 
245
182
  ---
246
183
 
247
- ## Staying Updated
184
+ ## Documentation
248
185
 
249
- Update MAXSIM to the latest version:
186
+ Full docs: https://github.com/maystudios/maxsim
250
187
 
188
+ Update to latest:
251
189
  ```bash
252
190
  npx maxsimcli@latest
253
191
  ```