@soleri/forge 9.0.1 → 9.2.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 (64) hide show
  1. package/dist/compose-claude-md.js +1 -1
  2. package/dist/compose-claude-md.js.map +1 -1
  3. package/dist/scaffold-filetree.js +8 -13
  4. package/dist/scaffold-filetree.js.map +1 -1
  5. package/dist/skills/brain-debrief/SKILL.md +16 -12
  6. package/dist/skills/brainstorming/SKILL.md +9 -5
  7. package/dist/skills/code-patrol/SKILL.md +7 -7
  8. package/dist/skills/context-resume/SKILL.md +14 -11
  9. package/dist/skills/deep-review/SKILL.md +186 -0
  10. package/dist/skills/executing-plans/SKILL.md +13 -9
  11. package/dist/skills/fix-and-learn/SKILL.md +12 -8
  12. package/dist/skills/health-check/SKILL.md +21 -17
  13. package/dist/skills/knowledge-harvest/SKILL.md +10 -6
  14. package/dist/skills/onboard-me/SKILL.md +19 -16
  15. package/dist/skills/parallel-execute/SKILL.md +277 -0
  16. package/dist/skills/retrospective/SKILL.md +18 -15
  17. package/dist/skills/second-opinion/SKILL.md +6 -6
  18. package/dist/skills/systematic-debugging/SKILL.md +12 -8
  19. package/dist/skills/test-driven-development/SKILL.md +5 -5
  20. package/dist/skills/vault-capture/SKILL.md +9 -5
  21. package/dist/skills/vault-navigator/SKILL.md +14 -10
  22. package/dist/skills/vault-smells/SKILL.md +251 -0
  23. package/dist/skills/verification-before-completion/SKILL.md +8 -5
  24. package/dist/skills/writing-plans/SKILL.md +14 -11
  25. package/dist/templates/agents-md.js +2 -2
  26. package/dist/templates/agents-md.js.map +1 -1
  27. package/dist/templates/claude-md-template.js +2 -2
  28. package/dist/templates/claude-md-template.js.map +1 -1
  29. package/dist/templates/shared-rules.js +35 -1
  30. package/dist/templates/shared-rules.js.map +1 -1
  31. package/dist/templates/skills.js +28 -6
  32. package/dist/templates/skills.js.map +1 -1
  33. package/dist/types.d.ts +1 -1
  34. package/dist/types.js +6 -2
  35. package/dist/types.js.map +1 -1
  36. package/package.json +1 -1
  37. package/src/__tests__/scaffolder.test.ts +17 -35
  38. package/src/compose-claude-md.ts +1 -1
  39. package/src/scaffold-filetree.ts +9 -13
  40. package/src/skills/brain-debrief/SKILL.md +16 -12
  41. package/src/skills/brainstorming/SKILL.md +9 -5
  42. package/src/skills/code-patrol/SKILL.md +7 -7
  43. package/src/skills/context-resume/SKILL.md +14 -11
  44. package/src/skills/deep-review/SKILL.md +186 -0
  45. package/src/skills/executing-plans/SKILL.md +13 -9
  46. package/src/skills/fix-and-learn/SKILL.md +12 -8
  47. package/src/skills/health-check/SKILL.md +21 -17
  48. package/src/skills/knowledge-harvest/SKILL.md +10 -6
  49. package/src/skills/onboard-me/SKILL.md +19 -16
  50. package/src/skills/parallel-execute/SKILL.md +277 -0
  51. package/src/skills/retrospective/SKILL.md +18 -15
  52. package/src/skills/second-opinion/SKILL.md +6 -6
  53. package/src/skills/systematic-debugging/SKILL.md +12 -8
  54. package/src/skills/test-driven-development/SKILL.md +5 -5
  55. package/src/skills/vault-capture/SKILL.md +9 -5
  56. package/src/skills/vault-navigator/SKILL.md +14 -10
  57. package/src/skills/vault-smells/SKILL.md +251 -0
  58. package/src/skills/verification-before-completion/SKILL.md +8 -5
  59. package/src/skills/writing-plans/SKILL.md +14 -11
  60. package/src/templates/agents-md.ts +2 -2
  61. package/src/templates/claude-md-template.ts +2 -2
  62. package/src/templates/shared-rules.ts +36 -1
  63. package/src/templates/skills.ts +27 -6
  64. package/src/types.ts +7 -2
@@ -1,6 +1,10 @@
1
1
  ---
2
2
  name: health-check
3
- description: Use when running maintenance on the knowledge base — deduplication, contradiction resolution, stale entry cleanup, or vault quality auditing.
3
+ description: >
4
+ Use when the user asks "check health", "system status", "how healthy is the vault",
5
+ "knowledge quality", "run diagnostics", "vault health report", or wants a read-only health
6
+ assessment of the knowledge base — scoring, reporting, finding issues. Does NOT modify vault
7
+ entries. To actively clean, merge, or deduplicate, use vault-curate instead.
4
8
  ---
5
9
 
6
10
  # Health Check — Knowledge Base Maintenance
@@ -12,43 +16,43 @@ Comprehensive maintenance cycle on the knowledge base. Finds stale entries, dupl
12
16
  ### 1. System Health
13
17
 
14
18
  ```
15
- ernesto_core op:admin_health
16
- ernesto_core op:admin_diagnostic
19
+ YOUR_AGENT_core op:admin_health
20
+ YOUR_AGENT_core op:admin_diagnostic
17
21
  ```
18
22
 
19
23
  ### 2. Vault Metrics
20
24
 
21
25
  ```
22
- ernesto_core op:admin_vault_size
23
- ernesto_core op:admin_vault_analytics
24
- ernesto_core op:vault_domains
25
- ernesto_core op:vault_tags
26
+ YOUR_AGENT_core op:admin_vault_size
27
+ YOUR_AGENT_core op:admin_vault_analytics
28
+ YOUR_AGENT_core op:vault_domains
29
+ YOUR_AGENT_core op:vault_tags
26
30
  ```
27
31
 
28
32
  ### 3. Quality Audit
29
33
 
30
34
  ```
31
- ernesto_core op:curator_health_audit
35
+ YOUR_AGENT_core op:curator_health_audit
32
36
  ```
33
37
 
34
38
  ### 4. Find Duplicates
35
39
 
36
40
  ```
37
- ernesto_core op:curator_detect_duplicates
41
+ YOUR_AGENT_core op:curator_detect_duplicates
38
42
  ```
39
43
 
40
44
  ### 5. Find Contradictions
41
45
 
42
46
  ```
43
- ernesto_core op:curator_contradictions
44
- ernesto_core op:curator_resolve_contradiction
47
+ YOUR_AGENT_core op:curator_contradictions
48
+ YOUR_AGENT_core op:curator_resolve_contradiction
45
49
  params: { contradictionId: "<id>" }
46
50
  ```
47
51
 
48
52
  ### 6. Find Stale Entries
49
53
 
50
54
  ```
51
- ernesto_core op:vault_age_report
55
+ YOUR_AGENT_core op:vault_age_report
52
56
  ```
53
57
 
54
58
  Entries >30 days without updates: refresh, archive, or delete.
@@ -56,21 +60,21 @@ Entries >30 days without updates: refresh, archive, or delete.
56
60
  ### 7. Check Search Quality
57
61
 
58
62
  ```
59
- ernesto_core op:admin_search_insights
63
+ YOUR_AGENT_core op:admin_search_insights
60
64
  ```
61
65
 
62
66
  ### 8. Memory Health
63
67
 
64
68
  ```
65
- ernesto_core op:memory_stats
66
- ernesto_core op:memory_deduplicate
69
+ YOUR_AGENT_core op:memory_stats
70
+ YOUR_AGENT_core op:memory_deduplicate
67
71
  ```
68
72
 
69
73
  ### 9. Governance Queue
70
74
 
71
75
  ```
72
- ernesto_core op:governance_proposals params: { action: "list" }
73
- ernesto_core op:governance_expire
76
+ YOUR_AGENT_core op:governance_proposals params: { action: "list" }
77
+ YOUR_AGENT_core op:governance_expire
74
78
  ```
75
79
 
76
80
  ### 10. Fix Everything (Optional, with user approval)
@@ -1,6 +1,10 @@
1
1
  ---
2
2
  name: knowledge-harvest
3
- description: Use when pointing at code, docs, PRs, or any text to automatically extract and capture patterns, anti-patterns, and decisions into the vault.
3
+ description: >
4
+ Use to EXTRACT multiple patterns from a source — code, docs, PRs, articles. Triggers on
5
+ "learn from this", "harvest knowledge", "ingest this document", "extract patterns from".
6
+ The agent reads the source and identifies what to capture. For saving a single known item,
7
+ use vault-capture instead.
4
8
  ---
5
9
 
6
10
  # Knowledge Harvest — Extract Patterns From Anything
@@ -11,15 +15,15 @@ Point at code, docs, PRs, architecture decisions, or postmortems — the agent e
11
15
 
12
16
  ### 1. Understand the Source
13
17
 
14
- Read target content and classify: `ernesto_core op:route_intent params: { prompt: "Extract knowledge from: <source>" }`
18
+ Read target content and classify: `YOUR_AGENT_core op:route_intent params: { prompt: "Extract knowledge from: <source>" }`
15
19
 
16
20
  ### 2. Check What's Already Known
17
21
 
18
22
  ```
19
- ernesto_core op:search_intelligent
23
+ YOUR_AGENT_core op:search_intelligent
20
24
  params: { query: "<topic of source material>" }
21
- ernesto_core op:vault_tags
22
- ernesto_core op:vault_domains
25
+ YOUR_AGENT_core op:vault_tags
26
+ YOUR_AGENT_core op:vault_domains
23
27
  ```
24
28
 
25
29
  Focus extraction on gaps — skip what vault already covers.
@@ -39,7 +43,7 @@ For each: determine category, severity, and tags.
39
43
  ### 4. Batch Capture
40
44
 
41
45
  ```
42
- ernesto_core op:capture_knowledge
46
+ YOUR_AGENT_core op:capture_knowledge
43
47
  params: {
44
48
  title: "<clear, searchable name>",
45
49
  description: "<what it is, when to apply, why it matters>",
@@ -1,6 +1,9 @@
1
1
  ---
2
2
  name: onboard-me
3
- description: Use when someone is new to the project and needs a structured introduction to its knowledge, patterns, decisions, and conventions.
3
+ description: >
4
+ Use when someone is new to the PROJECT and needs orientation — "onboard me", "I'm new here",
5
+ "project overview", "what should I know about this codebase". Questions about the project's
6
+ patterns and conventions, not about the agent's capabilities (use agent-guide for that).
4
7
  ---
5
8
 
6
9
  # Onboard Me — Instant Project Intelligence
@@ -12,59 +15,59 @@ Structured tour of everything the vault knows about this project. Decisions, pat
12
15
  ### 1. Project Overview
13
16
 
14
17
  ```
15
- ernesto_core op:identity
16
- ernesto_core op:project_get
17
- ernesto_core op:project_list_rules
18
- ernesto_core op:get_behavior_rules
18
+ YOUR_AGENT_core op:identity
19
+ YOUR_AGENT_core op:project_get
20
+ YOUR_AGENT_core op:project_list_rules
21
+ YOUR_AGENT_core op:get_behavior_rules
19
22
  ```
20
23
 
21
24
  ### 2. Knowledge Landscape
22
25
 
23
26
  ```
24
- ernesto_core op:vault_domains
25
- ernesto_core op:vault_tags
26
- ernesto_core op:admin_vault_size
27
+ YOUR_AGENT_core op:vault_domains
28
+ YOUR_AGENT_core op:vault_tags
29
+ YOUR_AGENT_core op:admin_vault_size
27
30
  ```
28
31
 
29
32
  ### 3. Critical Knowledge
30
33
 
31
34
  ```
32
- ernesto_core op:search
35
+ YOUR_AGENT_core op:search
33
36
  params: { severity: "critical" }
34
37
  ```
35
38
 
36
39
  ### 4. Key Decisions
37
40
 
38
41
  ```
39
- ernesto_core op:search_intelligent
42
+ YOUR_AGENT_core op:search_intelligent
40
43
  params: { query: "architectural decision design choice" }
41
44
  ```
42
45
 
43
46
  ### 5. Strongest Patterns
44
47
 
45
48
  ```
46
- ernesto_core op:brain_strengths
49
+ YOUR_AGENT_core op:brain_strengths
47
50
  ```
48
51
 
49
52
  ### 6. Anti-Patterns to Avoid
50
53
 
51
54
  ```
52
- ernesto_core op:search
55
+ YOUR_AGENT_core op:search
53
56
  params: { type: "anti-pattern" }
54
57
  ```
55
58
 
56
59
  ### 7. Cross-Project Context
57
60
 
58
61
  ```
59
- ernesto_core op:project_linked_projects
60
- ernesto_core op:brain_global_patterns
62
+ YOUR_AGENT_core op:project_linked_projects
63
+ YOUR_AGENT_core op:brain_global_patterns
61
64
  ```
62
65
 
63
66
  ### 8. Knowledge Gaps
64
67
 
65
68
  ```
66
- ernesto_core op:admin_search_insights
67
- ernesto_core op:vault_age_report
69
+ YOUR_AGENT_core op:admin_search_insights
70
+ YOUR_AGENT_core op:vault_age_report
68
71
  ```
69
72
 
70
73
  ## Presenting the Onboarding
@@ -0,0 +1,277 @@
1
+ ---
2
+ name: parallel-execute
3
+ description: >
4
+ Use when executing a plan where independent tasks can run concurrently. Triggers on "run in
5
+ parallel", "parallelize", "fan out", "concurrent execution", "run simultaneously", "at the
6
+ same time", "dispatch subagents", "batch execute", or when a plan has 3+ tasks with no
7
+ dependency overlap. For sequential task-by-task execution, use executing-plans instead.
8
+ ---
9
+
10
+ # Parallel Execute — Subagent-Driven Plan Execution
11
+
12
+ Execute plan tasks in parallel by dispatching independent tasks to separate subagents. The controller agent (you) never implements — you dispatch, review, and integrate.
13
+
14
+ **Announce at start:** "I'm using the parallel-execute skill to run independent tasks concurrently."
15
+
16
+ <HARD-GATE>
17
+ You MUST have an approved, split plan before using this skill. If no plan exists or it has no tasks, stop and use the writing-plans skill first.
18
+ </HARD-GATE>
19
+
20
+ ## When to Use
21
+
22
+ - Plan has 3+ tasks
23
+ - At least 2 tasks have no dependency overlap (can run simultaneously)
24
+ - Tasks touch different files/modules (low merge conflict risk)
25
+
26
+ **Do NOT use when:**
27
+ - All tasks are sequential (each depends on the previous)
28
+ - Tasks modify the same files (high conflict risk)
29
+ - Plan has fewer than 3 tasks (use executing-plans instead)
30
+
31
+ ## The Process
32
+
33
+ ### Step 1: Load Plan and Build Dependency Graph
34
+
35
+ ```
36
+ YOUR_AGENT_core op:get_plan
37
+ YOUR_AGENT_core op:plan_list_tasks params:{ planId: "<id>" }
38
+ ```
39
+
40
+ Map out which tasks are independent by checking `dependsOn` for each task. Group tasks into **waves** — sets of tasks that can run in parallel:
41
+
42
+ - **Wave 1**: All tasks with no dependencies (or whose dependencies are already complete)
43
+ - **Wave 2**: Tasks whose dependencies are all in Wave 1
44
+ - **Wave N**: Tasks whose dependencies are all in prior waves
45
+
46
+ Present the wave plan to the user before starting:
47
+
48
+ ```
49
+ ## Execution Waves
50
+
51
+ | Wave | Tasks | Parallel? |
52
+ |------|-------|-----------|
53
+ | 1 | task-1, task-3, task-5 | Yes (3 subagents) |
54
+ | 2 | task-2 (depends on task-1) | Solo |
55
+ | 3 | task-4 (depends on task-2, task-3) | Solo |
56
+ ```
57
+
58
+ ### Step 2: Dispatch a Wave
59
+
60
+ For each task in the current wave:
61
+
62
+ 1. Check readiness:
63
+ ```
64
+ YOUR_AGENT_core op:plan_dispatch params:{ planId: "<id>", taskId: "<taskId>" }
65
+ ```
66
+ Only dispatch tasks where `ready: true`.
67
+
68
+ 2. Mark as in_progress:
69
+ ```
70
+ YOUR_AGENT_core op:update_task params:{ planId: "<id>", taskIndex: <n>, status: "in_progress" }
71
+ ```
72
+
73
+ 3. Gather vault context for the task:
74
+ ```
75
+ YOUR_AGENT_core op:search params:{ query: "<task topic>", mode: "scan" }
76
+ ```
77
+
78
+ 4. **Launch all ready tasks as parallel Agent calls in a single message.** Each subagent gets:
79
+
80
+ ```
81
+ You are implementing a single task from a plan. Work autonomously.
82
+
83
+ ## Task
84
+ - **ID**: {taskId}
85
+ - **Title**: {title}
86
+ - **Description**: {description}
87
+ - **Acceptance Criteria**: {criteria}
88
+
89
+ ## Context
90
+ - **Plan Objective**: {planObjective}
91
+ - **Vault Patterns to Follow**: {relevantPatterns}
92
+ - **Files Likely Involved**: {fileHints}
93
+
94
+ ## Rules
95
+ - Implement ONLY this task — do not touch files outside your scope
96
+ - Run tests after implementation
97
+ - If blocked, report the blocker and stop — do not guess
98
+ - Do not commit — the controller handles commits
99
+ - When done, report: files changed, tests passing, any concerns
100
+
101
+ ## Self-Review Checklist
102
+ Before reporting completion, verify:
103
+ - [ ] All acceptance criteria met
104
+ - [ ] Tests pass
105
+ - [ ] No files modified outside task scope
106
+ - [ ] No console.log or debug code left behind
107
+ - [ ] No raw colors or hardcoded values (use semantic tokens)
108
+ ```
109
+
110
+ Use the Agent tool with `isolation: "worktree"` when tasks touch nearby files to prevent conflicts.
111
+
112
+ ### Step 3: Collect Results
113
+
114
+ As subagents complete, collect their results. For each completed task:
115
+
116
+ 1. **Run spec review** — spawn a reviewer subagent:
117
+ ```
118
+ YOUR_AGENT_core op:plan_review_spec params:{ planId: "<id>", taskId: "<taskId>" }
119
+ ```
120
+ Use the returned prompt to launch a spec-review Agent that reads the ACTUAL code changes (not the implementer's self-report).
121
+
122
+ 2. **Record spec review outcome:**
123
+ ```
124
+ YOUR_AGENT_core op:plan_review_outcome params:{
125
+ planId: "<id>", taskId: "<taskId>",
126
+ reviewType: "spec", reviewer: "spec-reviewer",
127
+ outcome: "approved|rejected|needs_changes",
128
+ comments: "<specific file:line references>"
129
+ }
130
+ ```
131
+
132
+ 3. **If spec passes, run quality review:**
133
+ ```
134
+ YOUR_AGENT_core op:plan_review_quality params:{ planId: "<id>", taskId: "<taskId>" }
135
+ ```
136
+ Launch a quality-review Agent with the returned prompt.
137
+
138
+ 4. **Record quality review outcome:**
139
+ ```
140
+ YOUR_AGENT_core op:plan_review_outcome params:{
141
+ planId: "<id>", taskId: "<taskId>",
142
+ reviewType: "quality", reviewer: "quality-reviewer",
143
+ outcome: "approved|rejected|needs_changes",
144
+ comments: "<severity-tagged feedback>"
145
+ }
146
+ ```
147
+
148
+ 5. **Handle outcomes:**
149
+
150
+ | Spec | Quality | Action |
151
+ |------|---------|--------|
152
+ | Pass | Pass | Mark task completed |
153
+ | Fail | — | Dispatch fix subagent with failure feedback (max 2 retries) |
154
+ | Pass | Critical issues | Dispatch targeted fix subagent (max 2 retries) |
155
+ | Pass | Minor issues only | Mark completed, note issues for later |
156
+
157
+ 6. **Mark completed:**
158
+ ```
159
+ YOUR_AGENT_core op:update_task params:{ planId: "<id>", taskIndex: <n>, status: "completed" }
160
+ ```
161
+
162
+ ### Step 4: Advance to Next Wave
163
+
164
+ After all tasks in a wave are complete (or failed after retries):
165
+
166
+ 1. Report wave results to the user:
167
+ ```
168
+ ## Wave N Complete
169
+
170
+ | Task | Status | Review | Notes |
171
+ |------|--------|--------|-------|
172
+ | task-1 | Completed | Spec: Pass, Quality: Pass | — |
173
+ | task-3 | Completed | Spec: Pass, Quality: Minor issues | Noted for cleanup |
174
+ | task-5 | Failed | Spec: Fail (2 retries exhausted) | Escalated |
175
+ ```
176
+
177
+ 2. **Wait for user acknowledgment** before proceeding to the next wave.
178
+
179
+ 3. Check which tasks in the next wave are now ready (dependencies met).
180
+
181
+ 4. Repeat from Step 2.
182
+
183
+ ### Step 5: Final Integration Review
184
+
185
+ After all waves complete:
186
+
187
+ 1. Spawn a final review subagent that checks cross-cutting concerns:
188
+ - Consistency across all task implementations
189
+ - Integration points between tasks
190
+ - No conflicting patterns or duplicate code
191
+ - Tests pass together (not just individually)
192
+
193
+ 2. Report to user with full execution summary.
194
+
195
+ ### Step 6: Complete Plan Lifecycle
196
+
197
+ Same as executing-plans — reconcile, capture knowledge, archive:
198
+
199
+ ```
200
+ YOUR_AGENT_core op:plan_reconcile params:{
201
+ planId: "<id>",
202
+ actualOutcome: "<what happened>",
203
+ driftItems: [{ type: "...", description: "...", impact: "...", rationale: "..." }]
204
+ }
205
+
206
+ YOUR_AGENT_core op:plan_complete_lifecycle params:{
207
+ planId: "<id>",
208
+ patterns: ["<patterns discovered>"],
209
+ antiPatterns: ["<anti-patterns discovered>"]
210
+ }
211
+
212
+ YOUR_AGENT_core op:session_capture params:{
213
+ summary: "<execution summary with parallel metrics>"
214
+ }
215
+ ```
216
+
217
+ ## Subagent Isolation Rules
218
+
219
+ | Situation | Isolation |
220
+ |-----------|-----------|
221
+ | Tasks touch completely different directories | No isolation needed |
222
+ | Tasks touch files in the same package | Use `isolation: "worktree"` |
223
+ | Tasks modify the same file | **Do NOT parallelize** — run sequentially |
224
+
225
+ When using worktree isolation, the controller must merge worktree changes back after review passes.
226
+
227
+ ## Failure Handling
228
+
229
+ | Failure | Response |
230
+ |---------|----------|
231
+ | Subagent reports blocker | Pause that task, continue others in the wave |
232
+ | Spec review fails | Dispatch fix subagent with feedback (retry 1/2) |
233
+ | Second retry fails | Mark task as `failed`, escalate to user |
234
+ | Merge conflict from worktree | Resolve manually, then re-run quality review |
235
+ | All tasks in wave fail | Stop execution, report to user |
236
+
237
+ ## Capture Learnings
238
+
239
+ During execution, capture insights about parallelization:
240
+
241
+ ```
242
+ YOUR_AGENT_core op:capture_quick params:{
243
+ title: "<what you learned about parallel execution>",
244
+ description: "<context: which tasks parallelized well, which conflicted>"
245
+ }
246
+ ```
247
+
248
+ ## When to Fall Back to Sequential
249
+
250
+ **Switch to executing-plans skill mid-execution when:**
251
+ - Subagents keep conflicting on shared files
252
+ - Merge resolution is taking longer than the parallelization saves
253
+ - User requests sequential execution
254
+
255
+ ## Agent Tools Reference
256
+
257
+ | Op | When to Use |
258
+ |----|-------------|
259
+ | `get_plan` | Load tracked plan |
260
+ | `plan_list_tasks` | List all tasks with dependencies |
261
+ | `plan_dispatch` | Check task readiness (dependencies met?) |
262
+ | `update_task` | Mark tasks in_progress / completed / failed |
263
+ | `plan_review_spec` | Generate spec compliance review prompt |
264
+ | `plan_review_quality` | Generate code quality review prompt |
265
+ | `plan_review_outcome` | Record review pass/fail result |
266
+ | `plan_reconcile` | Post-execution drift analysis |
267
+ | `plan_complete_lifecycle` | Extract knowledge, archive |
268
+ | `session_capture` | Save session context |
269
+ | `capture_quick` | Capture mid-execution learnings |
270
+ | `search` | Vault lookup for task context |
271
+
272
+ ## Integration
273
+
274
+ **Required skills:**
275
+ - writing-plans — Creates the plan this skill executes
276
+ - verification-before-completion — Verify work before claiming completion
277
+ - executing-plans — Fallback for sequential execution
@@ -1,6 +1,9 @@
1
1
  ---
2
2
  name: retrospective
3
- description: Use when reflecting on recent work — sprint retros, weekly summaries, learning reports, or extracting actionable insights from accumulated session data.
3
+ description: >
4
+ Use for time-bound reflection on recent WORK — "sprint retro", "weekly summary", "what went
5
+ well this week", "end of sprint", "monthly report". Reviews sessions and extracts actionable
6
+ improvements. For brain pattern intelligence and strength scores, use brain-debrief instead.
4
7
  ---
5
8
 
6
9
  # Retrospective — Learning Report From Real Data
@@ -12,24 +15,24 @@ Generate a data-driven retrospective from session data, vault captures, plan out
12
15
  ### 1. Gather Data
13
16
 
14
17
  ```
15
- ernesto_core op:brain_stats
16
- ernesto_core op:brain_stats params: { since: "<start of period>" }
17
- ernesto_core op:brain_strengths
18
- ernesto_core op:vault_recent
19
- ernesto_core op:memory_topics
20
- ernesto_core op:memory_stats
21
- ernesto_core op:plan_stats
22
- ernesto_core op:admin_search_insights
23
- ernesto_core op:admin_vault_analytics
18
+ YOUR_AGENT_core op:brain_stats
19
+ YOUR_AGENT_core op:brain_stats params: { since: "<start of period>" }
20
+ YOUR_AGENT_core op:brain_strengths
21
+ YOUR_AGENT_core op:vault_recent
22
+ YOUR_AGENT_core op:memory_topics
23
+ YOUR_AGENT_core op:memory_stats
24
+ YOUR_AGENT_core op:plan_stats
25
+ YOUR_AGENT_core op:admin_search_insights
26
+ YOUR_AGENT_core op:admin_vault_analytics
24
27
  ```
25
28
 
26
29
  ### 2. Analyze Patterns
27
30
 
28
31
  ```
29
- ernesto_core op:vault_age_report
30
- ernesto_core op:curator_detect_duplicates
31
- ernesto_core op:curator_contradictions
32
- ernesto_core op:curator_health_audit
32
+ YOUR_AGENT_core op:vault_age_report
33
+ YOUR_AGENT_core op:curator_detect_duplicates
34
+ YOUR_AGENT_core op:curator_contradictions
35
+ YOUR_AGENT_core op:curator_health_audit
33
36
  ```
34
37
 
35
38
  ### 3. Present the Retrospective
@@ -62,7 +65,7 @@ Quality: X/100 | Duplicates: N | Contradictions: N | Stale: N
62
65
  ### 4. Capture the Retrospective
63
66
 
64
67
  ```
65
- ernesto_core op:capture_knowledge
68
+ YOUR_AGENT_core op:capture_knowledge
66
69
  params: {
67
70
  title: "Retrospective — [period]",
68
71
  description: "<key findings and action items>",
@@ -12,7 +12,7 @@ Get an informed recommendation that synthesizes vault knowledge, brain patterns,
12
12
  ### 1. Understand the Decision
13
13
 
14
14
  ```
15
- ernesto_core op:route_intent
15
+ YOUR_AGENT_core op:route_intent
16
16
  params: { prompt: "<user's question>" }
17
17
  ```
18
18
 
@@ -20,20 +20,20 @@ ernesto_core op:route_intent
20
20
 
21
21
  **Vault** — previous decisions, patterns, anti-patterns:
22
22
  ```
23
- ernesto_core op:search_intelligent
23
+ YOUR_AGENT_core op:search_intelligent
24
24
  params: { query: "<the decision or options>" }
25
25
  ```
26
26
 
27
27
  **Brain** — proven approaches:
28
28
  ```
29
- ernesto_core op:brain_strengths
30
- ernesto_core op:brain_recommend
29
+ YOUR_AGENT_core op:brain_strengths
30
+ YOUR_AGENT_core op:brain_recommend
31
31
  params: { projectName: "<current project>" }
32
32
  ```
33
33
 
34
34
  **Cross-project** — what other projects chose:
35
35
  ```
36
- ernesto_core op:memory_cross_project_search
36
+ YOUR_AGENT_core op:memory_cross_project_search
37
37
  params: { query: "<topic>", crossProject: true }
38
38
  ```
39
39
 
@@ -69,7 +69,7 @@ ernesto_core op:memory_cross_project_search
69
69
  ### 4. Capture the Decision
70
70
 
71
71
  ```
72
- ernesto_core op:capture_knowledge
72
+ YOUR_AGENT_core op:capture_knowledge
73
73
  params: {
74
74
  title: "<decision title>",
75
75
  description: "<chosen option, rationale, rejected alternatives>",
@@ -1,6 +1,10 @@
1
1
  ---
2
2
  name: systematic-debugging
3
- description: Use when encountering any bug, test failure, or unexpected behavior — before proposing fixes.
3
+ description: >
4
+ Use as the FIRST response when something is broken — "bug", "failing test", "not working",
5
+ "debug this", "error", "crash", "unexpected behavior", "weird issue". Diagnoses root cause
6
+ before proposing fixes. After root cause is found, hand off to fix-and-learn for repair and
7
+ knowledge capture.
4
8
  ---
5
9
 
6
10
  # Systematic Debugging
@@ -12,10 +16,10 @@ description: Use when encountering any bug, test failure, or unexpected behavior
12
16
  **BEFORE touching any code:**
13
17
 
14
18
  ```
15
- ernesto_core op:search_intelligent
19
+ YOUR_AGENT_core op:search_intelligent
16
20
  params: { query: "<bug or error message>" }
17
- ernesto_core op:brain_strengths
18
- ernesto_core op:memory_search
21
+ YOUR_AGENT_core op:brain_strengths
22
+ YOUR_AGENT_core op:memory_search
19
23
  params: { query: "<error or symptom>" }
20
24
  ```
21
25
 
@@ -26,7 +30,7 @@ Only if vault and web produce no answer, proceed to Phase 1.
26
30
  ## Start a Debug Loop
27
31
 
28
32
  ```
29
- ernesto_core op:loop_start
33
+ YOUR_AGENT_core op:loop_start
30
34
  params: { prompt: "Debug: <bug>", mode: "custom" }
31
35
  ```
32
36
 
@@ -60,8 +64,8 @@ Form single hypothesis, test minimally (one variable at a time), verify before c
60
64
  ## Phase 5: Capture the Learning
61
65
 
62
66
  ```
63
- ernesto_core op:loop_complete
64
- ernesto_core op:capture_knowledge
67
+ YOUR_AGENT_core op:loop_complete
68
+ YOUR_AGENT_core op:capture_knowledge
65
69
  params: {
66
70
  title: "<bug>",
67
71
  description: "<root cause, solution, what made it hard to find>",
@@ -69,7 +73,7 @@ ernesto_core op:capture_knowledge
69
73
  category: "<domain>",
70
74
  tags: ["<relevant>"]
71
75
  }
72
- ernesto_core op:session_capture
76
+ YOUR_AGENT_core op:session_capture
73
77
  ```
74
78
 
75
79
  ## Red Flags — STOP and Return to Phase 1
@@ -10,9 +10,9 @@ description: Use when implementing any feature or bugfix — write failing tests
10
10
  ## Before You Start — Search First
11
11
 
12
12
  ```
13
- ernesto_core op:search_intelligent
13
+ YOUR_AGENT_core op:search_intelligent
14
14
  params: { query: "<what you're about to test>" }
15
- ernesto_core op:brain_strengths
15
+ YOUR_AGENT_core op:brain_strengths
16
16
  ```
17
17
 
18
18
  If vault has testing guidance for this domain, follow it.
@@ -20,7 +20,7 @@ If vault has testing guidance for this domain, follow it.
20
20
  ## Start a TDD Loop
21
21
 
22
22
  ```
23
- ernesto_core op:loop_start
23
+ YOUR_AGENT_core op:loop_start
24
24
  params: { prompt: "TDD: <feature>", mode: "custom" }
25
25
  ```
26
26
 
@@ -63,8 +63,8 @@ Next failing test for next behavior.
63
63
  ## After TDD
64
64
 
65
65
  ```
66
- ernesto_core op:loop_complete
67
- ernesto_core op:capture_quick
66
+ YOUR_AGENT_core op:loop_complete
67
+ YOUR_AGENT_core op:capture_quick
68
68
  params: { title: "<testing pattern>", description: "<what you learned>" }
69
69
  ```
70
70