@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,713 +0,0 @@
1
- # Agent Assistant — Business Workflows
2
-
3
- > **Document Type**: User Journey and Workflow Documentation
4
- > **Version**: 1.0
5
- > **Status**: Complete
6
- > **Last Updated**: 2026-01-26
7
-
8
- ---
9
-
10
- ## 1. Workflow Overview
11
-
12
- Agent Assistant provides structured workflows for all phases of software development:
13
-
14
- | Category | Workflows | Description |
15
- | ------------- | --------- | ---------------------------------- |
16
- | Installation | 3 | Setup and configuration |
17
- | Development | 6 | Feature implementation, bug fixing |
18
- | Quality | 5 | Testing, review, debugging |
19
- | Documentation | 3 | Technical, business, audit docs |
20
- | Deployment | 4 | Staging, production, rollback |
21
- | Contribution | 3 | Adding agents, skills, commands |
22
-
23
- ---
24
-
25
- ## 2. Installation Workflows
26
-
27
- ### 2.1 WF-INSTALL-001: First-Time Installation
28
-
29
- **Trigger**: New user wants to use Agent Assistant
30
-
31
- **Prerequisites**:
32
-
33
- - Node.js 18+ installed
34
- - At least one supported AI tool (Claude Code, Cursor, Copilot, Codex, Antigravity/Gemini (experimental))
35
-
36
- **Workflow Diagram**:
37
-
38
- ```
39
- ┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
40
- │ Install Node │────▶│ npm install │────▶│ Install for │
41
- │ (if needed) │ │ -g agent-assist │ │ your tool │
42
- └─────────────────┘ └─────────────────┘ └─────────────────┘
43
-
44
-
45
- ┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
46
- │ Ready to │◀────│ Verify │◀────│ Choose tool: │
47
- │ use! │ │ installation │ │ cursor/copilot/ │
48
- └─────────────────┘ └─────────────────┘ │ codex/antigrav. │
49
- └─────────────────┘
50
- ```
51
-
52
- **Steps**:
53
-
54
- | Step | Action | Command | Expected Result |
55
- | ---- | ---------------- | ---------------------------------- | ------------------------- |
56
- | 1 | Install globally | `npm install -g agent-assistant` | Package installed |
57
- | 2 | Choose tool | N/A | Identify primary AI tool |
58
- | 3 | Install for tool | `agent-assistant install cursor` | Tool configured |
59
- | 4 | Verify | `agent-assistant list` | Shows installation status |
60
- | 5 | Test | Use `/cook:fast "test"` in AI tool | Workflow executes |
61
-
62
- **Success Criteria**:
63
-
64
- - [ ] CLI installed globally
65
- - [ ] Tool-specific configuration applied
66
- - [ ] First command executes successfully
67
-
68
- **Estimated Time**: 5 minutes
69
-
70
- ---
71
-
72
- ### 2.2 WF-INSTALL-002: Claude Code Setup
73
-
74
- **Trigger**: User wants to use Agent Assistant with Claude Code
75
-
76
- **Workflow Diagram**:
77
-
78
- ```
79
- ┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
80
- │ npm install │────▶│ agent-assistant│────▶│ Ready! │
81
- │ -g agent-assist │ │ install claude │ │ (installed to │
82
- │ │ │ │ │ ~/.claude/) │
83
- └─────────────────┘ └─────────────────┘ └─────────────────┘
84
- ```
85
-
86
- **Steps**:
87
-
88
- | Step | Action | Command | Expected Result |
89
- | ---- | ------------------- | ------------------------------------ | ----------------------- |
90
- | 1 | Install globally | `npm install -g agent-assistant` | Package installed |
91
- | 2 | Install for Claude | `agent-assistant install claude` | Installed to ~/.claude/ |
92
- | 3 | Verify | `agent-assistant list` | Shows Claude installed |
93
- | 4 | Test | Use `/cook:fast "test"` in Claude | Workflow executes |
94
-
95
- **Success Criteria**:
96
-
97
- - [ ] CLAUDE.md present in `~/.claude/`
98
- - [ ] Commands available in `~/.claude/commands/`
99
- - [ ] Skills available in `~/.claude/skills/`
100
-
101
- **Estimated Time**: 3 minutes
102
-
103
- ---
104
-
105
- ### 2.3 WF-INSTALL-003: Multi-Tool Installation
106
-
107
- **Trigger**: User wants Agent Assistant on multiple AI tools
108
-
109
- **Workflow Diagram**:
110
-
111
- ```
112
- ┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
113
- │ npm install │────▶│ agent-assistant│────▶│ Verify │
114
- │ -g agent-assist │ │ install --all │ │ all tools │
115
- └─────────────────┘ └─────────────────┘ └─────────────────┘
116
- ```
117
-
118
- **Command**: `agent-assistant install --all`
119
-
120
- **Installed Tools**:
121
-
122
- - Cursor → `~/.cursor/`
123
- - Copilot → `~/.copilot/`
124
- - Antigravity/Gemini (experimental) → `~/.gemini/`
125
-
126
- **Estimated Time**: 3 minutes
127
-
128
- ---
129
-
130
- ## 3. Development Workflows
131
-
132
- ### 3.1 WF-DEV-001: Feature Implementation (Hard Mode)
133
-
134
- **Trigger**: User needs to implement a complex feature
135
-
136
- **Command**: `/cook:hard "implement user authentication"`
137
-
138
- **Workflow Diagram**:
139
-
140
- ```
141
- ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐
142
- │ /cook:hard │──▶│ Brainstormer │──▶│ Researcher │──▶│ Scouter │
143
- │ "feature" │ │ (require- │ │ (patterns) │ │ (codebase) │
144
- └──────────────┘ │ ments) │ └──────────────┘ └──────────────┘
145
- └──────────────┘ │
146
-
147
- ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐
148
- │ Reviewer │◀──│ Tester │◀──│ Engineer │◀──│ Planner │
149
- │ (quality) │ │ (tests) │ │ (implement) │ │ (plan) │
150
- └──────────────┘ └──────────────┘ └──────────────┘ └──────────────┘
151
-
152
-
153
- ┌──────────────┐
154
- │ Complete │
155
- │ (all gates │
156
- │ passed) │
157
- └──────────────┘
158
- ```
159
-
160
- **Phase Details**:
161
-
162
- | Phase | Agent | Goal | Deliverable |
163
- | ----- | ------------------------ | -------------------------- | ----------------------- |
164
- | 1 | `brainstormer` | Discover requirements | Requirements list |
165
- | 2 | `researcher` | Research patterns | Pattern recommendations |
166
- | 3 | `scouter` | Analyze codebase | Codebase context |
167
- | 4 | `designer` | Design UI (if applicable) | Design specs |
168
- | 5 | `planner` | Create implementation plan | PLAN-{feature}.md |
169
- | 6 | `tech-lead` → `engineer` | Implement code | Working code |
170
- | 7 | `tester` | Generate tests | Test files |
171
- | 8 | `reviewer` | Review code | Approval |
172
-
173
- **Quality Gates**:
174
-
175
- - [ ] Compile: Build succeeds
176
- - [ ] Lint: No style errors
177
- - [ ] Test: All tests pass
178
- - [ ] Security: No vulnerabilities
179
- - [ ] Review: Code approved
180
-
181
- **Estimated Time**: 30-60 minutes (depends on complexity)
182
-
183
- ---
184
-
185
- ### 3.2 WF-DEV-002: Feature Implementation (Fast Mode)
186
-
187
- **Trigger**: User needs to implement a simple feature quickly
188
-
189
- **Command**: `/cook:fast "add dark mode toggle"`
190
-
191
- **Workflow Diagram**:
192
-
193
- ```
194
- ┌──────────────┐ ┌──────────────┐ ┌──────────────┐
195
- │ /cook:fast │────▶│ Scouter │────▶│ Engineer │
196
- │ "feature" │ │ (quick scan) │ │ (implement) │
197
- └──────────────┘ └──────────────┘ └──────────────┘
198
-
199
-
200
- ┌──────────────┐
201
- │ Complete │
202
- │ (minimal │
203
- │ gates) │
204
- └──────────────┘
205
- ```
206
-
207
- **Phases**: 3-4 (condensed)
208
- **Quality Gates**: Minimal (compile, lint)
209
- **Estimated Time**: 10-20 minutes
210
-
211
- ---
212
-
213
- ### 3.3 WF-DEV-003: Bug Fixing
214
-
215
- **Trigger**: User encounters a bug
216
-
217
- **Command**: `/fix:fast "login button not responding"` or `/fix:hard "payment fails on Safari"`
218
-
219
- **Workflow Diagram**:
220
-
221
- ```
222
- ┌──────────────┐ ┌──────────────┐ ┌──────────────┐
223
- │ /fix │────▶│ Debugger │────▶│ Engineer │
224
- │ "issue" │ │ (root cause) │ │ (fix) │
225
- └──────────────┘ └──────────────┘ └──────────────┘
226
-
227
-
228
- ┌──────────────┐ ┌──────────────┐
229
- │ Complete │◀────│ Tester │
230
- └──────────────┘ │ (verify) │
231
- └──────────────┘
232
- ```
233
-
234
- **Phase Details**:
235
-
236
- | Phase | Agent | Goal |
237
- | ----- | ---------- | ----------------------- |
238
- | 1 | `debugger` | Identify root cause |
239
- | 2 | `planner` | Plan fix (`:hard` only) |
240
- | 3 | `engineer` | Implement fix |
241
- | 4 | `tester` | Verify fix |
242
- | 5 | `reviewer` | Review (`:hard` only) |
243
-
244
- ---
245
-
246
- ### 3.4 WF-DEV-004: Code Snippet Generation
247
-
248
- **Trigger**: User needs a specific code snippet
249
-
250
- **Command**: `/code:fast "React hook for debounced search"`
251
-
252
- **Workflow Diagram**:
253
-
254
- ```
255
- ┌──────────────┐ ┌──────────────┐ ┌──────────────┐
256
- │ /code │────▶│ Scouter │────▶│ Engineer │
257
- │ "snippet" │ │ (context) │ │ (generate) │
258
- └──────────────┘ └──────────────┘ └──────────────┘
259
- ```
260
-
261
- **Output**: Code snippet with documentation
262
-
263
- ---
264
-
265
- ## 4. Quality Workflows
266
-
267
- ### 4.1 WF-QA-001: Test Generation
268
-
269
- **Trigger**: User needs tests for existing code
270
-
271
- **Command**: `/test:hard "user registration flow"`
272
-
273
- **Workflow Diagram**:
274
-
275
- ```
276
- ┌──────────────┐ ┌──────────────┐ ┌──────────────┐
277
- │ /test │────▶│ Scouter │────▶│ Tester │
278
- │ "subject" │ │ (analyze) │ │ (generate) │
279
- └──────────────┘ └──────────────┘ └──────────────┘
280
-
281
-
282
- ┌──────────────┐
283
- │ Complete │
284
- │ (test files) │
285
- └──────────────┘
286
- ```
287
-
288
- **Deliverables**:
289
-
290
- - Unit tests
291
- - Integration tests
292
- - E2E tests (`:hard` only)
293
- - Coverage report
294
-
295
- ---
296
-
297
- ### 4.2 WF-QA-002: Code Review
298
-
299
- **Trigger**: User wants code reviewed
300
-
301
- **Command**: `/review:fast "PR #123"` or `/review:hard "authentication module"`
302
-
303
- **Workflow Diagram**:
304
-
305
- ```
306
- ┌──────────────┐ ┌──────────────┐ ┌──────────────┐
307
- │ /review │────▶│ Scouter │────▶│ Reviewer │
308
- │ "subject" │ │ (context) │ │ (analyze) │
309
- └──────────────┘ └──────────────┘ └──────────────┘
310
-
311
-
312
- ┌──────────────┐
313
- │ Report │
314
- │ (approval/ │
315
- │ feedback) │
316
- └──────────────┘
317
- ```
318
-
319
- **Review Aspects**:
320
-
321
- - Code quality
322
- - Security vulnerabilities
323
- - Performance issues
324
- - Standards compliance
325
- - Best practices
326
-
327
- ---
328
-
329
- ### 4.3 WF-QA-003: Systematic Debugging
330
-
331
- **Trigger**: User has a bug to investigate
332
-
333
- **Command**: `/debug:hard "memory leak in dashboard"`
334
-
335
- **Workflow Diagram**:
336
-
337
- ```
338
- ┌──────────────┐ ┌──────────────┐ ┌──────────────┐
339
- │ /debug │────▶│ Scouter │────▶│ Debugger │
340
- │ "issue" │ │ (context) │ │ (reproduce) │
341
- └──────────────┘ └──────────────┘ └──────────────┘
342
-
343
-
344
- ┌──────────────┐ ┌──────────────┐
345
- │ Report │◀────│ Debugger │
346
- │ (root cause, │ │ (hypothesize │
347
- │ recommend) │ │ & test) │
348
- └──────────────┘ └──────────────┘
349
- ```
350
-
351
- **Debugging Process**:
352
-
353
- 1. Reproduce issue
354
- 2. Formulate hypotheses
355
- 3. Test hypotheses systematically
356
- 4. Identify root cause
357
- 5. Recommend fix
358
-
359
- ---
360
-
361
- ## 5. Documentation Workflows
362
-
363
- ### 5.1 WF-DOC-001: Core Technical Documentation
364
-
365
- **Trigger**: Project needs technical documentation
366
-
367
- **Command**: `/docs:core`
368
-
369
- **Workflow Diagram**:
370
-
371
- ```
372
- ┌──────────────┐ ┌──────────────┐ ┌──────────────┐
373
- │ /docs:core │────▶│ Scouter │────▶│ Docs-Manager │
374
- │ │ │ (analyze) │ │ (generate) │
375
- └──────────────┘ └──────────────┘ └──────────────┘
376
-
377
-
378
- ┌──────────────┐
379
- │ 5 Files │
380
- │ knowledge-* │
381
- └──────────────┘
382
- ```
383
-
384
- **Generated Files**:
385
-
386
- | File | Content |
387
- | --------------------------- | -------------------------------- |
388
- | `knowledge-overview.md` | Project intro, goals, tech stack |
389
- | `knowledge-architecture.md` | System design, components |
390
- | `knowledge-domain.md` | Data models, entities |
391
- | `knowledge-source-base.md` | Directory structure |
392
- | `knowledge-standards.md` | Code style, conventions |
393
-
394
- ---
395
-
396
- ### 5.2 WF-DOC-002: Business Documentation
397
-
398
- **Trigger**: Project needs business documentation
399
-
400
- **Command**: `/docs:business`
401
-
402
- **Workflow Diagram**:
403
-
404
- ```
405
- ┌──────────────┐ ┌──────────────┐ ┌──────────────┐
406
- │/docs:business│────▶│ Scouter │────▶│ Business- │
407
- │ │ │ (analyze) │ │ Analyst │
408
- └──────────────┘ └──────────────┘ └──────────────┘
409
-
410
-
411
- ┌──────────────┐ ┌──────────────┐
412
- │ 4 Files │◀────│ Docs-Manager │
413
- │ business-* │ │ (generate) │
414
- └──────────────┘ └──────────────┘
415
- ```
416
-
417
- **Generated Files**:
418
-
419
- | File | Content |
420
- | ----------------------- | ---------------------- |
421
- | `business-prd.md` | Product requirements |
422
- | `business-features.md` | Feature specifications |
423
- | `business-workflows.md` | User journeys |
424
- | `business-glossary.md` | Term definitions |
425
-
426
- ---
427
-
428
- ### 5.3 WF-DOC-003: Audit Documentation
429
-
430
- **Trigger**: Project needs security/compliance documentation
431
-
432
- **Command**: `/docs:audit`
433
-
434
- **Workflow Diagram**:
435
-
436
- ```
437
- ┌──────────────┐ ┌──────────────┐ ┌──────────────┐
438
- │ /docs:audit │────▶│ Scouter │────▶│ Security- │
439
- │ │ │ (analyze) │ │ Engineer │
440
- └──────────────┘ └──────────────┘ └──────────────┘
441
-
442
-
443
- ┌──────────────┐ ┌──────────────┐
444
- │ 4 Files │◀────│ Docs-Manager │
445
- │ audit-* │ │ (generate) │
446
- └──────────────┘ └──────────────┘
447
- ```
448
-
449
- **Generated Files**:
450
-
451
- | File | Content |
452
- | -------------------------- | ------------------- |
453
- | `audit-security.md` | Security assessment |
454
- | `audit-compliance.md` | Compliance status |
455
- | `audit-dataflow.md` | Data flow analysis |
456
- | `audit-recommendations.md` | Recommendations |
457
-
458
- ---
459
-
460
- ## 6. Deployment Workflows
461
-
462
- ### 6.1 WF-DEPLOY-001: Pre-Deployment Check
463
-
464
- **Trigger**: Before deploying to any environment
465
-
466
- **Command**: `/deploy:check`
467
-
468
- **Workflow Diagram**:
469
-
470
- ```
471
- ┌──────────────┐ ┌──────────────┐ ┌──────────────┐
472
- │/deploy:check │────▶│ DevOps │────▶│ Security │
473
- │ │ │ (validate) │ │ (scan) │
474
- └──────────────┘ └──────────────┘ └──────────────┘
475
-
476
-
477
- ┌──────────────┐
478
- │ Readiness │
479
- │ Report │
480
- └──────────────┘
481
- ```
482
-
483
- **Checks Performed**:
484
-
485
- - [ ] Build succeeds
486
- - [ ] Tests pass
487
- - [ ] No critical vulnerabilities
488
- - [ ] Configuration valid
489
- - [ ] Dependencies up to date
490
-
491
- ---
492
-
493
- ### 6.2 WF-DEPLOY-002: Staging Deployment
494
-
495
- **Trigger**: Ready to deploy to staging
496
-
497
- **Command**: `/deploy:preview`
498
-
499
- **Workflow Diagram**:
500
-
501
- ```
502
- ┌──────────────┐ ┌──────────────┐ ┌──────────────┐
503
- │/deploy:preview────▶│ DevOps │────▶│ Staging │
504
- │ │ │ (deploy) │ │ URL │
505
- └──────────────┘ └──────────────┘ └──────────────┘
506
- ```
507
-
508
- **Output**: Staging environment URL
509
-
510
- ---
511
-
512
- ### 6.3 WF-DEPLOY-003: Production Deployment
513
-
514
- **Trigger**: Ready to deploy to production
515
-
516
- **Command**: `/deploy:production`
517
-
518
- **Workflow Diagram**:
519
-
520
- ```
521
- ┌──────────────┐ ┌──────────────┐ ┌──────────────┐
522
- │/deploy: │────▶│ DevOps │────▶│ Security │
523
- │ production │ │ (prepare) │ │ (final scan) │
524
- └──────────────┘ └──────────────┘ └──────────────┘
525
-
526
-
527
- ┌──────────────┐ ┌──────────────┐
528
- │ Deployment │◀────│ DevOps │
529
- │ Confirmation │ │ (deploy) │
530
- └──────────────┘ └──────────────┘
531
- ```
532
-
533
- **Prerequisites**:
534
-
535
- - `/deploy:check` passed
536
- - `/deploy:preview` verified
537
- - Security scan cleared
538
-
539
- ---
540
-
541
- ### 6.4 WF-DEPLOY-004: Rollback
542
-
543
- **Trigger**: Production issue requires rollback
544
-
545
- **Command**: `/deploy:rollback`
546
-
547
- **Workflow Diagram**:
548
-
549
- ```
550
- ┌──────────────┐ ┌──────────────┐ ┌──────────────┐
551
- │/deploy: │────▶│ DevOps │────▶│ Previous │
552
- │ rollback │ │ (execute) │ │ Version │
553
- └──────────────┘ └──────────────┘ └──────────────┘
554
- ```
555
-
556
- **Output**: Confirmation of rollback to previous version
557
-
558
- ---
559
-
560
- ## 7. Contribution Workflows
561
-
562
- ### 7.1 WF-CONTRIB-001: Adding a New Skill
563
-
564
- **Trigger**: Contributor wants to add domain knowledge
565
-
566
- **Workflow Diagram**:
567
-
568
- ```
569
- ┌──────────────────┐ ┌──────────────────┐ ┌──────────────────┐
570
- │ Create skill │────▶│ Add to domain │────▶│ Done! │
571
- │ folder with │ │ YAML file │ │ (no agent edits) │
572
- │ SKILL.md │ │ │ │ │
573
- └──────────────────┘ └──────────────────┘ └──────────────────┘
574
- ```
575
-
576
- **Steps**:
577
-
578
- | Step | Action | Location |
579
- | ---- | ------------------- | ----------------------------- |
580
- | 1 | Create skill folder | `skills/{skill-id}/` |
581
- | 2 | Create SKILL.md | `skills/{skill-id}/SKILL.md` |
582
- | 3 | Add to domain file | `matrix-skills/{domain}.yaml` |
583
- | 4 | Test skill loading | Use relevant agent |
584
-
585
- **SKILL.md Template**:
586
-
587
- ```markdown
588
- # {Skill Name}
589
-
590
- > **Purpose**: Brief description of what this skill provides.
591
-
592
- ## When to Use
593
-
594
- - Trigger condition 1
595
- - Trigger condition 2
596
-
597
- ## Guidelines
598
-
599
- ### Section 1
600
-
601
- Guidelines content...
602
-
603
- ### Section 2
604
-
605
- Guidelines content...
606
-
607
- ## References
608
-
609
- - Reference 1
610
- - Reference 2
611
- ```
612
-
613
- ---
614
-
615
- ### 7.2 WF-CONTRIB-002: Adding a New Agent
616
-
617
- **Trigger**: Contributor wants to add a specialist agent
618
-
619
- **Workflow Diagram**:
620
-
621
- ```
622
- ┌──────────────────┐ ┌──────────────────┐ ┌──────────────────┐
623
- │ Copy AGENT- │────▶│ Define profile, │────▶│ Add to _index │
624
- │ TEMPLATE.md │ │ thinking proto- │ │ agent_profiles │
625
- │ │ │ col, constraints │ │ │
626
- └──────────────────┘ └──────────────────┘ └──────────────────┘
627
- ```
628
-
629
- **Steps**:
630
-
631
- | Step | Action | Location |
632
- | ---- | ------------------------ | ---------------------------------------- |
633
- | 1 | Copy template | `AGENT-TEMPLATE.md` → `agents/{name}.md` |
634
- | 2 | Fill in identity | Name, profile, role |
635
- | 3 | Define thinking protocol | Step-by-step process |
636
- | 4 | Define constraints | NEVER/ALWAYS rules |
637
- | 5 | Add to matrix | `matrix-skills/_index.yaml` |
638
-
639
- ---
640
-
641
- ### 7.3 WF-CONTRIB-003: Adding a New Command
642
-
643
- **Trigger**: Contributor wants to add a workflow command
644
-
645
- **Workflow Diagram**:
646
-
647
- ```
648
- ┌──────────────────┐ ┌──────────────────┐ ┌──────────────────┐
649
- │ Create router │────▶│ Create variant │────▶│ Update entry │
650
- │ commands/{cmd}.md│ │ files (fast/hard)│ │ point files │
651
- └──────────────────┘ └──────────────────┘ └──────────────────┘
652
- ```
653
-
654
- **Steps**:
655
-
656
- | Step | Action | Location |
657
- | ---- | --------------------- | ------------------------------ |
658
- | 1 | Create router | `commands/{command}.md` |
659
- | 2 | Create variant folder | `commands/{command}/` |
660
- | 3 | Create fast variant | `commands/{command}/fast.md` |
661
- | 4 | Create hard variant | `commands/{command}/hard.md` |
662
- | 5 | Update entry points | `CLAUDE.md`, `CURSOR.md`, etc. |
663
-
664
- ---
665
-
666
- ## 8. Workflow Best Practices
667
-
668
- ### 8.1 Choosing the Right Variant
669
-
670
- | Situation | Recommended Variant |
671
- | -------------------------------- | ------------------- |
672
- | Simple change, low risk | `:fast` |
673
- | Complex feature, high visibility | `:hard` |
674
- | Production code | `:hard` |
675
- | Prototype or experiment | `:fast` |
676
- | Security-sensitive | `:hard` |
677
- | Client-facing | `:hard` |
678
-
679
- ### 8.2 Workflow Optimization Tips
680
-
681
- | Tip | Benefit |
682
- | -------------------------------------------- | ------------------------------ |
683
- | Run `/docs:core` first for new projects | Agents work with YOUR patterns |
684
- | Use `:fast` for iteration, `:hard` for final | Balance speed and quality |
685
- | Check quality gate failures early | Avoid rework later |
686
- | Review plan before implementation | Catch issues early |
687
-
688
- ### 8.3 Common Workflow Combinations
689
-
690
- | Goal | Workflow Sequence |
691
- | ----------------- | ---------------------------------------------------------------------- |
692
- | New project setup | `/docs:core` → `/docs:business` |
693
- | New feature | `/plan:hard` → `/cook:hard` |
694
- | Bug fix | `/debug:fast` → `/fix:fast` → `/test:fast` |
695
- | Release prep | `/review:hard` → `/test:hard` → `/deploy:check` → `/deploy:production` |
696
- | Security audit | `/docs:audit` → `/review:hard` |
697
-
698
- ---
699
-
700
- ## 9. Related Documentation
701
-
702
- | Document | Purpose |
703
- | ----------------------- | ---------------------- |
704
- | `business-prd.md` | Product requirements |
705
- | `business-features.md` | Feature specifications |
706
- | `business-glossary.md` | Term definitions |
707
- | `knowledge-overview.md` | Technical overview |
708
-
709
- ---
710
-
711
- **Document Classification**: Business Workflows
712
- **Completeness**: 100%
713
- **Review Status**: Complete