@qazuor/claude-code-config 0.5.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 (57) hide show
  1. package/README.md +106 -41
  2. package/dist/bin.cjs +963 -84
  3. package/dist/bin.cjs.map +1 -1
  4. package/dist/bin.js +963 -84
  5. package/dist/bin.js.map +1 -1
  6. package/dist/index.cjs +73 -56
  7. package/dist/index.cjs.map +1 -1
  8. package/dist/index.d.cts +2 -0
  9. package/dist/index.d.ts +2 -0
  10. package/dist/index.js +73 -56
  11. package/dist/index.js.map +1 -1
  12. package/package.json +23 -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/hooks/on-notification.sh +0 -0
  20. package/templates/scripts/add-changelogs.sh +0 -0
  21. package/templates/scripts/generate-code-registry.ts +0 -0
  22. package/templates/scripts/health-check.sh +0 -0
  23. package/templates/scripts/sync-registry.sh +0 -0
  24. package/templates/scripts/telemetry-report.ts +0 -0
  25. package/templates/scripts/validate-docs.sh +0 -0
  26. package/templates/scripts/validate-registry.sh +0 -0
  27. package/templates/scripts/validate-structure.sh +0 -0
  28. package/templates/scripts/worktree-cleanup.sh +0 -0
  29. package/templates/scripts/worktree-create.sh +0 -0
  30. package/templates/skills/README.md +99 -90
  31. package/templates/skills/_registry.json +323 -16
  32. package/templates/skills/api-frameworks/express-patterns.md +411 -0
  33. package/templates/skills/api-frameworks/fastify-patterns.md +419 -0
  34. package/templates/skills/api-frameworks/hono-patterns.md +388 -0
  35. package/templates/skills/api-frameworks/nestjs-patterns.md +497 -0
  36. package/templates/skills/database/drizzle-patterns.md +449 -0
  37. package/templates/skills/database/mongoose-patterns.md +503 -0
  38. package/templates/skills/database/prisma-patterns.md +487 -0
  39. package/templates/skills/frontend-frameworks/astro-patterns.md +415 -0
  40. package/templates/skills/frontend-frameworks/nextjs-patterns.md +470 -0
  41. package/templates/skills/frontend-frameworks/react-patterns.md +516 -0
  42. package/templates/skills/frontend-frameworks/tanstack-start-patterns.md +469 -0
  43. package/templates/skills/patterns/atdd-methodology.md +364 -0
  44. package/templates/skills/patterns/bdd-methodology.md +281 -0
  45. package/templates/skills/patterns/clean-architecture.md +444 -0
  46. package/templates/skills/patterns/hexagonal-architecture.md +567 -0
  47. package/templates/skills/patterns/vertical-slice-architecture.md +502 -0
  48. package/templates/agents/engineering/astro-engineer.md +0 -293
  49. package/templates/agents/engineering/db-drizzle-engineer.md +0 -360
  50. package/templates/agents/engineering/express-engineer.md +0 -316
  51. package/templates/agents/engineering/fastify-engineer.md +0 -399
  52. package/templates/agents/engineering/mongoose-engineer.md +0 -473
  53. package/templates/agents/engineering/nestjs-engineer.md +0 -429
  54. package/templates/agents/engineering/nextjs-engineer.md +0 -451
  55. package/templates/agents/engineering/prisma-engineer.md +0 -432
  56. package/templates/agents/engineering/react-senior-dev.md +0 -394
  57. package/templates/agents/engineering/tanstack-start-engineer.md +0 -447
package/README.md CHANGED
@@ -68,14 +68,29 @@ A comprehensive CLI tool to install and manage Claude Code configurations in you
68
68
 
69
69
  | Category | Count | Description |
70
70
  |----------|-------|-------------|
71
- | **Agents** | 23 | Specialized AI agents for different roles |
72
- | **Skills** | 25 | Reusable capabilities and knowledge |
71
+ | **Agents** | 15 | Specialized AI agents for different roles (generic + specialized) |
72
+ | **Skills** | 41 | Reusable capabilities including framework-specific patterns |
73
73
  | **Commands** | 23 | Slash commands for workflows |
74
74
  | **Docs** | 21 | Reference documentation and guides |
75
75
  | **MCP Servers** | 27 | External tool integrations |
76
76
  | **Bundles** | 23 | Pre-grouped module sets |
77
77
  | **Standards** | 6 | Configurable project standards (code, testing, docs, design, security, performance) |
78
78
 
79
+ ### Framework-Agnostic Design
80
+
81
+ Agents are designed to be **framework-agnostic** and use **related skills** for framework-specific patterns:
82
+
83
+ - **api-engineer** + `hono-patterns` / `express-patterns` / `fastify-patterns` / `nestjs-patterns`
84
+ - **database-engineer** + `drizzle-patterns` / `prisma-patterns` / `mongoose-patterns`
85
+ - **frontend-engineer** + `react-patterns` / `nextjs-patterns` / `astro-patterns` / `tanstack-start-patterns`
86
+
87
+ ### Intelligent Skill Selection
88
+
89
+ The wizard includes an **intelligent mutual exclusivity system** that:
90
+ - Detects conflicting skills (e.g., TDD vs BDD vs ATDD)
91
+ - Automatically disables incompatible options
92
+ - Allows combining compatible methodologies (e.g., TDD + Clean Architecture)
93
+
79
94
  ### Smart Defaults
80
95
 
81
96
  - **Package Manager Detection**: Automatically detects pnpm, yarn, npm, or bun
@@ -91,15 +106,20 @@ After running `qazuor-claude-config init`, your project will have:
91
106
  ```
92
107
  .claude/
93
108
  ├── config.json # Configuration storage
109
+ ├── settings.json # Claude Code settings (model, permissions)
94
110
  ├── settings.local.json # Local permissions & MCP
95
- ├── agents/ # 23 specialized AI agents
96
- │ ├── engineering/ # Backend, frontend, DB engineers
111
+ ├── agents/ # 15 specialized AI agents
112
+ │ ├── engineering/ # Generic engineers (API, Database, Frontend)
97
113
  │ ├── product/ # Product functional & technical
98
114
  │ ├── quality/ # QA, debugger
99
115
  │ ├── design/ # UX/UI designer
100
116
  │ └── specialized/ # SEO, i18n, content, tech writer
101
- ├── skills/ # 25 development skills
117
+ ├── skills/ # 41 development skills
102
118
  │ ├── testing/ # TDD, security, performance, QA
119
+ │ ├── patterns/ # Architecture patterns (Clean, Hexagonal, etc.)
120
+ │ ├── api-frameworks/ # Hono, Express, Fastify, NestJS patterns
121
+ │ ├── database/ # Drizzle, Prisma, Mongoose patterns
122
+ │ ├── frontend-frameworks/ # React, Next.js, Astro, TanStack patterns
103
123
  │ ├── development/ # Git, Vercel, Shadcn, diagrams
104
124
  │ └── design/ # Brand, errors, markdown, PDF
105
125
  ├── commands/ # 23 slash commands
@@ -171,12 +191,15 @@ The wizard will guide you through:
171
191
  1. **Project Information** - Name, description, organization, entity types
172
192
  2. **Preferences** - Language, co-author settings
173
193
  3. **Scaffold Options** - Claude-only or full project structure
174
- 4. **Module Selection** - Choose bundles or custom modules
194
+ 4. **Module Selection** - Choose bundles or custom modules (with smart skill selection)
175
195
  5. **Hook Configuration** - Desktop/audio notifications
176
196
  6. **MCP Servers** - External tool integrations
177
197
  7. **Permissions** - What Claude can do
178
198
  8. **Code Style** - EditorConfig, Biome, Prettier, Commitlint
179
- 9. **Template Configuration** - Auto-detected command/path/target values
199
+ 9. **CI/CD** - GitHub Actions workflows
200
+ 10. **Folder Preferences** - Test, planning, docs locations
201
+ 11. **Template Configuration** - Auto-detected command/path/target values
202
+ 12. **Claude Settings** - Model, API choice, permissions, behavior
180
203
 
181
204
  > **Tip**: You can go back to any previous step using the "← Back" option to modify your choices.
182
205
 
@@ -348,8 +371,8 @@ qazuor-claude-config list [options] [type]
348
371
 
349
372
  | Type | Description |
350
373
  |------|-------------|
351
- | `agents` | List all 23 available agents |
352
- | `skills` | List all 25 available skills |
374
+ | `agents` | List all 15 available agents |
375
+ | `skills` | List all 41 available skills |
353
376
  | `commands` | List all 23 available commands |
354
377
  | `docs` | List all 21 documentation modules |
355
378
  | `bundles` | List all 23 module bundles |
@@ -400,10 +423,11 @@ Categories: agent, skill, command, doc
400
423
  ```bash
401
424
  # Add an agent
402
425
  qazuor-claude-config add agent:tech-lead
403
- qazuor-claude-config add agent:prisma-engineer
426
+ qazuor-claude-config add agent:api-engineer
404
427
 
405
428
  # Add a skill
406
429
  qazuor-claude-config add skill:tdd-methodology
430
+ qazuor-claude-config add skill:hono-patterns
407
431
 
408
432
  # Add a command
409
433
  qazuor-claude-config add command:security-audit
@@ -499,29 +523,29 @@ Complete technology stacks for different project types.
499
523
 
500
524
  | Bundle | Description | Includes |
501
525
  |--------|-------------|----------|
502
- | `drizzle-database` | Drizzle ORM patterns | db-drizzle-engineer, json-data-auditor |
503
- | `prisma-database` | Prisma ORM patterns | prisma-engineer, json-data-auditor |
504
- | `mongoose-database` | MongoDB + Mongoose | mongoose-engineer, json-data-auditor |
526
+ | `drizzle-database` | Drizzle ORM patterns | database-engineer, drizzle-patterns, json-data-auditor |
527
+ | `prisma-database` | Prisma ORM patterns | database-engineer, prisma-patterns, json-data-auditor |
528
+ | `mongoose-database` | MongoDB + Mongoose | database-engineer, mongoose-patterns, json-data-auditor |
505
529
 
506
530
  ### API Bundles
507
531
 
508
532
  | Bundle | Description | Includes |
509
533
  |--------|-------------|----------|
510
- | `hono-api` | Hono framework | hono-engineer, api-app-testing, error-handling-patterns |
511
- | `express-api` | Express.js framework | express-engineer, api-app-testing, error-handling-patterns |
512
- | `fastify-api` | Fastify framework | fastify-engineer, api-app-testing, error-handling-patterns |
513
- | `nestjs-api` | NestJS framework | nestjs-engineer, api-app-testing, error-handling-patterns |
534
+ | `hono-api` | Hono framework | api-engineer, hono-patterns, api-app-testing, error-handling-patterns |
535
+ | `express-api` | Express.js framework | api-engineer, express-patterns, api-app-testing, error-handling-patterns |
536
+ | `fastify-api` | Fastify framework | api-engineer, fastify-patterns, api-app-testing, error-handling-patterns |
537
+ | `nestjs-api` | NestJS framework | api-engineer, nestjs-patterns, api-app-testing, error-handling-patterns |
514
538
 
515
539
  ### Frontend Bundles
516
540
 
517
541
  | Bundle | Description | Includes |
518
542
  |--------|-------------|----------|
519
- | `react-ui` | React + Shadcn UI | react-senior-dev, ux-ui-designer, shadcn-specialist, brand-guidelines, accessibility-audit |
520
- | `react-forms` | React Hook Form + Zod | react-senior-dev, react-hook-form-patterns, shadcn-specialist |
521
- | `react-state-zustand` | Zustand state management | react-senior-dev, zustand-patterns, tanstack-query-patterns |
522
- | `react-state-redux` | Redux Toolkit | react-senior-dev, redux-toolkit-patterns |
523
- | `nextjs-auth` | NextAuth.js authentication | nextjs-engineer, nextauth-patterns, security-testing |
524
- | `nextjs-i18n` | Next.js internationalization | nextjs-engineer, i18n-specialist, i18n-patterns |
543
+ | `react-ui` | React + Shadcn UI | frontend-engineer, react-patterns, ux-ui-designer, shadcn-specialist, brand-guidelines, accessibility-audit |
544
+ | `react-forms` | React Hook Form + Zod | frontend-engineer, react-patterns, react-hook-form-patterns, shadcn-specialist |
545
+ | `react-state-zustand` | Zustand state management | frontend-engineer, react-patterns, zustand-patterns, tanstack-query-patterns |
546
+ | `react-state-redux` | Redux Toolkit | frontend-engineer, react-patterns, redux-toolkit-patterns |
547
+ | `nextjs-auth` | NextAuth.js authentication | frontend-engineer, nextjs-patterns, nextauth-patterns, security-testing |
548
+ | `nextjs-i18n` | Next.js internationalization | frontend-engineer, nextjs-patterns, i18n-specialist, i18n-patterns |
525
549
 
526
550
  ### Workflow Bundles
527
551
 
@@ -534,25 +558,19 @@ Complete technology stacks for different project types.
534
558
 
535
559
  ## Modules
536
560
 
537
- ### Agents (23 Available)
561
+ ### Agents (15 Available)
538
562
 
539
- Specialized AI agents for different development roles.
563
+ Specialized AI agents for different development roles. Engineering agents are **framework-agnostic** and use **related skills** for framework-specific patterns.
540
564
 
541
565
  #### Engineering Agents
542
566
 
543
- | ID | Name | Description |
544
- |----|------|-------------|
545
- | `tech-lead` | Tech Lead | Architecture, coordination, code review |
546
- | `hono-engineer` | Hono Engineer | Hono API development |
547
- | `express-engineer` | Express Engineer | Express.js API development |
548
- | `fastify-engineer` | Fastify Engineer | Fastify API development |
549
- | `nestjs-engineer` | NestJS Engineer | NestJS framework development |
550
- | `db-drizzle-engineer` | Drizzle Engineer | Database with Drizzle ORM |
551
- | `prisma-engineer` | Prisma Engineer | Database with Prisma ORM |
552
- | `node-typescript-engineer` | Node/TS Engineer | Node.js/TypeScript development |
553
- | `astro-engineer` | Astro Engineer | Astro framework development |
554
- | `tanstack-start-engineer` | TanStack Engineer | TanStack Router/Query |
555
- | `react-senior-dev` | React Developer | React component development |
567
+ | ID | Name | Description | Related Skills |
568
+ |----|------|-------------|----------------|
569
+ | `tech-lead` | Tech Lead | Architecture, coordination, code review | - |
570
+ | `api-engineer` | API Engineer | Generic backend API development | hono, express, fastify, nestjs patterns |
571
+ | `database-engineer` | Database Engineer | Generic database design and development | drizzle, prisma, mongoose patterns |
572
+ | `frontend-engineer` | Frontend Engineer | Generic frontend development | react, nextjs, astro, tanstack patterns |
573
+ | `node-typescript-engineer` | Node/TS Engineer | Node.js/TypeScript development | - |
556
574
 
557
575
  #### Product Agents
558
576
 
@@ -584,15 +602,62 @@ Specialized AI agents for different development roles.
584
602
  | `content-writer` | Content Writer | Web copywriting |
585
603
  | `enrichment-agent` | Enrichment Agent | Data enrichment and planning context |
586
604
 
587
- ### Skills (25 Available)
605
+ ### Skills (41 Available)
606
+
607
+ Reusable capabilities that can be invoked by agents. Skills are organized by category and some have **mutual exclusivity** constraints.
608
+
609
+ #### Framework-Specific Skills
610
+
611
+ **API Frameworks** (use with api-engineer):
612
+
613
+ | ID | Name | Description |
614
+ |----|------|-------------|
615
+ | `hono-patterns` | Hono Patterns | Hono framework patterns and best practices |
616
+ | `express-patterns` | Express Patterns | Express.js patterns and middleware |
617
+ | `fastify-patterns` | Fastify Patterns | Fastify plugins and hooks |
618
+ | `nestjs-patterns` | NestJS Patterns | NestJS modules, controllers, providers |
619
+
620
+ **Database ORMs** (use with database-engineer):
621
+
622
+ | ID | Name | Description |
623
+ |----|------|-------------|
624
+ | `drizzle-patterns` | Drizzle Patterns | Drizzle ORM schemas and queries |
625
+ | `prisma-patterns` | Prisma Patterns | Prisma client and migrations |
626
+ | `mongoose-patterns` | Mongoose Patterns | Mongoose schemas and models |
627
+
628
+ **Frontend Frameworks** (use with frontend-engineer):
629
+
630
+ | ID | Name | Description |
631
+ |----|------|-------------|
632
+ | `react-patterns` | React Patterns | React hooks, components, state |
633
+ | `nextjs-patterns` | Next.js Patterns | Next.js App Router, SSR, SSG |
634
+ | `astro-patterns` | Astro Patterns | Astro islands, content collections |
635
+ | `tanstack-start-patterns` | TanStack Start | TanStack Router and Query patterns |
636
+
637
+ #### Methodology Skills
638
+
639
+ **Development Methodologies** (mutually exclusive - pick one):
640
+
641
+ | ID | Name | Description |
642
+ |----|------|-------------|
643
+ | `tdd-methodology` | TDD Methodology | Test-driven development (Red-Green-Refactor) |
644
+ | `bdd-methodology` | BDD Methodology | Behavior-driven development with Gherkin |
645
+ | `atdd-methodology` | ATDD Methodology | Acceptance test-driven development |
646
+
647
+ **Architectural Methodologies** (can combine with development methodologies):
648
+
649
+ | ID | Name | Description |
650
+ |----|------|-------------|
651
+ | `clean-architecture` | Clean Architecture | Concentric layers with dependency inversion |
652
+ | `hexagonal-architecture` | Hexagonal Architecture | Ports and Adapters pattern |
653
+ | `vertical-slice-architecture` | Vertical Slice | Feature-based code organization |
588
654
 
589
- Reusable capabilities that can be invoked by agents.
655
+ > **Note:** Clean and Hexagonal are alternatives (similar approaches). Vertical Slice is an alternative to both layered architectures.
590
656
 
591
657
  #### Testing Skills
592
658
 
593
659
  | ID | Name | Description |
594
660
  |----|------|-------------|
595
- | `tdd-methodology` | TDD Methodology | Test-driven development |
596
661
  | `security-testing` | Security Testing | Security vulnerability testing |
597
662
  | `performance-testing` | Performance Testing | Performance optimization |
598
663
  | `api-app-testing` | API Testing | API testing strategies |