@soleri/forge 5.14.2 → 5.14.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/skills/skills/agent-dev.md +122 -0
- package/dist/skills/skills/agent-persona.md +66 -0
- package/dist/skills/skills/brain-debrief.md +214 -0
- package/dist/skills/skills/brainstorming.md +180 -0
- package/dist/skills/skills/code-patrol.md +178 -0
- package/dist/skills/skills/context-resume.md +146 -0
- package/dist/skills/skills/deliver-and-ship.md +123 -0
- package/dist/skills/skills/env-setup.md +151 -0
- package/dist/skills/skills/executing-plans.md +216 -0
- package/dist/skills/skills/fix-and-learn.md +167 -0
- package/dist/skills/skills/health-check.md +231 -0
- package/dist/skills/skills/knowledge-harvest.md +185 -0
- package/dist/skills/skills/onboard-me.md +198 -0
- package/dist/skills/skills/retrospective.md +205 -0
- package/dist/skills/skills/second-opinion.md +149 -0
- package/dist/skills/skills/systematic-debugging.md +241 -0
- package/dist/skills/skills/test-driven-development.md +281 -0
- package/dist/skills/skills/vault-capture.md +170 -0
- package/dist/skills/skills/vault-curate.md +107 -0
- package/dist/skills/skills/vault-navigator.md +140 -0
- package/dist/skills/skills/verification-before-completion.md +182 -0
- package/dist/skills/skills/writing-plans.md +215 -0
- package/dist/templates/skills.js +4 -0
- package/dist/templates/skills.js.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/scaffolder.test.ts +6 -1
- package/src/skills/agent-dev.md +122 -0
- package/src/skills/agent-persona.md +66 -0
- package/src/skills/deliver-and-ship.md +123 -0
- package/src/skills/env-setup.md +151 -0
- package/src/skills/vault-curate.md +107 -0
- package/src/templates/skills.ts +4 -0
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: knowledge-harvest
|
|
3
|
+
description: Use when the user says "learn from this", "extract patterns", "harvest knowledge", "ingest this document", "read this and capture", "populate vault from", or points at code, docs, PRs, or any text and wants the agent to automatically extract and capture patterns, anti-patterns, and decisions into the vault.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Knowledge Harvest — Extract Patterns From Anything
|
|
7
|
+
|
|
8
|
+
Point at code, docs, PRs, architecture decisions, postmortems, or any text — the agent reads it, extracts every pattern, anti-pattern, decision, and principle, then captures them all to the vault. Zero-friction knowledge population.
|
|
9
|
+
|
|
10
|
+
## When to Use
|
|
11
|
+
|
|
12
|
+
- "Learn from this file" / "Extract patterns from this codebase"
|
|
13
|
+
- "Read our architecture doc and capture everything"
|
|
14
|
+
- "Harvest knowledge from this PR"
|
|
15
|
+
- "Ingest this post-mortem"
|
|
16
|
+
- Populating a fresh vault with existing team knowledge
|
|
17
|
+
|
|
18
|
+
## The Magic: Automated Knowledge Extraction
|
|
19
|
+
|
|
20
|
+
### Step 1: Understand the Source
|
|
21
|
+
|
|
22
|
+
Read the target content (code, docs, etc.) and classify what type of knowledge it contains:
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
YOUR_AGENT_core op:route_intent
|
|
26
|
+
params: { prompt: "Extract knowledge from: <source description>" }
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### Step 2: Check What's Already Known
|
|
30
|
+
|
|
31
|
+
Before extracting, search the vault to avoid duplicates:
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
YOUR_AGENT_core op:search_intelligent
|
|
35
|
+
params: { query: "<topic of the source material>" }
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
YOUR_AGENT_core op:vault_tags
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
YOUR_AGENT_core op:vault_domains
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
This tells you what the vault already covers — focus extraction on gaps.
|
|
47
|
+
|
|
48
|
+
### Step 3: Extract and Classify
|
|
49
|
+
|
|
50
|
+
Read through the source material and identify:
|
|
51
|
+
|
|
52
|
+
| Type | What to Look For |
|
|
53
|
+
| ---------------- | ------------------------------------------------------ |
|
|
54
|
+
| **pattern** | "We always do X because Y" — repeatable approaches |
|
|
55
|
+
| **anti-pattern** | "Don't do X because Y" — known mistakes |
|
|
56
|
+
| **decision** | "We chose X over Y because Z" — architectural choices |
|
|
57
|
+
| **principle** | "We believe X" — guiding rules |
|
|
58
|
+
| **workflow** | "The process for X is: step 1, step 2..." — procedures |
|
|
59
|
+
|
|
60
|
+
For each extracted item, determine:
|
|
61
|
+
|
|
62
|
+
- **Category**: Which domain it belongs to
|
|
63
|
+
- **Severity**: critical / warning / suggestion
|
|
64
|
+
- **Tags**: Searchable keywords
|
|
65
|
+
|
|
66
|
+
### Step 4: Batch Capture
|
|
67
|
+
|
|
68
|
+
For each extracted item, capture to the vault:
|
|
69
|
+
|
|
70
|
+
```
|
|
71
|
+
YOUR_AGENT_core op:capture_knowledge
|
|
72
|
+
params: {
|
|
73
|
+
title: "<clear, searchable name>",
|
|
74
|
+
description: "<what it is, when to apply, why it matters>",
|
|
75
|
+
type: "<pattern|anti-pattern|decision|principle|workflow>",
|
|
76
|
+
category: "<domain>",
|
|
77
|
+
tags: ["<tag1>", "<tag2>"],
|
|
78
|
+
severity: "<critical|warning|suggestion>",
|
|
79
|
+
example: "<code snippet or quote from source>",
|
|
80
|
+
why: "<reasoning>"
|
|
81
|
+
}
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Present each capture to the user as you go:
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
Captured: api-auth-jwt (pattern, critical)
|
|
88
|
+
→ "Use short-lived JWTs for authentication"
|
|
89
|
+
Auto-tags: auth, jwt, security
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Step 5: Post-Harvest Quality
|
|
93
|
+
|
|
94
|
+
After all items captured, run quality checks:
|
|
95
|
+
|
|
96
|
+
**Detect any duplicates created during harvest:**
|
|
97
|
+
|
|
98
|
+
```
|
|
99
|
+
YOUR_AGENT_core op:curator_detect_duplicates
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
**Groom all new entries — normalize tags, fix metadata:**
|
|
103
|
+
|
|
104
|
+
```
|
|
105
|
+
YOUR_AGENT_core op:curator_groom_all
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
**Enrich entries with additional context:**
|
|
109
|
+
|
|
110
|
+
```
|
|
111
|
+
YOUR_AGENT_core op:curator_enrich
|
|
112
|
+
params: { entryId: "<id>" }
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
**Check for contradictions with existing knowledge:**
|
|
116
|
+
|
|
117
|
+
```
|
|
118
|
+
YOUR_AGENT_core op:curator_contradictions
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
### Step 6: Verify Harvest Results
|
|
122
|
+
|
|
123
|
+
Check vault health after the harvest:
|
|
124
|
+
|
|
125
|
+
```
|
|
126
|
+
YOUR_AGENT_core op:admin_health
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
```
|
|
130
|
+
YOUR_AGENT_core op:admin_vault_analytics
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
Present a summary:
|
|
134
|
+
|
|
135
|
+
```
|
|
136
|
+
## Harvest Complete
|
|
137
|
+
|
|
138
|
+
Source: [file/doc name]
|
|
139
|
+
Extracted: X entries
|
|
140
|
+
- Y patterns
|
|
141
|
+
- Z anti-patterns
|
|
142
|
+
- W decisions
|
|
143
|
+
- V principles
|
|
144
|
+
|
|
145
|
+
Duplicates found: N (merged/skipped)
|
|
146
|
+
Contradictions found: N (flagged for review)
|
|
147
|
+
Vault health: OK
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
### Step 7: Promote Universal Patterns (Optional)
|
|
151
|
+
|
|
152
|
+
If any extracted patterns apply across projects:
|
|
153
|
+
|
|
154
|
+
```
|
|
155
|
+
YOUR_AGENT_core op:memory_promote_to_global
|
|
156
|
+
params: { entryId: "<id>" }
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
## The Magic
|
|
160
|
+
|
|
161
|
+
This feels like magic because the user points at a 50-page architecture doc and says "learn from this" — and 2 minutes later, the vault has 30 classified, tagged, searchable patterns that inform every future conversation. The agent didn't just read the doc — it understood it, classified it, deduplicated it, and made it permanent.
|
|
162
|
+
|
|
163
|
+
## Tips for Best Results
|
|
164
|
+
|
|
165
|
+
- **Start with your team's top 10 decisions** — the ones people keep asking about
|
|
166
|
+
- **Feed postmortems** — they're goldmines of anti-patterns
|
|
167
|
+
- **Feed architecture decision records (ADRs)** — pure decision captures
|
|
168
|
+
- **Feed code review comments** — patterns that reviewers enforce repeatedly
|
|
169
|
+
- **Feed onboarding docs** — principles that new team members need to learn
|
|
170
|
+
|
|
171
|
+
## Agent Tools Reference
|
|
172
|
+
|
|
173
|
+
| Op | When to Use |
|
|
174
|
+
| ------------------------------ | -------------------------------------- |
|
|
175
|
+
| `route_intent` | Classify the source material |
|
|
176
|
+
| `search_intelligent` | Check for existing knowledge |
|
|
177
|
+
| `vault_tags` / `vault_domains` | See what's already covered |
|
|
178
|
+
| `capture_knowledge` | Capture each extracted item |
|
|
179
|
+
| `curator_detect_duplicates` | Find duplicates post-harvest |
|
|
180
|
+
| `curator_groom_all` | Normalize all new entries |
|
|
181
|
+
| `curator_enrich` | LLM-enrich entries |
|
|
182
|
+
| `curator_contradictions` | Find conflicts with existing knowledge |
|
|
183
|
+
| `memory_promote_to_global` | Share universal patterns cross-project |
|
|
184
|
+
| `admin_health` | Post-harvest health check |
|
|
185
|
+
| `admin_vault_analytics` | Knowledge quality metrics |
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: onboard-me
|
|
3
|
+
description: Use when the user says "onboard me", "I'm new here", "what should I know", "project overview", "show me the ropes", "knowledge tour", "what are the rules", "how does this project work", or is new to the project and needs a structured introduction to its knowledge, patterns, decisions, and conventions.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Onboard Me — Instant Project Intelligence
|
|
7
|
+
|
|
8
|
+
Give any newcomer a structured tour of everything the vault knows about this project. Decisions, patterns, anti-patterns, principles, conventions — all in one guided walkthrough. Turns months of tribal knowledge into a 5-minute briefing.
|
|
9
|
+
|
|
10
|
+
## When to Use
|
|
11
|
+
|
|
12
|
+
- New team member joining the project
|
|
13
|
+
- Switching context to a project you haven't touched in a while
|
|
14
|
+
- "What should I know before I start?"
|
|
15
|
+
- "What are the rules here?"
|
|
16
|
+
|
|
17
|
+
## The Magic: Structured Knowledge Tour
|
|
18
|
+
|
|
19
|
+
### Step 1: Project Overview
|
|
20
|
+
|
|
21
|
+
Get the project identity and registration:
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
YOUR_AGENT_core op:identity
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
YOUR_AGENT_core op:project_get
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Get project-specific rules and conventions:
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
YOUR_AGENT_core op:project_list_rules
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Get behavior rules:
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
YOUR_AGENT_core op:get_behavior_rules
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Step 2: Knowledge Landscape
|
|
44
|
+
|
|
45
|
+
Show what the vault knows, organized by domain:
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
YOUR_AGENT_core op:vault_domains
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
YOUR_AGENT_core op:vault_tags
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
```
|
|
56
|
+
YOUR_AGENT_core op:admin_vault_size
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Present: "This project has X entries across Y domains, covering Z tags."
|
|
60
|
+
|
|
61
|
+
### Step 3: Critical Knowledge
|
|
62
|
+
|
|
63
|
+
Search for the most important entries — critical severity first:
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
YOUR_AGENT_core op:search
|
|
67
|
+
params: { severity: "critical" }
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
These are the "must know" items — rules that cannot be violated.
|
|
71
|
+
|
|
72
|
+
### Step 4: Key Decisions
|
|
73
|
+
|
|
74
|
+
Search for architectural and design decisions:
|
|
75
|
+
|
|
76
|
+
```
|
|
77
|
+
YOUR_AGENT_core op:search_intelligent
|
|
78
|
+
params: { query: "architectural decision design choice" }
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Present the top decisions with their rationale — this is the "why" behind the codebase.
|
|
82
|
+
|
|
83
|
+
### Step 5: Strongest Patterns
|
|
84
|
+
|
|
85
|
+
Show what the brain has validated as proven approaches:
|
|
86
|
+
|
|
87
|
+
```
|
|
88
|
+
YOUR_AGENT_core op:brain_strengths
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
These are the "how" — patterns that have been used successfully and should be followed.
|
|
92
|
+
|
|
93
|
+
### Step 6: Anti-Patterns to Avoid
|
|
94
|
+
|
|
95
|
+
Search for anti-patterns — things that went wrong and shouldn't be repeated:
|
|
96
|
+
|
|
97
|
+
```
|
|
98
|
+
YOUR_AGENT_core op:search
|
|
99
|
+
params: { type: "anti-pattern" }
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Present as a "don't do this" list with the reasoning.
|
|
103
|
+
|
|
104
|
+
### Step 7: Cross-Project Context
|
|
105
|
+
|
|
106
|
+
Check if this project is linked to others:
|
|
107
|
+
|
|
108
|
+
```
|
|
109
|
+
YOUR_AGENT_core op:project_linked_projects
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
If linked, show what patterns are shared:
|
|
113
|
+
|
|
114
|
+
```
|
|
115
|
+
YOUR_AGENT_core op:brain_global_patterns
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
### Step 8: Knowledge Gaps
|
|
119
|
+
|
|
120
|
+
Show what's NOT in the vault — areas where the newcomer should ask questions:
|
|
121
|
+
|
|
122
|
+
```
|
|
123
|
+
YOUR_AGENT_core op:admin_search_insights
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
```
|
|
127
|
+
YOUR_AGENT_core op:vault_age_report
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
## Presenting the Onboarding
|
|
131
|
+
|
|
132
|
+
```
|
|
133
|
+
## Welcome to [Project Name]
|
|
134
|
+
|
|
135
|
+
**Role:** [project description]
|
|
136
|
+
**Domains:** [list of knowledge domains]
|
|
137
|
+
**Vault:** X entries across Y domains
|
|
138
|
+
|
|
139
|
+
---
|
|
140
|
+
|
|
141
|
+
### Critical Rules (Must Follow)
|
|
142
|
+
[Critical severity entries — non-negotiable conventions]
|
|
143
|
+
|
|
144
|
+
### Key Decisions
|
|
145
|
+
[Top architectural decisions with rationale]
|
|
146
|
+
"We chose X over Y because Z"
|
|
147
|
+
|
|
148
|
+
### Proven Patterns (Do This)
|
|
149
|
+
[Top brain-strength patterns — the project's best practices]
|
|
150
|
+
|
|
151
|
+
### Anti-Patterns (Don't Do This)
|
|
152
|
+
[Known mistakes — save yourself the debugging]
|
|
153
|
+
|
|
154
|
+
### Project Conventions
|
|
155
|
+
[Project rules, behavior rules, naming conventions]
|
|
156
|
+
|
|
157
|
+
### Related Projects
|
|
158
|
+
[Linked projects and shared patterns]
|
|
159
|
+
|
|
160
|
+
### Knowledge Gaps
|
|
161
|
+
[Areas not well-documented — ask the team about these]
|
|
162
|
+
|
|
163
|
+
---
|
|
164
|
+
|
|
165
|
+
**Tip:** Use `/vault-navigator` to search for specific topics as you work.
|
|
166
|
+
Use `/second-opinion` before making any architectural decision.
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
## The Magic
|
|
170
|
+
|
|
171
|
+
This feels like magic because a new team member says "onboard me" and instantly gets:
|
|
172
|
+
|
|
173
|
+
1. Every critical rule they must follow
|
|
174
|
+
2. Every architectural decision and why it was made
|
|
175
|
+
3. Proven patterns to follow
|
|
176
|
+
4. Anti-patterns to avoid
|
|
177
|
+
5. What's shared with other projects
|
|
178
|
+
6. Where the knowledge gaps are
|
|
179
|
+
|
|
180
|
+
No other onboarding tool does this — it's not a static wiki, it's a living knowledge base that grows with the project.
|
|
181
|
+
|
|
182
|
+
## Agent Tools Reference
|
|
183
|
+
|
|
184
|
+
| Op | When to Use |
|
|
185
|
+
| ------------------------------ | --------------------------------------- |
|
|
186
|
+
| `identity` | Project persona and description |
|
|
187
|
+
| `project_get` | Project registration details |
|
|
188
|
+
| `project_list_rules` | Project-specific rules |
|
|
189
|
+
| `get_behavior_rules` | Behavioral conventions |
|
|
190
|
+
| `vault_domains` / `vault_tags` | Knowledge landscape |
|
|
191
|
+
| `admin_vault_size` | How much knowledge exists |
|
|
192
|
+
| `search` | Find critical entries and anti-patterns |
|
|
193
|
+
| `search_intelligent` | Find decisions and patterns |
|
|
194
|
+
| `brain_strengths` | Proven approaches |
|
|
195
|
+
| `brain_global_patterns` | Cross-project patterns |
|
|
196
|
+
| `project_linked_projects` | Related projects |
|
|
197
|
+
| `admin_search_insights` | What's not in the vault |
|
|
198
|
+
| `vault_age_report` | Stale knowledge areas |
|
|
@@ -0,0 +1,205 @@
|
|
|
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
|
+
```
|
|
25
|
+
YOUR_AGENT_core op:brain_stats
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
**Recent brain stats — compare velocity:**
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
YOUR_AGENT_core op:brain_stats
|
|
32
|
+
params: { since: "<start of period>" }
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
**Pattern strengths — what's proven:**
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
YOUR_AGENT_core op:brain_strengths
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
**Recent vault captures — what was learned:**
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
YOUR_AGENT_core op:vault_recent
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
**Memory topics — where knowledge clusters:**
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
YOUR_AGENT_core op:memory_topics
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
**Memory stats — volume and health:**
|
|
54
|
+
|
|
55
|
+
```
|
|
56
|
+
YOUR_AGENT_core op:memory_stats
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
**Plan stats — execution track record:**
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
YOUR_AGENT_core op:plan_stats
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
**Loop history — iterative workflow outcomes:**
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
YOUR_AGENT_core op:loop_history
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
**Search insights — what people looked for but didn't find:**
|
|
72
|
+
|
|
73
|
+
```
|
|
74
|
+
YOUR_AGENT_core op:admin_search_insights
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
**Vault analytics — knowledge quality:**
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
YOUR_AGENT_core op:admin_vault_analytics
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### Step 2: Analyze Patterns
|
|
84
|
+
|
|
85
|
+
**Stale knowledge needing refresh:**
|
|
86
|
+
|
|
87
|
+
```
|
|
88
|
+
YOUR_AGENT_core op:vault_age_report
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
**Duplicates that crept in:**
|
|
92
|
+
|
|
93
|
+
```
|
|
94
|
+
YOUR_AGENT_core op:curator_detect_duplicates
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
**Contradictions in the knowledge base:**
|
|
98
|
+
|
|
99
|
+
```
|
|
100
|
+
YOUR_AGENT_core op:curator_contradictions
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
**Curator health audit — overall quality:**
|
|
104
|
+
|
|
105
|
+
```
|
|
106
|
+
YOUR_AGENT_core op:curator_health_audit
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### Step 3: Present the Retrospective
|
|
110
|
+
|
|
111
|
+
```
|
|
112
|
+
## Retrospective: [Period]
|
|
113
|
+
|
|
114
|
+
### By the Numbers
|
|
115
|
+
| Metric | This Period | Previous | Trend |
|
|
116
|
+
|--------|-----------|----------|-------|
|
|
117
|
+
| Patterns captured | X | Y | ↑/↓ |
|
|
118
|
+
| Anti-patterns logged | X | Y | ↑/↓ |
|
|
119
|
+
| Plans completed | X | Y | ↑/↓ |
|
|
120
|
+
| Brain strength (avg) | X | Y | ↑/↓ |
|
|
121
|
+
| Vault entries total | X | — | — |
|
|
122
|
+
| Search misses | X | Y | ↑/↓ |
|
|
123
|
+
|
|
124
|
+
### What Went Well
|
|
125
|
+
[Patterns with high brain strength, completed plans, growing domains]
|
|
126
|
+
|
|
127
|
+
### What Didn't Go Well
|
|
128
|
+
[Recurring anti-patterns, failed plans, search misses = knowledge gaps]
|
|
129
|
+
|
|
130
|
+
### Strongest Patterns
|
|
131
|
+
[Top 5 patterns by brain strength — these are your superpowers]
|
|
132
|
+
|
|
133
|
+
### Recurring Anti-Patterns
|
|
134
|
+
[Top 3 anti-patterns that keep appearing — these need systemic fixes]
|
|
135
|
+
|
|
136
|
+
### Knowledge Gaps
|
|
137
|
+
[Domains with low coverage, frequent search misses, stale entries]
|
|
138
|
+
|
|
139
|
+
### Vault Health
|
|
140
|
+
- Quality score: X/100
|
|
141
|
+
- Duplicates found: N
|
|
142
|
+
- Contradictions found: N
|
|
143
|
+
- Stale entries (>30 days): N
|
|
144
|
+
|
|
145
|
+
### Recommendations
|
|
146
|
+
1. [Action item based on data]
|
|
147
|
+
2. [Action item based on data]
|
|
148
|
+
3. [Action item based on data]
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
### Step 4: Capture the Retrospective
|
|
152
|
+
|
|
153
|
+
Save the retrospective itself as knowledge:
|
|
154
|
+
|
|
155
|
+
```
|
|
156
|
+
YOUR_AGENT_core op:capture_knowledge
|
|
157
|
+
params: {
|
|
158
|
+
title: "Retrospective — [period]",
|
|
159
|
+
description: "<key findings and action items>",
|
|
160
|
+
type: "workflow",
|
|
161
|
+
category: "meta",
|
|
162
|
+
tags: ["retrospective", "<period>"]
|
|
163
|
+
}
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
### Step 5: Clean Up (Optional)
|
|
167
|
+
|
|
168
|
+
If the retrospective revealed quality issues, offer to fix them:
|
|
169
|
+
|
|
170
|
+
**Consolidate vault (deduplicate, normalize, groom):**
|
|
171
|
+
|
|
172
|
+
```
|
|
173
|
+
YOUR_AGENT_core op:curator_consolidate
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
**Rebuild brain intelligence with fresh data:**
|
|
177
|
+
|
|
178
|
+
```
|
|
179
|
+
YOUR_AGENT_core op:brain_build_intelligence
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
## The Magic
|
|
183
|
+
|
|
184
|
+
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.
|
|
185
|
+
|
|
186
|
+
## Agent Tools Reference
|
|
187
|
+
|
|
188
|
+
| Op | When to Use |
|
|
189
|
+
| --------------------------- | --------------------------- |
|
|
190
|
+
| `brain_stats` | Big picture metrics |
|
|
191
|
+
| `brain_strengths` | Proven patterns |
|
|
192
|
+
| `vault_recent` | What was captured recently |
|
|
193
|
+
| `memory_topics` | Knowledge clusters |
|
|
194
|
+
| `memory_stats` | Memory volume and health |
|
|
195
|
+
| `plan_stats` | Plan completion rates |
|
|
196
|
+
| `loop_history` | Iterative workflow outcomes |
|
|
197
|
+
| `admin_search_insights` | Search miss analysis |
|
|
198
|
+
| `admin_vault_analytics` | Knowledge quality metrics |
|
|
199
|
+
| `vault_age_report` | Stale entries |
|
|
200
|
+
| `curator_detect_duplicates` | Duplicate detection |
|
|
201
|
+
| `curator_contradictions` | Knowledge conflicts |
|
|
202
|
+
| `curator_health_audit` | Overall vault quality |
|
|
203
|
+
| `capture_knowledge` | Persist the retrospective |
|
|
204
|
+
| `curator_consolidate` | Post-retro cleanup |
|
|
205
|
+
| `brain_build_intelligence` | Rebuild intelligence |
|