@qazuor/claude-code-config 0.1.0

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 (171) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1248 -0
  3. package/dist/bin.cjs +11886 -0
  4. package/dist/bin.cjs.map +1 -0
  5. package/dist/bin.d.cts +1 -0
  6. package/dist/bin.d.ts +1 -0
  7. package/dist/bin.js +11869 -0
  8. package/dist/bin.js.map +1 -0
  9. package/dist/index.cjs +3887 -0
  10. package/dist/index.cjs.map +1 -0
  11. package/dist/index.d.cts +1325 -0
  12. package/dist/index.d.ts +1325 -0
  13. package/dist/index.js +3835 -0
  14. package/dist/index.js.map +1 -0
  15. package/package.json +86 -0
  16. package/templates/.log/notifications.log +1775 -0
  17. package/templates/agents/README.md +164 -0
  18. package/templates/agents/_registry.json +443 -0
  19. package/templates/agents/design/content-writer.md +353 -0
  20. package/templates/agents/design/ux-ui-designer.md +382 -0
  21. package/templates/agents/engineering/astro-engineer.md +293 -0
  22. package/templates/agents/engineering/db-drizzle-engineer.md +360 -0
  23. package/templates/agents/engineering/express-engineer.md +316 -0
  24. package/templates/agents/engineering/fastify-engineer.md +399 -0
  25. package/templates/agents/engineering/hono-engineer.md +263 -0
  26. package/templates/agents/engineering/mongoose-engineer.md +473 -0
  27. package/templates/agents/engineering/nestjs-engineer.md +429 -0
  28. package/templates/agents/engineering/nextjs-engineer.md +451 -0
  29. package/templates/agents/engineering/node-typescript-engineer.md +347 -0
  30. package/templates/agents/engineering/prisma-engineer.md +432 -0
  31. package/templates/agents/engineering/react-senior-dev.md +394 -0
  32. package/templates/agents/engineering/tanstack-start-engineer.md +447 -0
  33. package/templates/agents/engineering/tech-lead.md +269 -0
  34. package/templates/agents/product/product-functional.md +329 -0
  35. package/templates/agents/product/product-technical.md +578 -0
  36. package/templates/agents/quality/debugger.md +514 -0
  37. package/templates/agents/quality/qa-engineer.md +390 -0
  38. package/templates/agents/specialized/enrichment-agent.md +277 -0
  39. package/templates/agents/specialized/i18n-specialist.md +322 -0
  40. package/templates/agents/specialized/seo-ai-specialist.md +387 -0
  41. package/templates/agents/specialized/tech-writer.md +300 -0
  42. package/templates/code-style/.editorconfig +27 -0
  43. package/templates/code-style/.prettierignore +25 -0
  44. package/templates/code-style/.prettierrc +12 -0
  45. package/templates/code-style/biome.json +78 -0
  46. package/templates/code-style/commitlint.config.js +44 -0
  47. package/templates/commands/README.md +175 -0
  48. package/templates/commands/_registry.json +420 -0
  49. package/templates/commands/add-new-entity.md +211 -0
  50. package/templates/commands/audit/accessibility-audit.md +360 -0
  51. package/templates/commands/audit/performance-audit.md +290 -0
  52. package/templates/commands/audit/security-audit.md +231 -0
  53. package/templates/commands/code-check.md +127 -0
  54. package/templates/commands/five-why.md +225 -0
  55. package/templates/commands/formatting/format-markdown.md +197 -0
  56. package/templates/commands/git/commit.md +247 -0
  57. package/templates/commands/meta/create-agent.md +257 -0
  58. package/templates/commands/meta/create-command.md +312 -0
  59. package/templates/commands/meta/create-skill.md +321 -0
  60. package/templates/commands/meta/help.md +318 -0
  61. package/templates/commands/planning/check-completed-tasks.md +224 -0
  62. package/templates/commands/planning/cleanup-issues.md +248 -0
  63. package/templates/commands/planning/planning-cleanup.md +251 -0
  64. package/templates/commands/planning/sync-planning-github.md +133 -0
  65. package/templates/commands/planning/sync-todos-github.md +203 -0
  66. package/templates/commands/quality-check.md +211 -0
  67. package/templates/commands/run-tests.md +159 -0
  68. package/templates/commands/start-feature-plan.md +232 -0
  69. package/templates/commands/start-refactor-plan.md +244 -0
  70. package/templates/commands/sync-planning.md +176 -0
  71. package/templates/commands/update-docs.md +242 -0
  72. package/templates/docs/CHECKPOINT-SYSTEM.md +504 -0
  73. package/templates/docs/INDEX.md +677 -0
  74. package/templates/docs/RECOMMENDED-HOOKS.md +415 -0
  75. package/templates/docs/_registry.json +329 -0
  76. package/templates/docs/diagrams/README.md +220 -0
  77. package/templates/docs/diagrams/agent-hierarchy.mmd +55 -0
  78. package/templates/docs/diagrams/documentation-map.mmd +61 -0
  79. package/templates/docs/diagrams/tools-relationship.mmd +55 -0
  80. package/templates/docs/diagrams/workflow-decision-tree.mmd +38 -0
  81. package/templates/docs/doc-sync.md +533 -0
  82. package/templates/docs/examples/end-to-end-workflow.md +1505 -0
  83. package/templates/docs/glossary.md +495 -0
  84. package/templates/docs/guides/mockup-prompt-engineering.md +644 -0
  85. package/templates/docs/guides/mockup-setup.md +737 -0
  86. package/templates/docs/learnings/README.md +250 -0
  87. package/templates/docs/learnings/common-architectural-patterns.md +123 -0
  88. package/templates/docs/learnings/common-mistakes-to-avoid.md +149 -0
  89. package/templates/docs/learnings/markdown-formatting-standards.md +104 -0
  90. package/templates/docs/learnings/monorepo-command-execution.md +64 -0
  91. package/templates/docs/learnings/optimization-tips.md +146 -0
  92. package/templates/docs/learnings/planning-linear-sync-workflow.md +70 -0
  93. package/templates/docs/learnings/shell-compatibility-fish.md +46 -0
  94. package/templates/docs/learnings/test-organization-structure.md +68 -0
  95. package/templates/docs/mcp-installation.md +613 -0
  96. package/templates/docs/mcp-servers.md +989 -0
  97. package/templates/docs/notification-installation.md +570 -0
  98. package/templates/docs/quick-start.md +354 -0
  99. package/templates/docs/standards/architecture-patterns.md +1064 -0
  100. package/templates/docs/standards/atomic-commits.md +513 -0
  101. package/templates/docs/standards/code-standards.md +993 -0
  102. package/templates/docs/standards/design-standards.md +656 -0
  103. package/templates/docs/standards/documentation-standards.md +1160 -0
  104. package/templates/docs/standards/testing-standards.md +969 -0
  105. package/templates/docs/system-maintenance.md +604 -0
  106. package/templates/docs/templates/PDR-template.md +561 -0
  107. package/templates/docs/templates/TODOs-template.md +534 -0
  108. package/templates/docs/templates/tech-analysis-template.md +800 -0
  109. package/templates/docs/workflows/README.md +519 -0
  110. package/templates/docs/workflows/atomic-task-protocol.md +955 -0
  111. package/templates/docs/workflows/decision-tree.md +482 -0
  112. package/templates/docs/workflows/edge-cases.md +856 -0
  113. package/templates/docs/workflows/phase-1-planning.md +957 -0
  114. package/templates/docs/workflows/phase-2-implementation.md +896 -0
  115. package/templates/docs/workflows/phase-3-validation.md +792 -0
  116. package/templates/docs/workflows/phase-4-finalization.md +927 -0
  117. package/templates/docs/workflows/quick-fix-protocol.md +505 -0
  118. package/templates/docs/workflows/task-atomization.md +537 -0
  119. package/templates/docs/workflows/task-completion-protocol.md +448 -0
  120. package/templates/hooks/on-notification.sh +28 -0
  121. package/templates/schemas/checkpoint.schema.json +97 -0
  122. package/templates/schemas/code-registry.schema.json +84 -0
  123. package/templates/schemas/pdr.schema.json +314 -0
  124. package/templates/schemas/problems.schema.json +55 -0
  125. package/templates/schemas/tech-analysis.schema.json +404 -0
  126. package/templates/schemas/telemetry.schema.json +298 -0
  127. package/templates/schemas/todos.schema.json +234 -0
  128. package/templates/schemas/workflows.schema.json +69 -0
  129. package/templates/scripts/add-changelogs.sh +105 -0
  130. package/templates/scripts/generate-code-registry.ts +270 -0
  131. package/templates/scripts/health-check.sh +343 -0
  132. package/templates/scripts/sync-registry.sh +40 -0
  133. package/templates/scripts/telemetry-report.ts +36 -0
  134. package/templates/scripts/validate-docs.sh +224 -0
  135. package/templates/scripts/validate-registry.sh +225 -0
  136. package/templates/scripts/validate-schemas.ts +283 -0
  137. package/templates/scripts/validate-structure.sh +165 -0
  138. package/templates/scripts/worktree-cleanup.sh +81 -0
  139. package/templates/scripts/worktree-create.sh +63 -0
  140. package/templates/sessions/planning/.gitkeep +0 -0
  141. package/templates/sessions/planning/archived/.gitkeep +0 -0
  142. package/templates/settings.json +202 -0
  143. package/templates/settings.local.json +138 -0
  144. package/templates/skills/README.md +197 -0
  145. package/templates/skills/_registry.json +473 -0
  146. package/templates/skills/audit/accessibility-audit.md +309 -0
  147. package/templates/skills/audit/performance-audit.md +257 -0
  148. package/templates/skills/audit/security-audit.md +217 -0
  149. package/templates/skills/auth/nextauth-patterns.md +308 -0
  150. package/templates/skills/brand-guidelines.md +240 -0
  151. package/templates/skills/documentation/markdown-formatter.md +302 -0
  152. package/templates/skills/git/git-commit-helper.md +321 -0
  153. package/templates/skills/i18n/i18n-patterns.md +251 -0
  154. package/templates/skills/patterns/error-handling-patterns.md +242 -0
  155. package/templates/skills/patterns/tdd-methodology.md +342 -0
  156. package/templates/skills/qa/qa-criteria-validator.md +383 -0
  157. package/templates/skills/qa/web-app-testing.md +398 -0
  158. package/templates/skills/react/react-hook-form-patterns.md +359 -0
  159. package/templates/skills/state/redux-toolkit-patterns.md +272 -0
  160. package/templates/skills/state/tanstack-query-patterns.md +299 -0
  161. package/templates/skills/state/zustand-patterns.md +301 -0
  162. package/templates/skills/tech/mermaid-diagram-specialist.md +195 -0
  163. package/templates/skills/tech/shadcn-specialist.md +252 -0
  164. package/templates/skills/tech/vercel-specialist.md +297 -0
  165. package/templates/skills/testing/api-app-testing.md +254 -0
  166. package/templates/skills/testing/performance-testing.md +275 -0
  167. package/templates/skills/testing/security-testing.md +348 -0
  168. package/templates/skills/utils/add-memory.md +295 -0
  169. package/templates/skills/utils/json-data-auditor.md +283 -0
  170. package/templates/skills/utils/pdf-creator-editor.md +342 -0
  171. package/templates/tools/format-markdown.sh +185 -0
@@ -0,0 +1,329 @@
1
+ {
2
+ "category": "docs",
3
+ "modules": [
4
+ {
5
+ "id": "quick-start",
6
+ "name": "Quick Start",
7
+ "description": "15-minute onboarding guide for new users",
8
+ "file": "quick-start.md",
9
+ "tags": ["workflows", "onboarding", "core"],
10
+ "longDescription": "Fast-track onboarding guide that gets you productive with the AI assistant system in 15 minutes. Covers essential workflows, commands, and best practices.",
11
+ "whatItDoes": [
12
+ "Introduces the agent system",
13
+ "Explains workflow levels",
14
+ "Demonstrates key commands",
15
+ "Provides first-task walkthrough",
16
+ "Links to deeper documentation"
17
+ ],
18
+ "whenToUse": "First thing to read when setting up the system in a new project.",
19
+ "skillLevel": "beginner",
20
+ "relatedModules": ["decision-tree", "help"]
21
+ },
22
+ {
23
+ "id": "decision-tree",
24
+ "name": "Decision Tree",
25
+ "description": "Visual guide for choosing the right workflow",
26
+ "file": "workflows/decision-tree.md",
27
+ "tags": ["workflows", "decisions", "core"],
28
+ "longDescription": "Decision tree for selecting the appropriate workflow based on task complexity, risk level, and time requirements. Helps avoid over-engineering simple tasks.",
29
+ "whatItDoes": [
30
+ "Guides workflow level selection",
31
+ "Considers task complexity",
32
+ "Evaluates risk factors",
33
+ "Recommends appropriate protocol",
34
+ "Prevents over-engineering"
35
+ ],
36
+ "whenToUse": "When starting any new task to determine the right approach.",
37
+ "skillLevel": "beginner",
38
+ "relatedModules": ["quick-fix-protocol", "atomic-task-protocol", "phase-1-planning"]
39
+ },
40
+ {
41
+ "id": "quick-fix-protocol",
42
+ "name": "Quick Fix Protocol",
43
+ "description": "Level 1 workflow for quick fixes (<30 min)",
44
+ "file": "workflows/quick-fix-protocol.md",
45
+ "tags": ["workflows", "quick-fix", "level-1"],
46
+ "longDescription": "Streamlined protocol for quick fixes that take less than 30 minutes and affect 1-2 files. Minimal overhead for low-risk changes like typos, config updates, and simple bug fixes.",
47
+ "whatItDoes": [
48
+ "Defines quick fix criteria",
49
+ "Provides minimal checklist",
50
+ "Ensures basic quality",
51
+ "Skips unnecessary planning",
52
+ "Fast path to completion"
53
+ ],
54
+ "whenToUse": "For typos, formatting, config changes, and obvious bug fixes that are low-risk.",
55
+ "skillLevel": "beginner",
56
+ "relatedModules": ["decision-tree"]
57
+ },
58
+ {
59
+ "id": "atomic-task-protocol",
60
+ "name": "Atomic Task Protocol",
61
+ "description": "Level 2 workflow for atomic tasks (30min-3h)",
62
+ "file": "workflows/atomic-task-protocol.md",
63
+ "tags": ["workflows", "atomic", "level-2", "tdd"],
64
+ "longDescription": "Protocol for medium-complexity tasks that take 30 minutes to 3 hours. Uses TDD methodology, affects 2-10 files, and includes proper testing and documentation.",
65
+ "whatItDoes": [
66
+ "Guides TDD implementation",
67
+ "Ensures proper test coverage",
68
+ "Tracks with task codes (PB-XXX)",
69
+ "Validates before completion",
70
+ "Coordinates with QA"
71
+ ],
72
+ "whenToUse": "For bug fixes, small features, new endpoints, and focused refactoring work.",
73
+ "skillLevel": "intermediate",
74
+ "relatedModules": ["decision-tree", "tdd-methodology", "qa-engineer"]
75
+ },
76
+ {
77
+ "id": "phase-1-planning",
78
+ "name": "Phase 1 Planning",
79
+ "description": "Level 3 feature planning documentation",
80
+ "file": "workflows/phase-1-planning.md",
81
+ "tags": ["workflows", "planning", "level-3"],
82
+ "longDescription": "First phase of Level 3 feature workflow focused on planning. Produces PDR (Product Definition Report), technical analysis, and task breakdown before implementation.",
83
+ "whatItDoes": [
84
+ "Coordinates planning agents",
85
+ "Creates PDR document",
86
+ "Designs technical architecture",
87
+ "Breaks down into tasks",
88
+ "Gets user approval"
89
+ ],
90
+ "whenToUse": "For complex, multi-day features that need architecture review and planning.",
91
+ "skillLevel": "advanced",
92
+ "relatedModules": ["phase-2-implementation", "product-functional", "product-technical"]
93
+ },
94
+ {
95
+ "id": "phase-2-implementation",
96
+ "name": "Phase 2 Implementation",
97
+ "description": "Level 3 implementation phase documentation",
98
+ "file": "workflows/phase-2-implementation.md",
99
+ "tags": ["workflows", "implementation", "level-3"],
100
+ "longDescription": "Second phase of Level 3 workflow focused on implementation. Guides TDD development, agent coordination, and incremental progress tracking.",
101
+ "whatItDoes": [
102
+ "Implements tasks from breakdown",
103
+ "Follows TDD methodology",
104
+ "Coordinates engineering agents",
105
+ "Tracks progress and checkpoints",
106
+ "Handles blockers and issues"
107
+ ],
108
+ "whenToUse": "After Phase 1 planning is approved. Guides the actual implementation work.",
109
+ "skillLevel": "advanced",
110
+ "relatedModules": ["phase-1-planning", "phase-3-validation"]
111
+ },
112
+ {
113
+ "id": "phase-3-validation",
114
+ "name": "Phase 3 Validation",
115
+ "description": "Level 3 validation phase documentation",
116
+ "file": "workflows/phase-3-validation.md",
117
+ "tags": ["workflows", "validation", "level-3", "qa"],
118
+ "longDescription": "Third phase of Level 3 workflow focused on validation. Covers quality assurance, code review, security review, and acceptance testing.",
119
+ "whatItDoes": [
120
+ "Runs comprehensive QA",
121
+ "Performs code review",
122
+ "Validates security",
123
+ "Tests edge cases",
124
+ "Verifies acceptance criteria"
125
+ ],
126
+ "whenToUse": "After implementation is complete. Ensures quality before finalization.",
127
+ "skillLevel": "advanced",
128
+ "relatedModules": ["phase-2-implementation", "phase-4-finalization", "qa-engineer"]
129
+ },
130
+ {
131
+ "id": "phase-4-finalization",
132
+ "name": "Phase 4 Finalization",
133
+ "description": "Level 3 finalization phase documentation",
134
+ "file": "workflows/phase-4-finalization.md",
135
+ "tags": ["workflows", "finalization", "level-3"],
136
+ "longDescription": "Final phase of Level 3 workflow covering documentation updates, changelog, commit preparation, and feature closure procedures.",
137
+ "whatItDoes": [
138
+ "Updates documentation",
139
+ "Creates changelog entries",
140
+ "Prepares final commits",
141
+ "Closes planning session",
142
+ "Archives planning documents"
143
+ ],
144
+ "whenToUse": "After validation passes. Wraps up the feature with proper documentation.",
145
+ "skillLevel": "intermediate",
146
+ "relatedModules": ["phase-3-validation", "tech-writer"]
147
+ },
148
+ {
149
+ "id": "code-standards",
150
+ "name": "Code Standards",
151
+ "description": "TypeScript coding standards and conventions",
152
+ "file": "standards/code-standards.md",
153
+ "tags": ["standards", "code", "typescript", "core"],
154
+ "longDescription": "Comprehensive coding standards for TypeScript projects covering naming conventions, file structure, type safety, error handling, and best practices.",
155
+ "whatItDoes": [
156
+ "Defines naming conventions",
157
+ "Specifies file organization",
158
+ "Enforces type safety rules",
159
+ "Documents error handling patterns",
160
+ "Lists forbidden practices"
161
+ ],
162
+ "whenToUse": "Reference when writing code. Ensures consistency across the project.",
163
+ "skillLevel": "intermediate",
164
+ "relatedModules": ["architecture-patterns", "testing-standards"]
165
+ },
166
+ {
167
+ "id": "testing-standards",
168
+ "name": "Testing Standards",
169
+ "description": "Testing standards and TDD practices",
170
+ "file": "standards/testing-standards.md",
171
+ "tags": ["standards", "testing", "tdd", "core"],
172
+ "longDescription": "Testing standards including file organization, naming conventions, coverage requirements, and TDD practices. Ensures consistent test quality.",
173
+ "whatItDoes": [
174
+ "Defines test file structure",
175
+ "Specifies naming conventions",
176
+ "Sets coverage thresholds (90%)",
177
+ "Documents test patterns",
178
+ "Guides mock and stub usage"
179
+ ],
180
+ "whenToUse": "Reference when writing tests. Ensures consistent testing approach.",
181
+ "skillLevel": "intermediate",
182
+ "relatedModules": ["tdd-methodology", "code-standards"]
183
+ },
184
+ {
185
+ "id": "documentation-standards",
186
+ "name": "Documentation Standards",
187
+ "description": "Documentation standards and templates",
188
+ "file": "standards/documentation-standards.md",
189
+ "tags": ["standards", "documentation", "markdown"],
190
+ "longDescription": "Standards for project documentation including README structure, API docs, inline comments, and markdown formatting guidelines.",
191
+ "whatItDoes": [
192
+ "Defines documentation structure",
193
+ "Specifies JSDoc requirements",
194
+ "Sets markdown formatting rules",
195
+ "Guides API documentation",
196
+ "Provides doc templates"
197
+ ],
198
+ "whenToUse": "When writing or updating documentation. Ensures documentation consistency.",
199
+ "skillLevel": "beginner",
200
+ "relatedModules": ["tech-writer", "documentation-writer"]
201
+ },
202
+ {
203
+ "id": "architecture-patterns",
204
+ "name": "Architecture Patterns",
205
+ "description": "Architecture patterns and best practices",
206
+ "file": "standards/architecture-patterns.md",
207
+ "tags": ["standards", "architecture", "patterns", "core"],
208
+ "longDescription": "Architectural patterns for the project including layer structure, dependency injection, repository pattern, and service layer organization.",
209
+ "whatItDoes": [
210
+ "Defines layer architecture",
211
+ "Documents dependency flow",
212
+ "Specifies pattern usage",
213
+ "Guides module organization",
214
+ "Provides code examples"
215
+ ],
216
+ "whenToUse": "When designing new features or modules. Ensures architectural consistency.",
217
+ "skillLevel": "advanced",
218
+ "relatedModules": ["code-standards", "tech-lead", "product-technical"]
219
+ },
220
+ {
221
+ "id": "pdr-template",
222
+ "name": "PDR Template",
223
+ "description": "Product Definition Report template",
224
+ "file": "templates/PDR-template.md",
225
+ "tags": ["templates", "pdr", "planning"],
226
+ "longDescription": "Template for creating Product Definition Reports (PDR) that capture user requirements, acceptance criteria, user stories, and functional specifications.",
227
+ "whatItDoes": [
228
+ "Structures requirements capture",
229
+ "Defines acceptance criteria format",
230
+ "Guides user story writing",
231
+ "Documents edge cases",
232
+ "Links to tech analysis"
233
+ ],
234
+ "whenToUse": "When starting Phase 1 planning. Filled by Product Functional agent.",
235
+ "skillLevel": "intermediate",
236
+ "relatedModules": ["product-functional", "tech-analysis-template"]
237
+ },
238
+ {
239
+ "id": "tech-analysis-template",
240
+ "name": "Tech Analysis Template",
241
+ "description": "Technical analysis document template",
242
+ "file": "templates/tech-analysis-template.md",
243
+ "tags": ["templates", "analysis", "planning"],
244
+ "longDescription": "Template for technical analysis documents that translate PDR into architecture design, database schemas, API contracts, and implementation approach.",
245
+ "whatItDoes": [
246
+ "Structures technical design",
247
+ "Documents architecture decisions",
248
+ "Defines database schemas",
249
+ "Specifies API contracts",
250
+ "Identifies technical risks"
251
+ ],
252
+ "whenToUse": "After PDR is complete. Filled by Product Technical agent.",
253
+ "skillLevel": "advanced",
254
+ "relatedModules": ["product-technical", "pdr-template", "todos-template"]
255
+ },
256
+ {
257
+ "id": "todos-template",
258
+ "name": "TODOs Template",
259
+ "description": "Task breakdown template",
260
+ "file": "templates/TODOs-template.md",
261
+ "tags": ["templates", "todos", "planning"],
262
+ "longDescription": "Template for task breakdown documents that list all implementation tasks with estimates, dependencies, and assignment to agents.",
263
+ "whatItDoes": [
264
+ "Structures task breakdown",
265
+ "Defines task format",
266
+ "Captures dependencies",
267
+ "Enables progress tracking",
268
+ "Supports issue sync"
269
+ ],
270
+ "whenToUse": "After tech analysis. Created by Product Technical, used for tracking.",
271
+ "skillLevel": "intermediate",
272
+ "relatedModules": ["tech-analysis-template", "sync-planning"]
273
+ },
274
+ {
275
+ "id": "workflow-diagrams",
276
+ "name": "Workflow Diagrams",
277
+ "description": "Mermaid diagrams for system visualization",
278
+ "file": "diagrams/README.md",
279
+ "tags": ["diagrams", "mermaid", "visualization"],
280
+ "longDescription": "Collection of Mermaid diagrams visualizing workflows, agent hierarchy, tool relationships, and documentation structure for quick reference.",
281
+ "whatItDoes": [
282
+ "Visualizes workflow decision tree",
283
+ "Shows agent hierarchy",
284
+ "Maps tool relationships",
285
+ "Illustrates documentation structure",
286
+ "Provides quick reference"
287
+ ],
288
+ "whenToUse": "When needing visual overview of the system or explaining it to others.",
289
+ "skillLevel": "beginner",
290
+ "relatedModules": ["mermaid-diagram-specialist"]
291
+ },
292
+ {
293
+ "id": "glossary",
294
+ "name": "Glossary",
295
+ "description": "Project terminology and definitions",
296
+ "file": "glossary.md",
297
+ "tags": ["guides", "reference", "terminology"],
298
+ "longDescription": "Comprehensive glossary of project-specific terms, abbreviations, and concepts. Ensures consistent terminology across documentation and communication.",
299
+ "whatItDoes": [
300
+ "Defines project terms",
301
+ "Explains abbreviations",
302
+ "Clarifies concepts",
303
+ "Provides context",
304
+ "Ensures consistency"
305
+ ],
306
+ "whenToUse": "Reference when encountering unfamiliar terms or when writing documentation.",
307
+ "skillLevel": "beginner",
308
+ "relatedModules": ["quick-start"]
309
+ },
310
+ {
311
+ "id": "mcp-servers",
312
+ "name": "MCP Servers",
313
+ "description": "MCP server documentation and configuration",
314
+ "file": "mcp-servers.md",
315
+ "tags": ["guides", "mcp", "configuration"],
316
+ "longDescription": "Documentation for configuring and using MCP (Model Context Protocol) servers including available servers, configuration options, and usage examples.",
317
+ "whatItDoes": [
318
+ "Lists available MCP servers",
319
+ "Documents configuration options",
320
+ "Provides usage examples",
321
+ "Explains server capabilities",
322
+ "Guides troubleshooting"
323
+ ],
324
+ "whenToUse": "When setting up or troubleshooting MCP server integrations.",
325
+ "skillLevel": "intermediate",
326
+ "relatedModules": []
327
+ }
328
+ ]
329
+ }
@@ -0,0 +1,220 @@
1
+ # System Diagrams
2
+
3
+ This directory contains Mermaid diagrams visualizing the workflow system architecture.
4
+
5
+ ## Available Diagrams
6
+
7
+ ### 1. Workflow Decision Tree
8
+
9
+ **File:** [workflow-decision-tree.mmd](./workflow-decision-tree.mmd)
10
+
11
+ **Purpose:** Visual guide for selecting the appropriate workflow level
12
+
13
+ **Shows:**
14
+
15
+ - Decision criteria for each workflow level
16
+ - Level 1 (Quick Fix): < 30min, 1-2 files, very low risk
17
+ - Level 2 (Atomic Task): 30min-3h, 2-10 files, low-medium risk
18
+ - Level 3 (Feature Planning): Multi-day, architecture, DB changes
19
+ - Step counts for each level
20
+ - Color-coded paths (green=quick, orange=atomic, blue=feature)
21
+
22
+ **Use When:**
23
+
24
+ - Starting a new task
25
+ - Uncertain which workflow to use
26
+ - Training new team members
27
+ - Documenting workflow selection
28
+
29
+ **View:**
30
+
31
+ ```mermaid
32
+ # Paste content from workflow-decision-tree.mmd
33
+ ```
34
+
35
+ ---
36
+
37
+ ### 2. Agent Hierarchy
38
+
39
+ **File:** [agent-hierarchy.mmd](./agent-hierarchy.mmd)
40
+
41
+ **Purpose:** Visual organization of the 14 specialized agents across 6 categories
42
+
43
+ **Shows:**
44
+
45
+ - User/Principal Architect at top
46
+ - tech-lead as central coordinator
47
+ - 6 teams:
48
+ - Product Team (product-functional, product-technical)
49
+ - Backend Team (hono-engineer, db-engineer, node-typescript-engineer)
50
+ - Frontend Team (astro-engineer, tanstack-start-engineer, react-senior-dev)
51
+ - Design & Content (ux-ui-designer, content-writer)
52
+ - Quality Team (qa-engineer, debugger)
53
+ - Specialized Team (tech-writer, i18n-specialist, enrichment-agent, seo-ai-specialist)
54
+ - Reporting lines
55
+ - Color-coded by team
56
+
57
+ **Use When:**
58
+
59
+ - Understanding agent responsibilities
60
+ - Assigning tasks to agents
61
+ - Documenting team structure
62
+ - Planning agent collaboration
63
+
64
+ **View:**
65
+
66
+ ```mermaid
67
+ # Paste content from agent-hierarchy.mmd
68
+ ```
69
+
70
+ ---
71
+
72
+ ### 3. Tools Relationship
73
+
74
+ **File:** [tools-relationship.mmd](./tools-relationship.mmd)
75
+
76
+ **Purpose:** Show how commands, agents, and skills interact
77
+
78
+ **Shows:**
79
+
80
+ - 3 layers:
81
+ - Commands Layer (16 commands)
82
+ - Agents Layer (14 agents)
83
+ - Skills Layer (16 skills)
84
+ - Flow: Commands → Agents → Skills
85
+ - Relationships between specific tools
86
+ - Command categories (Quality, Planning, Audit, Meta, Dev)
87
+ - Agent groups (Lead, Backend, Frontend, Quality, Support)
88
+ - Skill categories (Testing, Development, Design, Utils)
89
+
90
+ **Use When:**
91
+
92
+ - Understanding system architecture
93
+ - Finding which agent uses which skill
94
+ - Documenting tool relationships
95
+ - Planning new tools
96
+
97
+ **View:**
98
+
99
+ ```mermaid
100
+ # Paste content from tools-relationship.mmd
101
+ ```
102
+
103
+ ---
104
+
105
+ ### 4. Documentation Map
106
+
107
+ **File:** [documentation-map.mmd](./documentation-map.mmd)
108
+
109
+ **Purpose:** Navigate the `.claude/` directory structure
110
+
111
+ **Shows:**
112
+
113
+ - Main directories:
114
+ - `agents/` - Agent definitions (14)
115
+ - `commands/` - Command definitions (16)
116
+ - `skills/` - Skill definitions (16)
117
+ - `docs/` - Documentation
118
+ - `sessions/` - Planning & tasks
119
+ - Subdirectories and organization
120
+ - Key files (README.md, REGISTRY.md, etc.)
121
+ - Session structures (P-004, PB-XXX)
122
+ - Color-coded by type
123
+
124
+ **Use When:**
125
+
126
+ - Finding specific documentation
127
+ - Understanding directory structure
128
+ - Adding new documentation
129
+ - Navigating the system
130
+
131
+ **View:**
132
+
133
+ ```mermaid
134
+ # Paste content from documentation-map.mmd
135
+ ```
136
+
137
+ ---
138
+
139
+ ## How to Use These Diagrams
140
+
141
+ ### In Markdown Files
142
+
143
+ Reference diagrams in documentation:
144
+
145
+ ```markdown
146
+ See the [Workflow Decision Tree](../diagrams/workflow-decision-tree.mmd) for workflow selection.
147
+ ```
148
+
149
+ ### In Mermaid Live Editor
150
+
151
+ 1. Go to [mermaid.live](https://mermaid.live)
152
+ 2. Copy diagram content
153
+ 3. Paste into editor
154
+ 4. View and edit interactively
155
+
156
+ ### In GitHub
157
+
158
+ GitHub automatically renders `.mmd` files:
159
+
160
+ - Click on diagram file
161
+ - GitHub shows rendered diagram
162
+ - Use for reviews and discussions
163
+
164
+ ### In VSCode
165
+
166
+ Install Mermaid extension:
167
+
168
+ 1. Install "Mermaid Preview" extension
169
+ 2. Open `.mmd` file
170
+ 3. Right-click → "Open Preview to the Side"
171
+
172
+ ## Updating Diagrams
173
+
174
+ When system changes, update relevant diagrams:
175
+
176
+ 1. **Workflow changes** → Update `workflow-decision-tree.mmd`
177
+ 2. **Agent changes** → Update `agent-hierarchy.mmd`
178
+ 3. **New commands/skills** → Update `tools-relationship.mmd`
179
+ 4. **Directory structure** → Update `documentation-map.mmd`
180
+
181
+ ## Diagram Conventions
182
+
183
+ ### Colors
184
+
185
+ - **Purple** (#8B5CF6): Leadership/Commands/Root
186
+ - **Blue** (#3B82F6): Frontend/Agents/Sections
187
+ - **Red** (#EF4444): Backend
188
+ - **Green** (#10B981): Quality/Skills/Success
189
+ - **Orange** (#F59E0B): Support/Utils/Warnings
190
+ - **Pink** (#EC4899): Product
191
+
192
+ ### Shapes
193
+
194
+ - **Rectangle**: Process/Component
195
+ - **Diamond**: Decision point
196
+ - **Rounded**: Start/End
197
+ - **Subgraph**: Grouping/Container
198
+
199
+ ### Arrows
200
+
201
+ - **Solid** (→): Direct flow
202
+ - **Dotted** (-.->): Relationship/Usage
203
+ - **Thick**: Primary path
204
+ - **Thin**: Secondary path
205
+
206
+ ## Related Documentation
207
+
208
+ - [Workflow Decision Tree Doc](../workflows/README.md)
209
+ - [Agent Documentation](../../agents/README.md)
210
+ - [Command Documentation](../../commands/README.md)
211
+ - [Skill Documentation](../../skills/README.md)
212
+
213
+ ## Notes
214
+
215
+ - All diagrams use Mermaid syntax
216
+ - Theme configured for consistency
217
+ - Colors match brand palette
218
+ - Diagrams render in most markdown viewers
219
+ - Keep diagrams up to date with system
220
+ - Test rendering before committing
@@ -0,0 +1,55 @@
1
+ %%{init: {'theme':'base', 'themeVariables': {'primaryColor':'#3B82F6','primaryTextColor':'#fff','primaryBorderColor':'#2563EB','lineColor':'#6B7280','secondaryColor':'#10B981','tertiaryColor':'#F59E0B'}}}%%
2
+ flowchart TD
3
+ User([User/Principal<br/>Architect])
4
+
5
+ %% Core Coordination
6
+ User --> TechLead[tech-lead<br/>Architecture & Leadership]
7
+
8
+ %% Planning & Product
9
+ TechLead --> Product[Product Team]
10
+ Product --> ProdFunc[product-functional<br/>PDR & Requirements]
11
+ Product --> ProdTech[product-technical<br/>Technical Analysis]
12
+
13
+ %% Engineering Teams
14
+ TechLead --> Backend[Backend Team]
15
+ Backend --> Hono[hono-engineer<br/>API Development]
16
+ Backend --> DB[db-engineer<br/>Database & Drizzle]
17
+ Backend --> NodeTS[node-typescript-engineer<br/>Shared Packages & Utils]
18
+
19
+ TechLead --> Frontend[Frontend Team]
20
+ Frontend --> Astro[astro-engineer<br/>Public Web App]
21
+ Frontend --> Tanstack[tanstack-start-engineer<br/>Admin Dashboard]
22
+ Frontend --> React[react-senior-dev<br/>React Components]
23
+
24
+ %% Design & Content
25
+ TechLead --> Design[Design & Content]
26
+ Design --> UX[ux-ui-designer<br/>UI Design & Flows]
27
+ Design --> Content[content-writer<br/>Web Copywriting EN/ES]
28
+
29
+ %% Quality
30
+ TechLead --> Quality[Quality Team]
31
+ Quality --> QA[qa-engineer<br/>Testing & QA]
32
+ Quality --> Debug[debugger<br/>Issue Resolution]
33
+
34
+ %% Specialized Support
35
+ TechLead --> Support[Specialized Team]
36
+ Support --> Writer[tech-writer<br/>Documentation]
37
+ Support --> I18n[i18n-specialist<br/>Internationalization]
38
+ Support --> Enrich[enrichment-agent<br/>GitHub Enrichment]
39
+ Support --> SEO[seo-ai-specialist<br/>SEO & AI Optimization]
40
+
41
+ classDef leaderClass fill:#8B5CF6,stroke:#7C3AED,color:#fff,font-weight:bold
42
+ classDef backendClass fill:#EF4444,stroke:#DC2626,color:#fff
43
+ classDef frontendClass fill:#3B82F6,stroke:#2563EB,color:#fff
44
+ classDef qualityClass fill:#10B981,stroke:#059669,color:#fff
45
+ classDef supportClass fill:#F59E0B,stroke:#D97706,color:#fff
46
+ classDef productClass fill:#EC4899,stroke:#DB2777,color:#fff
47
+ classDef designClass fill:#A855F7,stroke:#9333EA,color:#fff
48
+
49
+ class User,TechLead leaderClass
50
+ class Product,ProdFunc,ProdTech productClass
51
+ class Backend,Hono,DB,NodeTS backendClass
52
+ class Frontend,Astro,Tanstack,React frontendClass
53
+ class Quality,QA,Debug qualityClass
54
+ class Support,Writer,I18n,Enrich,SEO supportClass
55
+ class Design,UX,Content designClass
@@ -0,0 +1,61 @@
1
+ %%{init: {'theme':'base', 'themeVariables': {'primaryColor':'#3B82F6','primaryTextColor':'#fff','primaryBorderColor':'#2563EB','lineColor':'#6B7280','secondaryColor':'#10B981','tertiaryColor':'#F59E0B'}}}%%
2
+ flowchart TD
3
+ Root[.claude/]
4
+
5
+ %% Main Sections
6
+ Root --> Agents[agents/<br/>14 Agent Definitions]
7
+ Root --> Commands[commands/<br/>16 Commands]
8
+ Root --> Skills[skills/<br/>16 Skills]
9
+ Root --> Docs[docs/<br/>Documentation]
10
+ Root --> Sessions[sessions/<br/>Planning & Tasks]
11
+
12
+ %% Agents Structure
13
+ Agents --> AgentEng[engineering/<br/>Backend & Frontend]
14
+ Agents --> AgentQual[quality/<br/>QA & Security]
15
+ Agents --> AgentSupp[support/<br/>Writer & Debugger]
16
+ Agents --> AgentLead[leadership/<br/>Tech Lead]
17
+ Agents --> AgentProd[product/<br/>Product Technical]
18
+ Agents --> AgentREADME[README.md<br/>Agent Index]
19
+
20
+ %% Commands Structure
21
+ Commands --> CmdAudit[audit/<br/>Security, Perf, A11y]
22
+ Commands --> CmdMeta[meta/<br/>Create, Help]
23
+ Commands --> CmdRoot[Root Commands<br/>Quality, Planning, Dev]
24
+ Commands --> CmdREADME[README.md<br/>Command Index]
25
+
26
+ %% Skills Structure
27
+ Skills --> SkillTest[testing/<br/>API, Perf, Security]
28
+ Skills --> SkillPattern[patterns/<br/>TDD, Errors]
29
+ Skills --> SkillTech[tech/<br/>Vercel, Shadcn, Mermaid]
30
+ Skills --> SkillUtil[utils/<br/>Memory, PDF, JSON]
31
+ Skills --> SkillQA[qa/<br/>Web Testing, Criteria]
32
+ Skills --> SkillREADME[README.md<br/>Skill Index]
33
+
34
+ %% Docs Structure
35
+ Docs --> DocsStandards[standards/<br/>Code, Architecture, Testing]
36
+ Docs --> DocsWorkflows[workflows/<br/>Quick Fix, Atomic Task]
37
+ Docs --> DocsTemplates[templates/<br/>PDR, Tech Analysis]
38
+ Docs --> DocsDiagrams[diagrams/<br/>This File + Others]
39
+
40
+ %% Sessions Structure
41
+ Sessions --> SessionsPlanning[planning/<br/>Feature Plans]
42
+ Sessions --> SessionsAtomic[atomic-tasks/<br/>PB-XXX Tasks]
43
+
44
+ SessionsPlanning --> P004[P-004/<br/>Workflow Optimization]
45
+ P004 --> PDR[PDR.md]
46
+ P004 --> TechAnalysis[tech-analysis.md]
47
+ P004 --> TODOs[TODOs.md]
48
+ P004 --> Checkpoint[.checkpoint.json]
49
+
50
+ SessionsAtomic --> Registry[REGISTRY.md]
51
+ SessionsAtomic --> PB001[PB-001/<br/>Example Task]
52
+
53
+ classDef rootClass fill:#8B5CF6,stroke:#7C3AED,color:#fff,font-weight:bold
54
+ classDef sectionClass fill:#3B82F6,stroke:#2563EB,color:#fff
55
+ classDef subClass fill:#10B981,stroke:#059669,color:#fff
56
+ classDef fileClass fill:#F59E0B,stroke:#D97706,color:#000
57
+
58
+ class Root rootClass
59
+ class Agents,Commands,Skills,Docs,Sessions sectionClass
60
+ class AgentEng,AgentQual,AgentSupp,AgentLead,AgentProd,CmdAudit,CmdMeta,CmdRoot,SkillTest,SkillPattern,SkillTech,SkillUtil,SkillQA,DocsStandards,DocsWorkflows,DocsTemplates,DocsDiagrams,SessionsPlanning,SessionsAtomic subClass
61
+ class AgentREADME,CmdREADME,SkillREADME,P004,PB001,Registry,PDR,TechAnalysis,TODOs,Checkpoint fileClass