maxsimcli 4.16.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/CHANGELOG.md +7 -0
- package/dist/assets/hooks/maxsim-check-update.cjs.map +1 -1
- package/dist/assets/hooks/maxsim-notification-sound.cjs +70 -0
- package/dist/assets/hooks/maxsim-notification-sound.cjs.map +1 -0
- package/dist/assets/hooks/maxsim-statusline.cjs.map +1 -1
- package/dist/assets/hooks/maxsim-stop-sound.cjs +70 -0
- package/dist/assets/hooks/maxsim-stop-sound.cjs.map +1 -0
- package/dist/assets/hooks/maxsim-sync-reminder.cjs.map +1 -1
- package/dist/assets/templates/agents/executor.md +2 -2
- package/dist/assets/templates/agents/planner.md +1 -1
- package/dist/assets/templates/agents/verifier.md +1 -1
- package/dist/assets/templates/commands/maxsim/quick.md +2 -2
- package/dist/assets/templates/skills/github-artifact-protocol/SKILL.md +8 -8
- package/dist/assets/templates/skills/github-tools-guide/SKILL.md +96 -0
- package/dist/assets/templates/workflows/execute-plan.md +82 -68
- package/dist/assets/templates/workflows/execute.md +51 -36
- package/dist/assets/templates/workflows/go.md +21 -16
- package/dist/assets/templates/workflows/init-existing.md +13 -16
- package/dist/assets/templates/workflows/new-milestone.md +23 -1
- package/dist/assets/templates/workflows/new-project.md +13 -16
- package/dist/assets/templates/workflows/plan-create.md +16 -24
- package/dist/assets/templates/workflows/plan-discuss.md +6 -8
- package/dist/assets/templates/workflows/plan-research.md +7 -6
- package/dist/assets/templates/workflows/plan.md +21 -14
- package/dist/assets/templates/workflows/progress.md +45 -20
- package/dist/assets/templates/workflows/quick.md +21 -13
- package/dist/assets/templates/workflows/sdd.md +13 -11
- package/dist/assets/templates/workflows/verify-phase.md +77 -58
- package/dist/cli.cjs +4410 -2265
- package/dist/cli.cjs.map +1 -1
- package/dist/install.cjs +60 -37
- package/dist/install.cjs.map +1 -1
- package/package.json +2 -4
- package/dist/assets/templates/workflows/discovery-phase.md +0 -292
- package/dist/assets/templates/workflows/execute-phase.md +0 -752
- package/dist/mcp-server.cjs +0 -41031
- package/dist/mcp-server.cjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "maxsimcli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A meta-prompting, context engineering and spec-driven development system for Claude Code, OpenCode, Gemini and Codex by MayStudios.",
|
|
6
6
|
"bin": {
|
|
@@ -60,11 +60,9 @@
|
|
|
60
60
|
"yaml": "^2.8.2"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
64
63
|
"@octokit/plugin-retry": "^8.1.0",
|
|
65
64
|
"@octokit/plugin-throttling": "^11.0.3",
|
|
66
65
|
"@octokit/rest": "^22.0.1",
|
|
67
|
-
"figlet": "^1.10.0"
|
|
68
|
-
"zod": "^3.25.0"
|
|
66
|
+
"figlet": "^1.10.0"
|
|
69
67
|
}
|
|
70
68
|
}
|
|
@@ -1,292 +0,0 @@
|
|
|
1
|
-
<purpose>
|
|
2
|
-
Execute discovery at the appropriate depth level.
|
|
3
|
-
Produces DISCOVERY.md (for Level 2-3) that informs PLAN.md creation.
|
|
4
|
-
|
|
5
|
-
Called from plan-create.md's mandatory_discovery step with a depth parameter.
|
|
6
|
-
|
|
7
|
-
NOTE: For comprehensive ecosystem research ("how do experts build this"), use /maxsim:plan --research instead, which produces RESEARCH.md.
|
|
8
|
-
</purpose>
|
|
9
|
-
|
|
10
|
-
<required_reading>
|
|
11
|
-
</required_reading>
|
|
12
|
-
|
|
13
|
-
<depth_levels>
|
|
14
|
-
**This workflow supports three depth levels:**
|
|
15
|
-
|
|
16
|
-
| Level | Name | Time | Output | When |
|
|
17
|
-
| ----- | ------------ | --------- | -------------------------------------------- | ----------------------------------------- |
|
|
18
|
-
| 1 | Quick Verify | 2-5 min | No file, proceed with verified knowledge | Single library, confirming current syntax |
|
|
19
|
-
| 2 | Standard | 15-30 min | DISCOVERY.md | Choosing between options, new integration |
|
|
20
|
-
| 3 | Deep Dive | 1+ hour | Detailed DISCOVERY.md with validation gates | Architectural decisions, novel problems |
|
|
21
|
-
|
|
22
|
-
**Depth is determined by plan-create.md before routing here.**
|
|
23
|
-
</depth_levels>
|
|
24
|
-
|
|
25
|
-
<source_hierarchy>
|
|
26
|
-
**MANDATORY: Context7 BEFORE WebSearch**
|
|
27
|
-
|
|
28
|
-
Claude's training data is 6-18 months stale. Always verify.
|
|
29
|
-
|
|
30
|
-
1. **Context7 MCP FIRST** - Current docs, no hallucination
|
|
31
|
-
2. **Official docs** - When Context7 lacks coverage
|
|
32
|
-
3. **WebSearch LAST** - For comparisons and trends only
|
|
33
|
-
|
|
34
|
-
See ~/.claude/maxsim/templates/discovery.md `<discovery_protocol>` for full protocol.
|
|
35
|
-
</source_hierarchy>
|
|
36
|
-
|
|
37
|
-
<process>
|
|
38
|
-
|
|
39
|
-
<step name="determine_depth">
|
|
40
|
-
Check the depth parameter passed from plan-create.md:
|
|
41
|
-
- `depth=verify` → Level 1 (Quick Verification)
|
|
42
|
-
- `depth=standard` → Level 2 (Standard Discovery)
|
|
43
|
-
- `depth=deep` → Level 3 (Deep Dive)
|
|
44
|
-
|
|
45
|
-
Route to appropriate level workflow below.
|
|
46
|
-
</step>
|
|
47
|
-
|
|
48
|
-
<step name="level_1_quick_verify">
|
|
49
|
-
**Level 1: Quick Verification (2-5 minutes)**
|
|
50
|
-
|
|
51
|
-
For: Single known library, confirming syntax/version still correct.
|
|
52
|
-
|
|
53
|
-
**Process:**
|
|
54
|
-
|
|
55
|
-
1. Resolve library in Context7:
|
|
56
|
-
|
|
57
|
-
```
|
|
58
|
-
mcp__context7__resolve-library-id with libraryName: "[library]"
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
2. Fetch relevant docs:
|
|
62
|
-
|
|
63
|
-
```
|
|
64
|
-
mcp__context7__get-library-docs with:
|
|
65
|
-
- context7CompatibleLibraryID: [from step 1]
|
|
66
|
-
- topic: [specific concern]
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
3. Verify:
|
|
70
|
-
|
|
71
|
-
- Current version matches expectations
|
|
72
|
-
- API syntax unchanged
|
|
73
|
-
- No breaking changes in recent versions
|
|
74
|
-
|
|
75
|
-
4. **If verified:** Return to plan-create.md with confirmation. No DISCOVERY.md needed.
|
|
76
|
-
|
|
77
|
-
5. **If concerns found:** Escalate to Level 2.
|
|
78
|
-
|
|
79
|
-
**Output:** Verbal confirmation to proceed, or escalation to Level 2.
|
|
80
|
-
</step>
|
|
81
|
-
|
|
82
|
-
<step name="level_2_standard">
|
|
83
|
-
**Level 2: Standard Discovery (15-30 minutes)**
|
|
84
|
-
|
|
85
|
-
For: Choosing between options, new external integration.
|
|
86
|
-
|
|
87
|
-
**Process:**
|
|
88
|
-
|
|
89
|
-
1. **Identify what to discover:**
|
|
90
|
-
|
|
91
|
-
- What options exist?
|
|
92
|
-
- What are the key comparison criteria?
|
|
93
|
-
- What's our specific use case?
|
|
94
|
-
|
|
95
|
-
2. **Context7 for each option:**
|
|
96
|
-
|
|
97
|
-
```
|
|
98
|
-
For each library/framework:
|
|
99
|
-
- mcp__context7__resolve-library-id
|
|
100
|
-
- mcp__context7__get-library-docs (mode: "code" for API, "info" for concepts)
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
3. **Official docs** for anything Context7 lacks.
|
|
104
|
-
|
|
105
|
-
4. **WebSearch** for comparisons:
|
|
106
|
-
|
|
107
|
-
- "[option A] vs [option B] {current_year}"
|
|
108
|
-
- "[option] known issues"
|
|
109
|
-
- "[option] with [our stack]"
|
|
110
|
-
|
|
111
|
-
5. **Cross-verify:** Any WebSearch finding → confirm with Context7/official docs.
|
|
112
|
-
|
|
113
|
-
6. **Create DISCOVERY.md** using ~/.claude/maxsim/templates/discovery.md structure:
|
|
114
|
-
|
|
115
|
-
- Summary with recommendation
|
|
116
|
-
- Key findings per option
|
|
117
|
-
- Code examples from Context7
|
|
118
|
-
- Confidence level (should be MEDIUM-HIGH for Level 2)
|
|
119
|
-
|
|
120
|
-
7. Return to plan-create.md.
|
|
121
|
-
|
|
122
|
-
**Output:** `.planning/phases/XX-name/DISCOVERY.md`
|
|
123
|
-
</step>
|
|
124
|
-
|
|
125
|
-
<step name="level_3_deep_dive">
|
|
126
|
-
**Level 3: Deep Dive (1+ hour)**
|
|
127
|
-
|
|
128
|
-
For: Architectural decisions, novel problems, high-risk choices.
|
|
129
|
-
|
|
130
|
-
**Process:**
|
|
131
|
-
|
|
132
|
-
1. **Scope the discovery** using ~/.claude/maxsim/templates/discovery.md:
|
|
133
|
-
|
|
134
|
-
- Define clear scope
|
|
135
|
-
- Define include/exclude boundaries
|
|
136
|
-
- List specific questions to answer
|
|
137
|
-
|
|
138
|
-
2. **Exhaustive Context7 research:**
|
|
139
|
-
|
|
140
|
-
- All relevant libraries
|
|
141
|
-
- Related patterns and concepts
|
|
142
|
-
- Multiple topics per library if needed
|
|
143
|
-
|
|
144
|
-
3. **Official documentation deep read:**
|
|
145
|
-
|
|
146
|
-
- Architecture guides
|
|
147
|
-
- Best practices sections
|
|
148
|
-
- Migration/upgrade guides
|
|
149
|
-
- Known limitations
|
|
150
|
-
|
|
151
|
-
4. **WebSearch for ecosystem context:**
|
|
152
|
-
|
|
153
|
-
- How others solved similar problems
|
|
154
|
-
- Production experiences
|
|
155
|
-
- Gotchas and anti-patterns
|
|
156
|
-
- Recent changes/announcements
|
|
157
|
-
|
|
158
|
-
5. **Cross-verify ALL findings:**
|
|
159
|
-
|
|
160
|
-
- Every WebSearch claim → verify with authoritative source
|
|
161
|
-
- Mark what's verified vs assumed
|
|
162
|
-
- Flag contradictions
|
|
163
|
-
|
|
164
|
-
6. **Create comprehensive DISCOVERY.md:**
|
|
165
|
-
|
|
166
|
-
- Full structure from ~/.claude/maxsim/templates/discovery.md
|
|
167
|
-
- Quality report with source attribution
|
|
168
|
-
- Confidence by finding
|
|
169
|
-
- If LOW confidence on any critical finding → add validation checkpoints
|
|
170
|
-
|
|
171
|
-
7. **Confidence gate:** If overall confidence is LOW, present options before proceeding.
|
|
172
|
-
|
|
173
|
-
8. Return to plan-create.md.
|
|
174
|
-
|
|
175
|
-
**Output:** `.planning/phases/XX-name/DISCOVERY.md` (comprehensive)
|
|
176
|
-
</step>
|
|
177
|
-
|
|
178
|
-
<step name="identify_unknowns">
|
|
179
|
-
**For Level 2-3:** Define what we need to learn.
|
|
180
|
-
|
|
181
|
-
Ask: What do we need to learn before we can plan this phase?
|
|
182
|
-
|
|
183
|
-
- Technology choices?
|
|
184
|
-
- Best practices?
|
|
185
|
-
- API patterns?
|
|
186
|
-
- Architecture approach?
|
|
187
|
-
</step>
|
|
188
|
-
|
|
189
|
-
<step name="create_discovery_scope">
|
|
190
|
-
Use ~/.claude/maxsim/templates/discovery.md.
|
|
191
|
-
|
|
192
|
-
Include:
|
|
193
|
-
|
|
194
|
-
- Clear discovery objective
|
|
195
|
-
- Scoped include/exclude lists
|
|
196
|
-
- Source preferences (official docs, Context7, current year)
|
|
197
|
-
- Output structure for DISCOVERY.md
|
|
198
|
-
</step>
|
|
199
|
-
|
|
200
|
-
<step name="execute_discovery">
|
|
201
|
-
Run the discovery:
|
|
202
|
-
- Use web search for current info
|
|
203
|
-
- Use Context7 MCP for library docs
|
|
204
|
-
- Prefer current year sources
|
|
205
|
-
- Structure findings per template
|
|
206
|
-
</step>
|
|
207
|
-
|
|
208
|
-
<step name="create_discovery_output">
|
|
209
|
-
Write `.planning/phases/XX-name/DISCOVERY.md`:
|
|
210
|
-
- Summary with recommendation
|
|
211
|
-
- Key findings with sources
|
|
212
|
-
- Code examples if applicable
|
|
213
|
-
- Metadata (confidence, dependencies, open questions, assumptions)
|
|
214
|
-
</step>
|
|
215
|
-
|
|
216
|
-
<step name="confidence_gate">
|
|
217
|
-
After creating DISCOVERY.md, check confidence level.
|
|
218
|
-
|
|
219
|
-
If confidence is LOW:
|
|
220
|
-
Use AskUserQuestion:
|
|
221
|
-
|
|
222
|
-
- header: "Low Conf."
|
|
223
|
-
- question: "Discovery confidence is LOW: [reason]. How would you like to proceed?"
|
|
224
|
-
- options:
|
|
225
|
-
- "Dig deeper" - Do more research before planning
|
|
226
|
-
- "Proceed anyway" - Accept uncertainty, plan with caveats
|
|
227
|
-
- "Pause" - I need to think about this
|
|
228
|
-
|
|
229
|
-
If confidence is MEDIUM:
|
|
230
|
-
Inline: "Discovery complete (medium confidence). [brief reason]. Proceed to planning?"
|
|
231
|
-
|
|
232
|
-
If confidence is HIGH:
|
|
233
|
-
Proceed directly, just note: "Discovery complete (high confidence)."
|
|
234
|
-
</step>
|
|
235
|
-
|
|
236
|
-
<step name="open_questions_gate">
|
|
237
|
-
If DISCOVERY.md has open_questions:
|
|
238
|
-
|
|
239
|
-
Present them inline:
|
|
240
|
-
"Open questions from discovery:
|
|
241
|
-
|
|
242
|
-
- [Question 1]
|
|
243
|
-
- [Question 2]
|
|
244
|
-
|
|
245
|
-
These may affect implementation. Acknowledge and proceed? (yes / address first)"
|
|
246
|
-
|
|
247
|
-
If "address first": Gather user input on questions, update discovery.
|
|
248
|
-
</step>
|
|
249
|
-
|
|
250
|
-
<step name="offer_next">
|
|
251
|
-
```
|
|
252
|
-
Discovery complete: .planning/phases/XX-name/DISCOVERY.md
|
|
253
|
-
Recommendation: [one-liner]
|
|
254
|
-
Confidence: [level]
|
|
255
|
-
|
|
256
|
-
What's next?
|
|
257
|
-
|
|
258
|
-
1. Discuss phase context (/maxsim:plan (discussion stage) [current-phase])
|
|
259
|
-
2. Create phase plan (/maxsim:plan [current-phase])
|
|
260
|
-
3. Refine discovery (dig deeper)
|
|
261
|
-
4. Review discovery
|
|
262
|
-
|
|
263
|
-
```
|
|
264
|
-
|
|
265
|
-
NOTE: DISCOVERY.md is NOT committed separately. It will be committed with phase completion.
|
|
266
|
-
</step>
|
|
267
|
-
|
|
268
|
-
</process>
|
|
269
|
-
|
|
270
|
-
<success_criteria>
|
|
271
|
-
**Level 1 (Quick Verify):**
|
|
272
|
-
- Context7 consulted for library/topic
|
|
273
|
-
- Current state verified or concerns escalated
|
|
274
|
-
- Verbal confirmation to proceed (no files)
|
|
275
|
-
|
|
276
|
-
**Level 2 (Standard):**
|
|
277
|
-
- Context7 consulted for all options
|
|
278
|
-
- WebSearch findings cross-verified
|
|
279
|
-
- DISCOVERY.md created with recommendation
|
|
280
|
-
- Confidence level MEDIUM or higher
|
|
281
|
-
- Ready to inform PLAN.md creation
|
|
282
|
-
|
|
283
|
-
**Level 3 (Deep Dive):**
|
|
284
|
-
- Discovery scope defined
|
|
285
|
-
- Context7 exhaustively consulted
|
|
286
|
-
- All WebSearch findings verified against authoritative sources
|
|
287
|
-
- DISCOVERY.md created with comprehensive analysis
|
|
288
|
-
- Quality report with source attribution
|
|
289
|
-
- If LOW confidence findings → validation checkpoints defined
|
|
290
|
-
- Confidence gate passed
|
|
291
|
-
- Ready to inform PLAN.md creation
|
|
292
|
-
</success_criteria>
|