@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.
Files changed (90) hide show
  1. package/CHANGELOG.md +11 -1
  2. package/agents/backend-engineer.md +3 -3
  3. package/agents/brainstormer.md +3 -3
  4. package/agents/business-analyst.md +3 -3
  5. package/agents/database-architect.md +3 -3
  6. package/agents/debugger.md +2 -2
  7. package/agents/designer.md +2 -2
  8. package/agents/devops-engineer.md +2 -2
  9. package/agents/docs-manager.md +23 -15
  10. package/agents/frontend-engineer.md +3 -3
  11. package/agents/game-engineer.md +3 -3
  12. package/agents/mobile-engineer.md +4 -4
  13. package/agents/performance-engineer.md +3 -3
  14. package/agents/planner.md +4 -4
  15. package/agents/project-manager.md +3 -3
  16. package/agents/researcher.md +3 -3
  17. package/agents/reviewer.md +3 -3
  18. package/agents/scouter.md +3 -3
  19. package/agents/security-engineer.md +3 -3
  20. package/agents/tech-lead.md +3 -3
  21. package/agents/tester.md +2 -2
  22. package/commands/docs/audit.md +554 -78
  23. package/commands/docs/business.md +392 -76
  24. package/commands/docs/core.md +573 -74
  25. package/commands/docs.md +62 -61
  26. package/documents/business/business-features/00-index.md +101 -0
  27. package/documents/business/business-features/01-feature-inventory.md +341 -0
  28. package/documents/business/business-features/02-prioritization-moscow.md +148 -0
  29. package/documents/business/business-features/03-feature-specifications.md +512 -0
  30. package/documents/business/business-features/04-dependencies-and-release-sequencing.md +313 -0
  31. package/documents/business/business-features/05-success-metrics.md +290 -0
  32. package/documents/business/business-glossary/00-index.md +89 -0
  33. package/documents/business/business-glossary/01-canonical-terms.md +428 -0
  34. package/documents/business/business-glossary/02-synonyms-and-deprecated-terms.md +180 -0
  35. package/documents/business/business-glossary/03-domain-entities-and-events.md +395 -0
  36. package/documents/business/business-glossary/04-api-term-mapping.md +173 -0
  37. package/documents/business/business-prd/00-index.md +107 -0
  38. package/documents/business/business-prd/01-executive-summary.md +131 -0
  39. package/documents/business/business-prd/02-problem-goals-and-scope.md +204 -0
  40. package/documents/business/business-prd/03-stakeholders-and-requirements.md +210 -0
  41. package/documents/business/business-prd/04-acceptance-risks-assumptions.md +246 -0
  42. package/documents/business/business-workflows/00-index.md +107 -0
  43. package/documents/business/business-workflows/01-actor-map.md +303 -0
  44. package/documents/business/business-workflows/02-workflow-catalog.md +252 -0
  45. package/documents/business/business-workflows/03-detailed-workflows.md +641 -0
  46. package/documents/business/business-workflows/04-decision-rules-and-exceptions.md +216 -0
  47. package/documents/business/business-workflows/05-sla-and-handoffs.md +253 -0
  48. package/documents/knowledge-architecture/00-index.md +159 -0
  49. package/documents/knowledge-architecture/01-system-overview.md +240 -0
  50. package/documents/knowledge-architecture/02-components.md +419 -0
  51. package/documents/knowledge-architecture/03-data-flow.md +369 -0
  52. package/documents/knowledge-architecture/04-design-patterns.md +498 -0
  53. package/documents/knowledge-architecture/05-decisions.md +410 -0
  54. package/documents/knowledge-domain/00-index.md +251 -0
  55. package/documents/knowledge-domain/01-entities.md +583 -0
  56. package/documents/knowledge-domain/02-database-schema.md +138 -0
  57. package/documents/knowledge-domain/03-api-contracts.md +479 -0
  58. package/documents/knowledge-domain/04-business-rules.md +555 -0
  59. package/documents/knowledge-overview/00-index.md +107 -0
  60. package/documents/knowledge-overview/01-project-identity.md +162 -0
  61. package/documents/knowledge-overview/02-tech-stack.md +119 -0
  62. package/documents/knowledge-overview/03-features.md +233 -0
  63. package/documents/knowledge-overview/04-getting-started.md +394 -0
  64. package/documents/knowledge-source-base/00-index.md +107 -0
  65. package/documents/knowledge-source-base/01-directory-structure.md +312 -0
  66. package/documents/knowledge-source-base/02-entry-points.md +346 -0
  67. package/documents/knowledge-source-base/03-key-modules.md +582 -0
  68. package/documents/knowledge-source-base/04-configuration.md +467 -0
  69. package/documents/knowledge-standards/00-index.md +129 -0
  70. package/documents/knowledge-standards/01-code-style.md +161 -0
  71. package/documents/knowledge-standards/02-conventions.md +255 -0
  72. package/documents/knowledge-standards/03-git-workflow.md +228 -0
  73. package/documents/knowledge-standards/04-testing-standards.md +175 -0
  74. package/package.json +1 -1
  75. package/rules/REFERENCE.md +10 -6
  76. package/skills/docs-audit/README.md +10 -8
  77. package/skills/docs-audit/SKILL.md +45 -41
  78. package/skills/docs-audit/references/scoring-framework.md +5 -5
  79. package/skills/docs-core/README.md +19 -14
  80. package/skills/docs-core/SKILL.md +189 -117
  81. package/skills/planning/references/codebase-understanding.md +5 -5
  82. package/documents/business/business-features.md +0 -894
  83. package/documents/business/business-glossary.md +0 -554
  84. package/documents/business/business-prd.md +0 -400
  85. package/documents/business/business-workflows.md +0 -713
  86. package/documents/knowledge-architecture.md +0 -621
  87. package/documents/knowledge-domain.md +0 -602
  88. package/documents/knowledge-overview.md +0 -316
  89. package/documents/knowledge-source-base.md +0 -581
  90. package/documents/knowledge-standards.md +0 -632
@@ -1,316 +0,0 @@
1
- # Agent Assistant — Knowledge Overview
2
-
3
- > **Purpose**: Project introduction, goals, technology stack, and getting started guide for AI agents and developers.
4
-
5
- ---
6
-
7
- ## 1. Project Identity
8
-
9
- | Property | Value |
10
- | -------------- | -------------------------------------------------- |
11
- | **Name** | Agent Assistant |
12
- | **Version** | 1.1.0 |
13
- | **Type** | Multi-agent orchestration framework |
14
- | **Author** | NamCH |
15
- | **License** | MIT |
16
- | **Repository** | https://github.com/hainamchung/agent-assistant.git |
17
-
18
- ---
19
-
20
- ## 2. Purpose and Mission
21
-
22
- Agent Assistant transforms a single AI coding assistant into a **coordinated team of 21 specialist agents** with structured workflows, quality gates, and 1400+ domain skills.
23
-
24
- ### Core Value Proposition
25
-
26
- ```
27
- Without Agent Assistant:
28
- User → Single AI → Generic response → Manual verification
29
-
30
- With Agent Assistant:
31
- User → Command → Orchestrator → Specialist Agents → Skills → Quality Gates → Verified Output
32
- ```
33
-
34
- ### Key Benefits
35
-
36
- | Benefit | Description |
37
- | ------------------ | ----------------------------------------------------- |
38
- | **Specialization** | 21 domain expert agents instead of one generalist |
39
- | **Consistency** | Shared rules, skills, and conventions across all work |
40
- | **Quality** | Built-in test, review, and security workflows |
41
- | **Efficiency** | 85% token cost reduction through targeted expertise |
42
- | **Repeatability** | Structured, predictable AI-assisted coding |
43
-
44
- ---
45
-
46
- ## 3. Key Metrics
47
-
48
- | Metric | Count | Description |
49
- | ----------------- | ----- | ---------------------------------------------------------- |
50
- | Specialist Agents | 21 | Domain experts (backend, frontend, security, tester, reporter, etc.) |
51
- | Command Workflows | 50+ | Development workflows (/cook, /fix, /plan, /report, /deploy, etc.; variants: fast, hard, focus) |
52
- | Domain Skills | 1400 | On-demand knowledge (React, APIs, databases, DevOps, AI/ML, Security, etc.) |
53
- | Matrix Domains | 19 | Skill categories (backend, frontend, security, ai-ml, etc.) |
54
- | Quality Gates | 5 | Compile, lint, test, security, review |
55
- | Rule Files | 8 | Orchestration protocols |
56
- | Supported Tools | 5 | Claude Code, Cursor, Copilot, Codex, Antigravity/Gemini |
57
-
58
- ### Measured Results
59
-
60
- | Metric | Improvement |
61
- | ------------------ | ----------------- |
62
- | Time-to-Production | **70% faster** |
63
- | Bug Rate | **70% reduction** |
64
- | Security Issues | **70% reduction** |
65
- | Token Cost | **85% savings** |
66
-
67
- ---
68
-
69
- ## 4. Technology Stack
70
-
71
- ### Core Runtime
72
-
73
- | Technology | Version | Purpose |
74
- | ---------- | ------- | ------------------------------------- |
75
- | Node.js | 18+ | CLI runtime |
76
- | JavaScript | ES2020+ | CLI implementation |
77
- | Markdown | — | Agent, command, and skill definitions |
78
- | YAML | — | Matrix skill discovery configuration |
79
-
80
- ### Development Dependencies
81
-
82
- | Package | Version | Purpose |
83
- | ------------------------ | -------- | --------------------------------------- |
84
- | semantic-release | ^22.0.12 | Automated versioning and npm publishing |
85
- | husky | ^8.0.3 | Git hooks for pre-commit checks |
86
- | conventional-changelog | ^7.0.2 | Commit message format enforcement |
87
- | @semantic-release/git | ^10.0.1 | Git integration for releases |
88
- | @semantic-release/github | ^9.2.6 | GitHub releases |
89
- | @semantic-release/npm | ^11.0.2 | npm publishing |
90
-
91
- ### Supported AI Tools
92
-
93
- | Tool | Integration Method | Status |
94
- | ------------------ | --------------------- | --------------- |
95
- | Claude Code | CLI → `~/.claude/` | ✅ Full Support |
96
- | Cursor | CLI → `~/.cursor/` | ✅ Full Support |
97
- | GitHub Copilot | CLI → VS Code prompts | ✅ Full Support |
98
- | Antigravity/Gemini | CLI → `~/.gemini/` | ✅ Full Support |
99
-
100
- ---
101
-
102
- ## 5. Core Concepts
103
-
104
- ### 5.1 Orchestrator Pattern
105
-
106
- The orchestrator is the central brain that coordinates all work:
107
-
108
- ```
109
- ╔═══════════════════════════════════════════════════════════════════════════════╗
110
- ║ ORCHESTRATOR — THE CENTRAL BRAIN ║
111
- ║ ║
112
- ║ ✅ YOU DO: Delegate, coordinate, verify, synthesize ║
113
- ║ ❌ YOU NEVER: Write code, debug, test, design, or implement directly ║
114
- ╚═══════════════════════════════════════════════════════════════════════════════╝
115
- ```
116
-
117
- ### 5.2 Tiered Execution
118
-
119
- | Tier | Name | When Used | Context |
120
- | ------ | -------------------- | ------------------- | ----------------------- |
121
- | TIER 1 | Sub-agent Delegation | When tool available | ISOLATED (fresh memory) |
122
- | TIER 2 | Agent Embodiment | Fallback only | SHARED (same memory) |
123
-
124
- **Rule**: TIER 1 is MANDATORY when available. TIER 2 is FALLBACK only.
125
-
126
- ### 5.3 Matrix Skill Discovery
127
-
128
- Instead of hardcoding skills in agents, the system uses profile-based skill injection:
129
-
130
- ```yaml
131
- # Agent declares profile (not skill list)
132
- profile: "backend:execution"
133
-
134
- # System resolves skills from Matrix
135
- Agent declares profile → Matrix resolves domains → Skills injected at runtime
136
- ```
137
-
138
- ### 5.4 Command Routing
139
-
140
- Commands follow a router pattern with variants:
141
-
142
- ```
143
- /command:variant → commands/{command}/{variant}.md
144
-
145
- Examples:
146
- /cook:fast → commands/cook/fast.md (quick execution)
147
- /cook:hard → commands/cook/hard.md (full workflow)
148
- ```
149
-
150
- ### 5.5 Phase-Based Workflows
151
-
152
- All workflows execute as sequential phases:
153
-
154
- ```
155
- Pre-flight → Phase 1 → Phase 2 → ... → Phase N → Completion
156
- ↓ ↓ ↓ ↓ ↓
157
- Load rules Delegate Delegate Delegate Summary
158
- + Verify + Verify + Verify
159
- ```
160
-
161
- ---
162
-
163
- ## 6. Getting Started
164
-
165
- ### Prerequisites
166
-
167
- - **Node.js 18+** installed
168
- - At least one supported AI tool (Claude Code, Cursor, Copilot, Codex, or Antigravity)
169
-
170
- ### Installation Options
171
-
172
- #### Clone and Install
173
-
174
- ```bash
175
- git clone https://github.com/hainamchung/agent-assistant.git
176
- cd agent-assistant
177
- node cli/install.js install --all
178
- ```
179
-
180
- ### First Commands
181
-
182
- After installation, generate project documentation:
183
-
184
- ```bash
185
- /docs:core # Generate 5 core docs (overview, architecture, domain, source-base, standards)
186
- /docs:business # Generate 4 business docs (PRD, features, workflows, glossary)
187
- ```
188
-
189
- Then try development commands:
190
-
191
- ```bash
192
- /cook:fast "add dark mode toggle" # Simple feature
193
- /cook:hard "implement OAuth 2.0 authentication" # Complex feature
194
- /review "audit authentication module" # Code review
195
- /plan "build notification system" # Implementation plan
196
- /debug "payment fails on Safari" # Debug issue
197
- ```
198
-
199
- ---
200
-
201
- ## 7. Key Features
202
-
203
- ### 7.1 21 Specialist Agents
204
-
205
- | Category | Agents |
206
- | ------------------ | ------------------------------------------------------------------- |
207
- | **Implementation** | backend-engineer, frontend-engineer, mobile-engineer, game-engineer |
208
- | **Architecture** | tech-lead, database-architect |
209
- | **Quality** | tester, reviewer, debugger |
210
- | **Security** | security-engineer |
211
- | **Infrastructure** | devops-engineer, performance-engineer |
212
- | **Planning** | planner, brainstormer, business-analyst |
213
- | **Documentation** | docs-manager, researcher, scouter |
214
- | **Design** | designer |
215
- | **Management** | project-manager |
216
-
217
- ### 7.2 50+ Command Workflows
218
-
219
- | Category | Commands |
220
- | ----------------- | ---------------------------------------------------------------------------- |
221
- | **Development** | `/cook`, `/code`, `/fix` |
222
- | **Quality** | `/test`, `/review`, `/debug` |
223
- | **Planning** | `/plan`, `/brainstorm`, `/design` |
224
- | **Documentation** | `/docs:core`, `/docs:business`, `/docs:audit` |
225
- | **Report** | `/report:fast`, `/report:hard`, `/report:focus` |
226
- | **Deployment** | `/deploy:check`, `/deploy:preview`, `/deploy:production`, `/deploy:rollback` |
227
- | **Utility** | `/ask`, `/auto` |
228
-
229
- ### 7.3 1400 Domain Skills
230
-
231
- Skills are organized across 19 domains:
232
-
233
- | Domain | Skills | Examples |
234
- | -------------- | ------ | --------------------------------------------------- |
235
- | Backend | 32 | api-patterns, nestjs-expert, fastapi-expert, stripe-integration, inngest, trigger-dev |
236
- | Frontend | 22 | react-patterns, nextjs-developer, tailwind-patterns, react-ui-patterns, javascript-mastery |
237
- | AI/ML | 40 | ai-agents-architect, crewai, langgraph, rag-engineer, prompt-engineering, voice-agents |
238
- | Security | 35 | vulnerability-scanner, penetration testing, metasploit, burp-suite, sql-injection-testing |
239
- | Quality | 21 | debugging, testing-patterns, code-review, test-driven-development, verification-before-completion |
240
- | DevOps | 22 | docker-expert, kubernetes, terraform, github-workflow-automation, azure-functions, gcp-cloud-run |
241
- | Planning | 12 | plan-writing, planning, executing-plans, kaizen |
242
- | Tools | 41 | slack-bot-builder, discord-bot-architect, email-systems, copywriting |
243
- | And 11 more... | 85 | — |
244
-
245
- ### 7.4 Quality Gates
246
-
247
- Every full workflow (`:hard` variant) includes:
248
-
249
- 1. **Compile Gate** — Build verification
250
- 2. **Lint Gate** — Code style validation
251
- 3. **Test Gate** — Automated testing
252
- 4. **Security Gate** — Vulnerability scanning
253
- 5. **Review Gate** — Code review by reviewer agent
254
-
255
- ---
256
-
257
- ## 8. When to Use Agent Assistant
258
-
259
- ### ✅ Use Agent Assistant When
260
-
261
- - Building production-ready features
262
- - Need consistent, repeatable workflows
263
- - Want built-in quality checks
264
- - Working on complex multi-step tasks
265
- - Team needs shared conventions
266
-
267
- ### ❌ Don't Use Agent Assistant When
268
-
269
- - Quick one-off questions
270
- - Simple file edits
271
- - Learning/exploring (use direct AI)
272
- - Prototyping without quality concerns
273
-
274
- ---
275
-
276
- ## 9. Project Status
277
-
278
- | Aspect | Status |
279
- | ----------------------- | --------------- |
280
- | Core Framework | ✅ Stable |
281
- | CLI Installer | ✅ Stable |
282
- | Matrix Skill Discovery | ✅ Stable |
283
- | Claude Code Integration | ✅ Full Support |
284
- | Cursor Integration | ✅ Full Support |
285
- | Copilot Integration | ✅ Full Support |
286
- | Antigravity Integration | ✅ Full Support |
287
- | Documentation | ✅ Complete |
288
- | Test Coverage | ⚠️ Example only |
289
-
290
- ---
291
-
292
- ## 10. Related Documentation
293
-
294
- | Document | Purpose |
295
- | --------------------------- | ------------------------------------ |
296
- | `knowledge-architecture.md` | System design, components, data flow |
297
- | `knowledge-domain.md` | Data models, API contracts, entities |
298
- | `knowledge-source-base.md` | Directory structure, file purposes |
299
- | `knowledge-standards.md` | Code style, naming conventions |
300
- | `README.md` | Public-facing documentation |
301
- | `AGENT-TEMPLATE.md` | Agent file template |
302
-
303
- ---
304
-
305
- ## 11. Support and Resources
306
-
307
- | Resource | Location |
308
- | ----------------- | ----------------------------------------------------- |
309
- | GitHub Repository | https://github.com/hainamchung/agent-assistant.git |
310
- | Issue Tracker | https://github.com/hainamchung/agent-assistant/issues |
311
- | License | MIT |
312
- | Author | NamCH |
313
-
314
- ---
315
-
316
- **Agent Assistant** — _Orchestrate. Delegate. Verify. Deliver._