@howlil/ez-agents 2.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/LICENSE +21 -0
- package/README.md +845 -0
- package/README.zh-CN.md +702 -0
- package/agents/ez-codebase-mapper.md +770 -0
- package/agents/ez-debugger.md +1255 -0
- package/agents/ez-executor.md +487 -0
- package/agents/ez-integration-checker.md +443 -0
- package/agents/ez-nyquist-auditor.md +176 -0
- package/agents/ez-phase-researcher.md +553 -0
- package/agents/ez-plan-checker.md +706 -0
- package/agents/ez-planner.md +1307 -0
- package/agents/ez-project-researcher.md +629 -0
- package/agents/ez-research-synthesizer.md +247 -0
- package/agents/ez-roadmapper.md +650 -0
- package/agents/ez-ui-auditor.md +441 -0
- package/agents/ez-ui-checker.md +302 -0
- package/agents/ez-ui-researcher.md +355 -0
- package/agents/ez-verifier.md +579 -0
- package/bin/install.js +2862 -0
- package/bin/update.js +214 -0
- package/commands/ez/add-phase.md +43 -0
- package/commands/ez/add-tests.md +41 -0
- package/commands/ez/add-todo.md +47 -0
- package/commands/ez/audit-milestone.md +36 -0
- package/commands/ez/autonomous.md +41 -0
- package/commands/ez/check-todos.md +45 -0
- package/commands/ez/cleanup.md +18 -0
- package/commands/ez/complete-milestone.md +136 -0
- package/commands/ez/debug.md +168 -0
- package/commands/ez/discuss-phase.md +90 -0
- package/commands/ez/execute-phase.md +41 -0
- package/commands/ez/health.md +22 -0
- package/commands/ez/help.md +22 -0
- package/commands/ez/insert-phase.md +32 -0
- package/commands/ez/join-discord.md +18 -0
- package/commands/ez/list-phase-assumptions.md +46 -0
- package/commands/ez/map-codebase.md +71 -0
- package/commands/ez/new-milestone.md +44 -0
- package/commands/ez/new-project.md +42 -0
- package/commands/ez/pause-work.md +38 -0
- package/commands/ez/plan-milestone-gaps.md +34 -0
- package/commands/ez/plan-phase.md +45 -0
- package/commands/ez/progress.md +24 -0
- package/commands/ez/quick.md +45 -0
- package/commands/ez/reapply-patches.md +124 -0
- package/commands/ez/remove-phase.md +31 -0
- package/commands/ez/research-phase.md +190 -0
- package/commands/ez/resume-work.md +40 -0
- package/commands/ez/set-profile.md +34 -0
- package/commands/ez/settings.md +36 -0
- package/commands/ez/stats.md +18 -0
- package/commands/ez/ui-phase.md +34 -0
- package/commands/ez/ui-review.md +32 -0
- package/commands/ez/update.md +37 -0
- package/commands/ez/validate-phase.md +35 -0
- package/commands/ez/verify-work.md +38 -0
- package/get-shit-done/bin/ez-tools.cjs +598 -0
- package/get-shit-done/bin/lib/assistant-adapter.cjs +205 -0
- package/get-shit-done/bin/lib/audit-exec.cjs +150 -0
- package/get-shit-done/bin/lib/auth.cjs +175 -0
- package/get-shit-done/bin/lib/circuit-breaker.cjs +118 -0
- package/get-shit-done/bin/lib/commands.cjs +666 -0
- package/get-shit-done/bin/lib/config.cjs +183 -0
- package/get-shit-done/bin/lib/core.cjs +495 -0
- package/get-shit-done/bin/lib/file-lock.cjs +236 -0
- package/get-shit-done/bin/lib/frontmatter.cjs +299 -0
- package/get-shit-done/bin/lib/fs-utils.cjs +153 -0
- package/get-shit-done/bin/lib/git-utils.cjs +203 -0
- package/get-shit-done/bin/lib/health-check.cjs +163 -0
- package/get-shit-done/bin/lib/index.cjs +113 -0
- package/get-shit-done/bin/lib/init.cjs +710 -0
- package/get-shit-done/bin/lib/logger.cjs +117 -0
- package/get-shit-done/bin/lib/milestone.cjs +241 -0
- package/get-shit-done/bin/lib/model-provider.cjs +146 -0
- package/get-shit-done/bin/lib/phase.cjs +908 -0
- package/get-shit-done/bin/lib/retry.cjs +119 -0
- package/get-shit-done/bin/lib/roadmap.cjs +305 -0
- package/get-shit-done/bin/lib/safe-exec.cjs +128 -0
- package/get-shit-done/bin/lib/safe-path.cjs +130 -0
- package/get-shit-done/bin/lib/state.cjs +721 -0
- package/get-shit-done/bin/lib/temp-file.cjs +239 -0
- package/get-shit-done/bin/lib/template.cjs +222 -0
- package/get-shit-done/bin/lib/test-file-lock.cjs +112 -0
- package/get-shit-done/bin/lib/test-graceful.cjs +93 -0
- package/get-shit-done/bin/lib/test-logger.cjs +60 -0
- package/get-shit-done/bin/lib/test-safe-exec.cjs +38 -0
- package/get-shit-done/bin/lib/test-safe-path.cjs +33 -0
- package/get-shit-done/bin/lib/test-temp-file.cjs +125 -0
- package/get-shit-done/bin/lib/timeout-exec.cjs +62 -0
- package/get-shit-done/bin/lib/verify.cjs +820 -0
- package/get-shit-done/references/checkpoints.md +776 -0
- package/get-shit-done/references/continuation-format.md +249 -0
- package/get-shit-done/references/decimal-phase-calculation.md +65 -0
- package/get-shit-done/references/git-integration.md +248 -0
- package/get-shit-done/references/git-planning-commit.md +38 -0
- package/get-shit-done/references/model-profile-resolution.md +34 -0
- package/get-shit-done/references/model-profiles.md +93 -0
- package/get-shit-done/references/phase-argument-parsing.md +61 -0
- package/get-shit-done/references/planning-config.md +200 -0
- package/get-shit-done/references/questioning.md +162 -0
- package/get-shit-done/references/tdd.md +263 -0
- package/get-shit-done/references/ui-brand.md +160 -0
- package/get-shit-done/references/verification-patterns.md +612 -0
- package/get-shit-done/templates/DEBUG.md +164 -0
- package/get-shit-done/templates/UAT.md +247 -0
- package/get-shit-done/templates/UI-SPEC.md +100 -0
- package/get-shit-done/templates/VALIDATION.md +76 -0
- package/get-shit-done/templates/codebase/architecture.md +255 -0
- package/get-shit-done/templates/codebase/concerns.md +310 -0
- package/get-shit-done/templates/codebase/conventions.md +307 -0
- package/get-shit-done/templates/codebase/integrations.md +280 -0
- package/get-shit-done/templates/codebase/stack.md +186 -0
- package/get-shit-done/templates/codebase/structure.md +285 -0
- package/get-shit-done/templates/codebase/testing.md +480 -0
- package/get-shit-done/templates/config.json +37 -0
- package/get-shit-done/templates/context.md +352 -0
- package/get-shit-done/templates/continue-here.md +78 -0
- package/get-shit-done/templates/copilot-instructions.md +7 -0
- package/get-shit-done/templates/debug-subagent-prompt.md +91 -0
- package/get-shit-done/templates/discovery.md +146 -0
- package/get-shit-done/templates/milestone-archive.md +123 -0
- package/get-shit-done/templates/milestone.md +115 -0
- package/get-shit-done/templates/phase-prompt.md +610 -0
- package/get-shit-done/templates/planner-subagent-prompt.md +117 -0
- package/get-shit-done/templates/project.md +184 -0
- package/get-shit-done/templates/requirements.md +231 -0
- package/get-shit-done/templates/research-project/ARCHITECTURE.md +204 -0
- package/get-shit-done/templates/research-project/FEATURES.md +147 -0
- package/get-shit-done/templates/research-project/PITFALLS.md +200 -0
- package/get-shit-done/templates/research-project/STACK.md +120 -0
- package/get-shit-done/templates/research-project/SUMMARY.md +170 -0
- package/get-shit-done/templates/research.md +552 -0
- package/get-shit-done/templates/retrospective.md +54 -0
- package/get-shit-done/templates/roadmap.md +202 -0
- package/get-shit-done/templates/state.md +176 -0
- package/get-shit-done/templates/summary-complex.md +59 -0
- package/get-shit-done/templates/summary-minimal.md +41 -0
- package/get-shit-done/templates/summary-standard.md +48 -0
- package/get-shit-done/templates/summary.md +248 -0
- package/get-shit-done/templates/user-setup.md +311 -0
- package/get-shit-done/templates/verification-report.md +322 -0
- package/get-shit-done/workflows/add-phase.md +112 -0
- package/get-shit-done/workflows/add-tests.md +351 -0
- package/get-shit-done/workflows/add-todo.md +158 -0
- package/get-shit-done/workflows/audit-milestone.md +332 -0
- package/get-shit-done/workflows/autonomous.md +743 -0
- package/get-shit-done/workflows/check-todos.md +177 -0
- package/get-shit-done/workflows/cleanup.md +152 -0
- package/get-shit-done/workflows/complete-milestone.md +766 -0
- package/get-shit-done/workflows/diagnose-issues.md +219 -0
- package/get-shit-done/workflows/discovery-phase.md +289 -0
- package/get-shit-done/workflows/discuss-phase.md +762 -0
- package/get-shit-done/workflows/execute-phase.md +468 -0
- package/get-shit-done/workflows/execute-plan.md +483 -0
- package/get-shit-done/workflows/health.md +159 -0
- package/get-shit-done/workflows/help.md +492 -0
- package/get-shit-done/workflows/insert-phase.md +130 -0
- package/get-shit-done/workflows/list-phase-assumptions.md +178 -0
- package/get-shit-done/workflows/map-codebase.md +316 -0
- package/get-shit-done/workflows/new-milestone.md +384 -0
- package/get-shit-done/workflows/new-project.md +1111 -0
- package/get-shit-done/workflows/node-repair.md +92 -0
- package/get-shit-done/workflows/pause-work.md +122 -0
- package/get-shit-done/workflows/plan-milestone-gaps.md +274 -0
- package/get-shit-done/workflows/plan-phase.md +651 -0
- package/get-shit-done/workflows/progress.md +382 -0
- package/get-shit-done/workflows/quick.md +610 -0
- package/get-shit-done/workflows/remove-phase.md +155 -0
- package/get-shit-done/workflows/research-phase.md +74 -0
- package/get-shit-done/workflows/resume-project.md +307 -0
- package/get-shit-done/workflows/set-profile.md +81 -0
- package/get-shit-done/workflows/settings.md +242 -0
- package/get-shit-done/workflows/stats.md +57 -0
- package/get-shit-done/workflows/transition.md +544 -0
- package/get-shit-done/workflows/ui-phase.md +290 -0
- package/get-shit-done/workflows/ui-review.md +157 -0
- package/get-shit-done/workflows/update.md +320 -0
- package/get-shit-done/workflows/validate-phase.md +167 -0
- package/get-shit-done/workflows/verify-phase.md +243 -0
- package/get-shit-done/workflows/verify-work.md +584 -0
- package/package.json +55 -0
- package/scripts/build-hooks.js +43 -0
- package/scripts/run-tests.cjs +29 -0
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ez:debug
|
|
3
|
+
description: Systematic debugging with persistent state across context resets
|
|
4
|
+
argument-hint: [issue description]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
|
+
- Task
|
|
9
|
+
- AskUserQuestion
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
<objective>
|
|
13
|
+
Debug issues using scientific method with subagent isolation.
|
|
14
|
+
|
|
15
|
+
**Orchestrator role:** Gather symptoms, spawn ez-debugger agent, handle checkpoints, spawn continuations.
|
|
16
|
+
|
|
17
|
+
**Why subagent:** Investigation burns context fast (reading files, forming hypotheses, testing). Fresh 200k context per investigation. Main context stays lean for user interaction.
|
|
18
|
+
</objective>
|
|
19
|
+
|
|
20
|
+
<context>
|
|
21
|
+
User's issue: $ARGUMENTS
|
|
22
|
+
|
|
23
|
+
Check for active sessions:
|
|
24
|
+
```bash
|
|
25
|
+
ls .planning/debug/*.md 2>/dev/null | grep -v resolved | head -5
|
|
26
|
+
```
|
|
27
|
+
</context>
|
|
28
|
+
|
|
29
|
+
<process>
|
|
30
|
+
|
|
31
|
+
## 0. Initialize Context
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
INIT=$(node "$HOME/.claude/ez-agents/bin/ez-tools.cjs" state load)
|
|
35
|
+
if [[ "$INIT" == @file:* ]]; then INIT=$(cat "${INIT#@file:}"); fi
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Extract `commit_docs` from init JSON. Resolve debugger model:
|
|
39
|
+
```bash
|
|
40
|
+
debugger_model=$(node "$HOME/.claude/ez-agents/bin/ez-tools.cjs" resolve-model ez-debugger --raw)
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## 1. Check Active Sessions
|
|
44
|
+
|
|
45
|
+
If active sessions exist AND no $ARGUMENTS:
|
|
46
|
+
- List sessions with status, hypothesis, next action
|
|
47
|
+
- User picks number to resume OR describes new issue
|
|
48
|
+
|
|
49
|
+
If $ARGUMENTS provided OR user describes new issue:
|
|
50
|
+
- Continue to symptom gathering
|
|
51
|
+
|
|
52
|
+
## 2. Gather Symptoms (if new issue)
|
|
53
|
+
|
|
54
|
+
Use AskUserQuestion for each:
|
|
55
|
+
|
|
56
|
+
1. **Expected behavior** - What should happen?
|
|
57
|
+
2. **Actual behavior** - What happens instead?
|
|
58
|
+
3. **Error messages** - Any errors? (paste or describe)
|
|
59
|
+
4. **Timeline** - When did this start? Ever worked?
|
|
60
|
+
5. **Reproduction** - How do you trigger it?
|
|
61
|
+
|
|
62
|
+
After all gathered, confirm ready to investigate.
|
|
63
|
+
|
|
64
|
+
## 3. Spawn ez-debugger Agent
|
|
65
|
+
|
|
66
|
+
Fill prompt and spawn:
|
|
67
|
+
|
|
68
|
+
```markdown
|
|
69
|
+
<objective>
|
|
70
|
+
Investigate issue: {slug}
|
|
71
|
+
|
|
72
|
+
**Summary:** {trigger}
|
|
73
|
+
</objective>
|
|
74
|
+
|
|
75
|
+
<symptoms>
|
|
76
|
+
expected: {expected}
|
|
77
|
+
actual: {actual}
|
|
78
|
+
errors: {errors}
|
|
79
|
+
reproduction: {reproduction}
|
|
80
|
+
timeline: {timeline}
|
|
81
|
+
</symptoms>
|
|
82
|
+
|
|
83
|
+
<mode>
|
|
84
|
+
symptoms_prefilled: true
|
|
85
|
+
goal: find_and_fix
|
|
86
|
+
</mode>
|
|
87
|
+
|
|
88
|
+
<debug_file>
|
|
89
|
+
Create: .planning/debug/{slug}.md
|
|
90
|
+
</debug_file>
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
```
|
|
94
|
+
Task(
|
|
95
|
+
prompt=filled_prompt,
|
|
96
|
+
subagent_type="ez-debugger",
|
|
97
|
+
model="{debugger_model}",
|
|
98
|
+
description="Debug {slug}"
|
|
99
|
+
)
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
## 4. Handle Agent Return
|
|
103
|
+
|
|
104
|
+
**If `## ROOT CAUSE FOUND`:**
|
|
105
|
+
- Display root cause and evidence summary
|
|
106
|
+
- Offer options:
|
|
107
|
+
- "Fix now" - spawn fix subagent
|
|
108
|
+
- "Plan fix" - suggest /ez:plan-phase --gaps
|
|
109
|
+
- "Manual fix" - done
|
|
110
|
+
|
|
111
|
+
**If `## CHECKPOINT REACHED`:**
|
|
112
|
+
- Present checkpoint details to user
|
|
113
|
+
- Get user response
|
|
114
|
+
- If checkpoint type is `human-verify`:
|
|
115
|
+
- If user confirms fixed: continue so agent can finalize/resolve/archive
|
|
116
|
+
- If user reports issues: continue so agent returns to investigation/fixing
|
|
117
|
+
- Spawn continuation agent (see step 5)
|
|
118
|
+
|
|
119
|
+
**If `## INVESTIGATION INCONCLUSIVE`:**
|
|
120
|
+
- Show what was checked and eliminated
|
|
121
|
+
- Offer options:
|
|
122
|
+
- "Continue investigating" - spawn new agent with additional context
|
|
123
|
+
- "Manual investigation" - done
|
|
124
|
+
- "Add more context" - gather more symptoms, spawn again
|
|
125
|
+
|
|
126
|
+
## 5. Spawn Continuation Agent (After Checkpoint)
|
|
127
|
+
|
|
128
|
+
When user responds to checkpoint, spawn fresh agent:
|
|
129
|
+
|
|
130
|
+
```markdown
|
|
131
|
+
<objective>
|
|
132
|
+
Continue debugging {slug}. Evidence is in the debug file.
|
|
133
|
+
</objective>
|
|
134
|
+
|
|
135
|
+
<prior_state>
|
|
136
|
+
<files_to_read>
|
|
137
|
+
- .planning/debug/{slug}.md (Debug session state)
|
|
138
|
+
</files_to_read>
|
|
139
|
+
</prior_state>
|
|
140
|
+
|
|
141
|
+
<checkpoint_response>
|
|
142
|
+
**Type:** {checkpoint_type}
|
|
143
|
+
**Response:** {user_response}
|
|
144
|
+
</checkpoint_response>
|
|
145
|
+
|
|
146
|
+
<mode>
|
|
147
|
+
goal: find_and_fix
|
|
148
|
+
</mode>
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
```
|
|
152
|
+
Task(
|
|
153
|
+
prompt=continuation_prompt,
|
|
154
|
+
subagent_type="ez-debugger",
|
|
155
|
+
model="{debugger_model}",
|
|
156
|
+
description="Continue debug {slug}"
|
|
157
|
+
)
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
</process>
|
|
161
|
+
|
|
162
|
+
<success_criteria>
|
|
163
|
+
- [ ] Active sessions checked
|
|
164
|
+
- [ ] Symptoms gathered (if new)
|
|
165
|
+
- [ ] gsd-debugger spawned with context
|
|
166
|
+
- [ ] Checkpoints handled correctly
|
|
167
|
+
- [ ] Root cause confirmed before fixing
|
|
168
|
+
</success_criteria>
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ez:discuss-phase
|
|
3
|
+
description: Gather phase context through adaptive questioning before planning. Use --auto to skip interactive questions (Claude picks recommended defaults).
|
|
4
|
+
argument-hint: "<phase> [--auto]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Write
|
|
8
|
+
- Bash
|
|
9
|
+
- Glob
|
|
10
|
+
- Grep
|
|
11
|
+
- AskUserQuestion
|
|
12
|
+
- Task
|
|
13
|
+
- mcp__context7__resolve-library-id
|
|
14
|
+
- mcp__context7__query-docs
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
<objective>
|
|
18
|
+
Extract implementation decisions that downstream agents need — researcher and planner will use CONTEXT.md to know what to investigate and what choices are locked.
|
|
19
|
+
|
|
20
|
+
**How it works:**
|
|
21
|
+
1. Load prior context (PROJECT.md, REQUIREMENTS.md, STATE.md, prior CONTEXT.md files)
|
|
22
|
+
2. Scout codebase for reusable assets and patterns
|
|
23
|
+
3. Analyze phase — skip gray areas already decided in prior phases
|
|
24
|
+
4. Present remaining gray areas — user selects which to discuss
|
|
25
|
+
5. Deep-dive each selected area until satisfied
|
|
26
|
+
6. Create CONTEXT.md with decisions that guide research and planning
|
|
27
|
+
|
|
28
|
+
**Output:** `{phase_num}-CONTEXT.md` — decisions clear enough that downstream agents can act without asking the user again
|
|
29
|
+
</objective>
|
|
30
|
+
|
|
31
|
+
<execution_context>
|
|
32
|
+
@~/.claude/ez-agents/workflows/discuss-phase.md
|
|
33
|
+
@~/.claude/ez-agents/templates/context.md
|
|
34
|
+
</execution_context>
|
|
35
|
+
|
|
36
|
+
<context>
|
|
37
|
+
Phase number: $ARGUMENTS (required)
|
|
38
|
+
|
|
39
|
+
Context files are resolved in-workflow using `init phase-op` and roadmap/state tool calls.
|
|
40
|
+
</context>
|
|
41
|
+
|
|
42
|
+
<process>
|
|
43
|
+
1. Validate phase number (error if missing or not in roadmap)
|
|
44
|
+
2. Check if CONTEXT.md exists (offer update/view/skip if yes)
|
|
45
|
+
3. **Load prior context** — Read PROJECT.md, REQUIREMENTS.md, STATE.md, and all prior CONTEXT.md files
|
|
46
|
+
4. **Scout codebase** — Find reusable assets, patterns, and integration points
|
|
47
|
+
5. **Analyze phase** — Check prior decisions, skip already-decided areas, generate remaining gray areas
|
|
48
|
+
6. **Present gray areas** — Multi-select: which to discuss? Annotate with prior decisions + code context
|
|
49
|
+
7. **Deep-dive each area** — 4 questions per area, code-informed options, Context7 for library choices
|
|
50
|
+
8. **Write CONTEXT.md** — Sections match areas discussed + code_context section
|
|
51
|
+
9. Offer next steps (research or plan)
|
|
52
|
+
|
|
53
|
+
**CRITICAL: Scope guardrail**
|
|
54
|
+
- Phase boundary from ROADMAP.md is FIXED
|
|
55
|
+
- Discussion clarifies HOW to implement, not WHETHER to add more
|
|
56
|
+
- If user suggests new capabilities: "That's its own phase. I'll note it for later."
|
|
57
|
+
- Capture deferred ideas — don't lose them, don't act on them
|
|
58
|
+
|
|
59
|
+
**Domain-aware gray areas:**
|
|
60
|
+
Gray areas depend on what's being built. Analyze the phase goal:
|
|
61
|
+
- Something users SEE → layout, density, interactions, states
|
|
62
|
+
- Something users CALL → responses, errors, auth, versioning
|
|
63
|
+
- Something users RUN → output format, flags, modes, error handling
|
|
64
|
+
- Something users READ → structure, tone, depth, flow
|
|
65
|
+
- Something being ORGANIZED → criteria, grouping, naming, exceptions
|
|
66
|
+
|
|
67
|
+
Generate 3-4 **phase-specific** gray areas, not generic categories.
|
|
68
|
+
|
|
69
|
+
**Probing depth:**
|
|
70
|
+
- Ask 4 questions per area before checking
|
|
71
|
+
- "More questions about [area], or move to next?"
|
|
72
|
+
- If more → ask 4 more, check again
|
|
73
|
+
- After all areas → "Ready to create context?"
|
|
74
|
+
|
|
75
|
+
**Do NOT ask about (Claude handles these):**
|
|
76
|
+
- Technical implementation
|
|
77
|
+
- Architecture choices
|
|
78
|
+
- Performance concerns
|
|
79
|
+
- Scope expansion
|
|
80
|
+
</process>
|
|
81
|
+
|
|
82
|
+
<success_criteria>
|
|
83
|
+
- Prior context loaded and applied (no re-asking decided questions)
|
|
84
|
+
- Gray areas identified through intelligent analysis
|
|
85
|
+
- User chose which areas to discuss
|
|
86
|
+
- Each selected area explored until satisfied
|
|
87
|
+
- Scope creep redirected to deferred ideas
|
|
88
|
+
- CONTEXT.md captures decisions, not vague vision
|
|
89
|
+
- User knows next steps
|
|
90
|
+
</success_criteria>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ez:execute-phase
|
|
3
|
+
description: Execute all plans in a phase with wave-based parallelization
|
|
4
|
+
argument-hint: "<phase-number> [--gaps-only]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Write
|
|
8
|
+
- Edit
|
|
9
|
+
- Glob
|
|
10
|
+
- Grep
|
|
11
|
+
- Bash
|
|
12
|
+
- Task
|
|
13
|
+
- TodoWrite
|
|
14
|
+
- AskUserQuestion
|
|
15
|
+
---
|
|
16
|
+
<objective>
|
|
17
|
+
Execute all plans in a phase using wave-based parallel execution.
|
|
18
|
+
|
|
19
|
+
Orchestrator stays lean: discover plans, analyze dependencies, group into waves, spawn subagents, collect results. Each subagent loads the full execute-plan context and handles its own plan.
|
|
20
|
+
|
|
21
|
+
Context budget: ~15% orchestrator, 100% fresh per subagent.
|
|
22
|
+
</objective>
|
|
23
|
+
|
|
24
|
+
<execution_context>
|
|
25
|
+
@~/.claude/ez-agents/workflows/execute-phase.md
|
|
26
|
+
@~/.claude/ez-agents/references/ui-brand.md
|
|
27
|
+
</execution_context>
|
|
28
|
+
|
|
29
|
+
<context>
|
|
30
|
+
Phase: $ARGUMENTS
|
|
31
|
+
|
|
32
|
+
**Flags:**
|
|
33
|
+
- `--gaps-only` — Execute only gap closure plans (plans with `gap_closure: true` in frontmatter). Use after verify-work creates fix plans.
|
|
34
|
+
|
|
35
|
+
Context files are resolved inside the workflow via `ez-tools init execute-phase` and per-subagent `<files_to_read>` blocks.
|
|
36
|
+
</context>
|
|
37
|
+
|
|
38
|
+
<process>
|
|
39
|
+
Execute the execute-phase workflow from @~/.claude/ez-agents/workflows/execute-phase.md end-to-end.
|
|
40
|
+
Preserve all workflow gates (wave execution, checkpoint handling, verification, state updates, routing).
|
|
41
|
+
</process>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ez:health
|
|
3
|
+
description: Diagnose planning directory health and optionally repair issues
|
|
4
|
+
argument-hint: [--repair]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
|
+
- Write
|
|
9
|
+
- AskUserQuestion
|
|
10
|
+
---
|
|
11
|
+
<objective>
|
|
12
|
+
Validate `.planning/` directory integrity and report actionable issues. Checks for missing files, invalid configurations, inconsistent state, and orphaned plans.
|
|
13
|
+
</objective>
|
|
14
|
+
|
|
15
|
+
<execution_context>
|
|
16
|
+
@~/.claude/ez-agents/workflows/health.md
|
|
17
|
+
</execution_context>
|
|
18
|
+
|
|
19
|
+
<process>
|
|
20
|
+
Execute the health workflow from @~/.claude/ez-agents/workflows/health.md end-to-end.
|
|
21
|
+
Parse --repair flag from arguments and pass to workflow.
|
|
22
|
+
</process>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ez:help
|
|
3
|
+
description: Show available EZ Agents commands and usage guide
|
|
4
|
+
---
|
|
5
|
+
<objective>
|
|
6
|
+
Display the complete EZ Agents command reference.
|
|
7
|
+
|
|
8
|
+
Output ONLY the reference content below. Do NOT add:
|
|
9
|
+
- Project-specific analysis
|
|
10
|
+
- Git status or file context
|
|
11
|
+
- Next-step suggestions
|
|
12
|
+
- Any commentary beyond the reference
|
|
13
|
+
</objective>
|
|
14
|
+
|
|
15
|
+
<execution_context>
|
|
16
|
+
@~/.claude/ez-agents/workflows/help.md
|
|
17
|
+
</execution_context>
|
|
18
|
+
|
|
19
|
+
<process>
|
|
20
|
+
Output the complete EZ Agents command reference from @~/.claude/ez-agents/workflows/help.md.
|
|
21
|
+
Display the reference content directly — no additions or modifications.
|
|
22
|
+
</process>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ez:insert-phase
|
|
3
|
+
description: Insert urgent work as decimal phase (e.g., 72.1) between existing phases
|
|
4
|
+
argument-hint: <after> <description>
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Write
|
|
8
|
+
- Bash
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
<objective>
|
|
12
|
+
Insert a decimal phase for urgent work discovered mid-milestone that must be completed between existing integer phases.
|
|
13
|
+
|
|
14
|
+
Uses decimal numbering (72.1, 72.2, etc.) to preserve the logical sequence of planned phases while accommodating urgent insertions.
|
|
15
|
+
|
|
16
|
+
Purpose: Handle urgent work discovered during execution without renumbering entire roadmap.
|
|
17
|
+
</objective>
|
|
18
|
+
|
|
19
|
+
<execution_context>
|
|
20
|
+
@~/.claude/ez-agents/workflows/insert-phase.md
|
|
21
|
+
</execution_context>
|
|
22
|
+
|
|
23
|
+
<context>
|
|
24
|
+
Arguments: $ARGUMENTS (format: <after-phase-number> <description>)
|
|
25
|
+
|
|
26
|
+
Roadmap and state are resolved in-workflow via `init phase-op` and targeted tool calls.
|
|
27
|
+
</context>
|
|
28
|
+
|
|
29
|
+
<process>
|
|
30
|
+
Execute the insert-phase workflow from @~/.claude/ez-agents/workflows/insert-phase.md end-to-end.
|
|
31
|
+
Preserve all validation gates (argument parsing, phase verification, decimal calculation, roadmap updates).
|
|
32
|
+
</process>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ez:join-discord
|
|
3
|
+
description: Join the EZ Agents Discord community
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<objective>
|
|
7
|
+
Display the Discord invite link for the EZ Agents community server.
|
|
8
|
+
</objective>
|
|
9
|
+
|
|
10
|
+
<output>
|
|
11
|
+
# Join the EZ Agents Discord
|
|
12
|
+
|
|
13
|
+
Connect with other EZ Agents users, get help, share what you're building, and stay updated.
|
|
14
|
+
|
|
15
|
+
**Invite link:** https://discord.gg/gsd
|
|
16
|
+
|
|
17
|
+
Click the link or paste it into your browser to join.
|
|
18
|
+
</output>
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ez:list-phase-assumptions
|
|
3
|
+
description: Surface Claude's assumptions about a phase approach before planning
|
|
4
|
+
argument-hint: "[phase]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
|
+
- Grep
|
|
9
|
+
- Glob
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
<objective>
|
|
13
|
+
Analyze a phase and present Claude's assumptions about technical approach, implementation order, scope boundaries, risk areas, and dependencies.
|
|
14
|
+
|
|
15
|
+
Purpose: Help users see what Claude thinks BEFORE planning begins - enabling course correction early when assumptions are wrong.
|
|
16
|
+
Output: Conversational output only (no file creation) - ends with "What do you think?" prompt
|
|
17
|
+
</objective>
|
|
18
|
+
|
|
19
|
+
<execution_context>
|
|
20
|
+
@~/.claude/ez-agents/workflows/list-phase-assumptions.md
|
|
21
|
+
</execution_context>
|
|
22
|
+
|
|
23
|
+
<context>
|
|
24
|
+
Phase number: $ARGUMENTS (required)
|
|
25
|
+
|
|
26
|
+
Project state and roadmap are loaded in-workflow using targeted reads.
|
|
27
|
+
</context>
|
|
28
|
+
|
|
29
|
+
<process>
|
|
30
|
+
1. Validate phase number argument (error if missing or invalid)
|
|
31
|
+
2. Check if phase exists in roadmap
|
|
32
|
+
3. Follow list-phase-assumptions.md workflow:
|
|
33
|
+
- Analyze roadmap description
|
|
34
|
+
- Surface assumptions about: technical approach, implementation order, scope, risks, dependencies
|
|
35
|
+
- Present assumptions clearly
|
|
36
|
+
- Prompt "What do you think?"
|
|
37
|
+
4. Gather feedback and offer next steps
|
|
38
|
+
</process>
|
|
39
|
+
|
|
40
|
+
<success_criteria>
|
|
41
|
+
|
|
42
|
+
- Phase validated against roadmap
|
|
43
|
+
- Assumptions surfaced across five areas
|
|
44
|
+
- User prompted for feedback
|
|
45
|
+
- User knows next steps (discuss context, plan phase, or correct assumptions)
|
|
46
|
+
</success_criteria>
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ez:map-codebase
|
|
3
|
+
description: Analyze codebase with parallel mapper agents to produce .planning/codebase/ documents
|
|
4
|
+
argument-hint: "[optional: specific area to map, e.g., 'api' or 'auth']"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
|
+
- Glob
|
|
9
|
+
- Grep
|
|
10
|
+
- Write
|
|
11
|
+
- Task
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
<objective>
|
|
15
|
+
Analyze existing codebase using parallel ez-codebase-mapper agents to produce structured codebase documents.
|
|
16
|
+
|
|
17
|
+
Each mapper agent explores a focus area and **writes documents directly** to `.planning/codebase/`. The orchestrator only receives confirmations, keeping context usage minimal.
|
|
18
|
+
|
|
19
|
+
Output: .planning/codebase/ folder with 7 structured documents about the codebase state.
|
|
20
|
+
</objective>
|
|
21
|
+
|
|
22
|
+
<execution_context>
|
|
23
|
+
@~/.claude/ez-agents/workflows/map-codebase.md
|
|
24
|
+
</execution_context>
|
|
25
|
+
|
|
26
|
+
<context>
|
|
27
|
+
Focus area: $ARGUMENTS (optional - if provided, tells agents to focus on specific subsystem)
|
|
28
|
+
|
|
29
|
+
**Load project state if exists:**
|
|
30
|
+
Check for .planning/STATE.md - loads context if project already initialized
|
|
31
|
+
|
|
32
|
+
**This command can run:**
|
|
33
|
+
- Before /ez:new-project (brownfield codebases) - creates codebase map first
|
|
34
|
+
- After /ez:new-project (greenfield codebases) - updates codebase map as code evolves
|
|
35
|
+
- Anytime to refresh codebase understanding
|
|
36
|
+
</context>
|
|
37
|
+
|
|
38
|
+
<when_to_use>
|
|
39
|
+
**Use map-codebase for:**
|
|
40
|
+
- Brownfield projects before initialization (understand existing code first)
|
|
41
|
+
- Refreshing codebase map after significant changes
|
|
42
|
+
- Onboarding to an unfamiliar codebase
|
|
43
|
+
- Before major refactoring (understand current state)
|
|
44
|
+
- When STATE.md references outdated codebase info
|
|
45
|
+
|
|
46
|
+
**Skip map-codebase for:**
|
|
47
|
+
- Greenfield projects with no code yet (nothing to map)
|
|
48
|
+
- Trivial codebases (<5 files)
|
|
49
|
+
</when_to_use>
|
|
50
|
+
|
|
51
|
+
<process>
|
|
52
|
+
1. Check if .planning/codebase/ already exists (offer to refresh or skip)
|
|
53
|
+
2. Create .planning/codebase/ directory structure
|
|
54
|
+
3. Spawn 4 parallel gsd-codebase-mapper agents:
|
|
55
|
+
- Agent 1: tech focus → writes STACK.md, INTEGRATIONS.md
|
|
56
|
+
- Agent 2: arch focus → writes ARCHITECTURE.md, STRUCTURE.md
|
|
57
|
+
- Agent 3: quality focus → writes CONVENTIONS.md, TESTING.md
|
|
58
|
+
- Agent 4: concerns focus → writes CONCERNS.md
|
|
59
|
+
4. Wait for agents to complete, collect confirmations (NOT document contents)
|
|
60
|
+
5. Verify all 7 documents exist with line counts
|
|
61
|
+
6. Commit codebase map
|
|
62
|
+
7. Offer next steps (typically: /ez:new-project or /ez:plan-phase)
|
|
63
|
+
</process>
|
|
64
|
+
|
|
65
|
+
<success_criteria>
|
|
66
|
+
- [ ] .planning/codebase/ directory created
|
|
67
|
+
- [ ] All 7 codebase documents written by mapper agents
|
|
68
|
+
- [ ] Documents follow template structure
|
|
69
|
+
- [ ] Parallel agents completed without errors
|
|
70
|
+
- [ ] User knows next steps
|
|
71
|
+
</success_criteria>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ez:new-milestone
|
|
3
|
+
description: Start a new milestone cycle — update PROJECT.md and route to requirements
|
|
4
|
+
argument-hint: "[milestone name, e.g., 'v1.1 Notifications']"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Write
|
|
8
|
+
- Bash
|
|
9
|
+
- Task
|
|
10
|
+
- AskUserQuestion
|
|
11
|
+
---
|
|
12
|
+
<objective>
|
|
13
|
+
Start a new milestone: questioning → research (optional) → requirements → roadmap.
|
|
14
|
+
|
|
15
|
+
Brownfield equivalent of new-project. Project exists, PROJECT.md has history. Gathers "what's next", updates PROJECT.md, then runs requirements → roadmap cycle.
|
|
16
|
+
|
|
17
|
+
**Creates/Updates:**
|
|
18
|
+
- `.planning/PROJECT.md` — updated with new milestone goals
|
|
19
|
+
- `.planning/research/` — domain research (optional, NEW features only)
|
|
20
|
+
- `.planning/REQUIREMENTS.md` — scoped requirements for this milestone
|
|
21
|
+
- `.planning/ROADMAP.md` — phase structure (continues numbering)
|
|
22
|
+
- `.planning/STATE.md` — reset for new milestone
|
|
23
|
+
|
|
24
|
+
**After:** `/ez:plan-phase [N]` to start execution.
|
|
25
|
+
</objective>
|
|
26
|
+
|
|
27
|
+
<execution_context>
|
|
28
|
+
@~/.claude/ez-agents/workflows/new-milestone.md
|
|
29
|
+
@~/.claude/ez-agents/references/questioning.md
|
|
30
|
+
@~/.claude/ez-agents/references/ui-brand.md
|
|
31
|
+
@~/.claude/ez-agents/templates/project.md
|
|
32
|
+
@~/.claude/ez-agents/templates/requirements.md
|
|
33
|
+
</execution_context>
|
|
34
|
+
|
|
35
|
+
<context>
|
|
36
|
+
Milestone name: $ARGUMENTS (optional - will prompt if not provided)
|
|
37
|
+
|
|
38
|
+
Project and milestone context files are resolved inside the workflow (`init new-milestone`) and delegated via `<files_to_read>` blocks where subagents are used.
|
|
39
|
+
</context>
|
|
40
|
+
|
|
41
|
+
<process>
|
|
42
|
+
Execute the new-milestone workflow from @~/.claude/ez-agents/workflows/new-milestone.md end-to-end.
|
|
43
|
+
Preserve all workflow gates (validation, questioning, research, requirements, roadmap approval, commits).
|
|
44
|
+
</process>
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ez:new-project
|
|
3
|
+
description: Initialize a new project with deep context gathering and PROJECT.md
|
|
4
|
+
argument-hint: "[--auto]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
|
+
- Write
|
|
9
|
+
- Task
|
|
10
|
+
- AskUserQuestion
|
|
11
|
+
---
|
|
12
|
+
<context>
|
|
13
|
+
**Flags:**
|
|
14
|
+
- `--auto` — Automatic mode. After config questions, runs research → requirements → roadmap without further interaction. Expects idea document via @ reference.
|
|
15
|
+
</context>
|
|
16
|
+
|
|
17
|
+
<objective>
|
|
18
|
+
Initialize a new project through unified flow: questioning → research (optional) → requirements → roadmap.
|
|
19
|
+
|
|
20
|
+
**Creates:**
|
|
21
|
+
- `.planning/PROJECT.md` — project context
|
|
22
|
+
- `.planning/config.json` — workflow preferences
|
|
23
|
+
- `.planning/research/` — domain research (optional)
|
|
24
|
+
- `.planning/REQUIREMENTS.md` — scoped requirements
|
|
25
|
+
- `.planning/ROADMAP.md` — phase structure
|
|
26
|
+
- `.planning/STATE.md` — project memory
|
|
27
|
+
|
|
28
|
+
**After this command:** Run `/ez:plan-phase 1` to start execution.
|
|
29
|
+
</objective>
|
|
30
|
+
|
|
31
|
+
<execution_context>
|
|
32
|
+
@~/.claude/ez-agents/workflows/new-project.md
|
|
33
|
+
@~/.claude/ez-agents/references/questioning.md
|
|
34
|
+
@~/.claude/ez-agents/references/ui-brand.md
|
|
35
|
+
@~/.claude/ez-agents/templates/project.md
|
|
36
|
+
@~/.claude/ez-agents/templates/requirements.md
|
|
37
|
+
</execution_context>
|
|
38
|
+
|
|
39
|
+
<process>
|
|
40
|
+
Execute the new-project workflow from @~/.claude/ez-agents/workflows/new-project.md end-to-end.
|
|
41
|
+
Preserve all workflow gates (validation, approvals, commits, routing).
|
|
42
|
+
</process>
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ez:pause-work
|
|
3
|
+
description: Create context handoff when pausing work mid-phase
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Write
|
|
7
|
+
- Bash
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<objective>
|
|
11
|
+
Create `.continue-here.md` handoff file to preserve complete work state across sessions.
|
|
12
|
+
|
|
13
|
+
Routes to the pause-work workflow which handles:
|
|
14
|
+
- Current phase detection from recent files
|
|
15
|
+
- Complete state gathering (position, completed work, remaining work, decisions, blockers)
|
|
16
|
+
- Handoff file creation with all context sections
|
|
17
|
+
- Git commit as WIP
|
|
18
|
+
- Resume instructions
|
|
19
|
+
</objective>
|
|
20
|
+
|
|
21
|
+
<execution_context>
|
|
22
|
+
@~/.claude/ez-agents/workflows/pause-work.md
|
|
23
|
+
</execution_context>
|
|
24
|
+
|
|
25
|
+
<context>
|
|
26
|
+
State and phase progress are gathered in-workflow with targeted reads.
|
|
27
|
+
</context>
|
|
28
|
+
|
|
29
|
+
<process>
|
|
30
|
+
**Follow the pause-work workflow** from `@~/.claude/ez-agents/workflows/pause-work.md`.
|
|
31
|
+
|
|
32
|
+
The workflow handles all logic including:
|
|
33
|
+
1. Phase directory detection
|
|
34
|
+
2. State gathering with user clarifications
|
|
35
|
+
3. Handoff file writing with timestamp
|
|
36
|
+
4. Git commit
|
|
37
|
+
5. Confirmation with resume instructions
|
|
38
|
+
</process>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ez:plan-milestone-gaps
|
|
3
|
+
description: Create phases to close all gaps identified by milestone audit
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Write
|
|
7
|
+
- Bash
|
|
8
|
+
- Glob
|
|
9
|
+
- Grep
|
|
10
|
+
- AskUserQuestion
|
|
11
|
+
---
|
|
12
|
+
<objective>
|
|
13
|
+
Create all phases necessary to close gaps identified by `/ez:audit-milestone`.
|
|
14
|
+
|
|
15
|
+
Reads MILESTONE-AUDIT.md, groups gaps into logical phases, creates phase entries in ROADMAP.md, and offers to plan each phase.
|
|
16
|
+
|
|
17
|
+
One command creates all fix phases — no manual `/ez:add-phase` per gap.
|
|
18
|
+
</objective>
|
|
19
|
+
|
|
20
|
+
<execution_context>
|
|
21
|
+
@~/.claude/ez-agents/workflows/plan-milestone-gaps.md
|
|
22
|
+
</execution_context>
|
|
23
|
+
|
|
24
|
+
<context>
|
|
25
|
+
**Audit results:**
|
|
26
|
+
Glob: .planning/v*-MILESTONE-AUDIT.md (use most recent)
|
|
27
|
+
|
|
28
|
+
Original intent and current planning state are loaded on demand inside the workflow.
|
|
29
|
+
</context>
|
|
30
|
+
|
|
31
|
+
<process>
|
|
32
|
+
Execute the plan-milestone-gaps workflow from @~/.claude/ez-agents/workflows/plan-milestone-gaps.md end-to-end.
|
|
33
|
+
Preserve all workflow gates (audit loading, prioritization, phase grouping, user confirmation, roadmap updates).
|
|
34
|
+
</process>
|