@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,352 @@
|
|
|
1
|
+
# Phase Context Template
|
|
2
|
+
|
|
3
|
+
Template for `.planning/phases/XX-name/{phase_num}-CONTEXT.md` - captures implementation decisions for a phase.
|
|
4
|
+
|
|
5
|
+
**Purpose:** Document decisions that downstream agents need. Researcher uses this to know WHAT to investigate. Planner uses this to know WHAT choices are locked vs flexible.
|
|
6
|
+
|
|
7
|
+
**Key principle:** Categories are NOT predefined. They emerge from what was actually discussed for THIS phase. A CLI phase has CLI-relevant sections, a UI phase has UI-relevant sections.
|
|
8
|
+
|
|
9
|
+
**Downstream consumers:**
|
|
10
|
+
- `ez-phase-researcher` — Reads decisions to focus research (e.g., "card layout" → research card component patterns)
|
|
11
|
+
- `ez-planner` — Reads decisions to create specific tasks (e.g., "infinite scroll" → task includes virtualization)
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## File Template
|
|
16
|
+
|
|
17
|
+
```markdown
|
|
18
|
+
# Phase [X]: [Name] - Context
|
|
19
|
+
|
|
20
|
+
**Gathered:** [date]
|
|
21
|
+
**Status:** Ready for planning
|
|
22
|
+
|
|
23
|
+
<domain>
|
|
24
|
+
## Phase Boundary
|
|
25
|
+
|
|
26
|
+
[Clear statement of what this phase delivers — the scope anchor. This comes from ROADMAP.md and is fixed. Discussion clarifies implementation within this boundary.]
|
|
27
|
+
|
|
28
|
+
</domain>
|
|
29
|
+
|
|
30
|
+
<decisions>
|
|
31
|
+
## Implementation Decisions
|
|
32
|
+
|
|
33
|
+
### [Area 1 that was discussed]
|
|
34
|
+
- [Specific decision made]
|
|
35
|
+
- [Another decision if applicable]
|
|
36
|
+
|
|
37
|
+
### [Area 2 that was discussed]
|
|
38
|
+
- [Specific decision made]
|
|
39
|
+
|
|
40
|
+
### [Area 3 that was discussed]
|
|
41
|
+
- [Specific decision made]
|
|
42
|
+
|
|
43
|
+
### Claude's Discretion
|
|
44
|
+
[Areas where user explicitly said "you decide" — Claude has flexibility here during planning/implementation]
|
|
45
|
+
|
|
46
|
+
</decisions>
|
|
47
|
+
|
|
48
|
+
<specifics>
|
|
49
|
+
## Specific Ideas
|
|
50
|
+
|
|
51
|
+
[Any particular references, examples, or "I want it like X" moments from discussion. Product references, specific behaviors, interaction patterns.]
|
|
52
|
+
|
|
53
|
+
[If none: "No specific requirements — open to standard approaches"]
|
|
54
|
+
|
|
55
|
+
</specifics>
|
|
56
|
+
|
|
57
|
+
<canonical_refs>
|
|
58
|
+
## Canonical References
|
|
59
|
+
|
|
60
|
+
**Downstream agents MUST read these before planning or implementing.**
|
|
61
|
+
|
|
62
|
+
[List every spec, ADR, feature doc, or design doc that defines requirements or constraints for this phase. Use full relative paths so agents can read them directly. Group by topic area when the phase has multiple concerns.]
|
|
63
|
+
|
|
64
|
+
### [Topic area 1]
|
|
65
|
+
- `path/to/spec-or-adr.md` — [What this doc decides/defines that's relevant]
|
|
66
|
+
- `path/to/doc.md` §N — [Specific section and what it covers]
|
|
67
|
+
|
|
68
|
+
### [Topic area 2]
|
|
69
|
+
- `path/to/feature-doc.md` — [What capability this defines]
|
|
70
|
+
|
|
71
|
+
[If the project has no external specs: "No external specs — requirements are fully captured in decisions above"]
|
|
72
|
+
|
|
73
|
+
</canonical_refs>
|
|
74
|
+
|
|
75
|
+
<code_context>
|
|
76
|
+
## Existing Code Insights
|
|
77
|
+
|
|
78
|
+
### Reusable Assets
|
|
79
|
+
- [Component/hook/utility]: [How it could be used in this phase]
|
|
80
|
+
|
|
81
|
+
### Established Patterns
|
|
82
|
+
- [Pattern]: [How it constrains/enables this phase]
|
|
83
|
+
|
|
84
|
+
### Integration Points
|
|
85
|
+
- [Where new code connects to existing system]
|
|
86
|
+
|
|
87
|
+
</code_context>
|
|
88
|
+
|
|
89
|
+
<deferred>
|
|
90
|
+
## Deferred Ideas
|
|
91
|
+
|
|
92
|
+
[Ideas that came up during discussion but belong in other phases. Captured here so they're not lost, but explicitly out of scope for this phase.]
|
|
93
|
+
|
|
94
|
+
[If none: "None — discussion stayed within phase scope"]
|
|
95
|
+
|
|
96
|
+
</deferred>
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
*Phase: XX-name*
|
|
101
|
+
*Context gathered: [date]*
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
<good_examples>
|
|
105
|
+
|
|
106
|
+
**Example 1: Visual feature (Post Feed)**
|
|
107
|
+
|
|
108
|
+
```markdown
|
|
109
|
+
# Phase 3: Post Feed - Context
|
|
110
|
+
|
|
111
|
+
**Gathered:** 2025-01-20
|
|
112
|
+
**Status:** Ready for planning
|
|
113
|
+
|
|
114
|
+
<domain>
|
|
115
|
+
## Phase Boundary
|
|
116
|
+
|
|
117
|
+
Display posts from followed users in a scrollable feed. Users can view posts and see engagement counts. Creating posts and interactions are separate phases.
|
|
118
|
+
|
|
119
|
+
</domain>
|
|
120
|
+
|
|
121
|
+
<decisions>
|
|
122
|
+
## Implementation Decisions
|
|
123
|
+
|
|
124
|
+
### Layout style
|
|
125
|
+
- Card-based layout, not timeline or list
|
|
126
|
+
- Each card shows: author avatar, name, timestamp, full post content, reaction counts
|
|
127
|
+
- Cards have subtle shadows, rounded corners — modern feel
|
|
128
|
+
|
|
129
|
+
### Loading behavior
|
|
130
|
+
- Infinite scroll, not pagination
|
|
131
|
+
- Pull-to-refresh on mobile
|
|
132
|
+
- New posts indicator at top ("3 new posts") rather than auto-inserting
|
|
133
|
+
|
|
134
|
+
### Empty state
|
|
135
|
+
- Friendly illustration + "Follow people to see posts here"
|
|
136
|
+
- Suggest 3-5 accounts to follow based on interests
|
|
137
|
+
|
|
138
|
+
### Claude's Discretion
|
|
139
|
+
- Loading skeleton design
|
|
140
|
+
- Exact spacing and typography
|
|
141
|
+
- Error state handling
|
|
142
|
+
|
|
143
|
+
</decisions>
|
|
144
|
+
|
|
145
|
+
<canonical_refs>
|
|
146
|
+
## Canonical References
|
|
147
|
+
|
|
148
|
+
### Feed display
|
|
149
|
+
- `docs/features/social-feed.md` — Feed requirements, post card fields, engagement display rules
|
|
150
|
+
- `docs/decisions/adr-012-infinite-scroll.md` — Scroll strategy decision, virtualization requirements
|
|
151
|
+
|
|
152
|
+
### Empty states
|
|
153
|
+
- `docs/design/empty-states.md` — Empty state patterns, illustration guidelines
|
|
154
|
+
|
|
155
|
+
</canonical_refs>
|
|
156
|
+
|
|
157
|
+
<specifics>
|
|
158
|
+
## Specific Ideas
|
|
159
|
+
|
|
160
|
+
- "I like how Twitter shows the new posts indicator without disrupting your scroll position"
|
|
161
|
+
- Cards should feel like Linear's issue cards — clean, not cluttered
|
|
162
|
+
|
|
163
|
+
</specifics>
|
|
164
|
+
|
|
165
|
+
<deferred>
|
|
166
|
+
## Deferred Ideas
|
|
167
|
+
|
|
168
|
+
- Commenting on posts — Phase 5
|
|
169
|
+
- Bookmarking posts — add to backlog
|
|
170
|
+
|
|
171
|
+
</deferred>
|
|
172
|
+
|
|
173
|
+
---
|
|
174
|
+
|
|
175
|
+
*Phase: 03-post-feed*
|
|
176
|
+
*Context gathered: 2025-01-20*
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
**Example 2: CLI tool (Database backup)**
|
|
180
|
+
|
|
181
|
+
```markdown
|
|
182
|
+
# Phase 2: Backup Command - Context
|
|
183
|
+
|
|
184
|
+
**Gathered:** 2025-01-20
|
|
185
|
+
**Status:** Ready for planning
|
|
186
|
+
|
|
187
|
+
<domain>
|
|
188
|
+
## Phase Boundary
|
|
189
|
+
|
|
190
|
+
CLI command to backup database to local file or S3. Supports full and incremental backups. Restore command is a separate phase.
|
|
191
|
+
|
|
192
|
+
</domain>
|
|
193
|
+
|
|
194
|
+
<decisions>
|
|
195
|
+
## Implementation Decisions
|
|
196
|
+
|
|
197
|
+
### Output format
|
|
198
|
+
- JSON for programmatic use, table format for humans
|
|
199
|
+
- Default to table, --json flag for JSON
|
|
200
|
+
- Verbose mode (-v) shows progress, silent by default
|
|
201
|
+
|
|
202
|
+
### Flag design
|
|
203
|
+
- Short flags for common options: -o (output), -v (verbose), -f (force)
|
|
204
|
+
- Long flags for clarity: --incremental, --compress, --encrypt
|
|
205
|
+
- Required: database connection string (positional or --db)
|
|
206
|
+
|
|
207
|
+
### Error recovery
|
|
208
|
+
- Retry 3 times on network failure, then fail with clear message
|
|
209
|
+
- --no-retry flag to fail fast
|
|
210
|
+
- Partial backups are deleted on failure (no corrupt files)
|
|
211
|
+
|
|
212
|
+
### Claude's Discretion
|
|
213
|
+
- Exact progress bar implementation
|
|
214
|
+
- Compression algorithm choice
|
|
215
|
+
- Temp file handling
|
|
216
|
+
|
|
217
|
+
</decisions>
|
|
218
|
+
|
|
219
|
+
<canonical_refs>
|
|
220
|
+
## Canonical References
|
|
221
|
+
|
|
222
|
+
### Backup CLI
|
|
223
|
+
- `docs/features/backup-restore.md` — Backup requirements, supported backends, encryption spec
|
|
224
|
+
- `docs/decisions/adr-007-cli-conventions.md` — Flag naming, exit codes, output format standards
|
|
225
|
+
|
|
226
|
+
</canonical_refs>
|
|
227
|
+
|
|
228
|
+
<specifics>
|
|
229
|
+
## Specific Ideas
|
|
230
|
+
|
|
231
|
+
- "I want it to feel like pg_dump — familiar to database people"
|
|
232
|
+
- Should work in CI pipelines (exit codes, no interactive prompts)
|
|
233
|
+
|
|
234
|
+
</specifics>
|
|
235
|
+
|
|
236
|
+
<deferred>
|
|
237
|
+
## Deferred Ideas
|
|
238
|
+
|
|
239
|
+
- Scheduled backups — separate phase
|
|
240
|
+
- Backup rotation/retention — add to backlog
|
|
241
|
+
|
|
242
|
+
</deferred>
|
|
243
|
+
|
|
244
|
+
---
|
|
245
|
+
|
|
246
|
+
*Phase: 02-backup-command*
|
|
247
|
+
*Context gathered: 2025-01-20*
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
**Example 3: Organization task (Photo library)**
|
|
251
|
+
|
|
252
|
+
```markdown
|
|
253
|
+
# Phase 1: Photo Organization - Context
|
|
254
|
+
|
|
255
|
+
**Gathered:** 2025-01-20
|
|
256
|
+
**Status:** Ready for planning
|
|
257
|
+
|
|
258
|
+
<domain>
|
|
259
|
+
## Phase Boundary
|
|
260
|
+
|
|
261
|
+
Organize existing photo library into structured folders. Handle duplicates and apply consistent naming. Tagging and search are separate phases.
|
|
262
|
+
|
|
263
|
+
</domain>
|
|
264
|
+
|
|
265
|
+
<decisions>
|
|
266
|
+
## Implementation Decisions
|
|
267
|
+
|
|
268
|
+
### Grouping criteria
|
|
269
|
+
- Primary grouping by year, then by month
|
|
270
|
+
- Events detected by time clustering (photos within 2 hours = same event)
|
|
271
|
+
- Event folders named by date + location if available
|
|
272
|
+
|
|
273
|
+
### Duplicate handling
|
|
274
|
+
- Keep highest resolution version
|
|
275
|
+
- Move duplicates to _duplicates folder (don't delete)
|
|
276
|
+
- Log all duplicate decisions for review
|
|
277
|
+
|
|
278
|
+
### Naming convention
|
|
279
|
+
- Format: YYYY-MM-DD_HH-MM-SS_originalname.ext
|
|
280
|
+
- Preserve original filename as suffix for searchability
|
|
281
|
+
- Handle name collisions with incrementing suffix
|
|
282
|
+
|
|
283
|
+
### Claude's Discretion
|
|
284
|
+
- Exact clustering algorithm
|
|
285
|
+
- How to handle photos with no EXIF data
|
|
286
|
+
- Folder emoji usage
|
|
287
|
+
|
|
288
|
+
</decisions>
|
|
289
|
+
|
|
290
|
+
<canonical_refs>
|
|
291
|
+
## Canonical References
|
|
292
|
+
|
|
293
|
+
### Organization rules
|
|
294
|
+
- `docs/features/photo-organization.md` — Grouping rules, duplicate policy, naming spec
|
|
295
|
+
- `docs/decisions/adr-003-exif-handling.md` — EXIF extraction strategy, fallback for missing metadata
|
|
296
|
+
|
|
297
|
+
</canonical_refs>
|
|
298
|
+
|
|
299
|
+
<specifics>
|
|
300
|
+
## Specific Ideas
|
|
301
|
+
|
|
302
|
+
- "I want to be able to find photos by roughly when they were taken"
|
|
303
|
+
- Don't delete anything — worst case, move to a review folder
|
|
304
|
+
|
|
305
|
+
</specifics>
|
|
306
|
+
|
|
307
|
+
<deferred>
|
|
308
|
+
## Deferred Ideas
|
|
309
|
+
|
|
310
|
+
- Face detection grouping — future phase
|
|
311
|
+
- Cloud sync — out of scope for now
|
|
312
|
+
|
|
313
|
+
</deferred>
|
|
314
|
+
|
|
315
|
+
---
|
|
316
|
+
|
|
317
|
+
*Phase: 01-photo-organization*
|
|
318
|
+
*Context gathered: 2025-01-20*
|
|
319
|
+
```
|
|
320
|
+
|
|
321
|
+
</good_examples>
|
|
322
|
+
|
|
323
|
+
<guidelines>
|
|
324
|
+
**This template captures DECISIONS for downstream agents.**
|
|
325
|
+
|
|
326
|
+
The output should answer: "What does the researcher need to investigate? What choices are locked for the planner?"
|
|
327
|
+
|
|
328
|
+
**Good content (concrete decisions):**
|
|
329
|
+
- "Card-based layout, not timeline"
|
|
330
|
+
- "Retry 3 times on network failure, then fail"
|
|
331
|
+
- "Group by year, then by month"
|
|
332
|
+
- "JSON for programmatic use, table for humans"
|
|
333
|
+
|
|
334
|
+
**Bad content (too vague):**
|
|
335
|
+
- "Should feel modern and clean"
|
|
336
|
+
- "Good user experience"
|
|
337
|
+
- "Fast and responsive"
|
|
338
|
+
- "Easy to use"
|
|
339
|
+
|
|
340
|
+
**After creation:**
|
|
341
|
+
- File lives in phase directory: `.planning/phases/XX-name/{phase_num}-CONTEXT.md`
|
|
342
|
+
- `ez-phase-researcher` uses decisions to focus investigation AND reads canonical_refs to know WHAT docs to study
|
|
343
|
+
- `ez-planner` uses decisions + research to create executable tasks AND reads canonical_refs to verify alignment
|
|
344
|
+
- Downstream agents should NOT need to ask the user again about captured decisions
|
|
345
|
+
|
|
346
|
+
**CRITICAL — Canonical references:**
|
|
347
|
+
- The `<canonical_refs>` section is MANDATORY. Every CONTEXT.md must have one.
|
|
348
|
+
- If your project has external specs, ADRs, or design docs, list them with full relative paths grouped by topic
|
|
349
|
+
- If ROADMAP.md lists `Canonical refs:` per phase, extract and expand those
|
|
350
|
+
- Inline mentions like "see ADR-019" scattered in decisions are useless to downstream agents — they need full paths and section references in a dedicated section they can find
|
|
351
|
+
- If no external specs exist, say so explicitly — don't silently omit the section
|
|
352
|
+
</guidelines>
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Continue-Here Template
|
|
2
|
+
|
|
3
|
+
Copy and fill this structure for `.planning/phases/XX-name/.continue-here.md`:
|
|
4
|
+
|
|
5
|
+
```yaml
|
|
6
|
+
---
|
|
7
|
+
phase: XX-name
|
|
8
|
+
task: 3
|
|
9
|
+
total_tasks: 7
|
|
10
|
+
status: in_progress
|
|
11
|
+
last_updated: 2025-01-15T14:30:00Z
|
|
12
|
+
---
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
```markdown
|
|
16
|
+
<current_state>
|
|
17
|
+
[Where exactly are we? What's the immediate context?]
|
|
18
|
+
</current_state>
|
|
19
|
+
|
|
20
|
+
<completed_work>
|
|
21
|
+
[What got done this session - be specific]
|
|
22
|
+
|
|
23
|
+
- Task 1: [name] - Done
|
|
24
|
+
- Task 2: [name] - Done
|
|
25
|
+
- Task 3: [name] - In progress, [what's done on it]
|
|
26
|
+
</completed_work>
|
|
27
|
+
|
|
28
|
+
<remaining_work>
|
|
29
|
+
[What's left in this phase]
|
|
30
|
+
|
|
31
|
+
- Task 3: [name] - [what's left to do]
|
|
32
|
+
- Task 4: [name] - Not started
|
|
33
|
+
- Task 5: [name] - Not started
|
|
34
|
+
</remaining_work>
|
|
35
|
+
|
|
36
|
+
<decisions_made>
|
|
37
|
+
[Key decisions and why - so next session doesn't re-debate]
|
|
38
|
+
|
|
39
|
+
- Decided to use [X] because [reason]
|
|
40
|
+
- Chose [approach] over [alternative] because [reason]
|
|
41
|
+
</decisions_made>
|
|
42
|
+
|
|
43
|
+
<blockers>
|
|
44
|
+
[Anything stuck or waiting on external factors]
|
|
45
|
+
|
|
46
|
+
- [Blocker 1]: [status/workaround]
|
|
47
|
+
</blockers>
|
|
48
|
+
|
|
49
|
+
<context>
|
|
50
|
+
[Mental state, "vibe", anything that helps resume smoothly]
|
|
51
|
+
|
|
52
|
+
[What were you thinking about? What was the plan?
|
|
53
|
+
This is the "pick up exactly where you left off" context.]
|
|
54
|
+
</context>
|
|
55
|
+
|
|
56
|
+
<next_action>
|
|
57
|
+
[The very first thing to do when resuming]
|
|
58
|
+
|
|
59
|
+
Start with: [specific action]
|
|
60
|
+
</next_action>
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
<yaml_fields>
|
|
64
|
+
Required YAML frontmatter:
|
|
65
|
+
|
|
66
|
+
- `phase`: Directory name (e.g., `02-authentication`)
|
|
67
|
+
- `task`: Current task number
|
|
68
|
+
- `total_tasks`: How many tasks in phase
|
|
69
|
+
- `status`: `in_progress`, `blocked`, `almost_done`
|
|
70
|
+
- `last_updated`: ISO timestamp
|
|
71
|
+
</yaml_fields>
|
|
72
|
+
|
|
73
|
+
<guidelines>
|
|
74
|
+
- Be specific enough that a fresh Claude instance understands immediately
|
|
75
|
+
- Include WHY decisions were made, not just what
|
|
76
|
+
- The `<next_action>` should be actionable without reading anything else
|
|
77
|
+
- This file gets DELETED after resume - it's not permanent storage
|
|
78
|
+
</guidelines>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Instructions for EZ Agents
|
|
2
|
+
|
|
3
|
+
- Use the ez-agents skill when the user asks for EZ Agents or uses a `ez-*` command.
|
|
4
|
+
- Treat `/ez-...` or `ez-...` as command invocations and load the matching file from `.github/skills/ez-*`.
|
|
5
|
+
- When a command says to spawn a subagent, prefer a matching custom agent from `.github/agents`.
|
|
6
|
+
- Do not apply EZ Agents workflows unless the user explicitly asks for them.
|
|
7
|
+
- After completing any `ez-*` command (or any deliverable it triggers: feature, bug fix, tests, docs, etc.), ALWAYS: (1) offer the user the next step by prompting via `ask_user`; repeat this feedback loop until the user explicitly indicates they are done.
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# Debug Subagent Prompt Template
|
|
2
|
+
|
|
3
|
+
Template for spawning ez-debugger agent. The agent contains all debugging expertise - this template provides problem context only.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Template
|
|
8
|
+
|
|
9
|
+
```markdown
|
|
10
|
+
<objective>
|
|
11
|
+
Investigate issue: {issue_id}
|
|
12
|
+
|
|
13
|
+
**Summary:** {issue_summary}
|
|
14
|
+
</objective>
|
|
15
|
+
|
|
16
|
+
<symptoms>
|
|
17
|
+
expected: {expected}
|
|
18
|
+
actual: {actual}
|
|
19
|
+
errors: {errors}
|
|
20
|
+
reproduction: {reproduction}
|
|
21
|
+
timeline: {timeline}
|
|
22
|
+
</symptoms>
|
|
23
|
+
|
|
24
|
+
<mode>
|
|
25
|
+
symptoms_prefilled: {true_or_false}
|
|
26
|
+
goal: {find_root_cause_only | find_and_fix}
|
|
27
|
+
</mode>
|
|
28
|
+
|
|
29
|
+
<debug_file>
|
|
30
|
+
Create: .planning/debug/{slug}.md
|
|
31
|
+
</debug_file>
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## Placeholders
|
|
37
|
+
|
|
38
|
+
| Placeholder | Source | Example |
|
|
39
|
+
|-------------|--------|---------|
|
|
40
|
+
| `{issue_id}` | Orchestrator-assigned | `auth-screen-dark` |
|
|
41
|
+
| `{issue_summary}` | User description | `Auth screen is too dark` |
|
|
42
|
+
| `{expected}` | From symptoms | `See logo clearly` |
|
|
43
|
+
| `{actual}` | From symptoms | `Screen is dark` |
|
|
44
|
+
| `{errors}` | From symptoms | `None in console` |
|
|
45
|
+
| `{reproduction}` | From symptoms | `Open /auth page` |
|
|
46
|
+
| `{timeline}` | From symptoms | `After recent deploy` |
|
|
47
|
+
| `{goal}` | Orchestrator sets | `find_and_fix` |
|
|
48
|
+
| `{slug}` | Generated | `auth-screen-dark` |
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## Usage
|
|
53
|
+
|
|
54
|
+
**From /ez:debug:**
|
|
55
|
+
```python
|
|
56
|
+
Task(
|
|
57
|
+
prompt=filled_template,
|
|
58
|
+
subagent_type="ez-debugger",
|
|
59
|
+
description="Debug {slug}"
|
|
60
|
+
)
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
**From diagnose-issues (UAT):**
|
|
64
|
+
```python
|
|
65
|
+
Task(prompt=template, subagent_type="ez-debugger", description="Debug UAT-001")
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## Continuation
|
|
71
|
+
|
|
72
|
+
For checkpoints, spawn fresh agent with:
|
|
73
|
+
|
|
74
|
+
```markdown
|
|
75
|
+
<objective>
|
|
76
|
+
Continue debugging {slug}. Evidence is in the debug file.
|
|
77
|
+
</objective>
|
|
78
|
+
|
|
79
|
+
<prior_state>
|
|
80
|
+
Debug file: @.planning/debug/{slug}.md
|
|
81
|
+
</prior_state>
|
|
82
|
+
|
|
83
|
+
<checkpoint_response>
|
|
84
|
+
**Type:** {checkpoint_type}
|
|
85
|
+
**Response:** {user_response}
|
|
86
|
+
</checkpoint_response>
|
|
87
|
+
|
|
88
|
+
<mode>
|
|
89
|
+
goal: {goal}
|
|
90
|
+
</mode>
|
|
91
|
+
```
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
# Discovery Template
|
|
2
|
+
|
|
3
|
+
Template for `.planning/phases/XX-name/DISCOVERY.md` - shallow research for library/option decisions.
|
|
4
|
+
|
|
5
|
+
**Purpose:** Answer "which library/option should we use" questions during mandatory discovery in plan-phase.
|
|
6
|
+
|
|
7
|
+
For deep ecosystem research ("how do experts build this"), use `/ez:research-phase` which produces RESEARCH.md.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## File Template
|
|
12
|
+
|
|
13
|
+
```markdown
|
|
14
|
+
---
|
|
15
|
+
phase: XX-name
|
|
16
|
+
type: discovery
|
|
17
|
+
topic: [discovery-topic]
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
<session_initialization>
|
|
21
|
+
Before beginning discovery, verify today's date:
|
|
22
|
+
!`date +%Y-%m-%d`
|
|
23
|
+
|
|
24
|
+
Use this date when searching for "current" or "latest" information.
|
|
25
|
+
Example: If today is 2025-11-22, search for "2025" not "2024".
|
|
26
|
+
</session_initialization>
|
|
27
|
+
|
|
28
|
+
<discovery_objective>
|
|
29
|
+
Discover [topic] to inform [phase name] implementation.
|
|
30
|
+
|
|
31
|
+
Purpose: [What decision/implementation this enables]
|
|
32
|
+
Scope: [Boundaries]
|
|
33
|
+
Output: DISCOVERY.md with recommendation
|
|
34
|
+
</discovery_objective>
|
|
35
|
+
|
|
36
|
+
<discovery_scope>
|
|
37
|
+
<include>
|
|
38
|
+
- [Question to answer]
|
|
39
|
+
- [Area to investigate]
|
|
40
|
+
- [Specific comparison if needed]
|
|
41
|
+
</include>
|
|
42
|
+
|
|
43
|
+
<exclude>
|
|
44
|
+
- [Out of scope for this discovery]
|
|
45
|
+
- [Defer to implementation phase]
|
|
46
|
+
</exclude>
|
|
47
|
+
</discovery_scope>
|
|
48
|
+
|
|
49
|
+
<discovery_protocol>
|
|
50
|
+
|
|
51
|
+
**Source Priority:**
|
|
52
|
+
1. **Context7 MCP** - For library/framework documentation (current, authoritative)
|
|
53
|
+
2. **Official Docs** - For platform-specific or non-indexed libraries
|
|
54
|
+
3. **WebSearch** - For comparisons, trends, community patterns (verify all findings)
|
|
55
|
+
|
|
56
|
+
**Quality Checklist:**
|
|
57
|
+
Before completing discovery, verify:
|
|
58
|
+
- [ ] All claims have authoritative sources (Context7 or official docs)
|
|
59
|
+
- [ ] Negative claims ("X is not possible") verified with official documentation
|
|
60
|
+
- [ ] API syntax/configuration from Context7 or official docs (never WebSearch alone)
|
|
61
|
+
- [ ] WebSearch findings cross-checked with authoritative sources
|
|
62
|
+
- [ ] Recent updates/changelogs checked for breaking changes
|
|
63
|
+
- [ ] Alternative approaches considered (not just first solution found)
|
|
64
|
+
|
|
65
|
+
**Confidence Levels:**
|
|
66
|
+
- HIGH: Context7 or official docs confirm
|
|
67
|
+
- MEDIUM: WebSearch + Context7/official docs confirm
|
|
68
|
+
- LOW: WebSearch only or training knowledge only (mark for validation)
|
|
69
|
+
|
|
70
|
+
</discovery_protocol>
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
<output_structure>
|
|
74
|
+
Create `.planning/phases/XX-name/DISCOVERY.md`:
|
|
75
|
+
|
|
76
|
+
```markdown
|
|
77
|
+
# [Topic] Discovery
|
|
78
|
+
|
|
79
|
+
## Summary
|
|
80
|
+
[2-3 paragraph executive summary - what was researched, what was found, what's recommended]
|
|
81
|
+
|
|
82
|
+
## Primary Recommendation
|
|
83
|
+
[What to do and why - be specific and actionable]
|
|
84
|
+
|
|
85
|
+
## Alternatives Considered
|
|
86
|
+
[What else was evaluated and why not chosen]
|
|
87
|
+
|
|
88
|
+
## Key Findings
|
|
89
|
+
|
|
90
|
+
### [Category 1]
|
|
91
|
+
- [Finding with source URL and relevance to our case]
|
|
92
|
+
|
|
93
|
+
### [Category 2]
|
|
94
|
+
- [Finding with source URL and relevance]
|
|
95
|
+
|
|
96
|
+
## Code Examples
|
|
97
|
+
[Relevant implementation patterns, if applicable]
|
|
98
|
+
|
|
99
|
+
## Metadata
|
|
100
|
+
|
|
101
|
+
<metadata>
|
|
102
|
+
<confidence level="high|medium|low">
|
|
103
|
+
[Why this confidence level - based on source quality and verification]
|
|
104
|
+
</confidence>
|
|
105
|
+
|
|
106
|
+
<sources>
|
|
107
|
+
- [Primary authoritative sources used]
|
|
108
|
+
</sources>
|
|
109
|
+
|
|
110
|
+
<open_questions>
|
|
111
|
+
[What couldn't be determined or needs validation during implementation]
|
|
112
|
+
</open_questions>
|
|
113
|
+
|
|
114
|
+
<validation_checkpoints>
|
|
115
|
+
[If confidence is LOW or MEDIUM, list specific things to verify during implementation]
|
|
116
|
+
</validation_checkpoints>
|
|
117
|
+
</metadata>
|
|
118
|
+
```
|
|
119
|
+
</output_structure>
|
|
120
|
+
|
|
121
|
+
<success_criteria>
|
|
122
|
+
- All scope questions answered with authoritative sources
|
|
123
|
+
- Quality checklist items completed
|
|
124
|
+
- Clear primary recommendation
|
|
125
|
+
- Low-confidence findings marked with validation checkpoints
|
|
126
|
+
- Ready to inform PLAN.md creation
|
|
127
|
+
</success_criteria>
|
|
128
|
+
|
|
129
|
+
<guidelines>
|
|
130
|
+
**When to use discovery:**
|
|
131
|
+
- Technology choice unclear (library A vs B)
|
|
132
|
+
- Best practices needed for unfamiliar integration
|
|
133
|
+
- API/library investigation required
|
|
134
|
+
- Single decision pending
|
|
135
|
+
|
|
136
|
+
**When NOT to use:**
|
|
137
|
+
- Established patterns (CRUD, auth with known library)
|
|
138
|
+
- Implementation details (defer to execution)
|
|
139
|
+
- Questions answerable from existing project context
|
|
140
|
+
|
|
141
|
+
**When to use RESEARCH.md instead:**
|
|
142
|
+
- Niche/complex domains (3D, games, audio, shaders)
|
|
143
|
+
- Need ecosystem knowledge, not just library choice
|
|
144
|
+
- "How do experts build this" questions
|
|
145
|
+
- Use `/ez:research-phase` for these
|
|
146
|
+
</guidelines>
|