@vpxa/kb 0.1.17 → 0.1.19
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/README.md +17 -17
- package/package.json +1 -1
- package/packages/cli/dist/commands/init/constants.d.ts +2 -1
- package/packages/cli/dist/commands/init/constants.js +1 -1
- package/packages/cli/dist/commands/init/index.d.ts +1 -1
- package/packages/cli/dist/commands/init/index.js +4 -4
- package/packages/cli/dist/commands/init/scaffold.js +1 -1
- package/packages/cli/dist/commands/init/user.d.ts +56 -0
- package/packages/cli/dist/commands/init/user.js +6 -0
- package/packages/cli/dist/commands/system.js +2 -2
- package/packages/core/dist/global-registry.d.ts +3 -3
- package/packages/core/dist/global-registry.js +1 -1
- package/packages/core/dist/index.d.ts +2 -2
- package/packages/core/dist/index.js +1 -1
- package/packages/server/dist/config.js +1 -1
- package/packages/server/dist/cross-workspace.js +1 -1
- package/packages/server/dist/tools/search.tool.js +1 -1
- package/packages/server/dist/tools/toolkit.tools.js +2 -2
- package/packages/tools/dist/dead-symbols.d.ts +0 -4
- package/packages/tools/dist/dead-symbols.js +1 -1
- package/scaffold/adapters/copilot.mjs +9 -4
- package/scaffold/definitions/agents.mjs +12 -0
- package/scaffold/definitions/bodies.mjs +35 -4
- package/scaffold/definitions/tools.mjs +4 -0
- package/scaffold/general/agents/Architect-Reviewer-Alpha.agent.md +1 -1
- package/scaffold/general/agents/Architect-Reviewer-Beta.agent.md +1 -1
- package/scaffold/general/agents/Code-Reviewer-Alpha.agent.md +1 -1
- package/scaffold/general/agents/Code-Reviewer-Beta.agent.md +1 -1
- package/scaffold/general/agents/Debugger.agent.md +1 -1
- package/scaffold/general/agents/Documenter.agent.md +8 -8
- package/scaffold/general/agents/Explorer.agent.md +1 -1
- package/scaffold/general/agents/Frontend.agent.md +1 -1
- package/scaffold/general/agents/Implementer.agent.md +1 -1
- package/scaffold/general/agents/Orchestrator.agent.md +9 -9
- package/scaffold/general/agents/Planner.agent.md +11 -11
- package/scaffold/general/agents/Refactor.agent.md +7 -7
- package/scaffold/general/agents/Researcher-Alpha.agent.md +1 -1
- package/scaffold/general/agents/Researcher-Beta.agent.md +1 -1
- package/scaffold/general/agents/Researcher-Delta.agent.md +1 -1
- package/scaffold/general/agents/Researcher-Gamma.agent.md +1 -1
- package/scaffold/general/agents/Security.agent.md +1 -1
- package/scaffold/general/agents/_shared/code-agent-base.md +0 -18
- package/scaffold/generate.mjs +13 -5
- package/packages/cli/dist/commands/init/global.d.ts +0 -34
- package/packages/cli/dist/commands/init/global.js +0 -5
- package/scaffold/copilot/agents/Architect-Reviewer-Alpha.agent.md +0 -21
- package/scaffold/copilot/agents/Architect-Reviewer-Beta.agent.md +0 -21
- package/scaffold/copilot/agents/Documenter.agent.md +0 -42
- package/scaffold/copilot/agents/Orchestrator.agent.md +0 -104
- package/scaffold/copilot/agents/Planner.agent.md +0 -54
- package/scaffold/copilot/agents/Refactor.agent.md +0 -36
- package/scaffold/copilot/agents/Researcher-Alpha.agent.md +0 -20
- package/scaffold/copilot/agents/Researcher-Beta.agent.md +0 -20
- package/scaffold/copilot/agents/Researcher-Delta.agent.md +0 -20
- package/scaffold/copilot/agents/Researcher-Gamma.agent.md +0 -20
- package/scaffold/general/agents/_shared/adr-protocol.md +0 -91
|
@@ -74,7 +74,15 @@ For each batch: Implement (parallel) → Code Review → Architecture Review (if
|
|
|
74
74
|
3. **Parallel when independent** — never serialize what can run simultaneously
|
|
75
75
|
4. **Route correctly** — brainstorming for design, decision protocol for technical choices
|
|
76
76
|
5. **Never proceed without user approval** at mandatory stops
|
|
77
|
-
6. **Max 2 retries** then escalate
|
|
77
|
+
6. **Max 2 retries** then escalate
|
|
78
|
+
|
|
79
|
+
## Skills (load on demand)
|
|
80
|
+
|
|
81
|
+
| Skill | When to load |
|
|
82
|
+
|-------|--------------|
|
|
83
|
+
| \`brainstorming\` | Before any creative/design work (Phase 0 Design Gate) |
|
|
84
|
+
| \`session-handoff\` | When context window is filling up, session ending, or major milestone completed |
|
|
85
|
+
| \`lesson-learned\` | After completing work — extract engineering principles and persist via \`remember\` |`,
|
|
78
86
|
|
|
79
87
|
Planner: `**Read \`AGENTS.md\`** in the workspace root for project conventions and KB protocol.
|
|
80
88
|
|
|
@@ -110,7 +118,17 @@ For each batch: Implement (parallel) → Code Review → Architecture Review (if
|
|
|
110
118
|
**Open Questions** / **Risks**
|
|
111
119
|
\`\`\`
|
|
112
120
|
|
|
113
|
-
**🛑 MANDATORY STOP** — Wait for user approval before any implementation
|
|
121
|
+
**🛑 MANDATORY STOP** — Wait for user approval before any implementation.
|
|
122
|
+
|
|
123
|
+
## Skills (load on demand)
|
|
124
|
+
|
|
125
|
+
| Skill | When to load |
|
|
126
|
+
|-------|--------------|
|
|
127
|
+
| \`brainstorming\` | Before planning any new feature, component, or behavior change — use Visual Companion for architecture mockups |
|
|
128
|
+
| \`requirements-clarity\` | When requirements are vague or complex (>2 days) — score 0-100 before committing to a plan |
|
|
129
|
+
| \`c4-architecture\` | When the plan involves architectural changes — generate C4 diagrams |
|
|
130
|
+
| \`adr-skill\` | When the plan involves non-trivial technical decisions — create executable ADRs |
|
|
131
|
+
| \`session-handoff\` | When context window is filling up, planning session ending, or major milestone completed |`,
|
|
114
132
|
|
|
115
133
|
Implementer: `**Read \`AGENTS.md\`** in the workspace root for project conventions and KB protocol.
|
|
116
134
|
|
|
@@ -191,7 +209,13 @@ For each batch: Implement (parallel) → Code Review → Architecture Review (if
|
|
|
191
209
|
- **Tests must pass at every step** — Never break behavior
|
|
192
210
|
- **Smaller is better** — Prefer many small refactors over one big one
|
|
193
211
|
- **Follow existing patterns** — Consolidate toward established conventions
|
|
194
|
-
- **Don't refactor what isn't asked** — Scope discipline
|
|
212
|
+
- **Don't refactor what isn't asked** — Scope discipline
|
|
213
|
+
|
|
214
|
+
## Skills (load on demand)
|
|
215
|
+
|
|
216
|
+
| Skill | When to load |
|
|
217
|
+
|-------|--------------|
|
|
218
|
+
| \`lesson-learned\` | After completing a refactor — extract principles from the before/after diff |`,
|
|
195
219
|
|
|
196
220
|
Security: `**Read \`AGENTS.md\`** in the workspace root for project conventions and KB protocol.
|
|
197
221
|
|
|
@@ -248,7 +272,14 @@ For each batch: Implement (parallel) → Code Review → Architecture Review (if
|
|
|
248
272
|
|
|
249
273
|
- **Accuracy over completeness** — Better to be correct and concise than thorough and wrong
|
|
250
274
|
- **Examples always** — Every API docs section needs a code example
|
|
251
|
-
- **Keep it current** — Update docs with every code change
|
|
275
|
+
- **Keep it current** — Update docs with every code change
|
|
276
|
+
|
|
277
|
+
## Skills (load on demand)
|
|
278
|
+
|
|
279
|
+
| Skill | When to load |
|
|
280
|
+
|-------|--------------|
|
|
281
|
+
| \`c4-architecture\` | When documenting system architecture — generate C4 Mermaid diagrams |
|
|
282
|
+
| \`adr-skill\` | When documenting architecture decisions — create or update ADRs |`,
|
|
252
283
|
|
|
253
284
|
Explorer: `**Read \`AGENTS.md\`** in the workspace root for project conventions and KB protocol.
|
|
254
285
|
|
|
@@ -6,6 +6,10 @@
|
|
|
6
6
|
* maps these to its own format (e.g., Copilot tool identifiers).
|
|
7
7
|
*
|
|
8
8
|
* When KB adds/removes a tool, update `kb` here — all agents pick it up.
|
|
9
|
+
*
|
|
10
|
+
* NOTE: The copilot adapter currently uses `knowledge-base/*` wildcard instead
|
|
11
|
+
* of listing individual tools. This array is kept as a reference and for future
|
|
12
|
+
* adapters that may need explicit tool lists (e.g., claude-code).
|
|
9
13
|
*/
|
|
10
14
|
|
|
11
15
|
export const KB_TOOLS = [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: 'Primary architecture reviewer'
|
|
3
3
|
argument-hint: Files, PR, or subsystem to architecture-review
|
|
4
|
-
tools: [execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, cai-mcp/webFetch, cai-mcp/webSearch, ms-vscode.vscode-websearchforcopilot/websearch, knowledge-base
|
|
4
|
+
tools: [execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, cai-mcp/webFetch, cai-mcp/webSearch, ms-vscode.vscode-websearchforcopilot/websearch, knowledge-base/*]
|
|
5
5
|
model: GPT-5.4 (copilot)
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: 'Architecture reviewer variant — different LLM perspective for dual review'
|
|
3
3
|
argument-hint: Files, PR, or subsystem to architecture-review
|
|
4
|
-
tools: [execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, cai-mcp/webFetch, cai-mcp/webSearch, ms-vscode.vscode-websearchforcopilot/websearch, knowledge-base
|
|
4
|
+
tools: [execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, cai-mcp/webFetch, cai-mcp/webSearch, ms-vscode.vscode-websearchforcopilot/websearch, knowledge-base/*]
|
|
5
5
|
model: Claude Opus 4.6 (copilot)
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: 'Primary code reviewer'
|
|
3
3
|
argument-hint: File path, PR, or code to review
|
|
4
|
-
tools: [execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, cai-mcp/webFetch, cai-mcp/webSearch, ms-vscode.vscode-websearchforcopilot/websearch, knowledge-base
|
|
4
|
+
tools: [execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, cai-mcp/webFetch, cai-mcp/webSearch, ms-vscode.vscode-websearchforcopilot/websearch, knowledge-base/*]
|
|
5
5
|
model: GPT-5.4 (copilot)
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: 'Code reviewer variant — different LLM perspective for dual review'
|
|
3
3
|
argument-hint: File path, PR, or code to review
|
|
4
|
-
tools: [execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, cai-mcp/webFetch, cai-mcp/webSearch, ms-vscode.vscode-websearchforcopilot/websearch, knowledge-base
|
|
4
|
+
tools: [execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, cai-mcp/webFetch, cai-mcp/webSearch, ms-vscode.vscode-websearchforcopilot/websearch, knowledge-base/*]
|
|
5
5
|
model: Claude Opus 4.6 (copilot)
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: 'Expert debugger that diagnoses issues, traces errors, and provides solutions'
|
|
3
3
|
argument-hint: Error message, stack trace, or description of issue
|
|
4
|
-
tools: [execute/runInTerminal, read/problems, read/readFile, read/terminalSelection, read/terminalLastCommand, agent/runSubagent, edit/createFile, edit/editFiles, search/changes, search/codebase, search/usages, knowledge-base
|
|
4
|
+
tools: [execute/runInTerminal, read/problems, read/readFile, read/terminalSelection, read/terminalLastCommand, agent/runSubagent, edit/createFile, edit/editFiles, search/changes, search/codebase, search/usages, knowledge-base/*]
|
|
5
5
|
model: Claude Opus 4.6 (copilot)
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: 'Documentation specialist that creates and maintains comprehensive project documentation'
|
|
3
3
|
argument-hint: Component, API, feature, or area to document
|
|
4
|
-
tools: [execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, edit/createFile, edit/editFiles, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, cai-mcp/webFetch, cai-mcp/webSearch, ms-vscode.vscode-websearchforcopilot/websearch, knowledge-base
|
|
4
|
+
tools: [execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, edit/createFile, edit/editFiles, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, cai-mcp/webFetch, cai-mcp/webSearch, ms-vscode.vscode-websearchforcopilot/websearch, knowledge-base/*]
|
|
5
5
|
model: GPT-5.4 (copilot)
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -11,13 +11,6 @@ You are the **Documenter**, documentation specialist that creates and maintains
|
|
|
11
11
|
|
|
12
12
|
**Read `AGENTS.md`** in the workspace root for project conventions and KB protocol.
|
|
13
13
|
|
|
14
|
-
## Skills (load on demand)
|
|
15
|
-
|
|
16
|
-
| Skill | When to load |
|
|
17
|
-
|-------|--------------|
|
|
18
|
-
| `c4-architecture` | When documenting system architecture — generate C4 Mermaid diagrams |
|
|
19
|
-
| `adr-skill` | When documenting architecture decisions — create or update ADRs |
|
|
20
|
-
|
|
21
14
|
## Documentation Protocol
|
|
22
15
|
|
|
23
16
|
1. **KB Recall** — Search for existing docs, conventions, architecture decisions
|
|
@@ -40,3 +33,10 @@ You are the **Documenter**, documentation specialist that creates and maintains
|
|
|
40
33
|
- **Accuracy over completeness** — Better to be correct and concise than thorough and wrong
|
|
41
34
|
- **Examples always** — Every API docs section needs a code example
|
|
42
35
|
- **Keep it current** — Update docs with every code change
|
|
36
|
+
|
|
37
|
+
## Skills (load on demand)
|
|
38
|
+
|
|
39
|
+
| Skill | When to load |
|
|
40
|
+
|-------|--------------|
|
|
41
|
+
| `c4-architecture` | When documenting system architecture — generate C4 Mermaid diagrams |
|
|
42
|
+
| `adr-skill` | When documenting architecture decisions — create or update ADRs |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: 'Rapid codebase exploration to find files, usages, dependencies, and structural context'
|
|
3
3
|
argument-hint: Find files, usages, and context related to: {topic or goal}
|
|
4
|
-
tools: [read/problems, read/readFile, search/changes, search/codebase, search/usages, search/fileSearch, search/listDirectory, search/textSearch, knowledge-base
|
|
4
|
+
tools: [read/problems, read/readFile, search/changes, search/codebase, search/usages, search/fileSearch, search/listDirectory, search/textSearch, knowledge-base/*]
|
|
5
5
|
model: Gemini 3 Flash (Preview) (copilot)
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: 'UI/UX specialist for React, styling, responsive design, and frontend implementation'
|
|
3
3
|
argument-hint: UI component, styling task, or frontend feature
|
|
4
|
-
tools: [execute/createAndRunTask, execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, edit/createFile, edit/editFiles, search/changes, search/codebase, search/usages, todo, knowledge-base
|
|
4
|
+
tools: [execute/createAndRunTask, execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, edit/createFile, edit/editFiles, search/changes, search/codebase, search/usages, todo, knowledge-base/*]
|
|
5
5
|
model: Gemini 3.1 Pro (Preview) (copilot)
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: 'Persistent implementation agent that writes code following TDD practices until all tasks are complete'
|
|
3
3
|
argument-hint: Implementation task, feature, or phase from plan
|
|
4
|
-
tools: [execute/createAndRunTask, execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, edit/createFile, edit/editFiles, search/changes, search/codebase, search/usages, todo, knowledge-base
|
|
4
|
+
tools: [execute/createAndRunTask, execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, edit/createFile, edit/editFiles, search/changes, search/codebase, search/usages, todo, knowledge-base/*]
|
|
5
5
|
model: GPT-5.4 (copilot)
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: 'Master conductor that orchestrates the full development lifecycle: Planning → Implementation → Review → Recovery → Commit'
|
|
3
|
-
tools: [vscode/memory, vscode/runCommand, vscode/switchAgent, execute/killTerminal, execute/createAndRunTask, execute/runInTerminal, read/terminalSelection, read/terminalLastCommand, read/problems, read/readFile, agent/runSubagent, edit/createFile, edit/editFiles, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, cai-mcp/webFetch, cai-mcp/webSearch, ms-vscode.vscode-websearchforcopilot/websearch, todo, search/searchResults, search/textSearch, knowledge-base
|
|
3
|
+
tools: [vscode/memory, vscode/runCommand, vscode/switchAgent, execute/killTerminal, execute/createAndRunTask, execute/runInTerminal, read/terminalSelection, read/terminalLastCommand, read/problems, read/readFile, agent/runSubagent, edit/createFile, edit/editFiles, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, cai-mcp/webFetch, cai-mcp/webSearch, ms-vscode.vscode-websearchforcopilot/websearch, todo, search/searchResults, search/textSearch, knowledge-base/*]
|
|
4
4
|
model: Claude Opus 4.6 (copilot)
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -15,14 +15,6 @@ You are the **Orchestrator**, master conductor that orchestrates the full develo
|
|
|
15
15
|
4. **Read _shared/forge-protocol.md** for the quality gate protocol.
|
|
16
16
|
5. **Use templates/adr-template.md** when writing Architecture Decision Records.
|
|
17
17
|
|
|
18
|
-
## Skills (load on demand)
|
|
19
|
-
|
|
20
|
-
| Skill | When to load |
|
|
21
|
-
|-------|--------------|
|
|
22
|
-
| `brainstorming` | Before any creative/design work (Phase 0 Design Gate) |
|
|
23
|
-
| `session-handoff` | When context window is filling up, session ending, or major milestone completed |
|
|
24
|
-
| `lesson-learned` | After completing work — extract engineering principles and persist via `remember` |
|
|
25
|
-
|
|
26
18
|
## Agent Arsenal
|
|
27
19
|
|
|
28
20
|
| Agent | Purpose | Model | Category |
|
|
@@ -102,3 +94,11 @@ For each batch: Implement (parallel) → Code Review → Architecture Review (if
|
|
|
102
94
|
4. **Route correctly** — brainstorming for design, decision protocol for technical choices
|
|
103
95
|
5. **Never proceed without user approval** at mandatory stops
|
|
104
96
|
6. **Max 2 retries** then escalate
|
|
97
|
+
|
|
98
|
+
## Skills (load on demand)
|
|
99
|
+
|
|
100
|
+
| Skill | When to load |
|
|
101
|
+
|-------|--------------|
|
|
102
|
+
| `brainstorming` | Before any creative/design work (Phase 0 Design Gate) |
|
|
103
|
+
| `session-handoff` | When context window is filling up, session ending, or major milestone completed |
|
|
104
|
+
| `lesson-learned` | After completing work — extract engineering principles and persist via `remember` |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: 'Autonomous planner that researches codebases and writes comprehensive TDD implementation plans'
|
|
3
|
-
tools: [execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, edit/createFile, edit/editFiles, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, cai-mcp/webFetch, cai-mcp/webSearch, ms-vscode.vscode-websearchforcopilot/websearch, todo, knowledge-base
|
|
3
|
+
tools: [execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, edit/createFile, edit/editFiles, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, cai-mcp/webFetch, cai-mcp/webSearch, ms-vscode.vscode-websearchforcopilot/websearch, todo, knowledge-base/*]
|
|
4
4
|
model: Claude Opus 4.6 (copilot)
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -12,16 +12,6 @@ You are the **Planner**, autonomous planner that researches codebases and writes
|
|
|
12
12
|
|
|
13
13
|
**Read _shared/code-agent-base.md NOW** — it contains KB recall, FORGE, and handoff protocols.
|
|
14
14
|
|
|
15
|
-
## Skills (load on demand)
|
|
16
|
-
|
|
17
|
-
| Skill | When to load |
|
|
18
|
-
|-------|--------------|
|
|
19
|
-
| `brainstorming` | Before planning any new feature, component, or behavior change — use Visual Companion for architecture mockups |
|
|
20
|
-
| `requirements-clarity` | When requirements are vague or complex (>2 days) — score 0-100 before committing to a plan |
|
|
21
|
-
| `c4-architecture` | When the plan involves architectural changes — generate C4 diagrams |
|
|
22
|
-
| `adr-skill` | When the plan involves non-trivial technical decisions — create executable ADRs |
|
|
23
|
-
| `session-handoff` | When context window is filling up, planning session ending, or major milestone completed |
|
|
24
|
-
|
|
25
15
|
## Planning Workflow
|
|
26
16
|
|
|
27
17
|
1. **KB Recall** — Search for past plans, architecture decisions, known patterns
|
|
@@ -53,3 +43,13 @@ You are the **Planner**, autonomous planner that researches codebases and writes
|
|
|
53
43
|
```
|
|
54
44
|
|
|
55
45
|
**🛑 MANDATORY STOP** — Wait for user approval before any implementation.
|
|
46
|
+
|
|
47
|
+
## Skills (load on demand)
|
|
48
|
+
|
|
49
|
+
| Skill | When to load |
|
|
50
|
+
|-------|--------------|
|
|
51
|
+
| `brainstorming` | Before planning any new feature, component, or behavior change — use Visual Companion for architecture mockups |
|
|
52
|
+
| `requirements-clarity` | When requirements are vague or complex (>2 days) — score 0-100 before committing to a plan |
|
|
53
|
+
| `c4-architecture` | When the plan involves architectural changes — generate C4 diagrams |
|
|
54
|
+
| `adr-skill` | When the plan involves non-trivial technical decisions — create executable ADRs |
|
|
55
|
+
| `session-handoff` | When context window is filling up, planning session ending, or major milestone completed |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: 'Code refactoring specialist that improves structure, readability, and maintainability'
|
|
3
3
|
argument-hint: Code, component, or pattern to refactor
|
|
4
|
-
tools: [execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, edit/editFiles, search/changes, search/codebase, search/usages, knowledge-base
|
|
4
|
+
tools: [execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, edit/editFiles, search/changes, search/codebase, search/usages, knowledge-base/*]
|
|
5
5
|
model: GPT-5.4 (copilot)
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -13,12 +13,6 @@ You are the **Refactor**, code refactoring specialist that improves structure, r
|
|
|
13
13
|
|
|
14
14
|
**Read _shared/code-agent-base.md NOW** — it contains KB recall, FORGE, and handoff protocols.
|
|
15
15
|
|
|
16
|
-
## Skills (load on demand)
|
|
17
|
-
|
|
18
|
-
| Skill | When to load |
|
|
19
|
-
|-------|--------------|
|
|
20
|
-
| `lesson-learned` | After completing a refactor — extract principles from the before/after diff |
|
|
21
|
-
|
|
22
16
|
## Refactoring Protocol
|
|
23
17
|
|
|
24
18
|
1. **KB Recall** — Search for established patterns and conventions
|
|
@@ -34,3 +28,9 @@ You are the **Refactor**, code refactoring specialist that improves structure, r
|
|
|
34
28
|
- **Smaller is better** — Prefer many small refactors over one big one
|
|
35
29
|
- **Follow existing patterns** — Consolidate toward established conventions
|
|
36
30
|
- **Don't refactor what isn't asked** — Scope discipline
|
|
31
|
+
|
|
32
|
+
## Skills (load on demand)
|
|
33
|
+
|
|
34
|
+
| Skill | When to load |
|
|
35
|
+
|-------|--------------|
|
|
36
|
+
| `lesson-learned` | After completing a refactor — extract principles from the before/after diff |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: 'Primary deep research agent — also serves as default Researcher'
|
|
3
3
|
argument-hint: Research question, problem statement, or subsystem to investigate
|
|
4
|
-
tools: [execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, cai-mcp/webFetch, cai-mcp/webSearch, ms-vscode.vscode-websearchforcopilot/websearch, knowledge-base
|
|
4
|
+
tools: [execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, cai-mcp/webFetch, cai-mcp/webSearch, ms-vscode.vscode-websearchforcopilot/websearch, knowledge-base/*]
|
|
5
5
|
model: Claude Opus 4.6 (copilot)
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: 'Research variant for multi-model decision protocol — different LLM perspective'
|
|
3
3
|
argument-hint: Research question, problem statement, or subsystem to investigate
|
|
4
|
-
tools: [execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, cai-mcp/webFetch, cai-mcp/webSearch, ms-vscode.vscode-websearchforcopilot/websearch, knowledge-base
|
|
4
|
+
tools: [execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, cai-mcp/webFetch, cai-mcp/webSearch, ms-vscode.vscode-websearchforcopilot/websearch, knowledge-base/*]
|
|
5
5
|
model: Claude Sonnet 4.6 (copilot)
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: 'Research variant for multi-model decision protocol — different LLM perspective'
|
|
3
3
|
argument-hint: Research question, problem statement, or subsystem to investigate
|
|
4
|
-
tools: [execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, cai-mcp/webFetch, cai-mcp/webSearch, ms-vscode.vscode-websearchforcopilot/websearch, knowledge-base
|
|
4
|
+
tools: [execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, cai-mcp/webFetch, cai-mcp/webSearch, ms-vscode.vscode-websearchforcopilot/websearch, knowledge-base/*]
|
|
5
5
|
model: Gemini 3.1 Pro (Preview) (copilot)
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: 'Research variant for multi-model decision protocol — different LLM perspective'
|
|
3
3
|
argument-hint: Research question, problem statement, or subsystem to investigate
|
|
4
|
-
tools: [execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, cai-mcp/webFetch, cai-mcp/webSearch, ms-vscode.vscode-websearchforcopilot/websearch, knowledge-base
|
|
4
|
+
tools: [execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, cai-mcp/webFetch, cai-mcp/webSearch, ms-vscode.vscode-websearchforcopilot/websearch, knowledge-base/*]
|
|
5
5
|
model: GPT-5.4 (copilot)
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: 'Security specialist that analyzes code for vulnerabilities and compliance'
|
|
3
3
|
argument-hint: Code, feature, or component to security review
|
|
4
|
-
tools: [execute/runInTerminal, read/problems, read/readFile, agent/runSubagent, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, cai-mcp/webFetch, cai-mcp/webSearch, ms-vscode.vscode-websearchforcopilot/websearch, knowledge-base
|
|
4
|
+
tools: [execute/runInTerminal, read/problems, read/readFile, agent/runSubagent, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, cai-mcp/webFetch, cai-mcp/webSearch, ms-vscode.vscode-websearchforcopilot/websearch, knowledge-base/*]
|
|
5
5
|
model: Claude Opus 4.6 (copilot)
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -40,24 +40,6 @@ You may be invoked in two modes:
|
|
|
40
40
|
|
|
41
41
|
---
|
|
42
42
|
|
|
43
|
-
## Tool Preference (BLOCKING — Use KB Tools Over Native Tools)
|
|
44
|
-
|
|
45
|
-
KB tools return **AST-analyzed structured data** — 10x fewer tokens than raw file reads. **Always prefer KB tools:**
|
|
46
|
-
|
|
47
|
-
| Instead of... | Use KB Tool |
|
|
48
|
-
|---------------|-------------|
|
|
49
|
-
| `read_file` (full file) | `file_summary` — exports, imports, call edges, 10x fewer tokens |
|
|
50
|
-
| `read_file` (section) | `compact({ path, query })` — server-side extract, 5-20x reduction |
|
|
51
|
-
| `grep_search` / `textSearch` | `search` — semantic + keyword hybrid |
|
|
52
|
-
| `grep_search` for symbol | `symbol` — definition + references with scope context |
|
|
53
|
-
| Multiple `read_file` | `digest` — compressed multi-source summary |
|
|
54
|
-
| Manual code tracing | `trace` — AST call-graph traversal |
|
|
55
|
-
| Line counting | `measure` — lines, complexity, cognitive complexity |
|
|
56
|
-
|
|
57
|
-
**Only use `read_file` as a last resort** when you need exact line content for editing.
|
|
58
|
-
|
|
59
|
-
---
|
|
60
|
-
|
|
61
43
|
## KB Learn (After Completing Work)
|
|
62
44
|
|
|
63
45
|
Before returning your handoff, persist discoveries to KB:
|
package/scaffold/generate.mjs
CHANGED
|
@@ -10,7 +10,11 @@
|
|
|
10
10
|
* Architecture:
|
|
11
11
|
* definitions/ — IDE-agnostic data (agents, models, tools, prompts, hooks, plugins)
|
|
12
12
|
* adapters/ — IDE-specific generators (copilot, claude-code)
|
|
13
|
-
*
|
|
13
|
+
* general/ — Generated output (agents, prompts) — `kb init` copies from here
|
|
14
|
+
*
|
|
15
|
+
* The copilot adapter writes directly to general/ since all IDEs currently
|
|
16
|
+
* consume the same VS Code-format .agent.md files. When a future adapter
|
|
17
|
+
* needs a different format, it gets its own output directory.
|
|
14
18
|
*/
|
|
15
19
|
|
|
16
20
|
import { existsSync, mkdirSync, rmSync, writeFileSync } from 'node:fs';
|
|
@@ -22,7 +26,7 @@ import { generateCopilot } from './adapters/copilot.mjs';
|
|
|
22
26
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
23
27
|
|
|
24
28
|
const ADAPTERS = {
|
|
25
|
-
copilot: { generate: generateCopilot, outDir: '
|
|
29
|
+
copilot: { generate: generateCopilot, outDir: 'general' },
|
|
26
30
|
'claude-code': { generate: generateClaudeCode, outDir: 'claude-code' },
|
|
27
31
|
};
|
|
28
32
|
|
|
@@ -45,9 +49,13 @@ for (const ide of idesToRun) {
|
|
|
45
49
|
|
|
46
50
|
const outDir = resolve(__dirname, adapter.outDir);
|
|
47
51
|
|
|
48
|
-
// Clean
|
|
49
|
-
if
|
|
50
|
-
|
|
52
|
+
// Clean only the subdirectories the generator manages (agents/, prompts/).
|
|
53
|
+
// This avoids wiping hand-maintained files if they coexist in general/.
|
|
54
|
+
for (const subdir of ['agents', 'prompts']) {
|
|
55
|
+
const sub = resolve(outDir, subdir);
|
|
56
|
+
if (existsSync(sub)) {
|
|
57
|
+
rmSync(sub, { recursive: true });
|
|
58
|
+
}
|
|
51
59
|
}
|
|
52
60
|
|
|
53
61
|
console.log(`\n─── Generating ${ide} scaffold ───`);
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
//#region packages/cli/src/commands/init/global.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* `kb init --global` — configure KB as a user-level MCP server.
|
|
4
|
-
*
|
|
5
|
-
* Auto-detects all installed IDEs, writes user-level mcp.json for each,
|
|
6
|
-
* installs skills to a global location, and creates the global data store.
|
|
7
|
-
*/
|
|
8
|
-
/** Represents a user-level IDE config location. */
|
|
9
|
-
interface UserLevelIdePath {
|
|
10
|
-
ide: string;
|
|
11
|
-
configDir: string;
|
|
12
|
-
mcpConfigPath: string;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Detect all installed IDEs by checking if their user-level config directory exists.
|
|
16
|
-
*/
|
|
17
|
-
declare function detectInstalledIdes(): UserLevelIdePath[];
|
|
18
|
-
/**
|
|
19
|
-
* Write or merge the KB server entry into a user-level mcp.json.
|
|
20
|
-
* Preserves all existing non-KB entries. Backs up existing file before writing.
|
|
21
|
-
*/
|
|
22
|
-
declare function writeUserLevelMcpConfig(idePath: UserLevelIdePath, serverName: string, force?: boolean): void;
|
|
23
|
-
/**
|
|
24
|
-
* Install skills to the global user-level directory (~/.kb-data/skills/).
|
|
25
|
-
*/
|
|
26
|
-
declare function installGlobalSkills(pkgRoot: string): void;
|
|
27
|
-
/**
|
|
28
|
-
* Main orchestrator for `kb init --global`.
|
|
29
|
-
*/
|
|
30
|
-
declare function initGlobal(options: {
|
|
31
|
-
force: boolean;
|
|
32
|
-
}): Promise<void>;
|
|
33
|
-
//#endregion
|
|
34
|
-
export { UserLevelIdePath, detectInstalledIdes, initGlobal, installGlobalSkills, writeUserLevelMcpConfig };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{MCP_SERVER_ENTRY as e,SERVER_NAME as t,SKILL_NAMES as n}from"./constants.js";import{copyDirectoryRecursive as r}from"./scaffold.js";import{existsSync as i,mkdirSync as a,readFileSync as o,writeFileSync as s}from"node:fs";import{dirname as c,resolve as l}from"node:path";import{fileURLToPath as u}from"node:url";import{getGlobalDataDir as d,saveRegistry as f}from"../../../../core/dist/index.js";import{homedir as p}from"node:os";function m(){let e=p(),t=process.platform,n=[];if(t===`win32`){let t=process.env.APPDATA??l(e,`AppData`,`Roaming`);n.push({ide:`VS Code`,configDir:l(t,`Code`,`User`),mcpConfigPath:l(t,`Code`,`User`,`mcp.json`)},{ide:`VS Code Insiders`,configDir:l(t,`Code - Insiders`,`User`),mcpConfigPath:l(t,`Code - Insiders`,`User`,`mcp.json`)},{ide:`VSCodium`,configDir:l(t,`VSCodium`,`User`),mcpConfigPath:l(t,`VSCodium`,`User`,`mcp.json`)},{ide:`Cursor`,configDir:l(t,`Cursor`,`User`),mcpConfigPath:l(t,`Cursor`,`User`,`mcp.json`)},{ide:`Cursor Nightly`,configDir:l(t,`Cursor Nightly`,`User`),mcpConfigPath:l(t,`Cursor Nightly`,`User`,`mcp.json`)},{ide:`Windsurf`,configDir:l(t,`Windsurf`,`User`),mcpConfigPath:l(t,`Windsurf`,`User`,`mcp.json`)})}else if(t===`darwin`){let t=l(e,`Library`,`Application Support`);n.push({ide:`VS Code`,configDir:l(t,`Code`,`User`),mcpConfigPath:l(t,`Code`,`User`,`mcp.json`)},{ide:`VS Code Insiders`,configDir:l(t,`Code - Insiders`,`User`),mcpConfigPath:l(t,`Code - Insiders`,`User`,`mcp.json`)},{ide:`VSCodium`,configDir:l(t,`VSCodium`,`User`),mcpConfigPath:l(t,`VSCodium`,`User`,`mcp.json`)},{ide:`Cursor`,configDir:l(t,`Cursor`,`User`),mcpConfigPath:l(t,`Cursor`,`User`,`mcp.json`)},{ide:`Cursor Nightly`,configDir:l(t,`Cursor Nightly`,`User`),mcpConfigPath:l(t,`Cursor Nightly`,`User`,`mcp.json`)},{ide:`Windsurf`,configDir:l(t,`Windsurf`,`User`),mcpConfigPath:l(t,`Windsurf`,`User`,`mcp.json`)})}else{let t=process.env.XDG_CONFIG_HOME??l(e,`.config`);n.push({ide:`VS Code`,configDir:l(t,`Code`,`User`),mcpConfigPath:l(t,`Code`,`User`,`mcp.json`)},{ide:`VS Code Insiders`,configDir:l(t,`Code - Insiders`,`User`),mcpConfigPath:l(t,`Code - Insiders`,`User`,`mcp.json`)},{ide:`VSCodium`,configDir:l(t,`VSCodium`,`User`),mcpConfigPath:l(t,`VSCodium`,`User`,`mcp.json`)},{ide:`Cursor`,configDir:l(t,`Cursor`,`User`),mcpConfigPath:l(t,`Cursor`,`User`,`mcp.json`)},{ide:`Cursor Nightly`,configDir:l(t,`Cursor Nightly`,`User`),mcpConfigPath:l(t,`Cursor Nightly`,`User`,`mcp.json`)},{ide:`Windsurf`,configDir:l(t,`Windsurf`,`User`),mcpConfigPath:l(t,`Windsurf`,`User`,`mcp.json`)})}return n.push({ide:`Claude Code`,configDir:l(e,`.claude`),mcpConfigPath:l(e,`.claude`,`mcp.json`)}),n.filter(e=>i(e.configDir))}function h(t,n,r=!1){let{mcpConfigPath:c,configDir:l}=t,u={...e},d={};if(i(c)){try{let e=o(c,`utf-8`);d=JSON.parse(e)}catch{let e=`${c}.bak`;s(e,o(c,`utf-8`),`utf-8`),console.log(` Backed up invalid ${c} to ${e}`),d={}}if((d.servers??d.mcpServers??{})[n]&&!r){console.log(` ${t.ide}: ${n} already configured (use --force to update)`);return}}let f=new Set([`VS Code`,`VS Code Insiders`,`VSCodium`,`Windsurf`]).has(t.ide)?`servers`:`mcpServers`,p=d[f]??{};p[n]=u,d[f]=p,a(l,{recursive:!0}),s(c,`${JSON.stringify(d,null,2)}\n`,`utf-8`),console.log(` ${t.ide}: configured ${n} in ${c}`)}function g(e){let t=l(d(),`skills`);for(let a of n){let n=l(e,`skills`,a);i(n)&&r(n,l(t,a),`skills/${a}`,!0)}console.log(` Installed ${n.length} skills to ${t}`)}async function _(e){let n=t;console.log(`Initializing global KB installation...
|
|
2
|
-
`);let r=d();a(r,{recursive:!0}),console.log(` Global data store: ${r}`),f({version:1,workspaces:{}}),console.log(` Created registry.json`);let i=m();if(i.length===0)console.log(`
|
|
3
|
-
No supported IDEs detected. You can manually add the MCP server config.`);else{console.log(`\n Detected ${i.length} IDE(s):`);for(let t of i)h(t,n,e.force)}g(l(c(u(import.meta.url)),`..`,`..`,`..`,`..`,`..`)),console.log(`
|
|
4
|
-
Global KB installation complete!`),console.log(`
|
|
5
|
-
Next steps:`),console.log(` 1. Open any workspace in your IDE`),console.log(` 2. The KB server will auto-start and index the workspace`),console.log(" 3. Run `kb init` in a workspace to add AGENTS.md and instructions")}export{m as detectInstalledIdes,_ as initGlobal,g as installGlobalSkills,h as writeUserLevelMcpConfig};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: 'Primary architecture reviewer'
|
|
3
|
-
argument-hint: Files, PR, or subsystem to architecture-review
|
|
4
|
-
tools: [execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, cai-mcp/webFetch, cai-mcp/webSearch, ms-vscode.vscode-websearchforcopilot/websearch, knowledge-base/analyze_dependencies, knowledge-base/analyze_diagram, knowledge-base/analyze_entry_points, knowledge-base/analyze_patterns, knowledge-base/analyze_structure, knowledge-base/analyze_symbols, knowledge-base/audit, knowledge-base/batch, knowledge-base/blast_radius, knowledge-base/changelog, knowledge-base/check, knowledge-base/checkpoint, knowledge-base/codemod, knowledge-base/compact, knowledge-base/data_transform, knowledge-base/dead_symbols, knowledge-base/delegate, knowledge-base/diff_parse, knowledge-base/digest, knowledge-base/encode, knowledge-base/env, knowledge-base/eval, knowledge-base/evidence_map, knowledge-base/file_summary, knowledge-base/find, knowledge-base/forge_classify, knowledge-base/forge_ground, knowledge-base/forget, knowledge-base/git_context, knowledge-base/graph, knowledge-base/guide, knowledge-base/health, knowledge-base/http, knowledge-base/lane, knowledge-base/list, knowledge-base/lookup, knowledge-base/measure, knowledge-base/onboard, knowledge-base/parse_output, knowledge-base/process, knowledge-base/produce_knowledge, knowledge-base/queue, knowledge-base/read, knowledge-base/regex_test, knowledge-base/reindex, knowledge-base/remember, knowledge-base/rename, knowledge-base/replay, knowledge-base/schema_validate, knowledge-base/scope_map, knowledge-base/search, knowledge-base/snippet, knowledge-base/stash, knowledge-base/status, knowledge-base/stratum_card, knowledge-base/symbol, knowledge-base/test_run, knowledge-base/time, knowledge-base/trace, knowledge-base/update, knowledge-base/watch, knowledge-base/web_fetch, knowledge-base/web_search, knowledge-base/workset]
|
|
5
|
-
model: GPT-5.4 (copilot)
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Architect-Reviewer-Alpha - The Structural Guardian
|
|
9
|
-
|
|
10
|
-
You are **Architect-Reviewer-Alpha**, the primary Architect-Reviewer agent.
|
|
11
|
-
|
|
12
|
-
You are **not** the Code-Reviewer agent. Code-Reviewer handles correctness, testing, security, and code quality. You handle the big picture: service boundaries, dependency direction, pattern adherence, and structural health.
|
|
13
|
-
|
|
14
|
-
**Read .github/agents/_shared/architect-reviewer-base.md NOW** — it contains your complete workflow and guidelines. All instructions there apply to you.
|
|
15
|
-
|
|
16
|
-
## Skills (load on demand)
|
|
17
|
-
|
|
18
|
-
| Skill | When to load |
|
|
19
|
-
|-------|--------------|
|
|
20
|
-
| `c4-architecture` | When reviewing architectural diagrams or boundary changes |
|
|
21
|
-
| `adr-skill` | When the review involves architecture decisions — reference or create ADRs |
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: 'Architecture reviewer variant — different LLM perspective for dual review'
|
|
3
|
-
argument-hint: Files, PR, or subsystem to architecture-review
|
|
4
|
-
tools: [execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, cai-mcp/webFetch, cai-mcp/webSearch, ms-vscode.vscode-websearchforcopilot/websearch, knowledge-base/analyze_dependencies, knowledge-base/analyze_diagram, knowledge-base/analyze_entry_points, knowledge-base/analyze_patterns, knowledge-base/analyze_structure, knowledge-base/analyze_symbols, knowledge-base/audit, knowledge-base/batch, knowledge-base/blast_radius, knowledge-base/changelog, knowledge-base/check, knowledge-base/checkpoint, knowledge-base/codemod, knowledge-base/compact, knowledge-base/data_transform, knowledge-base/dead_symbols, knowledge-base/delegate, knowledge-base/diff_parse, knowledge-base/digest, knowledge-base/encode, knowledge-base/env, knowledge-base/eval, knowledge-base/evidence_map, knowledge-base/file_summary, knowledge-base/find, knowledge-base/forge_classify, knowledge-base/forge_ground, knowledge-base/forget, knowledge-base/git_context, knowledge-base/graph, knowledge-base/guide, knowledge-base/health, knowledge-base/http, knowledge-base/lane, knowledge-base/list, knowledge-base/lookup, knowledge-base/measure, knowledge-base/onboard, knowledge-base/parse_output, knowledge-base/process, knowledge-base/produce_knowledge, knowledge-base/queue, knowledge-base/read, knowledge-base/regex_test, knowledge-base/reindex, knowledge-base/remember, knowledge-base/rename, knowledge-base/replay, knowledge-base/schema_validate, knowledge-base/scope_map, knowledge-base/search, knowledge-base/snippet, knowledge-base/stash, knowledge-base/status, knowledge-base/stratum_card, knowledge-base/symbol, knowledge-base/test_run, knowledge-base/time, knowledge-base/trace, knowledge-base/update, knowledge-base/watch, knowledge-base/web_fetch, knowledge-base/web_search, knowledge-base/workset]
|
|
5
|
-
model: Claude Opus 4.6 (copilot)
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Architect-Reviewer-Beta - The Structural Guardian
|
|
9
|
-
|
|
10
|
-
You are **Architect-Reviewer-Beta**, a variant of Architect-Reviewer. Same responsibilities, different model perspective.
|
|
11
|
-
|
|
12
|
-
You are **not** the Code-Reviewer agent. Code-Reviewer handles correctness, testing, security, and code quality. You handle the big picture: service boundaries, dependency direction, pattern adherence, and structural health.
|
|
13
|
-
|
|
14
|
-
**Read .github/agents/_shared/architect-reviewer-base.md NOW** — it contains your complete workflow and guidelines. All instructions there apply to you.
|
|
15
|
-
|
|
16
|
-
## Skills (load on demand)
|
|
17
|
-
|
|
18
|
-
| Skill | When to load |
|
|
19
|
-
|-------|--------------|
|
|
20
|
-
| `c4-architecture` | When reviewing architectural diagrams or boundary changes |
|
|
21
|
-
| `adr-skill` | When the review involves architecture decisions — reference or create ADRs |
|