@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,354 @@
1
+ # Quick Start Guide
2
+
3
+ Get up and running with the Claude Code workflow system in 15 minutes.
4
+
5
+ ---
6
+
7
+ ## Prerequisites (2 min)
8
+
9
+ Before starting, ensure you have:
10
+
11
+ - [x] Claude Code CLI installed
12
+ - [x] Repository cloned: `git clone https://github.com/your-org/your-repo.git`
13
+ - [x] Node.js ≥18 installed
14
+ - [x] pnpm ≥8.15.6 installed
15
+
16
+ **Verify installation:**
17
+
18
+ ```bash
19
+ cd your-repo
20
+ pnpm install
21
+ ```
22
+
23
+ ---
24
+
25
+ ## Step 1: Understand the Structure (3 min)
26
+
27
+ ### Directory Layout
28
+
29
+ ```
30
+ .claude/
31
+ ├── agents/ # Specialized AI assistants (13 total)
32
+ │ ├── product/ # Product & planning agents
33
+ │ ├── engineering/ # Dev agents (Hono, DB, React, etc.)
34
+ │ ├── quality/ # QA & debugging agents
35
+ │ ├── design/ # UI/UX agents
36
+ │ └── specialized/ # Niche expertise (i18n, tech-writer)
37
+ ├── commands/ # Slash commands (18 total)
38
+ │ ├── audit/ # Audit commands (security, performance, accessibility)
39
+ │ ├── meta/ # Meta commands (create-agent, create-command, etc.)
40
+ │ ├── git/ # Git operations (/commit)
41
+ │ └── formatting/ # Code formatting
42
+ ├── skills/ # Reusable capabilities (16 total)
43
+ │ ├── testing/ # Testing methodologies
44
+ │ ├── patterns/ # Development patterns (TDD, error handling)
45
+ │ ├── tech/ # Tech specialists (Vercel, Shadcn, Mermaid)
46
+ │ └── utils/ # Utilities (add-memory, JSON auditor, PDF)
47
+ ├── docs/ # Documentation (you are here!)
48
+ │ ├── standards/ # Code & architecture standards
49
+ │ ├── workflows/ # Workflow guides
50
+ │ └── templates/ # Document templates
51
+ ├── schemas/ # JSON schemas for validation (7 total)
52
+ ├── scripts/ # Automation scripts (10 total)
53
+ └── sessions/
54
+ └── planning/ # Planning session artifacts
55
+ ```
56
+
57
+ ### Key Concepts
58
+
59
+ | Term | Definition | Example |
60
+ |------|------------|---------|
61
+ | **Agent** | Specialized AI assistant | `hono-engineer`, `qa-engineer` |
62
+ | **Command** | Slash-invokable workflow | `/start-feature-plan`, `/quality-check` |
63
+ | **Skill** | Reusable capability | `git-commit-helper` |
64
+ | **Planning Code** | Session identifier | `PF-004` (feature), `PR-002` (refactor) |
65
+ | **Task Code** | Atomic task identifier | `PF004-5` (main), `PF004-5.2` (subtask) |
66
+
67
+ **Learn more:** See [glossary.md](glossary.md) for comprehensive terminology.
68
+
69
+ ---
70
+
71
+ ## Step 2: Choose Your Workflow Level (2 min)
72
+
73
+ The system supports 3 workflow levels based on task complexity:
74
+
75
+ ### Level 1: Quick Fix (< 30 minutes)
76
+
77
+ **Use for:**
78
+
79
+ - Typo fixes in code or docs
80
+ - Formatting and style tweaks
81
+ - Import organization
82
+ - Documentation updates
83
+ - Config adjustments (1-2 files)
84
+
85
+ **Process:** Edit → Quick Validation → Commit
86
+
87
+ **Example:** Fixing a typo in README.md or comment
88
+
89
+ **Guide:** [quick-fix-protocol.md](workflows/quick-fix-protocol.md)
90
+
91
+ ### Level 2: Atomic Task / Bugfix-Small (30 min - 3 hours)
92
+
93
+ **Use for:**
94
+
95
+ - Bugfixes with logic changes
96
+ - Small features (search, filters, sorting)
97
+ - Targeted refactoring (2-10 files)
98
+ - New validation rules
99
+
100
+ **Process:** Simplified Planning → TDD Implementation → Quality Check → Commit
101
+
102
+ **Code:** `PB-XXX` (e.g., PB-042)
103
+
104
+ **Example:** Adding pagination to a table or fixing a calculation bug
105
+
106
+ **Guide:** [atomic-task-protocol.md](workflows/atomic-task-protocol.md)
107
+
108
+ ### Level 3: Large Feature (> 3 hours, multi-day)
109
+
110
+ **Use for:**
111
+
112
+ - Complete features requiring full design
113
+ - Database schema changes
114
+ - API contract changes
115
+ - Architecture changes
116
+
117
+ **Process:** 4-phase workflow (Planning → Implementation → Validation → Finalization)
118
+
119
+ **Code:** `PF-XXX` (feature) or `PR-XXX` (refactor)
120
+
121
+ **Example:** Building a complete booking system or adding authentication
122
+
123
+ **Guides:** [phase-1-planning.md](workflows/phase-1-planning.md) through [phase-4-finalization.md](workflows/phase-4-finalization.md)
124
+
125
+ **Decision tool:** See [workflows/decision-tree.md](workflows/decision-tree.md)
126
+
127
+ ---
128
+
129
+ ## Step 3: Start Your First Feature (5 min)
130
+
131
+ Let's create a simple feature using Level 2 workflow.
132
+
133
+ ### Phase 1: Planning
134
+
135
+ 1. **Start planning session:**
136
+
137
+ ```bash
138
+ # Invoke command
139
+ /start-feature-plan
140
+ ```
141
+
142
+ - Provide feature name (e.g., "User profile page")
143
+ - Answer agent questions
144
+ - Review generated PDR.md and tech-analysis.md
145
+
146
+ 2. **Files created:**
147
+
148
+ ```
149
+ .claude/sessions/planning/PF-XXX-{feature-name}/
150
+ ├── PDR.md # Product requirements
151
+ ├── tech-analysis.md # Technical plan
152
+ ├── TODOs.md # Task list (source of truth)
153
+ └── .checkpoint.json # Progress tracker
154
+ ```
155
+
156
+ 3. **Review and approve:**
157
+ - Check user stories in PDR.md
158
+ - Verify task breakdown in TODOs.md
159
+ - Ensure atomization (each task ≤ 4 hours)
160
+
161
+ ### Phase 2: Implementation
162
+
163
+ 1. **Start implementing:**
164
+
165
+ Claude will:
166
+ - Read checkpoint to resume from correct task
167
+ - Follow TDD (test first, then code)
168
+ - Update checkpoint after each task
169
+ - Commit incrementally
170
+
171
+ 2. **You monitor progress:**
172
+
173
+ ```bash
174
+ # Check current task
175
+ cat .claude/sessions/planning/PF-XXX-*/. checkpoint.json
176
+
177
+ # View task list
178
+ cat .claude/sessions/planning/PF-XXX-*/TODOs.md
179
+ ```
180
+
181
+ ### Phase 3: Validation
182
+
183
+ 1. **Run quality checks:**
184
+
185
+ ```bash
186
+ /quality-check
187
+ ```
188
+
189
+ This runs:
190
+ - Lint (Biome)
191
+ - Type check
192
+ - Tests (90% coverage required)
193
+ - Code review
194
+ - Security audit
195
+ - Performance analysis
196
+
197
+ 2. **Fix any issues** identified during validation
198
+
199
+ ### Phase 4: Finalization
200
+
201
+ 1. **Generate commits:**
202
+
203
+ ```bash
204
+ /commit
205
+ ```
206
+
207
+ Claude will:
208
+ - Analyze all changes
209
+ - Group related files
210
+ - Generate conventional commits
211
+ - Present for your approval
212
+
213
+ 2. **Create PR (optional):**
214
+
215
+ Push changes and create PR via GitHub interface
216
+
217
+ ---
218
+
219
+ ## Step 4: Validate Your Setup (3 min)
220
+
221
+ Run validation scripts to ensure everything is configured correctly:
222
+
223
+ ```bash
224
+ # Validate documentation structure
225
+ pnpm claude:validate:docs
226
+
227
+ # Validate JSON schemas
228
+ pnpm claude:validate:schemas
229
+
230
+ # Sync code registry
231
+ pnpm claude:sync:registry
232
+
233
+ # Run all validations
234
+ pnpm claude:validate
235
+ ```
236
+
237
+ **Expected output:**
238
+
239
+ - Documentation validation: May show warnings (expected if READMEs not updated yet)
240
+ - Schema validation: Should pass for .checkpoint.json and .code-registry.json
241
+ - Registry sync: Should complete successfully
242
+
243
+ ---
244
+
245
+ ## Common Tasks Reference
246
+
247
+ ### Starting Work
248
+
249
+ | Task | Command/Action |
250
+ |------|----------------|
251
+ | New feature | `/start-feature-plan` |
252
+ | Refactoring | `/start-refactor-plan` |
253
+ | Bug fix (small) | Edit directly (Level 1) |
254
+ | Resume work | Claude reads `.checkpoint.json` automatically |
255
+
256
+ ### During Development
257
+
258
+ | Task | Command/Action |
259
+ |------|----------------|
260
+ | Run tests | `pnpm test` |
261
+ | Type check | `pnpm typecheck` |
262
+ | Lint code | `pnpm lint` |
263
+ | Quality check | `/quality-check` |
264
+ | Code review | `/review-code` |
265
+
266
+ ### Finishing Work
267
+
268
+ | Task | Command/Action |
269
+ |------|----------------|
270
+ | Create commits | `/commit` |
271
+ | Update docs | `/update-docs` |
272
+ | Sync to GitHub | `pnpm planning:sync {session-path}` |
273
+
274
+ ### Validation & Maintenance
275
+
276
+ | Task | Command/Action |
277
+ |------|----------------|
278
+ | Validate docs | `pnpm claude:validate:docs` |
279
+ | Validate schemas | `pnpm claude:validate:schemas` |
280
+ | Sync registry | `pnpm claude:sync:registry` |
281
+ | Format markdown | `pnpm format:md` |
282
+
283
+ ---
284
+
285
+ ## Best Practices
286
+
287
+ ### ✅ DO
288
+
289
+ - Follow TDD (test first, code second)
290
+ - Keep tasks atomic (0.5-4 hours)
291
+ - Write all code/comments in English
292
+ - Run `/quality-check` before finalizing
293
+ - Update TODOs.md as source of truth
294
+ - Commit incrementally per task
295
+
296
+ ### ❌ DON'T
297
+
298
+ - Skip writing tests
299
+ - Create tasks >4 hours (atomize them)
300
+ - Use `any` type (use `unknown` instead)
301
+ - Make commits without user approval
302
+ - Modify `.code-registry.json` directly (regenerate via script)
303
+ - Write code/comments in Spanish
304
+
305
+ ---
306
+
307
+ ## Getting Help
308
+
309
+ ### Documentation
310
+
311
+ - **This guide:** Quick overview and common tasks
312
+ - **[glossary.md](glossary.md):** Comprehensive terminology reference
313
+ - **[workflows/](workflows/):** Detailed workflow guides
314
+ - **[standards/](standards/):** Code and architecture standards
315
+ - **[INDEX.md](INDEX.md):** Master index to all documentation
316
+
317
+ ### Agent Assistance
318
+
319
+ Ask Claude to invoke specialized agents:
320
+
321
+ ```
322
+ "Invoke the tech-lead agent to review my architecture decisions"
323
+ "Use the db-drizzle-engineer to help design my Drizzle schema"
324
+ "Call the qa-engineer to validate my test coverage"
325
+ ```
326
+
327
+ ### Commands
328
+
329
+ Explore available commands:
330
+
331
+ ```bash
332
+ # List all commands
333
+ ls .claude/commands/**/*.md
334
+
335
+ # Read command documentation
336
+ cat .claude/commands/git/commit.md
337
+ ```
338
+
339
+ ---
340
+
341
+ ## Next Steps
342
+
343
+ Now that you're familiar with the basics:
344
+
345
+ 1. **Explore agents:** Browse `.claude/agents/` to see available expertise
346
+ 2. **Read workflows:** Check `.claude/docs/workflows/` for detailed guides
347
+ 3. **Review standards:** Understand code patterns in `.claude/docs/standards/`
348
+ 4. **Try a feature:** Start with `/start-feature-plan` for a small feature
349
+
350
+ **Happy coding! 🚀**
351
+
352
+ ---
353
+
354
+ *Last updated: 2025-10-31*