@soleri/forge 5.4.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.
- package/dist/scaffolder.js +16 -1
- package/dist/scaffolder.js.map +1 -1
- package/dist/skills/brain-debrief.md +186 -0
- package/dist/skills/brainstorming.md +170 -0
- package/dist/skills/code-patrol.md +176 -0
- package/dist/skills/context-resume.md +143 -0
- package/dist/skills/executing-plans.md +201 -0
- package/dist/skills/fix-and-learn.md +164 -0
- package/dist/skills/health-check.md +225 -0
- package/dist/skills/knowledge-harvest.md +178 -0
- package/dist/skills/onboard-me.md +197 -0
- package/dist/skills/retrospective.md +189 -0
- package/dist/skills/second-opinion.md +142 -0
- package/dist/skills/systematic-debugging.md +230 -0
- package/dist/skills/test-driven-development.md +266 -0
- package/dist/skills/vault-capture.md +154 -0
- package/dist/skills/vault-navigator.md +129 -0
- package/dist/skills/verification-before-completion.md +170 -0
- package/dist/skills/writing-plans.md +207 -0
- package/dist/templates/readme.js +38 -0
- package/dist/templates/readme.js.map +1 -1
- package/dist/templates/setup-script.js +26 -0
- package/dist/templates/setup-script.js.map +1 -1
- package/dist/templates/skills.d.ts +16 -0
- package/dist/templates/skills.js +73 -0
- package/dist/templates/skills.js.map +1 -0
- package/package.json +2 -2
- package/src/__tests__/scaffolder.test.ts +113 -0
- package/src/scaffolder.ts +18 -1
- package/src/skills/brain-debrief.md +186 -0
- package/src/skills/brainstorming.md +170 -0
- package/src/skills/code-patrol.md +176 -0
- package/src/skills/context-resume.md +143 -0
- package/src/skills/executing-plans.md +201 -0
- package/src/skills/fix-and-learn.md +164 -0
- package/src/skills/health-check.md +225 -0
- package/src/skills/knowledge-harvest.md +178 -0
- package/src/skills/onboard-me.md +197 -0
- package/src/skills/retrospective.md +189 -0
- package/src/skills/second-opinion.md +142 -0
- package/src/skills/systematic-debugging.md +230 -0
- package/src/skills/test-driven-development.md +266 -0
- package/src/skills/vault-capture.md +154 -0
- package/src/skills/vault-navigator.md +129 -0
- package/src/skills/verification-before-completion.md +170 -0
- package/src/skills/writing-plans.md +207 -0
- package/src/templates/readme.ts +38 -0
- package/src/templates/setup-script.ts +26 -0
- package/src/templates/skills.ts +82 -0
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: health-check
|
|
3
|
+
description: Use when the user asks "check health", "vault health", "knowledge quality", "clean up vault", "groom knowledge", "maintenance", "housekeeping", "deduplicate", "find contradictions", or wants to run a maintenance cycle on the knowledge base to keep it healthy and accurate.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Health Check — Knowledge Base Maintenance
|
|
7
|
+
|
|
8
|
+
Run a comprehensive maintenance cycle on the knowledge base. Finds stale entries, duplicates, contradictions, quality issues, and fixes them. Like a doctor's checkup for your knowledge.
|
|
9
|
+
|
|
10
|
+
## When to Use
|
|
11
|
+
|
|
12
|
+
- Weekly/monthly maintenance ritual
|
|
13
|
+
- "Is my vault healthy?"
|
|
14
|
+
- "Clean up my knowledge base"
|
|
15
|
+
- Before a retrospective (clean data = better insights)
|
|
16
|
+
- After a knowledge harvest (post-ingest quality check)
|
|
17
|
+
|
|
18
|
+
## The Magic: Comprehensive Quality Audit
|
|
19
|
+
|
|
20
|
+
### Step 1: System Health
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
YOUR_AGENT_core op:admin_health
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
YOUR_AGENT_core op:admin_diagnostic
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Catches infrastructure issues — database corruption, stale caches, configuration problems.
|
|
31
|
+
|
|
32
|
+
### Step 2: Vault Metrics
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
YOUR_AGENT_core op:admin_vault_size
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
YOUR_AGENT_core op:admin_vault_analytics
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
YOUR_AGENT_core op:vault_domains
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
YOUR_AGENT_core op:vault_tags
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Shows the big picture: how many entries, which domains, tag distribution.
|
|
51
|
+
|
|
52
|
+
### Step 3: Quality Audit
|
|
53
|
+
|
|
54
|
+
Run the curator's health audit — the most comprehensive quality check:
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
YOUR_AGENT_core op:curator_health_audit
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
This checks: tag normalization, description quality, severity distribution, domain coverage balance, and overall vault quality score.
|
|
61
|
+
|
|
62
|
+
### Step 4: Find Duplicates
|
|
63
|
+
|
|
64
|
+
```
|
|
65
|
+
YOUR_AGENT_core op:curator_detect_duplicates
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Present duplicates for review. Offer to merge or remove them.
|
|
69
|
+
|
|
70
|
+
### Step 5: Find Contradictions
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
YOUR_AGENT_core op:curator_contradictions
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Contradictions are entries that give conflicting advice. Present each pair for the user to resolve:
|
|
77
|
+
|
|
78
|
+
```
|
|
79
|
+
YOUR_AGENT_core op:curator_resolve_contradiction
|
|
80
|
+
params: { contradictionId: "<id>" }
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### Step 6: Find Stale Entries
|
|
84
|
+
|
|
85
|
+
```
|
|
86
|
+
YOUR_AGENT_core op:vault_age_report
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
Entries older than 30 days without updates are candidates for:
|
|
90
|
+
- Refresh (still relevant, needs updating)
|
|
91
|
+
- Archive (no longer relevant)
|
|
92
|
+
- Delete (incorrect or superseded)
|
|
93
|
+
|
|
94
|
+
### Step 7: Check Search Quality
|
|
95
|
+
|
|
96
|
+
```
|
|
97
|
+
YOUR_AGENT_core op:admin_search_insights
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
Shows what people search for but don't find — these are knowledge gaps that should be filled.
|
|
101
|
+
|
|
102
|
+
### Step 8: Memory Health
|
|
103
|
+
|
|
104
|
+
```
|
|
105
|
+
YOUR_AGENT_core op:memory_stats
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
```
|
|
109
|
+
YOUR_AGENT_core op:memory_deduplicate
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
Clean up duplicate memories.
|
|
113
|
+
|
|
114
|
+
### Step 9: Governance Queue
|
|
115
|
+
|
|
116
|
+
Check if any proposals are pending review:
|
|
117
|
+
|
|
118
|
+
```
|
|
119
|
+
YOUR_AGENT_core op:governance_proposals
|
|
120
|
+
params: { action: "list" }
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
```
|
|
124
|
+
YOUR_AGENT_core op:governance_stats
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
Expire stale proposals:
|
|
128
|
+
|
|
129
|
+
```
|
|
130
|
+
YOUR_AGENT_core op:governance_expire
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
### Step 10: Fix Everything (Optional)
|
|
134
|
+
|
|
135
|
+
If the user approves, run the full cleanup:
|
|
136
|
+
|
|
137
|
+
**Groom all entries — normalize tags, fix metadata:**
|
|
138
|
+
```
|
|
139
|
+
YOUR_AGENT_core op:curator_groom_all
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
**Full consolidation — deduplicate, normalize, quality-score:**
|
|
143
|
+
```
|
|
144
|
+
YOUR_AGENT_core op:curator_consolidate
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
**Prune stale memory:**
|
|
148
|
+
```
|
|
149
|
+
YOUR_AGENT_core op:memory_prune
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
**Rebuild brain intelligence with clean data:**
|
|
153
|
+
```
|
|
154
|
+
YOUR_AGENT_core op:brain_build_intelligence
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
**Reset caches to pick up changes:**
|
|
158
|
+
```
|
|
159
|
+
YOUR_AGENT_core op:admin_reset_cache
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
## Presenting the Health Report
|
|
163
|
+
|
|
164
|
+
```
|
|
165
|
+
## Knowledge Health Report
|
|
166
|
+
|
|
167
|
+
### System
|
|
168
|
+
| Check | Status |
|
|
169
|
+
|-------|--------|
|
|
170
|
+
| Infrastructure | OK / Issues |
|
|
171
|
+
| Database | OK / Issues |
|
|
172
|
+
| Cache | OK / Issues |
|
|
173
|
+
|
|
174
|
+
### Vault Quality
|
|
175
|
+
| Metric | Value | Status |
|
|
176
|
+
|--------|-------|--------|
|
|
177
|
+
| Total entries | X | — |
|
|
178
|
+
| Quality score | X/100 | Good/Warning/Critical |
|
|
179
|
+
| Domains | X | — |
|
|
180
|
+
| Tags | X | — |
|
|
181
|
+
|
|
182
|
+
### Issues Found
|
|
183
|
+
| Issue | Count | Action |
|
|
184
|
+
|-------|-------|--------|
|
|
185
|
+
| Duplicates | X | Merge |
|
|
186
|
+
| Contradictions | X | Resolve |
|
|
187
|
+
| Stale entries (>30d) | X | Review |
|
|
188
|
+
| Search misses | X | Fill gaps |
|
|
189
|
+
| Pending proposals | X | Review |
|
|
190
|
+
|
|
191
|
+
### Recommended Actions
|
|
192
|
+
1. [Most impactful fix]
|
|
193
|
+
2. [Second most impactful]
|
|
194
|
+
3. [Third most impactful]
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
## The Magic
|
|
198
|
+
|
|
199
|
+
This feels like magic because knowledge bases normally decay silently — duplicates accumulate, entries go stale, contradictions creep in, gaps grow. This skill makes decay visible and fixable in one command. It's like having a librarian who does a weekly audit of every book on every shelf.
|
|
200
|
+
|
|
201
|
+
## Agent Tools Reference
|
|
202
|
+
|
|
203
|
+
| Op | When to Use |
|
|
204
|
+
|----|-------------|
|
|
205
|
+
| `admin_health` | System health check |
|
|
206
|
+
| `admin_diagnostic` | Comprehensive system diagnostic |
|
|
207
|
+
| `admin_vault_size` | Vault storage metrics |
|
|
208
|
+
| `admin_vault_analytics` | Knowledge quality metrics |
|
|
209
|
+
| `admin_search_insights` | Search miss analysis |
|
|
210
|
+
| `admin_reset_cache` | Clear caches after cleanup |
|
|
211
|
+
| `vault_domains` / `vault_tags` | Knowledge landscape |
|
|
212
|
+
| `vault_age_report` | Stale entry detection |
|
|
213
|
+
| `curator_health_audit` | Quality score and audit |
|
|
214
|
+
| `curator_detect_duplicates` | Find duplicates |
|
|
215
|
+
| `curator_contradictions` | Find conflicting entries |
|
|
216
|
+
| `curator_resolve_contradiction` | Resolve conflicts |
|
|
217
|
+
| `curator_groom_all` | Batch tag normalization |
|
|
218
|
+
| `curator_consolidate` | Full cleanup pipeline |
|
|
219
|
+
| `memory_stats` | Memory health |
|
|
220
|
+
| `memory_deduplicate` | Remove duplicate memories |
|
|
221
|
+
| `memory_prune` | Remove stale memories |
|
|
222
|
+
| `governance_proposals` | Pending review queue |
|
|
223
|
+
| `governance_stats` | Governance metrics |
|
|
224
|
+
| `governance_expire` | Expire stale proposals |
|
|
225
|
+
| `brain_build_intelligence` | Rebuild after cleanup |
|
|
@@ -0,0 +1,178 @@
|
|
|
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
|
+
- **Category**: Which domain it belongs to
|
|
62
|
+
- **Severity**: critical / warning / suggestion
|
|
63
|
+
- **Tags**: Searchable keywords
|
|
64
|
+
|
|
65
|
+
### Step 4: Batch Capture
|
|
66
|
+
|
|
67
|
+
For each extracted item, capture to the vault:
|
|
68
|
+
|
|
69
|
+
```
|
|
70
|
+
YOUR_AGENT_core op:capture_knowledge
|
|
71
|
+
params: {
|
|
72
|
+
title: "<clear, searchable name>",
|
|
73
|
+
description: "<what it is, when to apply, why it matters>",
|
|
74
|
+
type: "<pattern|anti-pattern|decision|principle|workflow>",
|
|
75
|
+
category: "<domain>",
|
|
76
|
+
tags: ["<tag1>", "<tag2>"],
|
|
77
|
+
severity: "<critical|warning|suggestion>",
|
|
78
|
+
example: "<code snippet or quote from source>",
|
|
79
|
+
why: "<reasoning>"
|
|
80
|
+
}
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Present each capture to the user as you go:
|
|
84
|
+
```
|
|
85
|
+
Captured: api-auth-jwt (pattern, critical)
|
|
86
|
+
→ "Use short-lived JWTs for authentication"
|
|
87
|
+
Auto-tags: auth, jwt, security
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Step 5: Post-Harvest Quality
|
|
91
|
+
|
|
92
|
+
After all items captured, run quality checks:
|
|
93
|
+
|
|
94
|
+
**Detect any duplicates created during harvest:**
|
|
95
|
+
```
|
|
96
|
+
YOUR_AGENT_core op:curator_detect_duplicates
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
**Groom all new entries — normalize tags, fix metadata:**
|
|
100
|
+
```
|
|
101
|
+
YOUR_AGENT_core op:curator_groom_all
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
**Enrich entries with additional context:**
|
|
105
|
+
```
|
|
106
|
+
YOUR_AGENT_core op:curator_enrich
|
|
107
|
+
params: { entryId: "<id>" }
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
**Check for contradictions with existing knowledge:**
|
|
111
|
+
```
|
|
112
|
+
YOUR_AGENT_core op:curator_contradictions
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### Step 6: Verify Harvest Results
|
|
116
|
+
|
|
117
|
+
Check vault health after the harvest:
|
|
118
|
+
|
|
119
|
+
```
|
|
120
|
+
YOUR_AGENT_core op:admin_health
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
```
|
|
124
|
+
YOUR_AGENT_core op:admin_vault_analytics
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
Present a summary:
|
|
128
|
+
```
|
|
129
|
+
## Harvest Complete
|
|
130
|
+
|
|
131
|
+
Source: [file/doc name]
|
|
132
|
+
Extracted: X entries
|
|
133
|
+
- Y patterns
|
|
134
|
+
- Z anti-patterns
|
|
135
|
+
- W decisions
|
|
136
|
+
- V principles
|
|
137
|
+
|
|
138
|
+
Duplicates found: N (merged/skipped)
|
|
139
|
+
Contradictions found: N (flagged for review)
|
|
140
|
+
Vault health: OK
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
### Step 7: Promote Universal Patterns (Optional)
|
|
144
|
+
|
|
145
|
+
If any extracted patterns apply across projects:
|
|
146
|
+
|
|
147
|
+
```
|
|
148
|
+
YOUR_AGENT_core op:memory_promote_to_global
|
|
149
|
+
params: { entryId: "<id>" }
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
## The Magic
|
|
153
|
+
|
|
154
|
+
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.
|
|
155
|
+
|
|
156
|
+
## Tips for Best Results
|
|
157
|
+
|
|
158
|
+
- **Start with your team's top 10 decisions** — the ones people keep asking about
|
|
159
|
+
- **Feed postmortems** — they're goldmines of anti-patterns
|
|
160
|
+
- **Feed architecture decision records (ADRs)** — pure decision captures
|
|
161
|
+
- **Feed code review comments** — patterns that reviewers enforce repeatedly
|
|
162
|
+
- **Feed onboarding docs** — principles that new team members need to learn
|
|
163
|
+
|
|
164
|
+
## Agent Tools Reference
|
|
165
|
+
|
|
166
|
+
| Op | When to Use |
|
|
167
|
+
|----|-------------|
|
|
168
|
+
| `route_intent` | Classify the source material |
|
|
169
|
+
| `search_intelligent` | Check for existing knowledge |
|
|
170
|
+
| `vault_tags` / `vault_domains` | See what's already covered |
|
|
171
|
+
| `capture_knowledge` | Capture each extracted item |
|
|
172
|
+
| `curator_detect_duplicates` | Find duplicates post-harvest |
|
|
173
|
+
| `curator_groom_all` | Normalize all new entries |
|
|
174
|
+
| `curator_enrich` | LLM-enrich entries |
|
|
175
|
+
| `curator_contradictions` | Find conflicts with existing knowledge |
|
|
176
|
+
| `memory_promote_to_global` | Share universal patterns cross-project |
|
|
177
|
+
| `admin_health` | Post-harvest health check |
|
|
178
|
+
| `admin_vault_analytics` | Knowledge quality metrics |
|
|
@@ -0,0 +1,197 @@
|
|
|
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
|
+
1. Every critical rule they must follow
|
|
173
|
+
2. Every architectural decision and why it was made
|
|
174
|
+
3. Proven patterns to follow
|
|
175
|
+
4. Anti-patterns to avoid
|
|
176
|
+
5. What's shared with other projects
|
|
177
|
+
6. Where the knowledge gaps are
|
|
178
|
+
|
|
179
|
+
No other onboarding tool does this — it's not a static wiki, it's a living knowledge base that grows with the project.
|
|
180
|
+
|
|
181
|
+
## Agent Tools Reference
|
|
182
|
+
|
|
183
|
+
| Op | When to Use |
|
|
184
|
+
|----|-------------|
|
|
185
|
+
| `identity` | Project persona and description |
|
|
186
|
+
| `project_get` | Project registration details |
|
|
187
|
+
| `project_list_rules` | Project-specific rules |
|
|
188
|
+
| `get_behavior_rules` | Behavioral conventions |
|
|
189
|
+
| `vault_domains` / `vault_tags` | Knowledge landscape |
|
|
190
|
+
| `admin_vault_size` | How much knowledge exists |
|
|
191
|
+
| `search` | Find critical entries and anti-patterns |
|
|
192
|
+
| `search_intelligent` | Find decisions and patterns |
|
|
193
|
+
| `brain_strengths` | Proven approaches |
|
|
194
|
+
| `brain_global_patterns` | Cross-project patterns |
|
|
195
|
+
| `project_linked_projects` | Related projects |
|
|
196
|
+
| `admin_search_insights` | What's not in the vault |
|
|
197
|
+
| `vault_age_report` | Stale knowledge areas |
|