@namch/agent-assistant 1.3.0 → 1.3.2
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 +24 -1
- package/README.md +3 -4
- 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/code-assistants/codex-assistant/CODEX.md +1 -2
- package/commands/ask/hard.md +1 -1
- package/commands/brainstorm/hard.md +1 -1
- package/commands/code/hard.md +1 -1
- package/commands/code.md +2 -7
- package/commands/cook/hard.md +1 -1
- package/commands/cook.md +1 -6
- package/commands/debug/hard.md +1 -1
- package/commands/debug.md +1 -6
- package/commands/design/hard.md +1 -1
- package/commands/design.md +1 -6
- 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/commands/fix/hard.md +1 -1
- package/commands/fix.md +1 -6
- package/commands/plan/hard.md +1 -1
- package/commands/plan.md +1 -6
- package/commands/report/fast.md +2 -2
- package/commands/report/hard.md +1 -1
- package/commands/report.md +2 -7
- package/commands/review/hard.md +1 -1
- package/commands/test/hard.md +1 -1
- package/commands/test.md +1 -6
- package/documents/HSOL-ASSESSMENT.md +6 -6
- package/documents/SMART-SKILL-ORCHESTRATION-BLUEPRINT.md +1 -1
- 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 +511 -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 +368 -0
- package/documents/knowledge-architecture/04-design-patterns.md +497 -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 +582 -0
- package/documents/knowledge-domain/02-database-schema.md +138 -0
- package/documents/knowledge-domain/03-api-contracts.md +477 -0
- package/documents/knowledge-domain/04-business-rules.md +554 -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 +232 -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 +581 -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 +254 -0
- package/documents/knowledge-standards/03-git-workflow.md +228 -0
- package/documents/knowledge-standards/04-testing-standards.md +175 -0
- package/matrix-skills/_index.yaml +1 -1
- package/package.json +1 -1
- package/rules/AGENTS.md +1 -1
- package/rules/REFERENCE.md +18 -14
- package/rules/SKILLS.md +1 -1
- package/rules/TEAMS.md +1 -2
- 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/code-assistants/codex-assistant/skills/agent-assistant-code-focus/SKILL.md +0 -18
- package/code-assistants/codex-assistant/skills/agent-assistant-code-focus/agents/openai.yaml +0 -4
- package/code-assistants/codex-assistant/skills/agent-assistant-cook-focus/SKILL.md +0 -18
- package/code-assistants/codex-assistant/skills/agent-assistant-cook-focus/agents/openai.yaml +0 -4
- package/code-assistants/codex-assistant/skills/agent-assistant-debug-focus/SKILL.md +0 -18
- package/code-assistants/codex-assistant/skills/agent-assistant-debug-focus/agents/openai.yaml +0 -4
- package/code-assistants/codex-assistant/skills/agent-assistant-design-focus/SKILL.md +0 -18
- package/code-assistants/codex-assistant/skills/agent-assistant-design-focus/agents/openai.yaml +0 -4
- package/code-assistants/codex-assistant/skills/agent-assistant-fix-focus/SKILL.md +0 -18
- package/code-assistants/codex-assistant/skills/agent-assistant-fix-focus/agents/openai.yaml +0 -4
- package/code-assistants/codex-assistant/skills/agent-assistant-plan-focus/SKILL.md +0 -18
- package/code-assistants/codex-assistant/skills/agent-assistant-plan-focus/agents/openai.yaml +0 -4
- package/code-assistants/codex-assistant/skills/agent-assistant-report-focus/SKILL.md +0 -18
- package/code-assistants/codex-assistant/skills/agent-assistant-report-focus/agents/openai.yaml +0 -4
- package/code-assistants/codex-assistant/skills/agent-assistant-test-focus/SKILL.md +0 -18
- package/code-assistants/codex-assistant/skills/agent-assistant-test-focus/agents/openai.yaml +0 -4
- package/commands/code/focus.md +0 -297
- package/commands/cook/focus.md +0 -209
- package/commands/debug/focus.md +0 -103
- package/commands/design/focus.md +0 -229
- package/commands/fix/focus.md +0 -145
- package/commands/plan/focus.md +0 -140
- package/commands/report/focus.md +0 -107
- package/commands/test/focus.md +0 -123
- 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
|
@@ -1,581 +0,0 @@
|
|
|
1
|
-
# Agent Assistant — Knowledge Source Base
|
|
2
|
-
|
|
3
|
-
> **Purpose**: Directory structure, file purposes, entry points, key modules, and code organization for AI agents and developers.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## 1. Project Root Structure
|
|
8
|
-
|
|
9
|
-
```
|
|
10
|
-
agent-assistant/ # Project root
|
|
11
|
-
├── agents/ # 🤖 21 specialist agent definitions
|
|
12
|
-
├── assets/ # 🎨 Static assets (logo, images)
|
|
13
|
-
├── cli/ # 🔧 CLI installer system
|
|
14
|
-
├── code-assistants/ # 🔌 IDE-specific configurations
|
|
15
|
-
├── commands/ # 📋 50+ command workflow definitions
|
|
16
|
-
├── documents/ # 📚 Generated documentation
|
|
17
|
-
├── matrix-skills/ # 🎯 Skill discovery matrix (19 domains)
|
|
18
|
-
├── rules/ # ⚖️ Orchestration rules and protocols
|
|
19
|
-
├── skills/ # 💡 1400 domain skill definitions
|
|
20
|
-
├── AGENT-TEMPLATE.md # 📝 Agent file template
|
|
21
|
-
├── CLAUDE.md # 🟣 Claude Code entry point
|
|
22
|
-
├── CODEX.md # 💻 OpenAI Codex entry point
|
|
23
|
-
├── COPILOT.md # 🔵 GitHub Copilot entry point
|
|
24
|
-
├── CURSOR.md # 🟢 Cursor entry point
|
|
25
|
-
├── GEMINI.md # 🟡 Antigravity/Gemini entry point
|
|
26
|
-
├── package.json # 📦 npm package configuration
|
|
27
|
-
├── .releaserc.json # 🚀 Semantic release config
|
|
28
|
-
├── .gitignore # 🚫 Git ignore patterns
|
|
29
|
-
├── LICENSE # ⚖️ MIT License
|
|
30
|
-
└── README.md # 📖 Public documentation
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
---
|
|
34
|
-
|
|
35
|
-
## 2. Directory Breakdown
|
|
36
|
-
|
|
37
|
-
### 2.1 `agents/` — Specialist Agent Definitions
|
|
38
|
-
|
|
39
|
-
Contains 21 specialist agent definition files.
|
|
40
|
-
|
|
41
|
-
```
|
|
42
|
-
agents/
|
|
43
|
-
├── backend-engineer.md # Server-side logic, APIs, data access
|
|
44
|
-
├── brainstormer.md # Requirements discovery, clarification
|
|
45
|
-
├── business-analyst.md # Stakeholders, INVEST, user stories
|
|
46
|
-
├── database-architect.md # Schema, migrations, tuning
|
|
47
|
-
├── debugger.md # Reproduce, hypothesize, root cause
|
|
48
|
-
├── designer.md # UI/UX, design system, a11y
|
|
49
|
-
├── devops-engineer.md # CI/CD, infra, deploy, rollback
|
|
50
|
-
├── docs-manager.md # README, API docs, guides
|
|
51
|
-
├── frontend-engineer.md # UI, React, a11y, performance
|
|
52
|
-
├── game-engineer.md # Game loop, 3D, performance
|
|
53
|
-
├── mobile-engineer.md # iOS/Android, React Native, Flutter
|
|
54
|
-
├── performance-engineer.md # Profiling, bottlenecks, budgets
|
|
55
|
-
├── planner.md # Implementation plans, risks, rollback
|
|
56
|
-
├── project-manager.md # Sprints, risks, delivery
|
|
57
|
-
├── researcher.md # Docs, sources, comparisons
|
|
58
|
-
├── reviewer.md # Code review, plan compliance
|
|
59
|
-
├── scouter.md # Codebase exploration, patterns
|
|
60
|
-
├── security-engineer.md # Threat model, OWASP, secure coding
|
|
61
|
-
├── tech-lead.md # Orchestration, routing, quality
|
|
62
|
-
└── tester.md # Test strategy, automation, coverage
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
**File Format**: Markdown with YAML frontmatter
|
|
66
|
-
|
|
67
|
-
**Key Sections**:
|
|
68
|
-
- Identity table (ID, Role, Profile)
|
|
69
|
-
- Core Directive
|
|
70
|
-
- Skills (Matrix Discovery reference)
|
|
71
|
-
- Thinking Protocol
|
|
72
|
-
- Constraints (NEVER/ALWAYS)
|
|
73
|
-
- Output Format
|
|
74
|
-
|
|
75
|
-
### 2.2 `commands/` — Command Workflow Definitions
|
|
76
|
-
|
|
77
|
-
Contains 50+ command workflow files organized by command and variant (fast, hard, focus).
|
|
78
|
-
|
|
79
|
-
```
|
|
80
|
-
commands/
|
|
81
|
-
├── ask/ # Q&A about codebase
|
|
82
|
-
│ ├── fast.md
|
|
83
|
-
│ └── hard.md
|
|
84
|
-
├── ask.md # Router for /ask
|
|
85
|
-
├── auto.md # Auto-detect command
|
|
86
|
-
├── brainstorm/ # Requirements discovery
|
|
87
|
-
│ ├── fast.md
|
|
88
|
-
│ └── hard.md
|
|
89
|
-
├── brainstorm.md # Router for /brainstorm
|
|
90
|
-
├── code/ # Write code snippets
|
|
91
|
-
│ ├── fast.md
|
|
92
|
-
│ └── hard.md
|
|
93
|
-
├── code.md # Router for /code
|
|
94
|
-
├── cook/ # Implement features
|
|
95
|
-
│ ├── fast.md # Quick execution (2-3 agents)
|
|
96
|
-
│ └── hard.md # Full workflow (5-8 agents)
|
|
97
|
-
├── cook.md # Router for /cook
|
|
98
|
-
├── debug/ # Systematic debugging
|
|
99
|
-
│ ├── fast.md
|
|
100
|
-
│ └── hard.md
|
|
101
|
-
├── debug.md # Router for /debug
|
|
102
|
-
├── deploy/ # Deployment workflows
|
|
103
|
-
│ ├── check.md # Pre-deployment validation
|
|
104
|
-
│ ├── preview.md # Deploy to staging
|
|
105
|
-
│ ├── production.md # Deploy to production
|
|
106
|
-
│ └── rollback.md # Revert to previous version
|
|
107
|
-
├── deploy.md # Router for /deploy
|
|
108
|
-
├── design/ # UI/UX design
|
|
109
|
-
│ ├── fast.md
|
|
110
|
-
│ └── hard.md
|
|
111
|
-
├── design.md # Router for /design
|
|
112
|
-
├── docs/ # Documentation generation
|
|
113
|
-
│ ├── audit.md # Security/compliance audit docs
|
|
114
|
-
│ ├── business.md # Business documentation
|
|
115
|
-
│ └── core.md # Core technical documentation
|
|
116
|
-
├── docs.md # Router for /docs
|
|
117
|
-
├── fix/ # Bug fixing
|
|
118
|
-
│ ├── fast.md
|
|
119
|
-
│ └── hard.md
|
|
120
|
-
├── fix.md # Router for /fix
|
|
121
|
-
├── plan/ # Implementation planning
|
|
122
|
-
│ ├── fast.md
|
|
123
|
-
│ └── hard.md
|
|
124
|
-
├── plan.md # Router for /plan
|
|
125
|
-
├── review/ # Code review
|
|
126
|
-
│ ├── fast.md
|
|
127
|
-
│ └── hard.md
|
|
128
|
-
├── review.md # Router for /review
|
|
129
|
-
├── test/ # Test generation
|
|
130
|
-
│ ├── fast.md
|
|
131
|
-
│ └── hard.md
|
|
132
|
-
└── test.md # Router for /test
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
**Routing Pattern**:
|
|
136
|
-
- Router files (`{command}.md`) analyze request and select variant
|
|
137
|
-
- Variant files (`{command}/{variant}.md`) define actual workflow phases
|
|
138
|
-
|
|
139
|
-
### 2.3 `rules/` — Orchestration Rules and Protocols
|
|
140
|
-
|
|
141
|
-
Contains 8 rule files that govern orchestration behavior.
|
|
142
|
-
|
|
143
|
-
```
|
|
144
|
-
rules/
|
|
145
|
-
├── ADAPTIVE-EXECUTION.md # Tier 1/2 delegation decisions
|
|
146
|
-
├── AGENT-RULES.md # Agent behavior guidelines
|
|
147
|
-
├── BOOTSTRAP.md # Main entry point, paths, routing
|
|
148
|
-
├── ERROR-RECOVERY.md # Error handling protocols
|
|
149
|
-
├── EXECUTION-PROTOCOL.md # Phase execution, output format
|
|
150
|
-
├── ORCHESTRATION-LAWS.md # 10 inviolable laws
|
|
151
|
-
├── QUICK-REFERENCE.md # Lookup tables
|
|
152
|
-
└── SKILL.md # Matrix resolution algorithm
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
**Authority Levels**:
|
|
156
|
-
- **CRITICAL**: ORCHESTRATION-LAWS, EXECUTION-PROTOCOL, ADAPTIVE-EXECUTION
|
|
157
|
-
- **Entry**: BOOTSTRAP
|
|
158
|
-
- **Reference**: AGENT-RULES, SKILL-DISCOVERY, ERROR-RECOVERY, QUICK-REFERENCE
|
|
159
|
-
|
|
160
|
-
### 2.4 `matrix-skills/` — Skill Discovery Matrix
|
|
161
|
-
|
|
162
|
-
Contains 19 YAML domain files that define skill-to-agent mappings (plus _index.yaml).
|
|
163
|
-
|
|
164
|
-
```
|
|
165
|
-
matrix-skills/
|
|
166
|
-
├── _index.yaml # Central registry (1400 skills, 21 agents)
|
|
167
|
-
├── ai-ml.yaml # 40 AI/ML skills (+27: agent development, LLM patterns, RAG, voice AI)
|
|
168
|
-
├── architecture.yaml # 9 architecture skills
|
|
169
|
-
├── backend.yaml # 32 backend skills (+12: job queues, payments, communications)
|
|
170
|
-
├── cloud.yaml # 11 cloud skills
|
|
171
|
-
├── data.yaml # 7 database skills
|
|
172
|
-
├── design.yaml # 10 design skills
|
|
173
|
-
├── devops.yaml # 22 DevOps skills (+7: cloud functions, git workflows, automation)
|
|
174
|
-
├── frontend.yaml # 22 frontend skills (+4: UI patterns, auth integration)
|
|
175
|
-
├── gaming.yaml # 3 gaming skills
|
|
176
|
-
├── languages.yaml # 17 language skills
|
|
177
|
-
├── management.yaml # 4 management skills
|
|
178
|
-
├── mcp.yaml # 8 MCP skills
|
|
179
|
-
├── mobile.yaml # 8 mobile skills
|
|
180
|
-
├── performance.yaml # 1 performance skill
|
|
181
|
-
├── planning.yaml # 12 planning skills (+3: file-based planning, execution)
|
|
182
|
-
├── quality.yaml # 21 QA skills (+4: TDD, test fixing, verification)
|
|
183
|
-
├── research.yaml # 11 research skills
|
|
184
|
-
├── security.yaml # 35 security skills (+29: penetration testing, vulnerability assessment)
|
|
185
|
-
└── tools.yaml # 41 utility skills (+10: bots, email, content creation)
|
|
186
|
-
```
|
|
187
|
-
|
|
188
|
-
**File Purposes**:
|
|
189
|
-
- `_index.yaml`: Domain registry, agent profiles, resolution rules
|
|
190
|
-
- Domain files: Skill entries with priority scores and mappings
|
|
191
|
-
|
|
192
|
-
### 2.5 `skills/` — Domain Skill Definitions
|
|
193
|
-
|
|
194
|
-
Contains 1400+ skill folders with SKILL.md definitions.
|
|
195
|
-
|
|
196
|
-
```
|
|
197
|
-
skills/
|
|
198
|
-
├── api-patterns/ # API design patterns
|
|
199
|
-
│ └── SKILL.md
|
|
200
|
-
├── backend-development/ # Backend fundamentals
|
|
201
|
-
│ ├── SKILL.md
|
|
202
|
-
│ └── references/
|
|
203
|
-
├── clean-code/ # Clean code principles
|
|
204
|
-
│ └── SKILL.md
|
|
205
|
-
├── debugging/ # Debugging techniques
|
|
206
|
-
│ └── SKILL.md
|
|
207
|
-
├── react-patterns/ # React best practices
|
|
208
|
-
│ └── SKILL.md
|
|
209
|
-
├── security-best-practices/ # Security guidelines
|
|
210
|
-
│ └── SKILL.md
|
|
211
|
-
├── testing-patterns/ # Testing strategies
|
|
212
|
-
│ └── SKILL.md
|
|
213
|
-
├── typescript-expert/ # TypeScript expertise
|
|
214
|
-
│ └── SKILL.md
|
|
215
|
-
└── [200+ more skill folders]
|
|
216
|
-
```
|
|
217
|
-
|
|
218
|
-
**Skill Folder Structure**:
|
|
219
|
-
```
|
|
220
|
-
{skill-id}/
|
|
221
|
-
├── SKILL.md # Main skill definition (required)
|
|
222
|
-
├── references/ # Reference materials (optional)
|
|
223
|
-
│ └── *.md
|
|
224
|
-
├── scripts/ # Executable scripts (optional)
|
|
225
|
-
│ └── *.py, *.js
|
|
226
|
-
└── assets/ # Templates, assets (optional)
|
|
227
|
-
```
|
|
228
|
-
|
|
229
|
-
### 2.6 `cli/` — CLI Installer System
|
|
230
|
-
|
|
231
|
-
Contains the Node.js CLI for installing the framework.
|
|
232
|
-
|
|
233
|
-
```
|
|
234
|
-
cli/
|
|
235
|
-
├── install.js # Main installer (1076 lines)
|
|
236
|
-
├── install.test.js.example # Test file template
|
|
237
|
-
└── README.md # CLI documentation
|
|
238
|
-
```
|
|
239
|
-
|
|
240
|
-
**Key Functions in `install.js`**:
|
|
241
|
-
- `main()` — Entry point, argument parsing
|
|
242
|
-
- `installTool()` — Install framework for specific tool
|
|
243
|
-
- `uninstallTool()` — Uninstall framework from tool
|
|
244
|
-
- `listInstallations()` — Show installation status
|
|
245
|
-
- `copyDirectory()` — Copy framework files
|
|
246
|
-
- `getToolPaths()` — Get target paths for each tool
|
|
247
|
-
|
|
248
|
-
### 2.7 `code-assistants/` — IDE-Specific Configurations
|
|
249
|
-
|
|
250
|
-
Contains configuration files for each supported AI tool.
|
|
251
|
-
|
|
252
|
-
```
|
|
253
|
-
code-assistants/
|
|
254
|
-
├── antigravity-assistant/ # Antigravity/Gemini integration
|
|
255
|
-
│ ├── AntigravityGlobal.agent.md
|
|
256
|
-
│ └── GEMINI.md
|
|
257
|
-
├── claude-assistant/ # Claude Code integration
|
|
258
|
-
│ └── CLAUDE.md
|
|
259
|
-
├── codex-assistant/ # OpenAI Codex integration
|
|
260
|
-
│ └── CODEX.md
|
|
261
|
-
├── copilot-assistant/ # GitHub Copilot integration
|
|
262
|
-
│ └── agent-assistant.agent.md
|
|
263
|
-
└── cursor-assistant/ # Cursor integration
|
|
264
|
-
├── .cursorrules
|
|
265
|
-
└── rules/
|
|
266
|
-
└── agent-assistant.mdc
|
|
267
|
-
```
|
|
268
|
-
|
|
269
|
-
**Tool Integration Methods**:
|
|
270
|
-
| Tool | Entry File | Method |
|
|
271
|
-
|------|------------|--------|
|
|
272
|
-
| Claude Code | `~/.claude/CLAUDE.md` | CLI → `~/.claude/` |
|
|
273
|
-
| Codex | `~/.codex/AGENTS.md` (primary), `~/.codex/CODEX.md` (compat) | CLI → `~/.codex/` |
|
|
274
|
-
| Cursor | agent-assistant.mdc | MDC rule file injection |
|
|
275
|
-
| Copilot | agent-assistant.agent.md | VS Code prompts |
|
|
276
|
-
| Antigravity | GEMINI.md | Global config |
|
|
277
|
-
|
|
278
|
-
### 2.8 `documents/` — Generated Documentation
|
|
279
|
-
|
|
280
|
-
Contains documentation generated by `/docs` commands.
|
|
281
|
-
|
|
282
|
-
```
|
|
283
|
-
documents/
|
|
284
|
-
├── knowledge-overview.md # Project introduction, goals
|
|
285
|
-
├── knowledge-architecture.md # System design, components
|
|
286
|
-
├── knowledge-domain.md # Data models, API contracts
|
|
287
|
-
├── knowledge-source-base.md # Directory structure (this file)
|
|
288
|
-
├── knowledge-standards.md # Code style, naming conventions
|
|
289
|
-
├── business/ # Business documentation
|
|
290
|
-
│ ├── business-prd.md # Product requirements
|
|
291
|
-
│ ├── business-features.md # Feature specifications
|
|
292
|
-
│ ├── business-workflows.md # User journeys
|
|
293
|
-
│ └── business-glossary.md # Term definitions
|
|
294
|
-
└── audit/ # Security/compliance docs
|
|
295
|
-
├── audit-security.md # Security assessment
|
|
296
|
-
├── audit-compliance.md # Compliance status
|
|
297
|
-
├── audit-dataflow.md # Data flow analysis
|
|
298
|
-
└── audit-recommendations.md # Security recommendations
|
|
299
|
-
```
|
|
300
|
-
|
|
301
|
-
### 2.9 `assets/` — Static Assets
|
|
302
|
-
|
|
303
|
-
Contains static assets like logos and images.
|
|
304
|
-
|
|
305
|
-
```
|
|
306
|
-
assets/
|
|
307
|
-
└── logo.svg # Project logo
|
|
308
|
-
```
|
|
309
|
-
|
|
310
|
-
---
|
|
311
|
-
|
|
312
|
-
## 3. Entry Points
|
|
313
|
-
|
|
314
|
-
### 3.1 Primary Entry Points
|
|
315
|
-
|
|
316
|
-
| Entry Point | Purpose | Used By |
|
|
317
|
-
|-------------|---------|---------|
|
|
318
|
-
| `CLAUDE.md` | Claude Code orchestration entry | Claude Code |
|
|
319
|
-
| `CURSOR.md` | Cursor orchestration entry | Cursor |
|
|
320
|
-
| `COPILOT.md` | Copilot orchestration entry | GitHub Copilot |
|
|
321
|
-
| `GEMINI.md` | Antigravity orchestration entry | Antigravity/Gemini |
|
|
322
|
-
| `cli/install.js` | CLI installer entry | npm/node |
|
|
323
|
-
| `rules/BOOTSTRAP.md` | Orchestration rules entry | All tools |
|
|
324
|
-
|
|
325
|
-
### 3.2 Entry Point Content
|
|
326
|
-
|
|
327
|
-
All tool entry points follow the same pattern:
|
|
328
|
-
|
|
329
|
-
```markdown
|
|
330
|
-
# ⚡ AGENT ASSISTANT v2.0
|
|
331
|
-
|
|
332
|
-
> **LOAD**: `{TOOL}/.cursor/skills/agent-assistant/rules/BOOTSTRAP.md`
|
|
333
|
-
> **This file is the ENTRY POINT. BOOTSTRAP.md contains all orchestration rules.**
|
|
334
|
-
|
|
335
|
-
## 🆔 IDENTITY
|
|
336
|
-
[Orchestrator identity definition]
|
|
337
|
-
|
|
338
|
-
## 📂 PATHS
|
|
339
|
-
[Path definitions for tool]
|
|
340
|
-
|
|
341
|
-
## 🌐 LANGUAGE
|
|
342
|
-
[Language matching rules]
|
|
343
|
-
|
|
344
|
-
## 🎯 COMMAND ROUTING
|
|
345
|
-
[Command to workflow mapping]
|
|
346
|
-
|
|
347
|
-
## 🔀 TIERED EXECUTION
|
|
348
|
-
[Tier 1/2 delegation rules]
|
|
349
|
-
|
|
350
|
-
## ⛔ PROHIBITIONS
|
|
351
|
-
[What orchestrator must NOT do]
|
|
352
|
-
|
|
353
|
-
## ✅ SELF-CHECK
|
|
354
|
-
[Verification checklist]
|
|
355
|
-
```
|
|
356
|
-
|
|
357
|
-
---
|
|
358
|
-
|
|
359
|
-
## 4. Key Modules
|
|
360
|
-
|
|
361
|
-
### 4.1 CLI Installer (`cli/install.js`)
|
|
362
|
-
|
|
363
|
-
**Purpose**: Install/uninstall framework for supported AI tools.
|
|
364
|
-
|
|
365
|
-
**Key Components**:
|
|
366
|
-
|
|
367
|
-
```javascript
|
|
368
|
-
// Tool configuration
|
|
369
|
-
const TOOLS = {
|
|
370
|
-
cursor: { ... },
|
|
371
|
-
copilot: { ... },
|
|
372
|
-
antigravity: { ... },
|
|
373
|
-
claude: { ... }
|
|
374
|
-
};
|
|
375
|
-
|
|
376
|
-
// Core directories to copy
|
|
377
|
-
const CORE_DIRS = ['agents', 'commands', 'rules', 'skills', 'matrix-skills'];
|
|
378
|
-
|
|
379
|
-
// Main functions
|
|
380
|
-
async function main() { ... } // Entry point
|
|
381
|
-
async function installTool(tool) { ... } // Install for tool
|
|
382
|
-
async function uninstallTool(tool) { ... } // Uninstall from tool
|
|
383
|
-
async function listInstallations() { ... } // Show status
|
|
384
|
-
```
|
|
385
|
-
|
|
386
|
-
**Usage**:
|
|
387
|
-
```bash
|
|
388
|
-
node cli/install.js install cursor
|
|
389
|
-
node cli/install.js uninstall copilot
|
|
390
|
-
node cli/install.js list
|
|
391
|
-
```
|
|
392
|
-
|
|
393
|
-
### 4.2 Matrix Skill Discovery (HSOL: `matrix-skills/_index.yaml` + `_dynamic.yaml`)
|
|
394
|
-
|
|
395
|
-
**Purpose**: Central registry for skill resolution and HSOL (Hybrid Skill Orchestration Layer). Combines static matrix domains with dynamic skills; discovery runs only for `hard`/`focus` variants when matrix fitness < 0.8 (blocking when < 0.75). See `rules/SKILL.md`.
|
|
396
|
-
|
|
397
|
-
**Key Sections**:
|
|
398
|
-
|
|
399
|
-
```yaml
|
|
400
|
-
version: "1.1"
|
|
401
|
-
total_matrix_skills: 1400
|
|
402
|
-
|
|
403
|
-
hsol: # HSOL config (discovery, thresholds 0.75/0.8, apply_for_variants: [hard, focus])
|
|
404
|
-
enabled: true
|
|
405
|
-
dynamic_manifest: "_dynamic.yaml"
|
|
406
|
-
discovery: { apply_for_variants: [hard, focus], ... }
|
|
407
|
-
thresholds: { matrix_sufficient: 0.8, matrix_adequate: 0.75, ... }
|
|
408
|
-
|
|
409
|
-
domains: # 19 domain registrations
|
|
410
|
-
backend: { file: "backend.yaml", ... }
|
|
411
|
-
# ...
|
|
412
|
-
|
|
413
|
-
agent_profiles: # 21 agent-to-domain mappings
|
|
414
|
-
backend-engineer:
|
|
415
|
-
profile: "backend:execution"
|
|
416
|
-
inherit_from: [backend, architecture, quality, data, languages]
|
|
417
|
-
primary_domain: "backend"
|
|
418
|
-
# ...
|
|
419
|
-
|
|
420
|
-
resolution: # Resolution rules
|
|
421
|
-
precedence: [direct_agent_match, profile_match, domain_inheritance]
|
|
422
|
-
thresholds: { minimum_priority: 5, core_priority: 7, critical_priority: 9 }
|
|
423
|
-
```
|
|
424
|
-
|
|
425
|
-
### 4.3 Agent Template (`AGENT-TEMPLATE.md`)
|
|
426
|
-
|
|
427
|
-
**Purpose**: Template for creating new agents.
|
|
428
|
-
|
|
429
|
-
**Key Sections**:
|
|
430
|
-
|
|
431
|
-
```markdown
|
|
432
|
-
---
|
|
433
|
-
name: {agent-name}
|
|
434
|
-
profile: "{domain}:{category}"
|
|
435
|
-
tools: [Read, Grep, Glob, ...]
|
|
436
|
-
handoffs: [agent1, agent2, ...]
|
|
437
|
-
---
|
|
438
|
-
|
|
439
|
-
## 📋 Identity
|
|
440
|
-
## 🎯 Core Directive
|
|
441
|
-
## ⚡ Skills (Matrix Discovery)
|
|
442
|
-
## 🧠 Thinking Protocol
|
|
443
|
-
## ⛔ Constraints
|
|
444
|
-
## 📤 Output Format
|
|
445
|
-
```
|
|
446
|
-
|
|
447
|
-
---
|
|
448
|
-
|
|
449
|
-
## 5. File Naming Conventions
|
|
450
|
-
|
|
451
|
-
### 5.1 General Patterns
|
|
452
|
-
|
|
453
|
-
| Type | Pattern | Examples |
|
|
454
|
-
|------|---------|----------|
|
|
455
|
-
| Agents | `{kebab-case}.md` | `backend-engineer.md`, `tech-lead.md` |
|
|
456
|
-
| Commands | `{command}.md` | `cook.md`, `fix.md`, `deploy.md` |
|
|
457
|
-
| Command Variants | `{command}/{variant}.md` | `cook/fast.md`, `docs/core.md` |
|
|
458
|
-
| Skills | `{kebab-case}/SKILL.md` | `api-patterns/SKILL.md` |
|
|
459
|
-
| Rules | `{UPPER-CASE}.md` | `BOOTSTRAP.md`, `EXECUTION-PROTOCOL.md` |
|
|
460
|
-
| Matrix Domains | `{lowercase}.yaml` | `backend.yaml`, `frontend.yaml` |
|
|
461
|
-
| Entry Points | `{TOOL}.md` | `CLAUDE.md`, `CURSOR.md` |
|
|
462
|
-
|
|
463
|
-
### 5.2 Special Files
|
|
464
|
-
|
|
465
|
-
| File | Purpose |
|
|
466
|
-
|------|---------|
|
|
467
|
-
| `_index.yaml` | Central matrix registry + HSOL config |
|
|
468
|
-
| `_dynamic.yaml` | Dynamic skill manifest (updated when agents run `npx skills add ... -g -y`) |
|
|
469
|
-
| `AGENT-TEMPLATE.md` | Agent creation template |
|
|
470
|
-
| `README.md` | Public documentation |
|
|
471
|
-
| `LICENSE` | MIT license file |
|
|
472
|
-
| `package.json` | npm package configuration |
|
|
473
|
-
| `.releaserc.json` | Semantic release configuration |
|
|
474
|
-
| `.gitignore` | Git ignore patterns |
|
|
475
|
-
|
|
476
|
-
---
|
|
477
|
-
|
|
478
|
-
## 6. Configuration Files
|
|
479
|
-
|
|
480
|
-
### 6.1 `package.json`
|
|
481
|
-
|
|
482
|
-
```json
|
|
483
|
-
{
|
|
484
|
-
"name": "agent-assistant",
|
|
485
|
-
"version": "1.1.0",
|
|
486
|
-
"description": "Multi-agent orchestration framework for AI coding assistants (with HSOL)",
|
|
487
|
-
"main": "cli/install.js",
|
|
488
|
-
"bin": {
|
|
489
|
-
"agent-assistant": "./cli/install.js"
|
|
490
|
-
},
|
|
491
|
-
"scripts": {
|
|
492
|
-
"install:cursor": "node cli/install.js install cursor",
|
|
493
|
-
"install:all": "node cli/install.js install --all",
|
|
494
|
-
"uninstall:all": "node cli/install.js uninstall --all",
|
|
495
|
-
"list": "node cli/install.js list",
|
|
496
|
-
"semantic-release": "semantic-release"
|
|
497
|
-
},
|
|
498
|
-
"engines": {
|
|
499
|
-
"node": ">=18.0.0"
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
```
|
|
503
|
-
|
|
504
|
-
### 6.2 `.releaserc.json`
|
|
505
|
-
|
|
506
|
-
Semantic release configuration for automated versioning and publishing.
|
|
507
|
-
|
|
508
|
-
### 6.3 `.gitignore`
|
|
509
|
-
|
|
510
|
-
```
|
|
511
|
-
node_modules/
|
|
512
|
-
.DS_Store
|
|
513
|
-
*.log
|
|
514
|
-
reports/
|
|
515
|
-
.env
|
|
516
|
-
```
|
|
517
|
-
|
|
518
|
-
---
|
|
519
|
-
|
|
520
|
-
## 7. Path References
|
|
521
|
-
|
|
522
|
-
### 7.1 Path Placeholders
|
|
523
|
-
|
|
524
|
-
Paths use placeholders that are resolved at runtime:
|
|
525
|
-
|
|
526
|
-
| Placeholder | Resolution |
|
|
527
|
-
|-------------|------------|
|
|
528
|
-
| `{TOOL}` | User home directory (`~`) |
|
|
529
|
-
| `{TOOL}` | AI tool name (`cursor`, `copilot`, etc.) |
|
|
530
|
-
|
|
531
|
-
### 7.2 Standard Paths
|
|
532
|
-
|
|
533
|
-
```
|
|
534
|
-
COMMANDS = {TOOL}/.{TOOL}/skills/agent-assistant/commands/
|
|
535
|
-
AGENTS = {TOOL}/.{TOOL}/skills/agent-assistant/agents/
|
|
536
|
-
SKILLS = {TOOL}/.{TOOL}/skills/
|
|
537
|
-
RULES = {TOOL}/.{TOOL}/skills/agent-assistant/rules/
|
|
538
|
-
REPORTS = ./reports/{topic}/
|
|
539
|
-
```
|
|
540
|
-
|
|
541
|
-
### 7.3 Tool-Specific Installation Paths
|
|
542
|
-
|
|
543
|
-
| Tool | Base Path | Notes |
|
|
544
|
-
|------|-----------|-------|
|
|
545
|
-
| Cursor | `~/.cursor/` | MDC rules in `~/.cursor/rules/` |
|
|
546
|
-
| Copilot | `~/.copilot/` | VS Code prompts in prompts folder |
|
|
547
|
-
| Antigravity | `~/.gemini/antigravity/` | Global config in `~/.gemini/` |
|
|
548
|
-
| Claude | `~/.claude/` | Global config with CLAUDE.md |
|
|
549
|
-
|
|
550
|
-
---
|
|
551
|
-
|
|
552
|
-
## 8. File Statistics
|
|
553
|
-
|
|
554
|
-
| Category | Count | Description |
|
|
555
|
-
|----------|-------|-------------|
|
|
556
|
-
| Agent Files | 21 | Specialist agent definitions |
|
|
557
|
-
| Command Files | 50+ | Workflow definitions (routers + variants: fast, hard, focus) |
|
|
558
|
-
| Rule Files | 8 | Orchestration protocols |
|
|
559
|
-
| Matrix Files | 20 | Skill discovery config |
|
|
560
|
-
| Skill Folders | 1400+ | Domain skill definitions |
|
|
561
|
-
| Entry Points | 4 | Tool-specific entry files |
|
|
562
|
-
| Config Files | 5 | package.json, etc. |
|
|
563
|
-
|
|
564
|
-
**Total Files**: ~2,000+ (including skills subfolder contents)
|
|
565
|
-
|
|
566
|
-
---
|
|
567
|
-
|
|
568
|
-
## 9. Related Documentation
|
|
569
|
-
|
|
570
|
-
| Document | Purpose |
|
|
571
|
-
|----------|---------|
|
|
572
|
-
| `knowledge-overview.md` | Project introduction, goals, tech stack |
|
|
573
|
-
| `knowledge-architecture.md` | System design, components, data flow |
|
|
574
|
-
| `knowledge-domain.md` | Data models, API contracts, entities |
|
|
575
|
-
| `knowledge-standards.md` | Code style, naming conventions |
|
|
576
|
-
| `cli/README.md` | CLI documentation |
|
|
577
|
-
| `README.md` | Public-facing documentation |
|
|
578
|
-
|
|
579
|
-
---
|
|
580
|
-
|
|
581
|
-
**Agent Assistant Source Base** — _Organized, Discoverable, Well-Structured_
|