@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.
- package/LICENSE +21 -0
- package/README.md +1248 -0
- package/dist/bin.cjs +11886 -0
- package/dist/bin.cjs.map +1 -0
- package/dist/bin.d.cts +1 -0
- package/dist/bin.d.ts +1 -0
- package/dist/bin.js +11869 -0
- package/dist/bin.js.map +1 -0
- package/dist/index.cjs +3887 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1325 -0
- package/dist/index.d.ts +1325 -0
- package/dist/index.js +3835 -0
- package/dist/index.js.map +1 -0
- package/package.json +86 -0
- package/templates/.log/notifications.log +1775 -0
- package/templates/agents/README.md +164 -0
- package/templates/agents/_registry.json +443 -0
- package/templates/agents/design/content-writer.md +353 -0
- package/templates/agents/design/ux-ui-designer.md +382 -0
- package/templates/agents/engineering/astro-engineer.md +293 -0
- package/templates/agents/engineering/db-drizzle-engineer.md +360 -0
- package/templates/agents/engineering/express-engineer.md +316 -0
- package/templates/agents/engineering/fastify-engineer.md +399 -0
- package/templates/agents/engineering/hono-engineer.md +263 -0
- package/templates/agents/engineering/mongoose-engineer.md +473 -0
- package/templates/agents/engineering/nestjs-engineer.md +429 -0
- package/templates/agents/engineering/nextjs-engineer.md +451 -0
- package/templates/agents/engineering/node-typescript-engineer.md +347 -0
- package/templates/agents/engineering/prisma-engineer.md +432 -0
- package/templates/agents/engineering/react-senior-dev.md +394 -0
- package/templates/agents/engineering/tanstack-start-engineer.md +447 -0
- package/templates/agents/engineering/tech-lead.md +269 -0
- package/templates/agents/product/product-functional.md +329 -0
- package/templates/agents/product/product-technical.md +578 -0
- package/templates/agents/quality/debugger.md +514 -0
- package/templates/agents/quality/qa-engineer.md +390 -0
- package/templates/agents/specialized/enrichment-agent.md +277 -0
- package/templates/agents/specialized/i18n-specialist.md +322 -0
- package/templates/agents/specialized/seo-ai-specialist.md +387 -0
- package/templates/agents/specialized/tech-writer.md +300 -0
- package/templates/code-style/.editorconfig +27 -0
- package/templates/code-style/.prettierignore +25 -0
- package/templates/code-style/.prettierrc +12 -0
- package/templates/code-style/biome.json +78 -0
- package/templates/code-style/commitlint.config.js +44 -0
- package/templates/commands/README.md +175 -0
- package/templates/commands/_registry.json +420 -0
- package/templates/commands/add-new-entity.md +211 -0
- package/templates/commands/audit/accessibility-audit.md +360 -0
- package/templates/commands/audit/performance-audit.md +290 -0
- package/templates/commands/audit/security-audit.md +231 -0
- package/templates/commands/code-check.md +127 -0
- package/templates/commands/five-why.md +225 -0
- package/templates/commands/formatting/format-markdown.md +197 -0
- package/templates/commands/git/commit.md +247 -0
- package/templates/commands/meta/create-agent.md +257 -0
- package/templates/commands/meta/create-command.md +312 -0
- package/templates/commands/meta/create-skill.md +321 -0
- package/templates/commands/meta/help.md +318 -0
- package/templates/commands/planning/check-completed-tasks.md +224 -0
- package/templates/commands/planning/cleanup-issues.md +248 -0
- package/templates/commands/planning/planning-cleanup.md +251 -0
- package/templates/commands/planning/sync-planning-github.md +133 -0
- package/templates/commands/planning/sync-todos-github.md +203 -0
- package/templates/commands/quality-check.md +211 -0
- package/templates/commands/run-tests.md +159 -0
- package/templates/commands/start-feature-plan.md +232 -0
- package/templates/commands/start-refactor-plan.md +244 -0
- package/templates/commands/sync-planning.md +176 -0
- package/templates/commands/update-docs.md +242 -0
- package/templates/docs/CHECKPOINT-SYSTEM.md +504 -0
- package/templates/docs/INDEX.md +677 -0
- package/templates/docs/RECOMMENDED-HOOKS.md +415 -0
- package/templates/docs/_registry.json +329 -0
- package/templates/docs/diagrams/README.md +220 -0
- package/templates/docs/diagrams/agent-hierarchy.mmd +55 -0
- package/templates/docs/diagrams/documentation-map.mmd +61 -0
- package/templates/docs/diagrams/tools-relationship.mmd +55 -0
- package/templates/docs/diagrams/workflow-decision-tree.mmd +38 -0
- package/templates/docs/doc-sync.md +533 -0
- package/templates/docs/examples/end-to-end-workflow.md +1505 -0
- package/templates/docs/glossary.md +495 -0
- package/templates/docs/guides/mockup-prompt-engineering.md +644 -0
- package/templates/docs/guides/mockup-setup.md +737 -0
- package/templates/docs/learnings/README.md +250 -0
- package/templates/docs/learnings/common-architectural-patterns.md +123 -0
- package/templates/docs/learnings/common-mistakes-to-avoid.md +149 -0
- package/templates/docs/learnings/markdown-formatting-standards.md +104 -0
- package/templates/docs/learnings/monorepo-command-execution.md +64 -0
- package/templates/docs/learnings/optimization-tips.md +146 -0
- package/templates/docs/learnings/planning-linear-sync-workflow.md +70 -0
- package/templates/docs/learnings/shell-compatibility-fish.md +46 -0
- package/templates/docs/learnings/test-organization-structure.md +68 -0
- package/templates/docs/mcp-installation.md +613 -0
- package/templates/docs/mcp-servers.md +989 -0
- package/templates/docs/notification-installation.md +570 -0
- package/templates/docs/quick-start.md +354 -0
- package/templates/docs/standards/architecture-patterns.md +1064 -0
- package/templates/docs/standards/atomic-commits.md +513 -0
- package/templates/docs/standards/code-standards.md +993 -0
- package/templates/docs/standards/design-standards.md +656 -0
- package/templates/docs/standards/documentation-standards.md +1160 -0
- package/templates/docs/standards/testing-standards.md +969 -0
- package/templates/docs/system-maintenance.md +604 -0
- package/templates/docs/templates/PDR-template.md +561 -0
- package/templates/docs/templates/TODOs-template.md +534 -0
- package/templates/docs/templates/tech-analysis-template.md +800 -0
- package/templates/docs/workflows/README.md +519 -0
- package/templates/docs/workflows/atomic-task-protocol.md +955 -0
- package/templates/docs/workflows/decision-tree.md +482 -0
- package/templates/docs/workflows/edge-cases.md +856 -0
- package/templates/docs/workflows/phase-1-planning.md +957 -0
- package/templates/docs/workflows/phase-2-implementation.md +896 -0
- package/templates/docs/workflows/phase-3-validation.md +792 -0
- package/templates/docs/workflows/phase-4-finalization.md +927 -0
- package/templates/docs/workflows/quick-fix-protocol.md +505 -0
- package/templates/docs/workflows/task-atomization.md +537 -0
- package/templates/docs/workflows/task-completion-protocol.md +448 -0
- package/templates/hooks/on-notification.sh +28 -0
- package/templates/schemas/checkpoint.schema.json +97 -0
- package/templates/schemas/code-registry.schema.json +84 -0
- package/templates/schemas/pdr.schema.json +314 -0
- package/templates/schemas/problems.schema.json +55 -0
- package/templates/schemas/tech-analysis.schema.json +404 -0
- package/templates/schemas/telemetry.schema.json +298 -0
- package/templates/schemas/todos.schema.json +234 -0
- package/templates/schemas/workflows.schema.json +69 -0
- package/templates/scripts/add-changelogs.sh +105 -0
- package/templates/scripts/generate-code-registry.ts +270 -0
- package/templates/scripts/health-check.sh +343 -0
- package/templates/scripts/sync-registry.sh +40 -0
- package/templates/scripts/telemetry-report.ts +36 -0
- package/templates/scripts/validate-docs.sh +224 -0
- package/templates/scripts/validate-registry.sh +225 -0
- package/templates/scripts/validate-schemas.ts +283 -0
- package/templates/scripts/validate-structure.sh +165 -0
- package/templates/scripts/worktree-cleanup.sh +81 -0
- package/templates/scripts/worktree-create.sh +63 -0
- package/templates/sessions/planning/.gitkeep +0 -0
- package/templates/sessions/planning/archived/.gitkeep +0 -0
- package/templates/settings.json +202 -0
- package/templates/settings.local.json +138 -0
- package/templates/skills/README.md +197 -0
- package/templates/skills/_registry.json +473 -0
- package/templates/skills/audit/accessibility-audit.md +309 -0
- package/templates/skills/audit/performance-audit.md +257 -0
- package/templates/skills/audit/security-audit.md +217 -0
- package/templates/skills/auth/nextauth-patterns.md +308 -0
- package/templates/skills/brand-guidelines.md +240 -0
- package/templates/skills/documentation/markdown-formatter.md +302 -0
- package/templates/skills/git/git-commit-helper.md +321 -0
- package/templates/skills/i18n/i18n-patterns.md +251 -0
- package/templates/skills/patterns/error-handling-patterns.md +242 -0
- package/templates/skills/patterns/tdd-methodology.md +342 -0
- package/templates/skills/qa/qa-criteria-validator.md +383 -0
- package/templates/skills/qa/web-app-testing.md +398 -0
- package/templates/skills/react/react-hook-form-patterns.md +359 -0
- package/templates/skills/state/redux-toolkit-patterns.md +272 -0
- package/templates/skills/state/tanstack-query-patterns.md +299 -0
- package/templates/skills/state/zustand-patterns.md +301 -0
- package/templates/skills/tech/mermaid-diagram-specialist.md +195 -0
- package/templates/skills/tech/shadcn-specialist.md +252 -0
- package/templates/skills/tech/vercel-specialist.md +297 -0
- package/templates/skills/testing/api-app-testing.md +254 -0
- package/templates/skills/testing/performance-testing.md +275 -0
- package/templates/skills/testing/security-testing.md +348 -0
- package/templates/skills/utils/add-memory.md +295 -0
- package/templates/skills/utils/json-data-auditor.md +283 -0
- package/templates/skills/utils/pdf-creator-editor.md +342 -0
- 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
|