@namch/agent-assistant 1.3.0 → 1.3.1
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/CHANGELOG.md +11 -1
- package/agents/backend-engineer.md +3 -3
- package/agents/brainstormer.md +3 -3
- package/agents/business-analyst.md +3 -3
- package/agents/database-architect.md +3 -3
- package/agents/debugger.md +2 -2
- package/agents/designer.md +2 -2
- package/agents/devops-engineer.md +2 -2
- package/agents/docs-manager.md +23 -15
- package/agents/frontend-engineer.md +3 -3
- package/agents/game-engineer.md +3 -3
- package/agents/mobile-engineer.md +4 -4
- package/agents/performance-engineer.md +3 -3
- package/agents/planner.md +4 -4
- package/agents/project-manager.md +3 -3
- package/agents/researcher.md +3 -3
- package/agents/reviewer.md +3 -3
- package/agents/scouter.md +3 -3
- package/agents/security-engineer.md +3 -3
- package/agents/tech-lead.md +3 -3
- package/agents/tester.md +2 -2
- package/commands/docs/audit.md +554 -78
- package/commands/docs/business.md +392 -76
- package/commands/docs/core.md +573 -74
- package/commands/docs.md +62 -61
- package/documents/business/business-features/00-index.md +101 -0
- package/documents/business/business-features/01-feature-inventory.md +341 -0
- package/documents/business/business-features/02-prioritization-moscow.md +148 -0
- package/documents/business/business-features/03-feature-specifications.md +512 -0
- package/documents/business/business-features/04-dependencies-and-release-sequencing.md +313 -0
- package/documents/business/business-features/05-success-metrics.md +290 -0
- package/documents/business/business-glossary/00-index.md +89 -0
- package/documents/business/business-glossary/01-canonical-terms.md +428 -0
- package/documents/business/business-glossary/02-synonyms-and-deprecated-terms.md +180 -0
- package/documents/business/business-glossary/03-domain-entities-and-events.md +395 -0
- package/documents/business/business-glossary/04-api-term-mapping.md +173 -0
- package/documents/business/business-prd/00-index.md +107 -0
- package/documents/business/business-prd/01-executive-summary.md +131 -0
- package/documents/business/business-prd/02-problem-goals-and-scope.md +204 -0
- package/documents/business/business-prd/03-stakeholders-and-requirements.md +210 -0
- package/documents/business/business-prd/04-acceptance-risks-assumptions.md +246 -0
- package/documents/business/business-workflows/00-index.md +107 -0
- package/documents/business/business-workflows/01-actor-map.md +303 -0
- package/documents/business/business-workflows/02-workflow-catalog.md +252 -0
- package/documents/business/business-workflows/03-detailed-workflows.md +641 -0
- package/documents/business/business-workflows/04-decision-rules-and-exceptions.md +216 -0
- package/documents/business/business-workflows/05-sla-and-handoffs.md +253 -0
- package/documents/knowledge-architecture/00-index.md +159 -0
- package/documents/knowledge-architecture/01-system-overview.md +240 -0
- package/documents/knowledge-architecture/02-components.md +419 -0
- package/documents/knowledge-architecture/03-data-flow.md +369 -0
- package/documents/knowledge-architecture/04-design-patterns.md +498 -0
- package/documents/knowledge-architecture/05-decisions.md +410 -0
- package/documents/knowledge-domain/00-index.md +251 -0
- package/documents/knowledge-domain/01-entities.md +583 -0
- package/documents/knowledge-domain/02-database-schema.md +138 -0
- package/documents/knowledge-domain/03-api-contracts.md +479 -0
- package/documents/knowledge-domain/04-business-rules.md +555 -0
- package/documents/knowledge-overview/00-index.md +107 -0
- package/documents/knowledge-overview/01-project-identity.md +162 -0
- package/documents/knowledge-overview/02-tech-stack.md +119 -0
- package/documents/knowledge-overview/03-features.md +233 -0
- package/documents/knowledge-overview/04-getting-started.md +394 -0
- package/documents/knowledge-source-base/00-index.md +107 -0
- package/documents/knowledge-source-base/01-directory-structure.md +312 -0
- package/documents/knowledge-source-base/02-entry-points.md +346 -0
- package/documents/knowledge-source-base/03-key-modules.md +582 -0
- package/documents/knowledge-source-base/04-configuration.md +467 -0
- package/documents/knowledge-standards/00-index.md +129 -0
- package/documents/knowledge-standards/01-code-style.md +161 -0
- package/documents/knowledge-standards/02-conventions.md +255 -0
- package/documents/knowledge-standards/03-git-workflow.md +228 -0
- package/documents/knowledge-standards/04-testing-standards.md +175 -0
- package/package.json +1 -1
- package/rules/REFERENCE.md +10 -6
- package/skills/docs-audit/README.md +10 -8
- package/skills/docs-audit/SKILL.md +45 -41
- package/skills/docs-audit/references/scoring-framework.md +5 -5
- package/skills/docs-core/README.md +19 -14
- package/skills/docs-core/SKILL.md +189 -117
- package/skills/planning/references/codebase-understanding.md +5 -5
- package/documents/business/business-features.md +0 -894
- package/documents/business/business-glossary.md +0 -554
- package/documents/business/business-prd.md +0 -400
- package/documents/business/business-workflows.md +0 -713
- package/documents/knowledge-architecture.md +0 -621
- package/documents/knowledge-domain.md +0 -602
- package/documents/knowledge-overview.md +0 -316
- package/documents/knowledge-source-base.md +0 -581
- package/documents/knowledge-standards.md +0 -632
|
@@ -0,0 +1,394 @@
|
|
|
1
|
+
# Agent Assistant — Getting Started
|
|
2
|
+
|
|
3
|
+
> **Purpose**: Step-by-step installation, environment setup, first run commands, testing, and troubleshooting
|
|
4
|
+
> **Parent**: [00-index.md](./00-index.md)
|
|
5
|
+
> **Last Updated**: 2026-03-26
|
|
6
|
+
> **Generated By**: docs-core skill
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Prerequisites
|
|
11
|
+
|
|
12
|
+
| Requirement | Minimum Version | Check Command | Notes |
|
|
13
|
+
|------------|----------------|---------------|-------|
|
|
14
|
+
| Node.js | 18.0.0 | `node --version` | Required for CLI installer and test runner |
|
|
15
|
+
| npm | 9.0.0+ (bundled) | `npm --version` | Comes with Node.js 18+ |
|
|
16
|
+
| Git | Any recent | `git --version` | Required for source installation and contributing |
|
|
17
|
+
| AI Coding Tool | Latest | See table below | At least one supported tool must be installed |
|
|
18
|
+
|
|
19
|
+
### Supported AI Tools
|
|
20
|
+
|
|
21
|
+
| Tool | How to Get It |
|
|
22
|
+
|------|--------------|
|
|
23
|
+
| Cursor | Download from https://cursor.sh |
|
|
24
|
+
| VS Code + GitHub Copilot | Install VS Code, then the GitHub Copilot extension |
|
|
25
|
+
| Claude Code | Install via `npm install -g @anthropic-ai/claude-code` |
|
|
26
|
+
| Codex | Install via OpenAI's Codex CLI |
|
|
27
|
+
| Antigravity/Gemini | Install from Google's Antigravity editor |
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## Installation
|
|
32
|
+
|
|
33
|
+
### Option A: Global npm Package (Recommended)
|
|
34
|
+
|
|
35
|
+
This is the simplest method. Install once, use across all projects.
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
# Step 1: Install the package globally
|
|
39
|
+
npm install -g @namch/agent-assistant@latest
|
|
40
|
+
|
|
41
|
+
# Step 2: Verify installation
|
|
42
|
+
agent-assistant list
|
|
43
|
+
|
|
44
|
+
# Step 3: Install for your AI tool(s)
|
|
45
|
+
agent-assistant install cursor # Cursor only
|
|
46
|
+
agent-assistant install claude # Claude Code only
|
|
47
|
+
agent-assistant install copilot # GitHub Copilot only
|
|
48
|
+
agent-assistant install antigravity # Antigravity/Gemini only
|
|
49
|
+
agent-assistant install codex # Codex only
|
|
50
|
+
agent-assistant install --all # All tools at once
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### Option B: From Source
|
|
54
|
+
|
|
55
|
+
Use this if you want to contribute, inspect the source, or run from a local checkout.
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
# Step 1: Clone the repository
|
|
59
|
+
git clone https://github.com/hainamchung/agent-assistant.git
|
|
60
|
+
|
|
61
|
+
# Step 2: Navigate into the project
|
|
62
|
+
cd agent-assistant
|
|
63
|
+
|
|
64
|
+
# Step 3: Install for your AI tool(s)
|
|
65
|
+
node cli/install.js install cursor # Cursor only
|
|
66
|
+
node cli/install.js install claude # Claude Code only
|
|
67
|
+
node cli/install.js install copilot # GitHub Copilot only
|
|
68
|
+
node cli/install.js install antigravity # Antigravity/Gemini only
|
|
69
|
+
node cli/install.js install codex # Codex only
|
|
70
|
+
node cli/install.js install --all # All tools at once
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### What the Installer Does
|
|
74
|
+
|
|
75
|
+
The CLI installer copies framework files into the AI tool's global configuration directory:
|
|
76
|
+
|
|
77
|
+
| Tool | Target Directory |
|
|
78
|
+
|------|-----------------|
|
|
79
|
+
| Cursor | `~/.cursor/skills/agent-assistant/` |
|
|
80
|
+
| GitHub Copilot | `~/.copilot/skills/agent-assistant/` |
|
|
81
|
+
| Claude Code | `~/.claude/skills/agent-assistant/` |
|
|
82
|
+
| Codex | `~/.codex/skills/agent-assistant/` |
|
|
83
|
+
| Antigravity/Gemini | `~/.gemini/antigravity/skills/agent-assistant/` |
|
|
84
|
+
|
|
85
|
+
Files installed include: 21 agent definitions, 14 command workflows with variants, 7 rule files, 19 matrix-skill registries, 1,430+ skill modules, and platform-specific entry point files.
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
## Verifying the Installation
|
|
90
|
+
|
|
91
|
+
After installation, confirm files are in place:
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
# For Cursor:
|
|
95
|
+
ls ~/.cursor/skills/agent-assistant/
|
|
96
|
+
# Expected: agents/ commands/ rules/ matrix-skills/ skills/ documents/ ...
|
|
97
|
+
|
|
98
|
+
# For Claude Code:
|
|
99
|
+
ls ~/.claude/skills/agent-assistant/
|
|
100
|
+
# Expected: same structure
|
|
101
|
+
|
|
102
|
+
# For GitHub Copilot:
|
|
103
|
+
ls ~/.copilot/skills/agent-assistant/
|
|
104
|
+
# Expected: same structure
|
|
105
|
+
|
|
106
|
+
# List all installed tools:
|
|
107
|
+
agent-assistant list
|
|
108
|
+
# Output shows which tools have Agent Assistant installed
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
## First Run — Using Commands
|
|
114
|
+
|
|
115
|
+
Open any project in your AI coding tool and try these commands in the AI chat:
|
|
116
|
+
|
|
117
|
+
### Simple Feature (`:fast` variant)
|
|
118
|
+
|
|
119
|
+
```
|
|
120
|
+
/cook:fast "add a health check endpoint that returns { status: 'ok' }"
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
This spawns 2–3 agents (typically backend-engineer + tester) for a quick implementation.
|
|
124
|
+
|
|
125
|
+
### Bug Fix
|
|
126
|
+
|
|
127
|
+
```
|
|
128
|
+
/fix "login form doesn't validate email format"
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
The Orchestrator delegates to the debugger and backend/frontend engineer to diagnose and fix.
|
|
132
|
+
|
|
133
|
+
### Implementation Plan
|
|
134
|
+
|
|
135
|
+
```
|
|
136
|
+
/plan "build a notification system with email and push support"
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
The planner agent produces a structured implementation plan with phases, dependencies, and effort estimates.
|
|
140
|
+
|
|
141
|
+
### Code Review
|
|
142
|
+
|
|
143
|
+
```
|
|
144
|
+
/review "audit the authentication module for security issues"
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
The reviewer and security-engineer agents analyze the code and produce findings.
|
|
148
|
+
|
|
149
|
+
### Generate Project Documentation
|
|
150
|
+
|
|
151
|
+
```
|
|
152
|
+
/docs:core
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
Creates `./documents/` with technical knowledge files that agents reference for project-specific context. Run this first in any new project for best results.
|
|
156
|
+
|
|
157
|
+
### Complex Feature (`:hard` variant)
|
|
158
|
+
|
|
159
|
+
```
|
|
160
|
+
/cook:hard "implement OAuth 2.0 with Google and GitHub providers"
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
This spawns 5–8 agents with full quality gates: implementation, testing, review, and security checks.
|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
## Running Tests
|
|
168
|
+
|
|
169
|
+
The project uses Node.js native test runner:
|
|
170
|
+
|
|
171
|
+
```bash
|
|
172
|
+
# Run all tests (from project root)
|
|
173
|
+
npm test
|
|
174
|
+
# Equivalent to: node --test cli/*.test.js
|
|
175
|
+
|
|
176
|
+
# Lint JavaScript for syntax errors
|
|
177
|
+
npm run lint
|
|
178
|
+
# Equivalent to: node --check cli/install.js
|
|
179
|
+
|
|
180
|
+
# Lint Markdown (requires npx)
|
|
181
|
+
npm run lint:md
|
|
182
|
+
# Prints the command to run manually: npx markdownlint "**/*.md" --ignore node_modules
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
Note: The test file `cli/install.test.js.example` is provided as an example template. Rename it to `cli/install.test.js` to activate it:
|
|
186
|
+
|
|
187
|
+
```bash
|
|
188
|
+
cp cli/install.test.js.example cli/install.test.js
|
|
189
|
+
npm test
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
---
|
|
193
|
+
|
|
194
|
+
## Uninstalling
|
|
195
|
+
|
|
196
|
+
### Remove from AI Tools
|
|
197
|
+
|
|
198
|
+
```bash
|
|
199
|
+
# Remove from a specific tool:
|
|
200
|
+
agent-assistant uninstall cursor
|
|
201
|
+
agent-assistant uninstall claude
|
|
202
|
+
agent-assistant uninstall copilot
|
|
203
|
+
agent-assistant uninstall antigravity
|
|
204
|
+
agent-assistant uninstall codex
|
|
205
|
+
|
|
206
|
+
# Remove from all tools at once:
|
|
207
|
+
agent-assistant uninstall --all
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
### Remove from Source
|
|
211
|
+
|
|
212
|
+
```bash
|
|
213
|
+
cd agent-assistant
|
|
214
|
+
node cli/install.js uninstall --all
|
|
215
|
+
cd ..
|
|
216
|
+
rm -rf agent-assistant
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
### Remove Global Package
|
|
220
|
+
|
|
221
|
+
```bash
|
|
222
|
+
npm uninstall -g @namch/agent-assistant
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
---
|
|
226
|
+
|
|
227
|
+
## Environment Setup for Contributors
|
|
228
|
+
|
|
229
|
+
If you want to contribute to Agent Assistant:
|
|
230
|
+
|
|
231
|
+
```bash
|
|
232
|
+
# Step 1: Fork the repo on GitHub, then clone your fork
|
|
233
|
+
git clone https://github.com/YOUR_USERNAME/agent-assistant.git
|
|
234
|
+
cd agent-assistant
|
|
235
|
+
|
|
236
|
+
# Step 2: Install devDependencies (for commit hooks and release tooling)
|
|
237
|
+
npm install
|
|
238
|
+
|
|
239
|
+
# Step 3: Husky git hooks are set up automatically via the prepare script
|
|
240
|
+
# Verify hooks are installed:
|
|
241
|
+
ls .husky/
|
|
242
|
+
|
|
243
|
+
# Step 4: Make changes on a feature branch
|
|
244
|
+
git checkout -b feat/my-new-feature
|
|
245
|
+
|
|
246
|
+
# Step 5: Commit using Conventional Commits format
|
|
247
|
+
git commit -m "feat: add new skill for kubernetes debugging"
|
|
248
|
+
# Or: git commit -m "fix: correct path resolution on Windows"
|
|
249
|
+
# Or: git commit -m "docs: update getting started guide"
|
|
250
|
+
|
|
251
|
+
# Step 6: Push and create a PR
|
|
252
|
+
git push origin feat/my-new-feature
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
### Commit Message Format
|
|
256
|
+
|
|
257
|
+
The project uses Conventional Commits enforced by Husky hooks:
|
|
258
|
+
|
|
259
|
+
| Prefix | Purpose | Version Bump |
|
|
260
|
+
|--------|---------|-------------|
|
|
261
|
+
| `feat:` | New feature | Minor (1.x.0) |
|
|
262
|
+
| `fix:` | Bug fix | Patch (1.0.x) |
|
|
263
|
+
| `docs:` | Documentation | No release |
|
|
264
|
+
| `chore:` | Maintenance | No release |
|
|
265
|
+
| `refactor:` | Code restructuring | No release |
|
|
266
|
+
| `perf:` | Performance | Patch |
|
|
267
|
+
| `test:` | Tests | No release |
|
|
268
|
+
|
|
269
|
+
---
|
|
270
|
+
|
|
271
|
+
## npm Scripts Reference
|
|
272
|
+
|
|
273
|
+
| Script | Command | Purpose |
|
|
274
|
+
|--------|---------|---------|
|
|
275
|
+
| `install:cursor` | `node cli/install.js install cursor` | Install for Cursor |
|
|
276
|
+
| `install:copilot` | `node cli/install.js install copilot` | Install for GitHub Copilot |
|
|
277
|
+
| `install:antigravity` | `node cli/install.js install antigravity` | Install for Antigravity/Gemini |
|
|
278
|
+
| `install:codex` | `node cli/install.js install codex` | Install for Codex |
|
|
279
|
+
| `install:all` | `node cli/install.js install --all` | Install for all tools |
|
|
280
|
+
| `uninstall:cursor` | `node cli/install.js uninstall cursor` | Uninstall from Cursor |
|
|
281
|
+
| `uninstall:copilot` | `node cli/install.js uninstall copilot` | Uninstall from GitHub Copilot |
|
|
282
|
+
| `uninstall:antigravity` | `node cli/install.js uninstall antigravity` | Uninstall from Antigravity/Gemini |
|
|
283
|
+
| `uninstall:codex` | `node cli/install.js uninstall codex` | Uninstall from Codex |
|
|
284
|
+
| `uninstall:all` | `node cli/install.js uninstall --all` | Uninstall from all tools |
|
|
285
|
+
| `list` | `node cli/install.js list` | Show installed tools |
|
|
286
|
+
| `test` | `node --test cli/*.test.js` | Run test suite |
|
|
287
|
+
| `lint` | `node --check cli/install.js` | Syntax validation |
|
|
288
|
+
| `lint:md` | Echo markdownlint command | Markdown linting (manual) |
|
|
289
|
+
| `semantic-release` | `semantic-release` | Automated release (CI only) |
|
|
290
|
+
| `prepare` | `husky install` | Set up git hooks |
|
|
291
|
+
|
|
292
|
+
---
|
|
293
|
+
|
|
294
|
+
## Common Issues and Troubleshooting
|
|
295
|
+
|
|
296
|
+
### "command not found: agent-assistant"
|
|
297
|
+
|
|
298
|
+
**Cause**: Global npm bin directory is not in your PATH.
|
|
299
|
+
|
|
300
|
+
```bash
|
|
301
|
+
# Find where npm installs global binaries:
|
|
302
|
+
npm config get prefix
|
|
303
|
+
|
|
304
|
+
# Add to PATH (add to ~/.zshrc or ~/.bashrc):
|
|
305
|
+
export PATH="$(npm config get prefix)/bin:$PATH"
|
|
306
|
+
|
|
307
|
+
# Reload shell:
|
|
308
|
+
source ~/.zshrc
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
### "Error: Node.js version too old"
|
|
312
|
+
|
|
313
|
+
**Cause**: Agent Assistant requires Node.js >=18.0.0.
|
|
314
|
+
|
|
315
|
+
```bash
|
|
316
|
+
# Check current version:
|
|
317
|
+
node --version
|
|
318
|
+
|
|
319
|
+
# Update via nvm:
|
|
320
|
+
nvm install 18
|
|
321
|
+
nvm use 18
|
|
322
|
+
|
|
323
|
+
# Or via Homebrew (macOS):
|
|
324
|
+
brew install node@18
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
### "Permission denied" during install
|
|
328
|
+
|
|
329
|
+
**Cause**: npm global directory requires elevated permissions.
|
|
330
|
+
|
|
331
|
+
```bash
|
|
332
|
+
# Option A: Fix npm permissions (recommended)
|
|
333
|
+
mkdir -p ~/.npm-global
|
|
334
|
+
npm config set prefix '~/.npm-global'
|
|
335
|
+
echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.zshrc
|
|
336
|
+
source ~/.zshrc
|
|
337
|
+
npm install -g @namch/agent-assistant@latest
|
|
338
|
+
|
|
339
|
+
# Option B: Use npx (no global install)
|
|
340
|
+
npx @namch/agent-assistant install --all
|
|
341
|
+
```
|
|
342
|
+
|
|
343
|
+
### "Files not appearing in AI tool"
|
|
344
|
+
|
|
345
|
+
**Cause**: The AI tool may need to be restarted to pick up new global configuration files.
|
|
346
|
+
|
|
347
|
+
```bash
|
|
348
|
+
# Verify files exist:
|
|
349
|
+
ls ~/.cursor/skills/agent-assistant/ # For Cursor
|
|
350
|
+
ls ~/.claude/skills/agent-assistant/ # For Claude Code
|
|
351
|
+
ls ~/.copilot/skills/agent-assistant/ # For Copilot
|
|
352
|
+
|
|
353
|
+
# If files exist but tool doesn't see them:
|
|
354
|
+
# 1. Close and reopen the AI tool completely
|
|
355
|
+
# 2. For VS Code/Copilot: reload window (Cmd+Shift+P → "Reload Window")
|
|
356
|
+
```
|
|
357
|
+
|
|
358
|
+
### "Commands not recognized by AI tool"
|
|
359
|
+
|
|
360
|
+
**Cause**: The platform entry file may not have loaded. Agent Assistant commands (like `/cook`, `/plan`) are interpreted by the AI model via the installed Markdown files, not by the tool's CLI.
|
|
361
|
+
|
|
362
|
+
```bash
|
|
363
|
+
# Verify the entry point file exists:
|
|
364
|
+
ls ~/.cursor/rules/ # Should contain Agent Assistant rules for Cursor
|
|
365
|
+
ls ~/.claude/CLAUDE.md # Entry point for Claude Code
|
|
366
|
+
ls ~/.copilot/ # Entry point for Copilot
|
|
367
|
+
|
|
368
|
+
# If missing, re-run install:
|
|
369
|
+
agent-assistant install cursor # or your tool
|
|
370
|
+
```
|
|
371
|
+
|
|
372
|
+
### "Test file not found"
|
|
373
|
+
|
|
374
|
+
**Cause**: The test file is shipped as an example, not an active test.
|
|
375
|
+
|
|
376
|
+
```bash
|
|
377
|
+
# Activate the example test:
|
|
378
|
+
cp cli/install.test.js.example cli/install.test.js
|
|
379
|
+
|
|
380
|
+
# Run tests:
|
|
381
|
+
npm test
|
|
382
|
+
```
|
|
383
|
+
|
|
384
|
+
---
|
|
385
|
+
|
|
386
|
+
## Evidence Sources
|
|
387
|
+
|
|
388
|
+
| Source | Path |
|
|
389
|
+
|--------|------|
|
|
390
|
+
| Package manifest (scripts, engines, bin) | [../../package.json](../../package.json) |
|
|
391
|
+
| README (installation, uninstallation) | [../../README.md](../../README.md) |
|
|
392
|
+
| CLI installer (platform configs, paths) | [../../cli/install.js](../../cli/install.js) |
|
|
393
|
+
| Test example | [../../cli/install.test.js.example](../../cli/install.test.js.example) |
|
|
394
|
+
| Core rules (command routing) | [../../rules/CORE.md](../../rules/CORE.md) |
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# Knowledge Source Base
|
|
2
|
+
|
|
3
|
+
> **Purpose**: Comprehensive technical knowledge base for the @namch/agent-assistant project — a multi-agent orchestration framework for AI coding assistants
|
|
4
|
+
> **Sub-files**: 4
|
|
5
|
+
> **Last Updated**: 2026-03-26
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Quick Summary
|
|
10
|
+
|
|
11
|
+
Agent Assistant is a plugin-based orchestration framework (v1.3.0) that installs Markdown and YAML configuration files into AI coding tool directories (Cursor, GitHub Copilot, Antigravity/Gemini, Claude Code, and Codex). The framework implements a Hybrid Skill Orchestration Layer (HSOL) that dynamically resolves and injects skills from a matrix of 1,430 skill definitions across 19 domains. It operates as a pure CLI tool built on Node.js >=18.0.0 using only built-in modules (fs, path, os, readline) with zero production dependencies.
|
|
12
|
+
|
|
13
|
+
The core architecture centers on an Orchestrator pattern: an AI coding assistant reads the platform entry point file (CURSOR.md, COPILOT.md, CLAUDE.md, CODEX.md, or GEMINI.md), which bootstraps it into the Orchestrator role. The Orchestrator then delegates work to 21 specialist agents (plus 51 team agents across 17 teams) using 14 command workflows with 47 variant strategies. Skills are resolved through the matrix-skills YAML registry and optionally enhanced by dynamic discovery via the find-skills mechanism.
|
|
14
|
+
|
|
15
|
+
The project also includes a separate React 19 + Vite + Tailwind marketing website under the `web/` directory, deployed to Vercel, and uses semantic-release with conventional commits for automated versioning and npm publishing.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Table of Contents
|
|
20
|
+
|
|
21
|
+
1. [Quick Summary](#quick-summary)
|
|
22
|
+
2. [Sub-Files](#sub-files)
|
|
23
|
+
3. [Quick Facts](#quick-facts)
|
|
24
|
+
4. [Cross-References](#cross-references)
|
|
25
|
+
5. [Known Gaps and Open Questions](#known-gaps-and-open-questions)
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## Sub-Files
|
|
30
|
+
|
|
31
|
+
| File | Description |
|
|
32
|
+
|------|-------------|
|
|
33
|
+
| [01-directory-structure.md](./01-directory-structure.md) | Complete annotated directory tree (depth 3-4) with purpose of every top-level directory |
|
|
34
|
+
| [02-entry-points.md](./02-entry-points.md) | Application entry files, CLI boot sequence, build entry points, and config entry points |
|
|
35
|
+
| [03-key-modules.md](./03-key-modules.md) | Per-module breakdown: purpose, exports, dependencies, and internal structure for all major modules |
|
|
36
|
+
| [04-configuration.md](./04-configuration.md) | Configuration files inventory, environment variables, secrets management, and platform-specific configs |
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## Quick Facts
|
|
41
|
+
|
|
42
|
+
| Key | Value |
|
|
43
|
+
|-----|-------|
|
|
44
|
+
| Package Name | `@namch/agent-assistant` |
|
|
45
|
+
| Version | 1.3.0 |
|
|
46
|
+
| License | MIT |
|
|
47
|
+
| Author | NamCH |
|
|
48
|
+
| Runtime | Node.js >=18.0.0 |
|
|
49
|
+
| Module System | CommonJS (CLI), ESM (web) |
|
|
50
|
+
| Production Dependencies | 0 (zero) |
|
|
51
|
+
| Dev Dependencies | 10 (semantic-release ecosystem + husky) |
|
|
52
|
+
| CLI Entry Point | `cli/install.js` |
|
|
53
|
+
| Supported Platforms | Cursor, GitHub Copilot, Antigravity (Gemini), Claude Code, Codex |
|
|
54
|
+
| Solo Agents | 21 Markdown files |
|
|
55
|
+
| Team Directories | 17 teams × 3 roles (executor, reviewer, techlead) = 51 team agents |
|
|
56
|
+
| Total Agent Files | 72 |
|
|
57
|
+
| Commands | 14 router files + 47 variant files = 61 total |
|
|
58
|
+
| Matrix Skill Domains | 19 YAML registries + _index.yaml + _dynamic.yaml |
|
|
59
|
+
| Total Skills | 1,430 skill folders (each containing SKILL.md) |
|
|
60
|
+
| Rule Files | 7 (CORE, PHASES, AGENTS, SKILLS, TEAMS, ERRORS, REFERENCE) |
|
|
61
|
+
| Code Assistant Templates | 5 (cursor, copilot, antigravity, claude, codex) |
|
|
62
|
+
| Web Framework | React 19 + Vite + Tailwind CSS 4 |
|
|
63
|
+
| Web Deployment | Vercel |
|
|
64
|
+
| Release Automation | semantic-release with conventional commits |
|
|
65
|
+
| Branch Strategy | `main` (single release branch) |
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## Read Order for New Members
|
|
70
|
+
|
|
71
|
+
1. **Start here** — Read this index to understand scope and structure
|
|
72
|
+
2. **[01-directory-structure.md](./01-directory-structure.md)** — Get oriented with where everything lives
|
|
73
|
+
3. **[02-entry-points.md](./02-entry-points.md)** — Understand how the system boots and what runs
|
|
74
|
+
4. **[03-key-modules.md](./03-key-modules.md)** — Deep dive into each module's internals
|
|
75
|
+
5. **[04-configuration.md](./04-configuration.md)** — Learn the configuration landscape
|
|
76
|
+
6. **`rules/CORE.md`** — Read the Orchestrator protocol (the "operating system" for agents)
|
|
77
|
+
7. **`AGENT-TEMPLATE.md`** — Understand how agents are structured with Matrix Skill Discovery
|
|
78
|
+
8. **`matrix-skills/_index.yaml`** — See how HSOL skill resolution works
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## Cross-References
|
|
83
|
+
|
|
84
|
+
- **HSOL Architecture**: `documents/SMART-SKILL-ORCHESTRATION-BLUEPRINT.md` — Full design document for the Hybrid Skill Orchestration Layer
|
|
85
|
+
- **HSOL Assessment**: `documents/HSOL-ASSESSMENT.md` — Evaluation and analysis of the HSOL system
|
|
86
|
+
- **CLI Documentation**: `cli/README.md` — CLI-specific usage guide and examples
|
|
87
|
+
- **Orchestrator Rules**: `rules/CORE.md` — The core protocol that governs how the Orchestrator operates
|
|
88
|
+
- **Phase Execution**: `rules/PHASES.md` — How command phases are structured and executed
|
|
89
|
+
- **Agent Definitions**: `rules/AGENTS.md` — Tiered execution model (sub-agent vs. embodiment)
|
|
90
|
+
- **Skill Resolution**: `rules/SKILLS.md` — How skills are discovered and injected
|
|
91
|
+
- **Team Protocol**: `rules/TEAMS.md` — How multi-agent teams coordinate
|
|
92
|
+
- **Error Recovery**: `rules/ERRORS.md` — Error handling and recovery procedures
|
|
93
|
+
- **Agent Template**: `AGENT-TEMPLATE.md` — Standard structure for all agent files with Matrix Skill Discovery frontmatter
|
|
94
|
+
- **Changelog**: `CHANGELOG.md` — Version history and release notes
|
|
95
|
+
- **Web Site README**: `web/README.md` — Marketing site documentation
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## Known Gaps and Open Questions
|
|
100
|
+
|
|
101
|
+
1. **No automated test suite**: `cli/install.test.js.example` exists as an example but no actual test file is committed; the `npm test` script (`node --test cli/*.test.js`) would find no tests to run unless the example is renamed
|
|
102
|
+
2. **Web app environment variables**: The Vercel-hosted marketing site may use environment variables, but none are documented in the repository (`.env` is gitignored)
|
|
103
|
+
3. **Skill SKILL.md format specification**: While `AGENT-TEMPLATE.md` documents the agent file format, there is no equivalent template for skill SKILL.md files
|
|
104
|
+
4. **Dynamic skill manifest**: `matrix-skills/_dynamic.yaml` exists for community-installed skills but its exact schema and lifecycle are defined only in the `_index.yaml` header comments
|
|
105
|
+
5. **Platform-specific differences**: Each code-assistant template (cursor, copilot, etc.) handles installation slightly differently with unique assets and path structures, but there is no unified comparison document
|
|
106
|
+
6. **Husky hooks**: The `.husky/` directory contains only a `_/` subfolder; the actual git hook scripts are not visible in the directory listing, suggesting they may be generated or missing
|
|
107
|
+
7. **Web app deployment pipeline**: `web/vercel.json` exists with rewrite rules, but the CI/CD pipeline for the web app (separate from the CLI semantic-release) is not documented in the repository
|