@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,420 @@
1
+ {
2
+ "category": "commands",
3
+ "modules": [
4
+ {
5
+ "id": "quality-check",
6
+ "name": "Quality Check",
7
+ "description": "Run comprehensive quality checks (lint, types, tests, coverage)",
8
+ "file": "quality-check.md",
9
+ "tags": ["core", "quality", "ci"],
10
+ "longDescription": "Runs a comprehensive quality check pipeline including linting, type checking, tests, and coverage verification. Essential command before commits and PRs.",
11
+ "whatItDoes": [
12
+ "Runs linting (ESLint/Biome)",
13
+ "Performs TypeScript type checking",
14
+ "Executes test suites with coverage",
15
+ "Validates coverage thresholds",
16
+ "Reports all issues in summary"
17
+ ],
18
+ "whenToUse": "Before every commit and PR. Essential for maintaining code quality.",
19
+ "skillLevel": "beginner",
20
+ "relatedModules": ["code-check", "run-tests"]
21
+ },
22
+ {
23
+ "id": "code-check",
24
+ "name": "Code Check",
25
+ "description": "Run code analysis, linting, and formatting checks",
26
+ "file": "code-check.md",
27
+ "tags": ["core", "linting", "formatting"],
28
+ "longDescription": "Focused code analysis command that runs linting, formatting checks, and static analysis. Faster than full quality check for quick validation.",
29
+ "whatItDoes": [
30
+ "Runs linter with auto-fix option",
31
+ "Checks code formatting",
32
+ "Performs static analysis",
33
+ "Identifies code smells",
34
+ "Suggests improvements"
35
+ ],
36
+ "whenToUse": "During development for quick code quality feedback. Faster than full quality-check.",
37
+ "skillLevel": "beginner",
38
+ "relatedModules": ["quality-check"]
39
+ },
40
+ {
41
+ "id": "run-tests",
42
+ "name": "Run Tests",
43
+ "description": "Execute test suites with various options",
44
+ "file": "run-tests.md",
45
+ "tags": ["core", "testing", "vitest"],
46
+ "longDescription": "Flexible test runner command supporting unit tests, integration tests, watch mode, coverage, and filtering. Works with Vitest and Jest.",
47
+ "whatItDoes": [
48
+ "Runs unit and integration tests",
49
+ "Supports watch mode for TDD",
50
+ "Generates coverage reports",
51
+ "Filters tests by name/path",
52
+ "Runs tests in parallel"
53
+ ],
54
+ "whenToUse": "During TDD workflow, before commits, or when validating changes.",
55
+ "techStack": ["Vitest", "Jest", "Testing Library"],
56
+ "skillLevel": "beginner",
57
+ "relatedModules": ["quality-check", "tdd-methodology"]
58
+ },
59
+ {
60
+ "id": "security-audit",
61
+ "name": "Security Audit",
62
+ "description": "Comprehensive security audit for vulnerabilities",
63
+ "file": "audit/security-audit.md",
64
+ "tags": ["audit", "security", "owasp"],
65
+ "longDescription": "Deep security review covering OWASP Top 10, dependency vulnerabilities, authentication, authorization, and data handling.",
66
+ "whatItDoes": [
67
+ "Audits for OWASP Top 10 vulnerabilities",
68
+ "Scans dependencies for CVEs",
69
+ "Reviews authentication flows",
70
+ "Checks data handling practices",
71
+ "Generates security report"
72
+ ],
73
+ "whenToUse": "Before production deployment or during security reviews.",
74
+ "skillLevel": "advanced",
75
+ "relatedModules": ["security-testing", "security-audit"]
76
+ },
77
+ {
78
+ "id": "performance-audit",
79
+ "name": "Performance Audit",
80
+ "description": "Performance analysis and optimization recommendations",
81
+ "file": "audit/performance-audit.md",
82
+ "tags": ["audit", "performance", "optimization"],
83
+ "longDescription": "Performance audit covering Core Web Vitals, bundle analysis, database queries, and rendering performance.",
84
+ "whatItDoes": [
85
+ "Analyzes Core Web Vitals",
86
+ "Reviews bundle size",
87
+ "Identifies N+1 queries",
88
+ "Checks rendering performance",
89
+ "Provides optimization recommendations"
90
+ ],
91
+ "whenToUse": "Before major launches or when investigating performance issues.",
92
+ "skillLevel": "intermediate",
93
+ "relatedModules": ["performance-testing", "performance-audit"]
94
+ },
95
+ {
96
+ "id": "accessibility-audit",
97
+ "name": "Accessibility Audit",
98
+ "description": "WCAG compliance audit for accessibility",
99
+ "file": "audit/accessibility-audit.md",
100
+ "tags": ["audit", "accessibility", "wcag"],
101
+ "longDescription": "Accessibility audit following WCAG 2.1 Level AA guidelines. Covers keyboard navigation, screen readers, and color contrast.",
102
+ "whatItDoes": [
103
+ "Audits WCAG 2.1 compliance",
104
+ "Tests keyboard navigation",
105
+ "Validates screen reader compatibility",
106
+ "Checks color contrast",
107
+ "Reviews ARIA usage"
108
+ ],
109
+ "whenToUse": "Before releases and after UI changes.",
110
+ "skillLevel": "intermediate",
111
+ "relatedModules": ["accessibility-audit", "ux-ui-designer"]
112
+ },
113
+ {
114
+ "id": "start-feature-plan",
115
+ "name": "Start Feature Plan",
116
+ "description": "Initialize Level 3 feature planning workflow",
117
+ "file": "start-feature-plan.md",
118
+ "tags": ["planning", "features", "workflow"],
119
+ "longDescription": "Initiates the Level 3 feature planning workflow for complex, multi-day features. Creates planning session, coordinates agents, and produces PDR, tech analysis, and task breakdown.",
120
+ "whatItDoes": [
121
+ "Creates planning session directory",
122
+ "Invokes Product Functional for PDR",
123
+ "Invokes Product Technical for architecture",
124
+ "Generates task breakdown",
125
+ "Coordinates with relevant agents"
126
+ ],
127
+ "whenToUse": "When starting complex features that need planning, architecture review, and task breakdown.",
128
+ "skillLevel": "intermediate",
129
+ "relatedModules": ["product-functional", "product-technical", "tech-lead"]
130
+ },
131
+ {
132
+ "id": "start-refactor-plan",
133
+ "name": "Start Refactor Plan",
134
+ "description": "Initialize refactoring planning session",
135
+ "file": "start-refactor-plan.md",
136
+ "tags": ["planning", "refactoring", "workflow"],
137
+ "longDescription": "Initiates a planning session for refactoring work. Analyzes current state, identifies improvement areas, and creates safe refactoring plan with tests.",
138
+ "whatItDoes": [
139
+ "Analyzes code for refactoring",
140
+ "Identifies code smells and issues",
141
+ "Plans safe refactoring steps",
142
+ "Ensures test coverage exists",
143
+ "Coordinates with QA for validation"
144
+ ],
145
+ "whenToUse": "When planning significant refactoring that affects multiple files or modules.",
146
+ "skillLevel": "intermediate",
147
+ "relatedModules": ["tech-lead", "qa-engineer"]
148
+ },
149
+ {
150
+ "id": "sync-planning",
151
+ "name": "Sync Planning",
152
+ "description": "Synchronize planning documents to issue tracker",
153
+ "file": "sync-planning.md",
154
+ "tags": ["planning", "sync", "github", "linear"],
155
+ "longDescription": "Synchronizes planning documents (PDR, tech analysis, TODOs) to issue trackers like GitHub Issues or Linear. Creates linked issues from task breakdown.",
156
+ "whatItDoes": [
157
+ "Parses TODOs.md for tasks",
158
+ "Creates issues in tracker",
159
+ "Links issues to planning docs",
160
+ "Updates task status",
161
+ "Syncs bidirectionally"
162
+ ],
163
+ "whenToUse": "After planning approval to create trackable issues from the task breakdown.",
164
+ "skillLevel": "intermediate",
165
+ "relatedModules": ["start-feature-plan"]
166
+ },
167
+ {
168
+ "id": "sync-planning-github",
169
+ "name": "Sync Planning to GitHub",
170
+ "description": "Sync planning to GitHub Issues",
171
+ "file": "planning/sync-planning-github.md",
172
+ "tags": ["planning", "github", "issues"],
173
+ "longDescription": "Syncs planning documents specifically to GitHub Issues. Creates issues with proper labels, milestones, and project board integration.",
174
+ "whatItDoes": [
175
+ "Creates GitHub Issues from tasks",
176
+ "Applies labels and milestones",
177
+ "Links to project boards",
178
+ "Updates issue status",
179
+ "Handles issue comments"
180
+ ],
181
+ "whenToUse": "When using GitHub Issues for task tracking.",
182
+ "skillLevel": "intermediate",
183
+ "relatedModules": ["sync-planning"]
184
+ },
185
+ {
186
+ "id": "sync-todos-github",
187
+ "name": "Sync TODOs to GitHub",
188
+ "description": "Sync TODO comments to GitHub Issues",
189
+ "file": "planning/sync-todos-github.md",
190
+ "tags": ["planning", "github", "todos"],
191
+ "longDescription": "Scans codebase for TODO comments and creates/updates GitHub Issues. Tracks technical debt and pending work items.",
192
+ "whatItDoes": [
193
+ "Scans code for TODO comments",
194
+ "Creates issues for new TODOs",
195
+ "Updates existing issues",
196
+ "Links issues to code locations",
197
+ "Reports on technical debt"
198
+ ],
199
+ "whenToUse": "To track and manage TODO comments in the codebase.",
200
+ "skillLevel": "beginner",
201
+ "relatedModules": ["sync-planning-github"]
202
+ },
203
+ {
204
+ "id": "check-completed-tasks",
205
+ "name": "Check Completed Tasks",
206
+ "description": "Auto-detect and mark completed tasks",
207
+ "file": "planning/check-completed-tasks.md",
208
+ "tags": ["planning", "automation", "tracking"],
209
+ "longDescription": "Automatically detects completed tasks by analyzing code changes and test results. Updates task status in tracking systems.",
210
+ "whatItDoes": [
211
+ "Analyzes recent commits",
212
+ "Detects completed tasks",
213
+ "Updates task status",
214
+ "Reports completion status",
215
+ "Suggests next tasks"
216
+ ],
217
+ "whenToUse": "Periodically to keep task tracking in sync with actual progress.",
218
+ "skillLevel": "beginner",
219
+ "relatedModules": ["sync-planning"]
220
+ },
221
+ {
222
+ "id": "planning-cleanup",
223
+ "name": "Planning Cleanup",
224
+ "description": "Clean up planning artifacts after completion",
225
+ "file": "planning/planning-cleanup.md",
226
+ "tags": ["planning", "cleanup", "maintenance"],
227
+ "longDescription": "Cleans up planning artifacts after a feature is complete. Archives planning docs, closes issues, and updates project state.",
228
+ "whatItDoes": [
229
+ "Archives planning documents",
230
+ "Closes related issues",
231
+ "Updates project board",
232
+ "Generates completion summary",
233
+ "Cleans up temporary files"
234
+ ],
235
+ "whenToUse": "After a feature is fully deployed and verified.",
236
+ "skillLevel": "beginner",
237
+ "relatedModules": ["sync-planning"]
238
+ },
239
+ {
240
+ "id": "cleanup-issues",
241
+ "name": "Cleanup Issues",
242
+ "description": "Clean up stale and outdated issues",
243
+ "file": "planning/cleanup-issues.md",
244
+ "tags": ["planning", "cleanup", "issues"],
245
+ "longDescription": "Identifies and cleans up stale issues. Closes abandoned issues, labels inactive ones, and generates cleanup reports.",
246
+ "whatItDoes": [
247
+ "Identifies stale issues",
248
+ "Closes abandoned issues",
249
+ "Labels inactive issues",
250
+ "Generates cleanup report",
251
+ "Notifies stakeholders"
252
+ ],
253
+ "whenToUse": "Periodically for issue hygiene and project maintenance.",
254
+ "skillLevel": "beginner",
255
+ "relatedModules": ["sync-planning-github"]
256
+ },
257
+ {
258
+ "id": "add-new-entity",
259
+ "name": "Add New Entity",
260
+ "description": "Generate full CRUD entity (model, service, API, tests)",
261
+ "file": "add-new-entity.md",
262
+ "tags": ["development", "entities", "scaffolding"],
263
+ "longDescription": "Scaffolds a complete entity with database model, service layer, API endpoints, and tests. Follows project conventions and architecture patterns.",
264
+ "whatItDoes": [
265
+ "Creates database schema/model",
266
+ "Generates service layer with CRUD",
267
+ "Creates API endpoints",
268
+ "Generates unit and integration tests",
269
+ "Adds validation schemas"
270
+ ],
271
+ "whenToUse": "When adding new data entities that need full CRUD operations.",
272
+ "skillLevel": "intermediate",
273
+ "relatedModules": ["db-drizzle-engineer", "hono-engineer", "qa-engineer"]
274
+ },
275
+ {
276
+ "id": "update-docs",
277
+ "name": "Update Docs",
278
+ "description": "Update project documentation after changes",
279
+ "file": "update-docs.md",
280
+ "tags": ["development", "documentation"],
281
+ "longDescription": "Analyzes code changes and updates relevant documentation including README, API docs, architecture diagrams, and changelog.",
282
+ "whatItDoes": [
283
+ "Identifies affected documentation",
284
+ "Updates API documentation",
285
+ "Refreshes README sections",
286
+ "Updates architecture diagrams",
287
+ "Adds changelog entries"
288
+ ],
289
+ "whenToUse": "After implementing features or making changes that affect documentation.",
290
+ "skillLevel": "beginner",
291
+ "relatedModules": ["tech-writer", "markdown-formatter"]
292
+ },
293
+ {
294
+ "id": "five-why",
295
+ "name": "Five Why Analysis",
296
+ "description": "Root cause analysis using Five Why method",
297
+ "file": "five-why.md",
298
+ "tags": ["development", "analysis", "debugging"],
299
+ "longDescription": "Systematic root cause analysis using the Five Why methodology. Helps identify underlying causes of bugs, issues, or failures.",
300
+ "whatItDoes": [
301
+ "Guides through Five Why questions",
302
+ "Documents cause chain",
303
+ "Identifies root cause",
304
+ "Suggests preventive measures",
305
+ "Creates action items"
306
+ ],
307
+ "whenToUse": "When debugging complex issues or after incidents to prevent recurrence.",
308
+ "skillLevel": "intermediate",
309
+ "relatedModules": ["debugger"]
310
+ },
311
+ {
312
+ "id": "commit",
313
+ "name": "Commit",
314
+ "description": "Create atomic git commits with conventional messages",
315
+ "file": "git/commit.md",
316
+ "tags": ["git", "commits", "core"],
317
+ "longDescription": "Creates atomic git commits following conventional commit format. Ensures only task-related files are included and generates proper commit messages.",
318
+ "whatItDoes": [
319
+ "Reviews staged changes",
320
+ "Validates atomic commit scope",
321
+ "Generates conventional message",
322
+ "Handles breaking changes",
323
+ "Runs pre-commit checks"
324
+ ],
325
+ "whenToUse": "When committing changes. Ensures atomic commits and proper message format.",
326
+ "skillLevel": "beginner",
327
+ "relatedModules": ["git-commit-helper"]
328
+ },
329
+ {
330
+ "id": "format-markdown",
331
+ "name": "Format Markdown",
332
+ "description": "Format and lint markdown files",
333
+ "file": "formatting/format-markdown.md",
334
+ "tags": ["formatting", "markdown", "docs"],
335
+ "longDescription": "Formats markdown files following consistent style guidelines. Checks for formatting issues, broken links, and style violations.",
336
+ "whatItDoes": [
337
+ "Formats markdown consistently",
338
+ "Fixes heading hierarchy",
339
+ "Validates link references",
340
+ "Standardizes list formatting",
341
+ "Ensures code block languages"
342
+ ],
343
+ "whenToUse": "Before committing documentation changes or when cleaning up markdown files.",
344
+ "skillLevel": "beginner",
345
+ "relatedModules": ["markdown-formatter", "tech-writer"]
346
+ },
347
+ {
348
+ "id": "create-agent",
349
+ "name": "Create Agent",
350
+ "description": "Create a new specialized agent",
351
+ "file": "meta/create-agent.md",
352
+ "tags": ["meta", "agents", "creation"],
353
+ "longDescription": "Creates a new specialized agent with proper structure, configuration, and documentation. Follows the standard agent template.",
354
+ "whatItDoes": [
355
+ "Creates agent markdown file",
356
+ "Adds YAML frontmatter",
357
+ "Generates configuration section",
358
+ "Creates standard structure",
359
+ "Updates registry"
360
+ ],
361
+ "whenToUse": "When adding new capabilities that require a specialized agent.",
362
+ "skillLevel": "advanced",
363
+ "relatedModules": ["create-command", "create-skill"]
364
+ },
365
+ {
366
+ "id": "create-command",
367
+ "name": "Create Command",
368
+ "description": "Create a new workflow command",
369
+ "file": "meta/create-command.md",
370
+ "tags": ["meta", "commands", "creation"],
371
+ "longDescription": "Creates a new command with proper structure, configuration, and documentation. Follows the standard command template.",
372
+ "whatItDoes": [
373
+ "Creates command markdown file",
374
+ "Adds YAML frontmatter",
375
+ "Generates configuration section",
376
+ "Creates execution flow",
377
+ "Updates registry"
378
+ ],
379
+ "whenToUse": "When adding new workflow automation commands.",
380
+ "skillLevel": "advanced",
381
+ "relatedModules": ["create-agent", "create-skill"]
382
+ },
383
+ {
384
+ "id": "create-skill",
385
+ "name": "Create Skill",
386
+ "description": "Create a new reusable skill",
387
+ "file": "meta/create-skill.md",
388
+ "tags": ["meta", "skills", "creation"],
389
+ "longDescription": "Creates a new skill with proper structure, configuration, and documentation. Follows the standard skill template.",
390
+ "whatItDoes": [
391
+ "Creates skill markdown file",
392
+ "Adds YAML frontmatter",
393
+ "Generates configuration section",
394
+ "Creates standard structure",
395
+ "Updates registry"
396
+ ],
397
+ "whenToUse": "When adding new reusable knowledge or patterns.",
398
+ "skillLevel": "advanced",
399
+ "relatedModules": ["create-agent", "create-command"]
400
+ },
401
+ {
402
+ "id": "help",
403
+ "name": "Help",
404
+ "description": "Show available commands, agents, and documentation",
405
+ "file": "meta/help.md",
406
+ "tags": ["meta", "help", "reference"],
407
+ "longDescription": "Displays help information about available commands, agents, skills, and documentation. Provides quick reference for the AI assistant system.",
408
+ "whatItDoes": [
409
+ "Lists available commands",
410
+ "Shows agent descriptions",
411
+ "Displays skill references",
412
+ "Links to documentation",
413
+ "Provides usage examples"
414
+ ],
415
+ "whenToUse": "When unsure what commands are available or how to use the system.",
416
+ "skillLevel": "beginner",
417
+ "relatedModules": []
418
+ }
419
+ ]
420
+ }
@@ -0,0 +1,211 @@
1
+ ---
2
+ name: add-new-entity
3
+ description: Structured workflow for adding new domain entities following architecture patterns
4
+ type: development
5
+ category: workflow
6
+ config_required:
7
+ - layer_structure: "Define layer architecture (e.g., Database → Service → API → Frontend)"
8
+ - entity_patterns: "Specify entity naming and file organization patterns"
9
+ - test_framework: "Configure testing framework and coverage requirements"
10
+ - file_locations: "Define base paths for schemas, models, services, routes"
11
+ ---
12
+
13
+ # Add New Entity Command
14
+
15
+ ## Purpose
16
+
17
+ Orchestrates complete implementation of new domain entities following established architecture patterns. Creates necessary files across all layers, ensures pattern consistency, and maintains comprehensive testing.
18
+
19
+ ## ⚙️ Configuration
20
+
21
+ | Setting | Description | Example |
22
+ |---------|-------------|---------|
23
+ | `layer_structure` | Define application layers | `Database → Service → API → Frontend` |
24
+ | `entity_patterns` | Entity naming conventions | `PascalCase entities, snake_case tables` |
25
+ | `test_framework` | Testing setup | `Vitest, Jest, etc.` |
26
+ | `coverage_minimum` | Minimum test coverage | `90%` |
27
+ | `base_paths.schemas` | Schema file location | `packages/schemas/src/` |
28
+ | `base_paths.models` | Model file location | `packages/db/src/models/` |
29
+ | `base_paths.services` | Service file location | `packages/services/src/` |
30
+ | `base_paths.routes` | Route file location | `apps/api/src/routes/` |
31
+
32
+ ## Usage
33
+
34
+ ```bash
35
+ /add-new-entity {entity_name}
36
+ ```
37
+
38
+ ## Execution Flow
39
+
40
+ ### Phase 1: Planning
41
+
42
+ **Agent**: `product-technical`
43
+
44
+ 1. Analyze entity requirements and relationships
45
+ 2. Design database schema
46
+ 3. Plan API endpoints and service methods
47
+ 4. Define validation rules and business logic
48
+
49
+ **Deliverables**: Entity design document
50
+
51
+ ### Phase 2: Implementation (TDD)
52
+
53
+ **Layer 1: Database**
54
+
55
+ - Agent: `db-engineer`
56
+ - Files: Schema definition, model class, migration
57
+ - Tests: Model CRUD operations
58
+
59
+ **Layer 2: Service**
60
+
61
+ - Agent: Backend specialist
62
+ - Files: Validation schemas, service class
63
+ - Tests: Business logic, edge cases
64
+
65
+ **Layer 3: API**
66
+
67
+ - Agent: API specialist
68
+ - Files: Route definitions, endpoint handlers
69
+ - Tests: API endpoints, authentication
70
+
71
+ **Layer 4: Frontend**
72
+
73
+ - Agent: Frontend specialist
74
+ - Files: Components, hooks, pages
75
+ - Tests: Component behavior, integration
76
+
77
+ ### Phase 3: Validation
78
+
79
+ **Quality Checks**:
80
+
81
+ - Code quality: `/quality-check`
82
+ - Test coverage: ≥ configured minimum
83
+ - Security review
84
+ - Performance analysis
85
+
86
+ **Integration Testing**:
87
+
88
+ - End-to-end workflows
89
+ - Error scenarios
90
+ - Acceptance criteria
91
+
92
+ ### Phase 4: Finalization
93
+
94
+ **Documentation**:
95
+
96
+ - API endpoint documentation
97
+ - Component usage examples
98
+ - Integration guides
99
+
100
+ **Review**:
101
+
102
+ - Architecture consistency
103
+ - Pattern compliance
104
+ - Code quality approval
105
+
106
+ ## Entity Implementation Pattern
107
+
108
+ ### Required Files Structure
109
+
110
+ ```text
111
+ {base_paths.schemas}/{entity}/
112
+ ├── create.schema.ts
113
+ ├── update.schema.ts
114
+ └── index.ts
115
+
116
+ {base_paths.models}/
117
+ └── {entity}.model.ts
118
+
119
+ {base_paths.services}/{entity}/
120
+ ├── {entity}.service.ts
121
+ └── index.ts
122
+
123
+ {base_paths.routes}/{entity}/
124
+ └── index.ts
125
+ ```
126
+
127
+ ### Pattern Requirements
128
+
129
+ - Extend base classes where available
130
+ - Follow project naming conventions
131
+ - Implement proper error handling
132
+ - Include comprehensive validation
133
+
134
+ ## Quality Standards
135
+
136
+ ### Code Quality
137
+
138
+ - Type safety: Strict TypeScript
139
+ - Testing: ≥ configured coverage minimum
140
+ - Patterns: Consistent with existing code
141
+ - Documentation: Complete API docs
142
+
143
+ ### Architecture
144
+
145
+ - Clear layer separation
146
+ - Proper error handling patterns
147
+ - Comprehensive input validation
148
+ - Authentication/authorization implemented
149
+
150
+ ## Output Format
151
+
152
+ ```text
153
+ ✅ NEW ENTITY IMPLEMENTATION COMPLETE
154
+
155
+ Entity: {EntityName}
156
+ Layers: {count} implemented
157
+
158
+ 📊 Summary:
159
+ ✅ Database: Schema, model, migration
160
+ ✅ Service: Business logic, {coverage}% coverage
161
+ ✅ API: {count} endpoints
162
+ ✅ Frontend: {count} components
163
+
164
+ 📋 Files Created: {count}
165
+ Database: {list}
166
+ Service: {list}
167
+ API: {list}
168
+ Frontend: {list}
169
+
170
+ 📈 Quality Metrics:
171
+ ✅ Coverage: {percentage}%
172
+ ✅ Type Safety: 100%
173
+ ✅ Performance: {metrics}
174
+ ```
175
+
176
+ ## Related Commands
177
+
178
+ - `/start-feature-plan` - Complex entity planning
179
+ - `/quality-check` - Entity validation
180
+ - `/update-docs` - Documentation updates
181
+
182
+ ## When to Use
183
+
184
+ - Adding new domain concepts
185
+ - Extending data model
186
+ - Implementing entity-centric features
187
+ - Adding new data structures
188
+
189
+ ## Prerequisites
190
+
191
+ - Entity requirements defined
192
+ - Relationships identified
193
+ - Business rules documented
194
+ - Design completed
195
+
196
+ ## Best Practices
197
+
198
+ ### Implementation Order
199
+
200
+ 1. Database schema (foundation)
201
+ 2. Model layer (data access)
202
+ 3. Service layer (business logic)
203
+ 4. API layer (external interface)
204
+ 5. Frontend layer (user interface)
205
+
206
+ ### Testing Strategy
207
+
208
+ - Unit tests: Each layer independently
209
+ - Integration tests: Layer interactions
210
+ - API tests: Endpoint behavior
211
+ - E2E tests: Complete workflows