@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,677 @@
|
|
|
1
|
+
# Documentation Index
|
|
2
|
+
|
|
3
|
+
Master index for all Claude Code workflow system documentation.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 🚀 Getting Started
|
|
8
|
+
|
|
9
|
+
### Quick Start (15 minutes)
|
|
10
|
+
|
|
11
|
+
**[quick-start.md](quick-start.md)** - Essential onboarding guide
|
|
12
|
+
|
|
13
|
+
- Prerequisites and setup
|
|
14
|
+
- System structure overview
|
|
15
|
+
- Choose your workflow level
|
|
16
|
+
- First feature walkthrough
|
|
17
|
+
- Common tasks reference
|
|
18
|
+
- Best practices
|
|
19
|
+
|
|
20
|
+
**Audience:** New users, developers joining the project
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## 📖 Reference Documentation
|
|
25
|
+
|
|
26
|
+
### Glossary
|
|
27
|
+
|
|
28
|
+
**[glossary.md](glossary.md)** - Comprehensive terminology reference
|
|
29
|
+
|
|
30
|
+
**Sections:**
|
|
31
|
+
|
|
32
|
+
- Core Concepts (Agent, Command, Skill, MCP)
|
|
33
|
+
- Planning & Organization (Planning Code, Task Code, PDR, Tech Analysis)
|
|
34
|
+
- Workflow System (Workflow Level, Phase, Checkpoint)
|
|
35
|
+
- Development Practices (TDD, Atomization, RO-RO)
|
|
36
|
+
- Quality & Validation (Schema Validation, Code Registry)
|
|
37
|
+
- Architecture Patterns (Base Model, Base Service, Factories)
|
|
38
|
+
- Conventions (Naming, File Organization, Language Policy)
|
|
39
|
+
- Tools & Scripts
|
|
40
|
+
- Git & Version Control
|
|
41
|
+
- External References
|
|
42
|
+
|
|
43
|
+
**Audience:** All users, for lookups and clarification
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## 🔄 Workflows
|
|
48
|
+
|
|
49
|
+
### Decision Tree & Selection
|
|
50
|
+
|
|
51
|
+
**[workflows/decision-tree.md](workflows/decision-tree.md)** - Workflow selection framework
|
|
52
|
+
|
|
53
|
+
**Includes:**
|
|
54
|
+
|
|
55
|
+
- Interactive Mermaid diagram
|
|
56
|
+
- Level 1: Quick Fix (< 30min, 1-2 files)
|
|
57
|
+
- Level 2: Atomic Task (30min-3h, 2-10 files)
|
|
58
|
+
- Level 3: Feature Planning (Multi-day, architecture changes)
|
|
59
|
+
- Decision factors reference
|
|
60
|
+
- Common scenarios
|
|
61
|
+
- Visual summary table
|
|
62
|
+
|
|
63
|
+
**Also see:** [diagrams/workflow-decision-tree.mmd](diagrams/workflow-decision-tree.mmd) - Visual flowchart
|
|
64
|
+
|
|
65
|
+
**Audience:** Before starting any task
|
|
66
|
+
|
|
67
|
+
### Level 1: Quick Fix Protocol
|
|
68
|
+
|
|
69
|
+
**[workflows/quick-fix-protocol.md](workflows/quick-fix-protocol.md)** - Trivial changes workflow
|
|
70
|
+
|
|
71
|
+
**6-Step Process:**
|
|
72
|
+
|
|
73
|
+
1. Verify Quick Fix Criteria
|
|
74
|
+
2. Make the Change
|
|
75
|
+
3. Quick Validation
|
|
76
|
+
4. Commit with Conventional Message
|
|
77
|
+
5. Push or Create PR
|
|
78
|
+
6. Done
|
|
79
|
+
|
|
80
|
+
**Use when:**
|
|
81
|
+
|
|
82
|
+
- < 30 minutes estimated time
|
|
83
|
+
- 1-2 files affected
|
|
84
|
+
- Very low risk (typos, formatting, config)
|
|
85
|
+
- No architecture changes
|
|
86
|
+
|
|
87
|
+
**Examples:** Typo fixes, markdown formatting, import organization, environment updates
|
|
88
|
+
|
|
89
|
+
**Audience:** All developers, for minor fixes
|
|
90
|
+
|
|
91
|
+
### Level 2: Atomic Task Protocol
|
|
92
|
+
|
|
93
|
+
**[workflows/atomic-task-protocol.md](workflows/atomic-task-protocol.md)** - Bugfixes and small features
|
|
94
|
+
|
|
95
|
+
**11-Step TDD Workflow:**
|
|
96
|
+
|
|
97
|
+
1. Create Atomic Task Session (PB-XXX)
|
|
98
|
+
2. Create Simplified Tech Analysis
|
|
99
|
+
3. Review & Approve Plan
|
|
100
|
+
4. Write Tests First (TDD RED)
|
|
101
|
+
5. Implement Solution (GREEN)
|
|
102
|
+
6. Refactor (keep tests green)
|
|
103
|
+
7. Add Documentation
|
|
104
|
+
8. Test Coverage Check (>= 90%)
|
|
105
|
+
9. Quality Checks
|
|
106
|
+
10. Commit with Conventional Message
|
|
107
|
+
11. Update Registry & Close Task
|
|
108
|
+
|
|
109
|
+
**Use when:**
|
|
110
|
+
|
|
111
|
+
- 30 minutes to 3 hours estimated time
|
|
112
|
+
- 2-10 files affected
|
|
113
|
+
- Low to medium risk
|
|
114
|
+
- Bugfixes or small features
|
|
115
|
+
- No major architecture changes
|
|
116
|
+
|
|
117
|
+
**Includes:** PB-XXX code system, task registry, tech analysis template, 3 detailed examples
|
|
118
|
+
|
|
119
|
+
**Audience:** Developers, for most day-to-day work
|
|
120
|
+
|
|
121
|
+
### Level 3: Feature Planning
|
|
122
|
+
|
|
123
|
+
**4-Phase Workflow Documentation:**
|
|
124
|
+
|
|
125
|
+
#### Phase 1: Planning
|
|
126
|
+
|
|
127
|
+
- **[workflows/phase-1-planning.md](workflows/phase-1-planning.md)** - Comprehensive planning process
|
|
128
|
+
- Create PDR (Product Design Requirements)
|
|
129
|
+
- Create tech-analysis.md
|
|
130
|
+
- Break down into atomic tasks
|
|
131
|
+
- Get user approval
|
|
132
|
+
|
|
133
|
+
#### Phase 2: Implementation
|
|
134
|
+
|
|
135
|
+
- **[workflows/phase-2-implementation.md](workflows/phase-2-implementation.md)** - TDD implementation
|
|
136
|
+
- RED-GREEN-REFACTOR cycle
|
|
137
|
+
- Follow existing patterns
|
|
138
|
+
- Continuous validation
|
|
139
|
+
|
|
140
|
+
#### Phase 3: Validation
|
|
141
|
+
|
|
142
|
+
- **[workflows/phase-3-validation.md](workflows/phase-3-validation.md)** - Quality assurance
|
|
143
|
+
- Validate acceptance criteria
|
|
144
|
+
- Run quality checks
|
|
145
|
+
- Technical review
|
|
146
|
+
|
|
147
|
+
#### Phase 4: Finalization
|
|
148
|
+
|
|
149
|
+
- **[workflows/phase-4-finalization.md](workflows/phase-4-finalization.md)** - Documentation and commits
|
|
150
|
+
- Update documentation
|
|
151
|
+
- Generate commits
|
|
152
|
+
- Final checklist
|
|
153
|
+
|
|
154
|
+
**Use when:**
|
|
155
|
+
|
|
156
|
+
- Multi-day projects
|
|
157
|
+
- Architecture changes required
|
|
158
|
+
- Database schema changes
|
|
159
|
+
- Multiple team members involved
|
|
160
|
+
- High complexity or risk
|
|
161
|
+
|
|
162
|
+
**Audience:** Tech leads, for complex features
|
|
163
|
+
|
|
164
|
+
### Supporting Workflows
|
|
165
|
+
|
|
166
|
+
**[workflows/task-atomization.md](workflows/task-atomization.md)** - Breaking down tasks
|
|
167
|
+
|
|
168
|
+
- 0.5-4 hour rule
|
|
169
|
+
- Dependency mapping
|
|
170
|
+
- Granularity guidelines
|
|
171
|
+
|
|
172
|
+
**[workflows/task-completion-protocol.md](workflows/task-completion-protocol.md)** - Task completion and GitHub sync
|
|
173
|
+
|
|
174
|
+
- Commit requirements
|
|
175
|
+
- Issue synchronization
|
|
176
|
+
- Registry updates
|
|
177
|
+
|
|
178
|
+
**[workflows/edge-cases.md](workflows/edge-cases.md)** - Exception handling and non-standard scenarios
|
|
179
|
+
|
|
180
|
+
- 20 documented edge cases
|
|
181
|
+
- Resolution strategies for each
|
|
182
|
+
- Communication templates
|
|
183
|
+
- Quick reference guide
|
|
184
|
+
- Covers: unclear requirements, blocking issues, test failures, performance issues, security vulnerabilities, production bugs
|
|
185
|
+
|
|
186
|
+
**Audience:** All participants, reference when encountering unexpected situations
|
|
187
|
+
|
|
188
|
+
---
|
|
189
|
+
|
|
190
|
+
## 📊 System Diagrams
|
|
191
|
+
|
|
192
|
+
**Directory:** [diagrams/](diagrams/)
|
|
193
|
+
|
|
194
|
+
**[diagrams/README.md](diagrams/README.md)** - Diagram usage guide and conventions
|
|
195
|
+
|
|
196
|
+
### Available Diagrams
|
|
197
|
+
|
|
198
|
+
#### 1. Workflow Decision Tree
|
|
199
|
+
|
|
200
|
+
- **File:** [diagrams/workflow-decision-tree.mmd](diagrams/workflow-decision-tree.mmd)
|
|
201
|
+
- **Purpose:** Visual guide for selecting the appropriate workflow level
|
|
202
|
+
- **Shows:** Decision criteria, level characteristics, step counts, color-coded paths
|
|
203
|
+
- **Use when:** Starting a new task, uncertain which workflow to use
|
|
204
|
+
|
|
205
|
+
#### 2. Agent Hierarchy
|
|
206
|
+
|
|
207
|
+
- **File:** [diagrams/agent-hierarchy.mmd](diagrams/agent-hierarchy.mmd)
|
|
208
|
+
- **Purpose:** Visual organization of the 12 specialized agents across 6 categories
|
|
209
|
+
- **Shows:** tech-lead as coordinator, agent teams (Product, Backend, Frontend, Design, Quality, Specialized)
|
|
210
|
+
- **Use when:** Understanding agent responsibilities, assigning tasks
|
|
211
|
+
|
|
212
|
+
#### 3. Tools Relationship
|
|
213
|
+
|
|
214
|
+
- **File:** [diagrams/tools-relationship.mmd](diagrams/tools-relationship.mmd)
|
|
215
|
+
- **Purpose:** Show how commands, agents, and skills interact
|
|
216
|
+
- **Shows:** 3 layers (Commands → Agents → Skills), relationships between tools
|
|
217
|
+
- **Use when:** Understanding system architecture, finding which agent uses which skill
|
|
218
|
+
|
|
219
|
+
#### 4. Documentation Map
|
|
220
|
+
|
|
221
|
+
- **File:** [diagrams/documentation-map.mmd](diagrams/documentation-map.mmd)
|
|
222
|
+
- **Purpose:** Navigate the `.claude/` directory structure
|
|
223
|
+
- **Shows:** Main directories, subdirectories, key files, session structures
|
|
224
|
+
- **Use when:** Finding specific documentation, understanding directory structure
|
|
225
|
+
|
|
226
|
+
### Viewing Diagrams
|
|
227
|
+
|
|
228
|
+
- **GitHub:** Automatically renders `.mmd` files
|
|
229
|
+
- **VSCode:** Install "Mermaid Preview" extension
|
|
230
|
+
- **Mermaid Live:** [mermaid.live](https://mermaid.live) - Copy/paste for interactive editing
|
|
231
|
+
- **Documentation:** Embed in markdown with mermaid code blocks
|
|
232
|
+
|
|
233
|
+
**All diagrams use consistent theme, colors, and conventions - see [diagrams/README.md](diagrams/README.md)**
|
|
234
|
+
|
|
235
|
+
---
|
|
236
|
+
|
|
237
|
+
## 📐 Standards
|
|
238
|
+
|
|
239
|
+
### Code Standards
|
|
240
|
+
|
|
241
|
+
**[standards/code-standards.md](standards/code-standards.md)** - Code quality guidelines
|
|
242
|
+
|
|
243
|
+
**Includes:**
|
|
244
|
+
|
|
245
|
+
- Language policy (English only)
|
|
246
|
+
- TypeScript guidelines (no `any`, use `unknown`)
|
|
247
|
+
- Naming conventions
|
|
248
|
+
- File size limits (500 lines)
|
|
249
|
+
- Export patterns (named only)
|
|
250
|
+
- RO-RO pattern
|
|
251
|
+
- JSDoc requirements
|
|
252
|
+
|
|
253
|
+
**Audience:** During implementation (Phase 2)
|
|
254
|
+
|
|
255
|
+
### Architecture Patterns
|
|
256
|
+
|
|
257
|
+
**[standards/architecture-patterns.md](standards/architecture-patterns.md)** - System design patterns
|
|
258
|
+
|
|
259
|
+
**Includes:**
|
|
260
|
+
|
|
261
|
+
- Layered architecture (Database → Service → API → Frontend)
|
|
262
|
+
- Base Model pattern
|
|
263
|
+
- Base Service pattern
|
|
264
|
+
- Factory patterns (CRUD routes, List routes)
|
|
265
|
+
- Validation with Zod
|
|
266
|
+
- Error handling
|
|
267
|
+
|
|
268
|
+
**Audience:** During architecture design
|
|
269
|
+
|
|
270
|
+
### Testing Standards
|
|
271
|
+
|
|
272
|
+
**[standards/testing-standards.md](standards/testing-standards.md)** - Testing requirements
|
|
273
|
+
|
|
274
|
+
**Includes:**
|
|
275
|
+
|
|
276
|
+
- TDD methodology (Red → Green → Refactor)
|
|
277
|
+
- Coverage requirements (90% minimum)
|
|
278
|
+
- Test types (Unit, Integration, E2E)
|
|
279
|
+
- Test organization (AAA pattern)
|
|
280
|
+
- Test file structure
|
|
281
|
+
|
|
282
|
+
**Audience:** During implementation and validation
|
|
283
|
+
|
|
284
|
+
### Atomic Commits Policy
|
|
285
|
+
|
|
286
|
+
**[standards/atomic-commits.md](standards/atomic-commits.md)** - Git commit guidelines
|
|
287
|
+
|
|
288
|
+
**Includes:**
|
|
289
|
+
|
|
290
|
+
- Atomic commit definition and benefits
|
|
291
|
+
- CRITICAL project policy
|
|
292
|
+
- Workflow by level (Quick Fix, Atomic Task, Feature)
|
|
293
|
+
- Common patterns and anti-patterns
|
|
294
|
+
- Tools and commands
|
|
295
|
+
- Pre-commit checklist
|
|
296
|
+
|
|
297
|
+
**Audience:** All developers, during all phases
|
|
298
|
+
|
|
299
|
+
---
|
|
300
|
+
|
|
301
|
+
## 📖 Examples
|
|
302
|
+
|
|
303
|
+
### End-to-End Workflow Example
|
|
304
|
+
|
|
305
|
+
**[examples/end-to-end-workflow.md](examples/end-to-end-workflow.md)** - Complete feature implementation
|
|
306
|
+
|
|
307
|
+
**Feature:** User Favorites for Entities
|
|
308
|
+
|
|
309
|
+
**Demonstrates:**
|
|
310
|
+
|
|
311
|
+
- **Phase 1**: Planning (PDR, tech-analysis, task breakdown)
|
|
312
|
+
- **Phase 2**: Implementation (TDD, atomic commits, 13 tasks)
|
|
313
|
+
- **Phase 3**: Validation (E2E tests, quality checks)
|
|
314
|
+
- **Phase 4**: Finalization (docs, CHANGELOG, deployment)
|
|
315
|
+
|
|
316
|
+
**Includes:**
|
|
317
|
+
|
|
318
|
+
- Real code examples (schemas, models, services, API, components)
|
|
319
|
+
- TDD workflow (Red → Green → Refactor)
|
|
320
|
+
- Atomic commits (one per task with PB-XXX codes)
|
|
321
|
+
- Performance metrics and results
|
|
322
|
+
- Lessons learned
|
|
323
|
+
|
|
324
|
+
**Use when:** Learning the complete workflow, onboarding new developers, understanding best practices
|
|
325
|
+
|
|
326
|
+
**Audience:** All developers, especially those new to the project
|
|
327
|
+
|
|
328
|
+
---
|
|
329
|
+
|
|
330
|
+
## 🛠️ Tools & Scripts
|
|
331
|
+
|
|
332
|
+
### Validation Tools
|
|
333
|
+
|
|
334
|
+
**Scripts:**
|
|
335
|
+
|
|
336
|
+
- `validate-docs.sh` - Documentation structure validation
|
|
337
|
+
- `validate-schemas.ts` - JSON schema validation
|
|
338
|
+
- `sync-registry.sh` - Code registry synchronization
|
|
339
|
+
|
|
340
|
+
**Usage:**
|
|
341
|
+
|
|
342
|
+
```bash
|
|
343
|
+
# Validate documentation
|
|
344
|
+
pnpm claude:validate:docs
|
|
345
|
+
|
|
346
|
+
# Validate schemas
|
|
347
|
+
pnpm claude:validate:schemas
|
|
348
|
+
|
|
349
|
+
# Sync code registry
|
|
350
|
+
pnpm claude:sync:registry
|
|
351
|
+
|
|
352
|
+
# Run all validations
|
|
353
|
+
pnpm claude:validate
|
|
354
|
+
```
|
|
355
|
+
|
|
356
|
+
**Documentation:** See script headers for detailed usage
|
|
357
|
+
|
|
358
|
+
---
|
|
359
|
+
|
|
360
|
+
## 🤖 System Components
|
|
361
|
+
|
|
362
|
+
### Agents
|
|
363
|
+
|
|
364
|
+
**Directory:** [../agents/](../agents/)
|
|
365
|
+
|
|
366
|
+
**Organization:** Specialized agent system with 12 agents organized in 6 categories
|
|
367
|
+
|
|
368
|
+
**Teams:**
|
|
369
|
+
|
|
370
|
+
- **Product & Planning (2):** product-functional, product-technical
|
|
371
|
+
- **Technical Leadership (1):** tech-lead
|
|
372
|
+
- **Backend Development (3):** hono-engineer, db-drizzle-engineer, node-typescript-engineer
|
|
373
|
+
- **Frontend Development (3):** astro-engineer, react-senior-dev, tanstack-start-engineer
|
|
374
|
+
- **Design & UX (1):** ux-ui-designer
|
|
375
|
+
- **Quality Assurance (2):** qa-engineer, debugger
|
|
376
|
+
- **Specialized (3):** tech-writer, i18n-specialist, enrichment-agent
|
|
377
|
+
|
|
378
|
+
**Total:** 12 agents
|
|
379
|
+
|
|
380
|
+
**Visual:** See [diagrams/agent-hierarchy.mmd](diagrams/agent-hierarchy.mmd)
|
|
381
|
+
|
|
382
|
+
**Documentation:** [../agents/README.md](../agents/README.md)
|
|
383
|
+
|
|
384
|
+
### Commands
|
|
385
|
+
|
|
386
|
+
**Directory:** [../commands/](../commands/)
|
|
387
|
+
|
|
388
|
+
**Categories:**
|
|
389
|
+
|
|
390
|
+
- `git/` - Version control operations
|
|
391
|
+
- `formatting/` - Code formatting
|
|
392
|
+
- (Root level for other commands)
|
|
393
|
+
|
|
394
|
+
**Total:** 16 commands
|
|
395
|
+
|
|
396
|
+
**Documentation:** [../commands/README.md](../commands/README.md)
|
|
397
|
+
|
|
398
|
+
### Skills
|
|
399
|
+
|
|
400
|
+
**Directory:** [../skills/](../skills/)
|
|
401
|
+
|
|
402
|
+
**Categories:**
|
|
403
|
+
|
|
404
|
+
- **Testing & Quality (6 skills):**
|
|
405
|
+
- web-app-testing, api-app-testing, performance-testing
|
|
406
|
+
- security-testing, tdd-methodology, qa-criteria-validator
|
|
407
|
+
- **Development Tools (5 skills):**
|
|
408
|
+
- git-commit-helper, vercel-specialist, shadcn-specialist
|
|
409
|
+
- mermaid-diagram-specialist, add-memory
|
|
410
|
+
- **Design & Patterns (3 skills):**
|
|
411
|
+
- brand-guidelines, error-handling-patterns, markdown-formatter
|
|
412
|
+
- **Documentation & Utils (2 skills):**
|
|
413
|
+
- pdf-creator-editor, json-data-auditor
|
|
414
|
+
|
|
415
|
+
**Total:** 16 skills (expanded from 5)
|
|
416
|
+
|
|
417
|
+
**Visual:** See [diagrams/tools-relationship.mmd](diagrams/tools-relationship.mmd)
|
|
418
|
+
|
|
419
|
+
**Documentation:** [../skills/README.md](../skills/README.md)
|
|
420
|
+
|
|
421
|
+
---
|
|
422
|
+
|
|
423
|
+
## 🗂️ Templates
|
|
424
|
+
|
|
425
|
+
**Directory:** [templates/](templates/)
|
|
426
|
+
|
|
427
|
+
**Available templates:**
|
|
428
|
+
|
|
429
|
+
- Planning session templates
|
|
430
|
+
- Document templates
|
|
431
|
+
- Schema templates
|
|
432
|
+
|
|
433
|
+
**Usage:** Reference when creating new planning sessions or documents
|
|
434
|
+
|
|
435
|
+
---
|
|
436
|
+
|
|
437
|
+
## 📊 JSON Schemas
|
|
438
|
+
|
|
439
|
+
**Directory:** [../schemas/](../schemas/)
|
|
440
|
+
|
|
441
|
+
**Available schemas:**
|
|
442
|
+
|
|
443
|
+
- `pdr.schema.json` - Product Design Requirements
|
|
444
|
+
- `tech-analysis.schema.json` - Technical Analysis
|
|
445
|
+
- `todos.schema.json` - Task Lists
|
|
446
|
+
- `problems.schema.json` - Problems & Improvements
|
|
447
|
+
- `workflows.schema.json` - Workflow Definitions
|
|
448
|
+
- `checkpoint.schema.json` - Workflow Checkpoints
|
|
449
|
+
- `code-registry.schema.json` - Code Registry
|
|
450
|
+
|
|
451
|
+
**Total:** 7 schemas
|
|
452
|
+
|
|
453
|
+
**Validation:** Run `pnpm claude:validate:schemas`
|
|
454
|
+
|
|
455
|
+
---
|
|
456
|
+
|
|
457
|
+
## 🔌 MCP Servers
|
|
458
|
+
|
|
459
|
+
**[mcp-servers.md](mcp-servers.md)** - Model Context Protocol integrations
|
|
460
|
+
|
|
461
|
+
**Available servers:**
|
|
462
|
+
|
|
463
|
+
- Context7 (library documentation)
|
|
464
|
+
- Serena (code analysis)
|
|
465
|
+
- Cloudflare Docs
|
|
466
|
+
- Neon (PostgreSQL)
|
|
467
|
+
- Mercado Pago (payments)
|
|
468
|
+
- GitHub
|
|
469
|
+
- Vercel
|
|
470
|
+
- And more (15 total)
|
|
471
|
+
|
|
472
|
+
**Usage:** Automatically available to Claude Code
|
|
473
|
+
|
|
474
|
+
---
|
|
475
|
+
|
|
476
|
+
## 📝 Planning Sessions
|
|
477
|
+
|
|
478
|
+
**Directory:** [../sessions/planning/](../sessions/planning/)
|
|
479
|
+
|
|
480
|
+
**Structure:**
|
|
481
|
+
|
|
482
|
+
```
|
|
483
|
+
planning/
|
|
484
|
+
├── .code-registry.json # Computed index (regenerate with sync-registry.sh)
|
|
485
|
+
└── {session-folder}/
|
|
486
|
+
├── PDR.md # Product requirements
|
|
487
|
+
├── tech-analysis.md # Technical analysis
|
|
488
|
+
├── TODOs.md # Task list (SOURCE OF TRUTH)
|
|
489
|
+
├── .checkpoint.json # Progress tracker
|
|
490
|
+
├── issues-sync.json # GitHub issues mapping
|
|
491
|
+
└── problems.md # (Optional) Problems encountered
|
|
492
|
+
```
|
|
493
|
+
|
|
494
|
+
**Current sessions:** Browse directory for active/archived sessions
|
|
495
|
+
|
|
496
|
+
---
|
|
497
|
+
|
|
498
|
+
## 🎯 By Role
|
|
499
|
+
|
|
500
|
+
### Product Manager / Designer
|
|
501
|
+
|
|
502
|
+
**Essential reading:**
|
|
503
|
+
|
|
504
|
+
1. [quick-start.md](quick-start.md) - System overview
|
|
505
|
+
2. [glossary.md](glossary.md) - Terminology (PDR, User Stories sections)
|
|
506
|
+
3. [workflows/decision-tree.md](workflows/decision-tree.md) - Choosing workflow level
|
|
507
|
+
4. [../agents/product/](../agents/product/) - Product agents
|
|
508
|
+
|
|
509
|
+
**Common tasks:**
|
|
510
|
+
|
|
511
|
+
- Create PDR with user stories
|
|
512
|
+
- Define acceptance criteria
|
|
513
|
+
- Review mockups and designs
|
|
514
|
+
|
|
515
|
+
### Developer
|
|
516
|
+
|
|
517
|
+
**Essential reading:**
|
|
518
|
+
|
|
519
|
+
1. [quick-start.md](quick-start.md) - Onboarding
|
|
520
|
+
2. [glossary.md](glossary.md) - Full reference
|
|
521
|
+
3. [standards/code-standards.md](standards/code-standards.md) - Coding guidelines
|
|
522
|
+
4. [standards/architecture-patterns.md](standards/architecture-patterns.md) - Design patterns
|
|
523
|
+
5. [standards/testing-standards.md](standards/testing-standards.md) - Testing requirements
|
|
524
|
+
|
|
525
|
+
**Common tasks:**
|
|
526
|
+
|
|
527
|
+
- Implement features following TDD
|
|
528
|
+
- Run quality checks
|
|
529
|
+
- Create commits
|
|
530
|
+
- Review code
|
|
531
|
+
|
|
532
|
+
### QA Engineer
|
|
533
|
+
|
|
534
|
+
**Essential reading:**
|
|
535
|
+
|
|
536
|
+
1. [glossary.md](glossary.md) - Terminology (QA sections)
|
|
537
|
+
2. [standards/testing-standards.md](standards/testing-standards.md) - Testing requirements
|
|
538
|
+
3. [../skills/qa/](../skills/qa/) - QA skills
|
|
539
|
+
|
|
540
|
+
**Common tasks:**
|
|
541
|
+
|
|
542
|
+
- Validate acceptance criteria
|
|
543
|
+
- Run test suites
|
|
544
|
+
- Perform security audits
|
|
545
|
+
- Generate quality reports
|
|
546
|
+
|
|
547
|
+
### Tech Lead / Architect
|
|
548
|
+
|
|
549
|
+
**Essential reading:**
|
|
550
|
+
|
|
551
|
+
1. [standards/architecture-patterns.md](standards/architecture-patterns.md) - System patterns
|
|
552
|
+
2. [standards/code-standards.md](standards/code-standards.md) - Code guidelines
|
|
553
|
+
3. [workflows/](workflows/) - All workflow guides
|
|
554
|
+
4. [glossary.md](glossary.md) - Complete reference
|
|
555
|
+
|
|
556
|
+
**Common tasks:**
|
|
557
|
+
|
|
558
|
+
- Review architecture decisions
|
|
559
|
+
- Validate design patterns
|
|
560
|
+
- Coordinate cross-team efforts
|
|
561
|
+
- Set technical standards
|
|
562
|
+
|
|
563
|
+
---
|
|
564
|
+
|
|
565
|
+
## 🔍 Quick Links
|
|
566
|
+
|
|
567
|
+
### Most Referenced
|
|
568
|
+
|
|
569
|
+
- [quick-start.md](quick-start.md) - 15-minute onboarding
|
|
570
|
+
- [glossary.md](glossary.md) - Terminology reference
|
|
571
|
+
- [workflows/decision-tree.md](workflows/decision-tree.md) - Choose workflow level
|
|
572
|
+
- [standards/code-standards.md](standards/code-standards.md) - Coding guidelines
|
|
573
|
+
|
|
574
|
+
### Validation & Tools
|
|
575
|
+
|
|
576
|
+
- `pnpm claude:validate` - Run all validations
|
|
577
|
+
- `pnpm claude:validate:docs` - Validate documentation
|
|
578
|
+
- `pnpm claude:validate:schemas` - Validate schemas
|
|
579
|
+
- `pnpm claude:sync:registry` - Sync code registry
|
|
580
|
+
|
|
581
|
+
### External Resources
|
|
582
|
+
|
|
583
|
+
- [Claude Code Docs](https://docs.claude.com/claude-code) - Official documentation
|
|
584
|
+
- [Project Repository](https://github.com/your-org/your-repo) - Source code
|
|
585
|
+
- [Issue Tracker](https://github.com/your-org/your-repo/issues) - Report bugs/requests
|
|
586
|
+
|
|
587
|
+
---
|
|
588
|
+
|
|
589
|
+
## 📚 Documentation Maintenance
|
|
590
|
+
|
|
591
|
+
### Adding New Documentation
|
|
592
|
+
|
|
593
|
+
1. Create file in appropriate directory:
|
|
594
|
+
- Core docs: `.claude/docs/`
|
|
595
|
+
- Workflows: `.claude/docs/workflows/`
|
|
596
|
+
- Standards: `.claude/docs/standards/`
|
|
597
|
+
- Templates: `.claude/docs/templates/`
|
|
598
|
+
|
|
599
|
+
2. Update this INDEX.md with link to new document
|
|
600
|
+
|
|
601
|
+
3. Add entry to glossary.md if introducing new terms
|
|
602
|
+
|
|
603
|
+
4. Run validation:
|
|
604
|
+
|
|
605
|
+
```bash
|
|
606
|
+
pnpm claude:validate:docs
|
|
607
|
+
pnpm format:md
|
|
608
|
+
```
|
|
609
|
+
|
|
610
|
+
### Updating Existing Documentation
|
|
611
|
+
|
|
612
|
+
1. Make changes to relevant file(s)
|
|
613
|
+
|
|
614
|
+
2. Update "Last updated" date at bottom of file
|
|
615
|
+
|
|
616
|
+
3. If structure changed, update INDEX.md
|
|
617
|
+
|
|
618
|
+
4. Run validation:
|
|
619
|
+
|
|
620
|
+
```bash
|
|
621
|
+
pnpm claude:validate:docs
|
|
622
|
+
pnpm format:md
|
|
623
|
+
```
|
|
624
|
+
|
|
625
|
+
### Documentation Standards
|
|
626
|
+
|
|
627
|
+
- All docs in English
|
|
628
|
+
- Use Markdown format
|
|
629
|
+
- Include "Last updated" date
|
|
630
|
+
- Link to related documents
|
|
631
|
+
- Use proper heading hierarchy
|
|
632
|
+
- Add code examples where helpful
|
|
633
|
+
- Keep tone professional but friendly
|
|
634
|
+
|
|
635
|
+
---
|
|
636
|
+
|
|
637
|
+
## 📅 Document Status
|
|
638
|
+
|
|
639
|
+
| Document | Status | Last Updated |
|
|
640
|
+
|----------|--------|--------------|
|
|
641
|
+
| INDEX.md | ✅ Current | 2025-10-31 |
|
|
642
|
+
| quick-start.md | ✅ Current | 2025-10-31 |
|
|
643
|
+
| glossary.md | ✅ Current | 2025-10-31 |
|
|
644
|
+
| mcp-servers.md | ✅ Current | 2025-10-28 |
|
|
645
|
+
| **Workflows** | | |
|
|
646
|
+
| workflows/decision-tree.md | ✅ Current | 2025-10-31 |
|
|
647
|
+
| workflows/quick-fix-protocol.md | ✅ Current | 2025-10-31 |
|
|
648
|
+
| workflows/atomic-task-protocol.md | ✅ Current | 2025-10-31 |
|
|
649
|
+
| workflows/phase-1-planning.md | ✅ Current | 2025-10-28 |
|
|
650
|
+
| workflows/phase-2-implementation.md | ✅ Current | 2025-10-28 |
|
|
651
|
+
| workflows/phase-3-validation.md | ✅ Current | 2025-10-28 |
|
|
652
|
+
| workflows/phase-4-finalization.md | ✅ Current | 2025-10-28 |
|
|
653
|
+
| workflows/task-atomization.md | ✅ Current | 2025-10-28 |
|
|
654
|
+
| workflows/task-completion-protocol.md | ✅ Current | 2025-10-28 |
|
|
655
|
+
| workflows/edge-cases.md | ✅ Current | 2025-11-03 |
|
|
656
|
+
| **Standards** | | |
|
|
657
|
+
| standards/code-standards.md | ✅ Current | 2025-10-28 |
|
|
658
|
+
| standards/architecture-patterns.md | ✅ Current | 2025-10-28 |
|
|
659
|
+
| standards/testing-standards.md | ✅ Current | 2025-10-28 |
|
|
660
|
+
| standards/atomic-commits.md | ✅ Current | 2025-11-03 |
|
|
661
|
+
| standards/documentation-standards.md | ✅ Current | 2025-10-28 |
|
|
662
|
+
| **Examples** | | |
|
|
663
|
+
| examples/end-to-end-workflow.md | ✅ Current | 2025-11-03 |
|
|
664
|
+
| **Diagrams** | | |
|
|
665
|
+
| diagrams/README.md | ✅ Current | 2025-10-31 |
|
|
666
|
+
| diagrams/workflow-decision-tree.mmd | ✅ Current | 2025-10-31 |
|
|
667
|
+
| diagrams/agent-hierarchy.mmd | ✅ Current | 2025-10-31 |
|
|
668
|
+
| diagrams/tools-relationship.mmd | ✅ Current | 2025-10-31 |
|
|
669
|
+
| diagrams/documentation-map.mmd | ✅ Current | 2025-10-31 |
|
|
670
|
+
| **Templates** | | |
|
|
671
|
+
| templates/PDR-template.md | ✅ Current | 2025-10-28 |
|
|
672
|
+
| templates/tech-analysis-template.md | ✅ Current | 2025-10-28 |
|
|
673
|
+
| templates/TODOs-template.md | ✅ Current | 2025-10-28 |
|
|
674
|
+
|
|
675
|
+
---
|
|
676
|
+
|
|
677
|
+
Last updated: 2025-10-31
|