@soleri/forge 5.2.0 → 5.5.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 (62) hide show
  1. package/dist/scaffolder.js +166 -3
  2. package/dist/scaffolder.js.map +1 -1
  3. package/dist/skills/brain-debrief.md +186 -0
  4. package/dist/skills/brainstorming.md +170 -0
  5. package/dist/skills/code-patrol.md +176 -0
  6. package/dist/skills/context-resume.md +143 -0
  7. package/dist/skills/executing-plans.md +201 -0
  8. package/dist/skills/fix-and-learn.md +164 -0
  9. package/dist/skills/health-check.md +225 -0
  10. package/dist/skills/knowledge-harvest.md +178 -0
  11. package/dist/skills/onboard-me.md +197 -0
  12. package/dist/skills/retrospective.md +189 -0
  13. package/dist/skills/second-opinion.md +142 -0
  14. package/dist/skills/systematic-debugging.md +230 -0
  15. package/dist/skills/test-driven-development.md +266 -0
  16. package/dist/skills/vault-capture.md +154 -0
  17. package/dist/skills/vault-navigator.md +129 -0
  18. package/dist/skills/verification-before-completion.md +170 -0
  19. package/dist/skills/writing-plans.md +207 -0
  20. package/dist/templates/claude-md-template.js +90 -1
  21. package/dist/templates/claude-md-template.js.map +1 -1
  22. package/dist/templates/domain-facade.d.ts +4 -0
  23. package/dist/templates/domain-facade.js +4 -0
  24. package/dist/templates/domain-facade.js.map +1 -1
  25. package/dist/templates/entry-point.js +32 -0
  26. package/dist/templates/entry-point.js.map +1 -1
  27. package/dist/templates/readme.js +38 -0
  28. package/dist/templates/readme.js.map +1 -1
  29. package/dist/templates/setup-script.js +52 -1
  30. package/dist/templates/setup-script.js.map +1 -1
  31. package/dist/templates/skills.d.ts +16 -0
  32. package/dist/templates/skills.js +73 -0
  33. package/dist/templates/skills.js.map +1 -0
  34. package/dist/templates/test-facades.js +173 -3
  35. package/dist/templates/test-facades.js.map +1 -1
  36. package/package.json +2 -2
  37. package/src/__tests__/scaffolder.test.ts +115 -2
  38. package/src/scaffolder.ts +171 -3
  39. package/src/skills/brain-debrief.md +186 -0
  40. package/src/skills/brainstorming.md +170 -0
  41. package/src/skills/code-patrol.md +176 -0
  42. package/src/skills/context-resume.md +143 -0
  43. package/src/skills/executing-plans.md +201 -0
  44. package/src/skills/fix-and-learn.md +164 -0
  45. package/src/skills/health-check.md +225 -0
  46. package/src/skills/knowledge-harvest.md +178 -0
  47. package/src/skills/onboard-me.md +197 -0
  48. package/src/skills/retrospective.md +189 -0
  49. package/src/skills/second-opinion.md +142 -0
  50. package/src/skills/systematic-debugging.md +230 -0
  51. package/src/skills/test-driven-development.md +266 -0
  52. package/src/skills/vault-capture.md +154 -0
  53. package/src/skills/vault-navigator.md +129 -0
  54. package/src/skills/verification-before-completion.md +170 -0
  55. package/src/skills/writing-plans.md +207 -0
  56. package/src/templates/claude-md-template.ts +181 -0
  57. package/src/templates/domain-facade.ts +4 -0
  58. package/src/templates/entry-point.ts +32 -0
  59. package/src/templates/readme.ts +38 -0
  60. package/src/templates/setup-script.ts +54 -1
  61. package/src/templates/skills.ts +82 -0
  62. package/src/templates/test-facades.ts +173 -3
@@ -0,0 +1,189 @@
1
+ ---
2
+ name: retrospective
3
+ description: Use when the user asks "what did I learn this week", "sprint retro", "retrospective", "learning report", "what went well", "what could improve", "weekly summary", "monthly report", or wants to reflect on recent work and extract actionable insights from accumulated data.
4
+ ---
5
+
6
+ # Retrospective — Learning Report From Real Data
7
+
8
+ Generate a retrospective from actual session data, vault captures, plan outcomes, and brain intelligence. Not opinions — data-driven reflection on what happened, what worked, what didn't, and what to do differently.
9
+
10
+ ## When to Use
11
+
12
+ - End of sprint / week / month
13
+ - "What did I learn this week?"
14
+ - "Sprint retrospective"
15
+ - "What went well? What didn't?"
16
+ - After completing a major feature or milestone
17
+
18
+ ## The Magic: Data-Driven Reflection
19
+
20
+ ### Step 1: Gather the Data
21
+
22
+ **Brain stats — the big picture:**
23
+ ```
24
+ YOUR_AGENT_core op:brain_stats
25
+ ```
26
+
27
+ **Recent brain stats — compare velocity:**
28
+ ```
29
+ YOUR_AGENT_core op:brain_stats
30
+ params: { since: "<start of period>" }
31
+ ```
32
+
33
+ **Pattern strengths — what's proven:**
34
+ ```
35
+ YOUR_AGENT_core op:brain_strengths
36
+ ```
37
+
38
+ **Recent vault captures — what was learned:**
39
+ ```
40
+ YOUR_AGENT_core op:vault_recent
41
+ ```
42
+
43
+ **Memory topics — where knowledge clusters:**
44
+ ```
45
+ YOUR_AGENT_core op:memory_topics
46
+ ```
47
+
48
+ **Memory stats — volume and health:**
49
+ ```
50
+ YOUR_AGENT_core op:memory_stats
51
+ ```
52
+
53
+ **Plan stats — execution track record:**
54
+ ```
55
+ YOUR_AGENT_core op:plan_stats
56
+ ```
57
+
58
+ **Loop history — iterative workflow outcomes:**
59
+ ```
60
+ YOUR_AGENT_core op:loop_history
61
+ ```
62
+
63
+ **Search insights — what people looked for but didn't find:**
64
+ ```
65
+ YOUR_AGENT_core op:admin_search_insights
66
+ ```
67
+
68
+ **Vault analytics — knowledge quality:**
69
+ ```
70
+ YOUR_AGENT_core op:admin_vault_analytics
71
+ ```
72
+
73
+ ### Step 2: Analyze Patterns
74
+
75
+ **Stale knowledge needing refresh:**
76
+ ```
77
+ YOUR_AGENT_core op:vault_age_report
78
+ ```
79
+
80
+ **Duplicates that crept in:**
81
+ ```
82
+ YOUR_AGENT_core op:curator_detect_duplicates
83
+ ```
84
+
85
+ **Contradictions in the knowledge base:**
86
+ ```
87
+ YOUR_AGENT_core op:curator_contradictions
88
+ ```
89
+
90
+ **Curator health audit — overall quality:**
91
+ ```
92
+ YOUR_AGENT_core op:curator_health_audit
93
+ ```
94
+
95
+ ### Step 3: Present the Retrospective
96
+
97
+ ```
98
+ ## Retrospective: [Period]
99
+
100
+ ### By the Numbers
101
+ | Metric | This Period | Previous | Trend |
102
+ |--------|-----------|----------|-------|
103
+ | Patterns captured | X | Y | ↑/↓ |
104
+ | Anti-patterns logged | X | Y | ↑/↓ |
105
+ | Plans completed | X | Y | ↑/↓ |
106
+ | Brain strength (avg) | X | Y | ↑/↓ |
107
+ | Vault entries total | X | — | — |
108
+ | Search misses | X | Y | ↑/↓ |
109
+
110
+ ### What Went Well
111
+ [Patterns with high brain strength, completed plans, growing domains]
112
+
113
+ ### What Didn't Go Well
114
+ [Recurring anti-patterns, failed plans, search misses = knowledge gaps]
115
+
116
+ ### Strongest Patterns
117
+ [Top 5 patterns by brain strength — these are your superpowers]
118
+
119
+ ### Recurring Anti-Patterns
120
+ [Top 3 anti-patterns that keep appearing — these need systemic fixes]
121
+
122
+ ### Knowledge Gaps
123
+ [Domains with low coverage, frequent search misses, stale entries]
124
+
125
+ ### Vault Health
126
+ - Quality score: X/100
127
+ - Duplicates found: N
128
+ - Contradictions found: N
129
+ - Stale entries (>30 days): N
130
+
131
+ ### Recommendations
132
+ 1. [Action item based on data]
133
+ 2. [Action item based on data]
134
+ 3. [Action item based on data]
135
+ ```
136
+
137
+ ### Step 4: Capture the Retrospective
138
+
139
+ Save the retrospective itself as knowledge:
140
+
141
+ ```
142
+ YOUR_AGENT_core op:capture_knowledge
143
+ params: {
144
+ title: "Retrospective — [period]",
145
+ description: "<key findings and action items>",
146
+ type: "workflow",
147
+ category: "meta",
148
+ tags: ["retrospective", "<period>"]
149
+ }
150
+ ```
151
+
152
+ ### Step 5: Clean Up (Optional)
153
+
154
+ If the retrospective revealed quality issues, offer to fix them:
155
+
156
+ **Consolidate vault (deduplicate, normalize, groom):**
157
+ ```
158
+ YOUR_AGENT_core op:curator_consolidate
159
+ ```
160
+
161
+ **Rebuild brain intelligence with fresh data:**
162
+ ```
163
+ YOUR_AGENT_core op:brain_build_intelligence
164
+ ```
165
+
166
+ ## The Magic
167
+
168
+ This feels like magic because the user says "sprint retro" and gets a data-driven report they didn't have to compile. It's not AI making up observations — it's actual metrics from their vault, brain, plans, and memory. The recommendations come from real gaps, not generic advice.
169
+
170
+ ## Agent Tools Reference
171
+
172
+ | Op | When to Use |
173
+ |----|-------------|
174
+ | `brain_stats` | Big picture metrics |
175
+ | `brain_strengths` | Proven patterns |
176
+ | `vault_recent` | What was captured recently |
177
+ | `memory_topics` | Knowledge clusters |
178
+ | `memory_stats` | Memory volume and health |
179
+ | `plan_stats` | Plan completion rates |
180
+ | `loop_history` | Iterative workflow outcomes |
181
+ | `admin_search_insights` | Search miss analysis |
182
+ | `admin_vault_analytics` | Knowledge quality metrics |
183
+ | `vault_age_report` | Stale entries |
184
+ | `curator_detect_duplicates` | Duplicate detection |
185
+ | `curator_contradictions` | Knowledge conflicts |
186
+ | `curator_health_audit` | Overall vault quality |
187
+ | `capture_knowledge` | Persist the retrospective |
188
+ | `curator_consolidate` | Post-retro cleanup |
189
+ | `brain_build_intelligence` | Rebuild intelligence |
@@ -0,0 +1,142 @@
1
+ ---
2
+ name: second-opinion
3
+ description: Use when the user asks "should I", "what do you think about", "which approach", "compare options", "what would you recommend", "pros and cons", "trade-offs", or faces any technical decision and wants an informed recommendation backed by vault knowledge, brain patterns, and web research.
4
+ ---
5
+
6
+ # Second Opinion — Decision Support From All Sources
7
+
8
+ Before making any technical decision, get an informed recommendation that synthesizes vault knowledge, brain patterns, cross-project experience, and web research. Never decide in a vacuum.
9
+
10
+ ## When to Use
11
+
12
+ - "Should I use Redis or Memcached?"
13
+ - "What's the best way to handle auth?"
14
+ - "Which testing framework?"
15
+ - "Microservices or monolith?"
16
+ - Any fork-in-the-road technical decision
17
+
18
+ ## The Magic: Multi-Source Decision Intelligence
19
+
20
+ ### Step 1: Understand the Decision
21
+
22
+ Classify the intent to understand what kind of decision this is:
23
+
24
+ ```
25
+ YOUR_AGENT_core op:route_intent
26
+ params: { prompt: "<user's question>" }
27
+ ```
28
+
29
+ ### Step 2: Search All Knowledge Sources (in order)
30
+
31
+ **Vault — has this been decided before?**
32
+ ```
33
+ YOUR_AGENT_core op:search_intelligent
34
+ params: { query: "<the decision or options being considered>" }
35
+ ```
36
+
37
+ Look specifically for:
38
+ - Previous decisions on this topic (type: "decision")
39
+ - Patterns that favor one approach
40
+ - Anti-patterns that warn against an approach
41
+
42
+ **Brain — what's proven to work?**
43
+ ```
44
+ YOUR_AGENT_core op:brain_strengths
45
+ ```
46
+
47
+ ```
48
+ YOUR_AGENT_core op:brain_recommend
49
+ params: { projectName: "<current project>" }
50
+ ```
51
+
52
+ **Cross-project — what did other projects choose?**
53
+ ```
54
+ YOUR_AGENT_core op:memory_cross_project_search
55
+ params: { query: "<the decision topic>", crossProject: true }
56
+ ```
57
+
58
+ **Memory — any relevant context from past sessions?**
59
+ ```
60
+ YOUR_AGENT_core op:memory_search
61
+ params: { query: "<decision topic>" }
62
+ ```
63
+
64
+ **Web — what does the broader community say?**
65
+ Search the web for:
66
+ - Comparison articles (X vs Y for [use case])
67
+ - Benchmarks and performance data
68
+ - Community consensus on best practices
69
+ - Known limitations and gotchas
70
+
71
+ ### Step 3: Synthesize and Present
72
+
73
+ Format the recommendation as a decision brief:
74
+
75
+ ```
76
+ ## Decision: [Question]
77
+
78
+ ### What the Vault Says
79
+ [Existing decisions, patterns, and anti-patterns from vault]
80
+
81
+ ### What the Brain Recommends
82
+ [Proven patterns, cross-project insights]
83
+
84
+ ### What the Web Says
85
+ [Community consensus, benchmarks, comparison data]
86
+
87
+ ### Options Analysis
88
+
89
+ | Criteria | Option A | Option B | Option C |
90
+ |----------|----------|----------|----------|
91
+ | [criteria 1] | ... | ... | ... |
92
+ | [criteria 2] | ... | ... | ... |
93
+ | Vault support | [existing patterns?] | [existing patterns?] | — |
94
+ | Brain confidence | [strength score] | [strength score] | — |
95
+
96
+ ### Recommendation
97
+ [Clear recommendation with reasoning]
98
+
99
+ ### Risks
100
+ [What could go wrong with the recommended approach]
101
+ ```
102
+
103
+ ### Step 4: Capture the Decision
104
+
105
+ Once the user decides, capture it to the vault for future reference:
106
+
107
+ ```
108
+ YOUR_AGENT_core op:capture_knowledge
109
+ params: {
110
+ title: "<decision title>",
111
+ description: "<chosen option, rationale, rejected alternatives and why>",
112
+ type: "decision",
113
+ category: "<relevant domain>",
114
+ tags: ["<option-a>", "<option-b>", "decision", "<domain>"]
115
+ }
116
+ ```
117
+
118
+ This is critical — the next person who faces the same decision will find it in the vault.
119
+
120
+ ## The Magic
121
+
122
+ This feels like magic because the user asks "should I use X?" and instead of a generic AI opinion, they get:
123
+ 1. What their own project decided before (vault)
124
+ 2. What's proven to work across projects (brain)
125
+ 3. What other linked projects chose (cross-project)
126
+ 4. What the broader community recommends (web)
127
+ 5. A synthesized recommendation with trade-offs
128
+ 6. The decision captured for the next person who asks
129
+
130
+ It's like having a senior architect who remembers every decision ever made.
131
+
132
+ ## Agent Tools Reference
133
+
134
+ | Op | When to Use |
135
+ |----|-------------|
136
+ | `route_intent` | Classify the decision type |
137
+ | `search_intelligent` | Find previous decisions and patterns |
138
+ | `brain_strengths` | Proven approaches |
139
+ | `brain_recommend` | Project-specific recommendations |
140
+ | `memory_cross_project_search` | What other projects decided |
141
+ | `memory_search` | Session context for this decision |
142
+ | `capture_knowledge` | Persist the final decision |
@@ -0,0 +1,230 @@
1
+ ---
2
+ name: systematic-debugging
3
+ description: Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
4
+ ---
5
+
6
+ <!-- Adapted from superpowers (MIT License) -->
7
+
8
+ # Systematic Debugging
9
+
10
+ ## Overview
11
+
12
+ Random fixes waste time and create new bugs. Quick patches mask underlying issues.
13
+
14
+ **Core principle:** ALWAYS find root cause before attempting fixes. Symptom fixes are failure.
15
+
16
+ **Violating the letter of this process is violating the spirit of debugging.**
17
+
18
+ ## The Iron Law
19
+
20
+ ```
21
+ NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST
22
+ ```
23
+
24
+ If you haven't completed Phase 1, you cannot propose fixes.
25
+
26
+ ## When to Use
27
+
28
+ Use for ANY technical issue:
29
+ - Test failures
30
+ - Bugs in production
31
+ - Unexpected behavior
32
+ - Performance problems
33
+ - Build failures
34
+ - Integration issues
35
+
36
+ **Use this ESPECIALLY when:**
37
+ - Under time pressure (emergencies make guessing tempting)
38
+ - "Just one quick fix" seems obvious
39
+ - You've already tried multiple fixes
40
+ - Previous fix didn't work
41
+ - You don't fully understand the issue
42
+
43
+ ## Phase 0: Search Before Investigating
44
+
45
+ **BEFORE touching any code**, search for existing solutions. Follow this order:
46
+
47
+ ### Vault First
48
+ ```
49
+ YOUR_AGENT_core op:search_intelligent
50
+ params: { query: "<description of the bug or error message>" }
51
+ ```
52
+
53
+ If the vault has a matching anti-pattern or previous fix, it likely contains the root cause and solution — apply it directly. This can save hours of investigation.
54
+
55
+ Also check brain strengths for relevant debugging patterns:
56
+
57
+ ```
58
+ YOUR_AGENT_core op:brain_strengths
59
+ ```
60
+
61
+ Check memory for similar bugs across sessions:
62
+
63
+ ```
64
+ YOUR_AGENT_core op:memory_search
65
+ params: { query: "<error or symptom>" }
66
+ ```
67
+
68
+ ### Web Search Second
69
+ If the vault has nothing, search the web before investigating from scratch:
70
+ - **Paste the exact error message** — someone likely hit this before
71
+ - **Check GitHub issues** on relevant libraries
72
+ - **Check Stack Overflow** for the error + framework/library combination
73
+ - **Check official docs** — is this a known limitation or misconfiguration?
74
+
75
+ A 30-second search that finds "this is a known issue in v3.2, upgrade to v3.3" saves hours of root cause investigation.
76
+
77
+ ### Then Investigate
78
+ Only if vault and web search produce no answer, proceed to Phase 1.
79
+
80
+ ## Start a Debug Loop
81
+
82
+ For complex bugs, start a validation loop to track investigation iterations:
83
+
84
+ ```
85
+ YOUR_AGENT_core op:loop_start
86
+ params: { prompt: "Debug: <bug description>", mode: "custom" }
87
+ ```
88
+
89
+ ## The Four Phases
90
+
91
+ You MUST complete each phase before proceeding to the next.
92
+
93
+ ### Phase 1: Root Cause Investigation
94
+
95
+ **BEFORE attempting ANY fix:**
96
+
97
+ 1. Read Error Messages Carefully
98
+ 2. Reproduce Consistently
99
+ 3. Check Recent Changes
100
+ 4. Gather Evidence in Multi-Component Systems (add diagnostic instrumentation at each component boundary)
101
+ 5. Trace Data Flow backward through call stack
102
+
103
+ Track each investigation step:
104
+ ```
105
+ YOUR_AGENT_core op:loop_iterate
106
+ ```
107
+
108
+ ### Phase 2: Pattern Analysis
109
+
110
+ 1. Find Working Examples
111
+ 2. Compare Against References (read completely, don't skim)
112
+ 3. Identify Differences
113
+ 4. Understand Dependencies
114
+
115
+ Search vault for working patterns to compare against:
116
+ ```
117
+ YOUR_AGENT_core op:search_intelligent
118
+ params: { query: "<working feature similar to broken one>" }
119
+ ```
120
+
121
+ ### Phase 3: Hypothesis and Testing
122
+
123
+ 1. Form Single Hypothesis ("I think X is the root cause because Y")
124
+ 2. Test Minimally (one variable at a time)
125
+ 3. Verify Before Continuing
126
+ 4. When You Don't Know — say so, ask for help
127
+
128
+ ### Phase 4: Implementation
129
+
130
+ 1. Create Failing Test Case (use test-driven-development skill)
131
+ 2. Implement Single Fix (root cause only, one change at a time)
132
+ 3. Verify Fix
133
+ 4. If Fix Doesn't Work: count attempts. If < 3, return to Phase 1. If >= 3, STOP and question architecture.
134
+ 5. If 3+ Fixes Failed: Question Architecture — discuss with human partner before attempting more fixes.
135
+
136
+ ## Phase 5: Capture the Learning
137
+
138
+ Complete the debug loop:
139
+ ```
140
+ YOUR_AGENT_core op:loop_complete
141
+ ```
142
+
143
+ **MANDATORY after every resolved bug.** A fix without a capture is an incomplete fix.
144
+
145
+ ```
146
+ YOUR_AGENT_core op:capture_knowledge
147
+ params: {
148
+ title: "<short bug description>",
149
+ description: "<root cause, solution, and what made it hard to find>",
150
+ type: "anti-pattern",
151
+ category: "<relevant domain>",
152
+ tags: ["<relevant>", "<tags>"]
153
+ }
154
+ ```
155
+
156
+ For quick captures when the fix is straightforward:
157
+
158
+ ```
159
+ YOUR_AGENT_core op:capture_quick
160
+ params: {
161
+ title: "<bug description>",
162
+ description: "<root cause and fix>"
163
+ }
164
+ ```
165
+
166
+ Capture a session summary:
167
+ ```
168
+ YOUR_AGENT_core op:session_capture
169
+ params: { summary: "<bug, root cause, fix, files modified>" }
170
+ ```
171
+
172
+ This is what makes the agent smarter over time. Next time someone hits a similar bug, Phase 0 vault search will surface your solution immediately.
173
+
174
+ ## Red Flags - STOP and Follow Process
175
+
176
+ - "Quick fix for now, investigate later"
177
+ - "Just try changing X and see if it works"
178
+ - "Add multiple changes, run tests"
179
+ - "Skip the test, I'll manually verify"
180
+ - "It's probably X, let me fix that"
181
+ - "I don't fully understand but this might work"
182
+ - Proposing solutions before tracing data flow
183
+ - "One more fix attempt" (when already tried 2+)
184
+ - Each fix reveals new problem in different place
185
+
186
+ **ALL of these mean: STOP. Return to Phase 1.**
187
+
188
+ ## Common Rationalizations
189
+
190
+ | Excuse | Reality |
191
+ |--------|---------|
192
+ | "Issue is simple, don't need process" | Simple issues have root causes too. |
193
+ | "Emergency, no time for process" | Systematic is FASTER than guess-and-check thrashing. |
194
+ | "Just try this first, then investigate" | First fix sets the pattern. Do it right from the start. |
195
+ | "I'll write test after confirming fix works" | Untested fixes don't stick. Test first proves it. |
196
+ | "Multiple fixes at once saves time" | Can't isolate what worked. Causes new bugs. |
197
+ | "Reference too long, I'll adapt the pattern" | Partial understanding guarantees bugs. Read it completely. |
198
+ | "I see the problem, let me fix it" | Seeing symptoms ≠ understanding root cause. |
199
+ | "One more fix attempt" (after 2+ failures) | 3+ failures = architectural problem. Question pattern, don't fix again. |
200
+ | "Skip the vault, I know this one" | The vault may know it better. 30 seconds to check saves hours. |
201
+
202
+ ## Quick Reference
203
+
204
+ | Phase | Key Activities | Agent Tools |
205
+ |-------|---------------|-------------|
206
+ | **0. Search First** | Vault search, web search, memory | `search_intelligent`, `brain_strengths`, `memory_search` |
207
+ | **1. Root Cause** | Read errors, reproduce, trace | `loop_iterate` |
208
+ | **2. Pattern** | Find working examples, compare | `search_intelligent` |
209
+ | **3. Hypothesis** | Form theory, test minimally | `loop_iterate` |
210
+ | **4. Implementation** | Create test, fix, verify | `loop_iterate` |
211
+ | **5. Capture** | Persist root cause, close loop | `capture_knowledge`, `loop_complete`, `session_capture` |
212
+
213
+ ## Agent Tools Reference
214
+
215
+ | Op | When to Use |
216
+ |----|-------------|
217
+ | `search_intelligent` | Search vault for known bugs and patterns |
218
+ | `brain_strengths` | Check proven debugging patterns |
219
+ | `memory_search` | Search across session memories |
220
+ | `loop_start` | Begin iterative debug cycle |
221
+ | `loop_iterate` | Track each investigation/fix attempt |
222
+ | `loop_complete` | Finish debug cycle |
223
+ | `capture_knowledge` | Full anti-pattern capture |
224
+ | `capture_quick` | Fast capture for simple fixes |
225
+ | `session_capture` | Persist session context |
226
+
227
+ **Related skills:**
228
+ - test-driven-development
229
+ - verification-before-completion
230
+ - fix-and-learn (combines debugging + capture in one workflow)