@qazuor/claude-code-config 0.4.0 → 0.6.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 (64) hide show
  1. package/README.md +395 -50
  2. package/dist/bin.cjs +3207 -165
  3. package/dist/bin.cjs.map +1 -1
  4. package/dist/bin.js +3207 -165
  5. package/dist/bin.js.map +1 -1
  6. package/dist/index.cjs +75 -58
  7. package/dist/index.cjs.map +1 -1
  8. package/dist/index.d.cts +284 -1
  9. package/dist/index.d.ts +284 -1
  10. package/dist/index.js +75 -58
  11. package/dist/index.js.map +1 -1
  12. package/package.json +24 -24
  13. package/templates/CLAUDE.md.template +60 -5
  14. package/templates/agents/README.md +58 -39
  15. package/templates/agents/_registry.json +43 -202
  16. package/templates/agents/engineering/{hono-engineer.md → api-engineer.md} +61 -70
  17. package/templates/agents/engineering/database-engineer.md +253 -0
  18. package/templates/agents/engineering/frontend-engineer.md +302 -0
  19. package/templates/docs/_registry.json +54 -0
  20. package/templates/docs/standards/code-standards.md +20 -0
  21. package/templates/docs/standards/design-standards.md +13 -0
  22. package/templates/docs/standards/documentation-standards.md +13 -0
  23. package/templates/docs/standards/performance-standards.md +524 -0
  24. package/templates/docs/standards/security-standards.md +496 -0
  25. package/templates/docs/standards/testing-standards.md +15 -0
  26. package/templates/hooks/on-notification.sh +0 -0
  27. package/templates/scripts/add-changelogs.sh +0 -0
  28. package/templates/scripts/generate-code-registry.ts +0 -0
  29. package/templates/scripts/health-check.sh +0 -0
  30. package/templates/scripts/sync-registry.sh +0 -0
  31. package/templates/scripts/telemetry-report.ts +0 -0
  32. package/templates/scripts/validate-docs.sh +0 -0
  33. package/templates/scripts/validate-registry.sh +0 -0
  34. package/templates/scripts/validate-structure.sh +0 -0
  35. package/templates/scripts/worktree-cleanup.sh +0 -0
  36. package/templates/scripts/worktree-create.sh +0 -0
  37. package/templates/skills/README.md +99 -90
  38. package/templates/skills/_registry.json +323 -16
  39. package/templates/skills/api-frameworks/express-patterns.md +411 -0
  40. package/templates/skills/api-frameworks/fastify-patterns.md +419 -0
  41. package/templates/skills/api-frameworks/hono-patterns.md +388 -0
  42. package/templates/skills/api-frameworks/nestjs-patterns.md +497 -0
  43. package/templates/skills/database/drizzle-patterns.md +449 -0
  44. package/templates/skills/database/mongoose-patterns.md +503 -0
  45. package/templates/skills/database/prisma-patterns.md +487 -0
  46. package/templates/skills/frontend-frameworks/astro-patterns.md +415 -0
  47. package/templates/skills/frontend-frameworks/nextjs-patterns.md +470 -0
  48. package/templates/skills/frontend-frameworks/react-patterns.md +516 -0
  49. package/templates/skills/frontend-frameworks/tanstack-start-patterns.md +469 -0
  50. package/templates/skills/patterns/atdd-methodology.md +364 -0
  51. package/templates/skills/patterns/bdd-methodology.md +281 -0
  52. package/templates/skills/patterns/clean-architecture.md +444 -0
  53. package/templates/skills/patterns/hexagonal-architecture.md +567 -0
  54. package/templates/skills/patterns/vertical-slice-architecture.md +502 -0
  55. package/templates/agents/engineering/astro-engineer.md +0 -293
  56. package/templates/agents/engineering/db-drizzle-engineer.md +0 -360
  57. package/templates/agents/engineering/express-engineer.md +0 -316
  58. package/templates/agents/engineering/fastify-engineer.md +0 -399
  59. package/templates/agents/engineering/mongoose-engineer.md +0 -473
  60. package/templates/agents/engineering/nestjs-engineer.md +0 -429
  61. package/templates/agents/engineering/nextjs-engineer.md +0 -451
  62. package/templates/agents/engineering/prisma-engineer.md +0 -432
  63. package/templates/agents/engineering/react-senior-dev.md +0 -394
  64. package/templates/agents/engineering/tanstack-start-engineer.md +0 -447
@@ -2,52 +2,62 @@
2
2
 
3
3
  This directory contains **reusable skill modules** that provide specialized knowledge and workflows. Skills can be used by multiple agents and are invoked when specific expertise is needed.
4
4
 
5
- ## ⚙️ Configuration Required
5
+ ## Architecture
6
6
 
7
- All skills include a `config_required` section in their YAML frontmatter. Configure the required settings in your project before using a skill.
7
+ Skills provide **framework-specific patterns** that complement **generic agents**:
8
8
 
9
- **Example skill frontmatter:**
10
- ```yaml
11
- ---
12
- name: skill-name
13
- category: testing|audit|patterns|tech|utils
14
- description: Brief description
15
- usage: When to use this skill
16
- input: What the skill needs
17
- output: What the skill produces
18
- config_required:
19
- - setting_name: "Description of what to configure"
20
- ---
9
+ ```text
10
+ Skills (specific patterns) Used By
11
+ ────────────────────────── ────────────────────
12
+ api-frameworks/
13
+ ├── hono-patterns ──────> api-engineer
14
+ ├── express-patterns ──────> api-engineer
15
+ ├── fastify-patterns ──────> api-engineer
16
+ └── nestjs-patterns ──────> api-engineer
17
+
18
+ database/
19
+ ├── drizzle-patterns ──────> database-engineer
20
+ ├── prisma-patterns ──────> database-engineer
21
+ └── mongoose-patterns ──────> database-engineer
22
+
23
+ frontend-frameworks/
24
+ ├── react-patterns ──────> frontend-engineer
25
+ ├── nextjs-patterns ──────> frontend-engineer
26
+ ├── astro-patterns ──────> frontend-engineer
27
+ └── tanstack-start-patterns ─────> frontend-engineer
21
28
  ```
22
29
 
30
+ ## Configuration Required
31
+
32
+ All skills include a `config_required` section in their YAML frontmatter. Configure the required settings in your project before using a skill.
33
+
23
34
  ## Skill Categories
24
35
 
25
- ### Testing Skills (6 skills)
36
+ ### API Framework Skills (4 skills)
26
37
 
27
38
  | Skill | Description | When to Use |
28
39
  |-------|-------------|-------------|
29
- | [api-app-testing](testing/api-app-testing.md) | API endpoint testing workflow | Testing APIs during development |
30
- | [performance-testing](testing/performance-testing.md) | Performance benchmarks and load testing | Validating performance requirements |
31
- | [security-testing](testing/security-testing.md) | Security testing patterns | Testing security during development |
32
- | [web-app-testing](qa/web-app-testing.md) | E2E web application testing | Testing web UI flows |
33
- | [qa-criteria-validator](qa/qa-criteria-validator.md) | Validate against PDR acceptance criteria | Before feature completion |
34
- | [tdd-methodology](patterns/tdd-methodology.md) | Test-Driven Development workflow | During implementation |
40
+ | [hono-patterns](api-frameworks/hono-patterns.md) | Hono framework patterns | Building APIs with Hono |
41
+ | [express-patterns](api-frameworks/express-patterns.md) | Express.js patterns | Building APIs with Express |
42
+ | [fastify-patterns](api-frameworks/fastify-patterns.md) | Fastify patterns | Building APIs with Fastify |
43
+ | [nestjs-patterns](api-frameworks/nestjs-patterns.md) | NestJS patterns | Building APIs with NestJS |
35
44
 
36
- ### Audit Skills (3 skills)
45
+ ### Database Skills (3 skills)
37
46
 
38
47
  | Skill | Description | When to Use |
39
48
  |-------|-------------|-------------|
40
- | [security-audit](audit/security-audit.md) | OWASP compliance and penetration testing | Pre-deployment, quarterly reviews |
41
- | [performance-audit](audit/performance-audit.md) | Core Web Vitals and optimization | Pre-deployment, after major features |
42
- | [accessibility-audit](audit/accessibility-audit.md) | WCAG 2.1 Level AA compliance | Pre-deployment, after UI changes |
49
+ | [drizzle-patterns](database/drizzle-patterns.md) | Drizzle ORM patterns | Using Drizzle for database |
50
+ | [prisma-patterns](database/prisma-patterns.md) | Prisma ORM patterns | Using Prisma for database |
51
+ | [mongoose-patterns](database/mongoose-patterns.md) | Mongoose ODM patterns | Using MongoDB with Mongoose |
43
52
 
44
- ### Pattern Skills (3 skills)
53
+ ### Frontend Framework Skills (4 skills)
45
54
 
46
55
  | Skill | Description | When to Use |
47
56
  |-------|-------------|-------------|
48
- | [error-handling-patterns](patterns/error-handling-patterns.md) | Error class hierarchy and handling | Implementing error handling |
49
- | [auth-patterns](auth/nextauth-patterns.md) | Authentication patterns | Implementing auth flows |
50
- | [i18n-patterns](i18n/i18n-patterns.md) | Internationalization patterns | Adding multi-language support |
57
+ | [react-patterns](frontend-frameworks/react-patterns.md) | React component patterns | Building React components |
58
+ | [nextjs-patterns](frontend-frameworks/nextjs-patterns.md) | Next.js App Router patterns | Building Next.js apps |
59
+ | [astro-patterns](frontend-frameworks/astro-patterns.md) | Astro patterns | Building Astro sites |
60
+ | [tanstack-start-patterns](frontend-frameworks/tanstack-start-patterns.md) | TanStack Start patterns | Building TanStack Start apps |
51
61
 
52
62
  ### State Management Skills (3 skills)
53
63
 
@@ -57,87 +67,72 @@ config_required:
57
67
  | [tanstack-query-patterns](state/tanstack-query-patterns.md) | TanStack Query patterns | Server state management |
58
68
  | [zustand-patterns](state/zustand-patterns.md) | Zustand patterns | Simple client state |
59
69
 
60
- ### React Skills (1 skill)
61
-
62
- | Skill | Description | When to Use |
63
- |-------|-------------|-------------|
64
- | [react-hook-form-patterns](react/react-hook-form-patterns.md) | Form handling with React Hook Form | Building forms |
65
-
66
- ### Tech Skills (3 skills)
67
-
68
- | Skill | Description | When to Use |
69
- |-------|-------------|-------------|
70
- | [mermaid-diagram-specialist](tech/mermaid-diagram-specialist.md) | Creating Mermaid diagrams | Documentation, architecture |
71
- | [component-library-specialist](tech/shadcn-specialist.md) | Component library integration | UI implementation |
72
- | [deployment-platform-specialist](tech/vercel-specialist.md) | Deployment configuration | Deploying applications |
73
-
74
- ### Utility Skills (3 skills)
75
-
76
- | Skill | Description | When to Use |
77
- |-------|-------------|-------------|
78
- | [add-memory](utils/add-memory.md) | Capture learnings and knowledge | After discovering patterns/issues |
79
- | [json-data-auditor](utils/json-data-auditor.md) | JSON validation and transformation | Working with JSON data |
80
- | [pdf-generator](utils/pdf-creator-editor.md) | PDF generation | Creating reports, invoices |
81
-
82
- ### Git Skills (1 skill)
70
+ ### Testing Skills (4 skills)
83
71
 
84
72
  | Skill | Description | When to Use |
85
73
  |-------|-------------|-------------|
86
- | [git-commit-helper](git/git-commit-helper.md) | Conventional commit messages | Creating commits |
74
+ | [api-app-testing](testing/api-app-testing.md) | API endpoint testing | Testing APIs |
75
+ | [performance-testing](testing/performance-testing.md) | Performance benchmarks | Validating performance |
76
+ | [security-testing](testing/security-testing.md) | Security testing patterns | Testing security |
77
+ | [web-app-testing](qa/web-app-testing.md) | E2E web application testing | Testing web UI flows |
87
78
 
88
- ### Documentation Skills (1 skill)
79
+ ### Audit Skills (3 skills)
89
80
 
90
81
  | Skill | Description | When to Use |
91
82
  |-------|-------------|-------------|
92
- | [markdown-formatter](documentation/markdown-formatter.md) | Markdown formatting standards | Formatting documentation |
83
+ | [security-audit](audit/security-audit.md) | OWASP compliance | Pre-deployment |
84
+ | [performance-audit](audit/performance-audit.md) | Core Web Vitals | Pre-deployment |
85
+ | [accessibility-audit](audit/accessibility-audit.md) | WCAG 2.1 Level AA | Pre-deployment |
93
86
 
94
- ### Design Skills (1 skill)
87
+ ### Pattern Skills (3 skills)
95
88
 
96
89
  | Skill | Description | When to Use |
97
90
  |-------|-------------|-------------|
98
- | [brand-guidelines](brand-guidelines.md) | Brand consistency in UI | Creating UI components |
99
-
100
- ## Testing vs Audit Skills
101
-
102
- | Aspect | Testing Skills | Audit Skills |
103
- |--------|----------------|--------------|
104
- | **When** | During development (Phase 2) | Before deployment (Phase 3-4) |
105
- | **Frequency** | Continuous (every commit) | Periodic (quarterly, pre-deploy) |
106
- | **Duration** | Minutes | 60-90 minutes |
107
- | **Output** | Pass/Fail + Coverage % | Comprehensive report |
108
- | **Focus** | Does code work? | Meets standards/compliance? |
91
+ | [error-handling-patterns](patterns/error-handling-patterns.md) | Error handling | Implementing error handling |
92
+ | [tdd-methodology](patterns/tdd-methodology.md) | Test-Driven Development | During implementation |
93
+ | [auth-patterns](auth/nextauth-patterns.md) | Authentication patterns | Implementing auth |
94
+
95
+ ### Other Skills
96
+
97
+ | Category | Skill | Description |
98
+ |----------|-------|-------------|
99
+ | React | [react-hook-form-patterns](react/react-hook-form-patterns.md) | Form handling |
100
+ | i18n | [i18n-patterns](i18n/i18n-patterns.md) | Internationalization |
101
+ | QA | [qa-criteria-validator](qa/qa-criteria-validator.md) | PDR validation |
102
+ | Tech | [mermaid-diagram-specialist](tech/mermaid-diagram-specialist.md) | Mermaid diagrams |
103
+ | Tech | [component-library-specialist](tech/shadcn-specialist.md) | Component libraries |
104
+ | Tech | [deployment-platform-specialist](tech/vercel-specialist.md) | Deployment config |
105
+ | Git | [git-commit-helper](git/git-commit-helper.md) | Commit messages |
106
+ | Docs | [markdown-formatter](documentation/markdown-formatter.md) | Markdown formatting |
107
+ | Design | [brand-guidelines](brand-guidelines.md) | Brand consistency |
108
+ | Utils | [add-memory](utils/add-memory.md) | Capture learnings |
109
+ | Utils | [json-data-auditor](utils/json-data-auditor.md) | JSON validation |
110
+ | Utils | [pdf-generator](utils/pdf-creator-editor.md) | PDF generation |
109
111
 
110
112
  ## Usage
111
113
 
112
114
  Skills are invoked within agent workflows or directly:
113
115
 
114
116
  ```text
115
- "Apply the security-testing skill to validate input handling"
116
- "Use git-commit-helper to generate commit message"
117
- "Run qa-criteria-validator against the PDR"
117
+ "Apply the hono-patterns skill for API implementation"
118
+ "Use drizzle-patterns for database schema"
119
+ "Reference nextjs-patterns for the page component"
118
120
  ```
119
121
 
120
122
  ## Skill File Format
121
123
 
122
124
  Each skill file includes:
123
125
 
124
- 1. **YAML Frontmatter**
125
- - `name`: Unique identifier
126
- - `category`: Skill category
127
- - `description`: Brief description
128
- - `usage`: When to use
129
- - `input`/`output`: What skill needs and produces
130
- - `config_required`: Configuration directives
131
-
132
- 2. **Configuration Section**
133
- - Table of required settings
134
-
135
- 3. **Skill Content**
136
- - Purpose
137
- - Capabilities
138
- - Workflow steps
126
+ 1. **Header**
127
+ - Skill name and overview
128
+ - When to use
129
+
130
+ 2. **Content**
131
+ - Framework-specific code examples
132
+ - Common patterns
139
133
  - Best practices
140
- - Deliverables
134
+ - Testing examples
135
+ - Project structure
141
136
 
142
137
  ## Directory Structure
143
138
 
@@ -145,6 +140,20 @@ Each skill file includes:
145
140
  skills/
146
141
  ├── README.md
147
142
  ├── brand-guidelines.md
143
+ ├── api-frameworks/ # NEW: API framework patterns
144
+ │ ├── hono-patterns.md
145
+ │ ├── express-patterns.md
146
+ │ ├── fastify-patterns.md
147
+ │ └── nestjs-patterns.md
148
+ ├── database/ # NEW: Database ORM patterns
149
+ │ ├── drizzle-patterns.md
150
+ │ ├── prisma-patterns.md
151
+ │ └── mongoose-patterns.md
152
+ ├── frontend-frameworks/ # NEW: Frontend framework patterns
153
+ │ ├── react-patterns.md
154
+ │ ├── nextjs-patterns.md
155
+ │ ├── astro-patterns.md
156
+ │ └── tanstack-start-patterns.md
148
157
  ├── audit/
149
158
  │ ├── security-audit.md
150
159
  │ ├── performance-audit.md
@@ -186,12 +195,12 @@ skills/
186
195
  ## Adding New Skills
187
196
 
188
197
  1. Create `.md` file in appropriate category folder
189
- 2. Include YAML frontmatter with `config_required`
190
- 3. Add `⚙️ Configuration` section with settings table
191
- 4. Keep content concise (150-300 lines target)
198
+ 2. Include framework-specific code examples
199
+ 3. Keep content focused on one framework/library
200
+ 4. Include testing examples
192
201
  5. Update this README
193
202
 
194
203
  ## Related
195
204
 
196
- - [Agents](../agents/README.md)
205
+ - [Agents](../agents/README.md) - Generic role-based agents
197
206
  - [Commands](../commands/README.md)