@codihaus/claude-skills 1.0.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/README.md +167 -0
- package/bin/cli.js +58 -0
- package/package.json +46 -0
- package/skills/_quality-attributes.md +392 -0
- package/skills/_registry.md +189 -0
- package/skills/debrief/SKILL.md +647 -0
- package/skills/debrief/references/change-request-template.md +124 -0
- package/skills/debrief/references/file-patterns.md +173 -0
- package/skills/debrief/references/group-codes.md +72 -0
- package/skills/debrief/references/research-queries.md +106 -0
- package/skills/debrief/references/use-case-template.md +141 -0
- package/skills/debrief/scripts/generate_questionnaire.py +195 -0
- package/skills/dev-arch/SKILL.md +747 -0
- package/skills/dev-changelog/SKILL.md +378 -0
- package/skills/dev-coding/SKILL.md +470 -0
- package/skills/dev-coding-backend/SKILL.md +361 -0
- package/skills/dev-coding-frontend/SKILL.md +534 -0
- package/skills/dev-coding-frontend/references/nextjs.md +477 -0
- package/skills/dev-review/SKILL.md +548 -0
- package/skills/dev-scout/SKILL.md +723 -0
- package/skills/dev-scout/references/feature-patterns.md +210 -0
- package/skills/dev-scout/references/file-patterns.md +252 -0
- package/skills/dev-scout/references/tech-detection.md +211 -0
- package/skills/dev-scout/scripts/scout-analyze.sh +280 -0
- package/skills/dev-specs/SKILL.md +577 -0
- package/skills/dev-specs/references/checklist.md +176 -0
- package/skills/dev-specs/references/spec-templates.md +460 -0
- package/skills/dev-test/SKILL.md +364 -0
- package/skills/utils/diagram/SKILL.md +205 -0
- package/skills/utils/diagram/references/common-errors.md +305 -0
- package/skills/utils/diagram/references/diagram-types.md +636 -0
- package/skills/utils/docs-graph/SKILL.md +204 -0
- package/skills/utils/gemini/SKILL.md +292 -0
- package/skills/utils/gemini/scripts/gemini-scan.py +340 -0
- package/skills/utils/gemini/scripts/setup.sh +169 -0
- package/src/commands/add.js +64 -0
- package/src/commands/doctor.js +179 -0
- package/src/commands/init.js +251 -0
- package/src/commands/list.js +88 -0
- package/src/commands/remove.js +60 -0
- package/src/commands/update.js +72 -0
- package/src/index.js +26 -0
- package/src/utils/config.js +272 -0
- package/src/utils/deps.js +599 -0
- package/src/utils/skills.js +253 -0
- package/templates/CLAUDE.md.template +58 -0
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
# Skill Registry
|
|
2
|
+
|
|
3
|
+
Central registry of all available skills. Reference this to suggest relevant skills during work.
|
|
4
|
+
|
|
5
|
+
## Available Skills
|
|
6
|
+
|
|
7
|
+
| Skill | Purpose | When to Suggest |
|
|
8
|
+
|-------|---------|-----------------|
|
|
9
|
+
| `/debrief` | Create BRD and use cases | Starting new project/feature, unclear requirements |
|
|
10
|
+
| `/dev-arch` | Architecture decisions | New features, major changes, technical design |
|
|
11
|
+
| `/dev-scout` | Explore codebase, detect patterns | Before implementation, understanding existing code |
|
|
12
|
+
| `/dev-specs` | Create implementation plans | After debrief, before coding |
|
|
13
|
+
| `/dev-coding` | Implement features | When specs are ready |
|
|
14
|
+
| `/dev-coding-backend` | Backend patterns | API, schema, database work |
|
|
15
|
+
| `/dev-coding-frontend` | Frontend patterns | UI, components, pages |
|
|
16
|
+
| `/dev-test` | Automated testing | After implementation, before review |
|
|
17
|
+
| `/dev-review` | Code review | After testing passes, before merge |
|
|
18
|
+
| `/dev-changelog` | Implementation summary | After review passes |
|
|
19
|
+
|
|
20
|
+
### Utility Skills (called by other skills)
|
|
21
|
+
|
|
22
|
+
| Skill | Purpose | Called By |
|
|
23
|
+
|-------|---------|-----------|
|
|
24
|
+
| `/utils/diagram` | Create/validate Mermaid diagrams | `/dev-scout`, `/dev-specs`, `/dev-arch` |
|
|
25
|
+
| `/utils/docs-graph` | View documentation relationships | `/debrief`, `/dev-specs`, `/dev-arch` |
|
|
26
|
+
| `/utils/gemini` | Large context scanning (1M tokens) | `/dev-scout` for large codebases |
|
|
27
|
+
|
|
28
|
+
## Skill Flow
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
Requirements unclear?
|
|
32
|
+
→ /debrief
|
|
33
|
+
↓
|
|
34
|
+
Calls /dev-arch → "Can architecture support this?"
|
|
35
|
+
|
|
36
|
+
Need architecture decisions?
|
|
37
|
+
→ /dev-arch
|
|
38
|
+
↓
|
|
39
|
+
Creates architecture.md, ADRs
|
|
40
|
+
|
|
41
|
+
Need to understand codebase?
|
|
42
|
+
→ /dev-scout
|
|
43
|
+
|
|
44
|
+
Ready to plan implementation?
|
|
45
|
+
→ /dev-specs
|
|
46
|
+
↓
|
|
47
|
+
Calls /dev-arch → "What patterns to use?"
|
|
48
|
+
|
|
49
|
+
Ready to code?
|
|
50
|
+
→ /dev-coding
|
|
51
|
+
├── Backend work → loads /dev-coding-backend
|
|
52
|
+
└── Frontend work → loads /dev-coding-frontend
|
|
53
|
+
|
|
54
|
+
Code done, need testing?
|
|
55
|
+
→ /dev-test (auto-triggered by /dev-coding)
|
|
56
|
+
|
|
57
|
+
Tests pass, need review?
|
|
58
|
+
→ /dev-review
|
|
59
|
+
↓
|
|
60
|
+
Issues? → /dev-coding (fix loop)
|
|
61
|
+
↓
|
|
62
|
+
Pass? → /dev-changelog
|
|
63
|
+
|
|
64
|
+
Need to document what was built?
|
|
65
|
+
→ /dev-changelog
|
|
66
|
+
|
|
67
|
+
Need to visualize something?
|
|
68
|
+
→ /utils/diagram (usually called by other skills)
|
|
69
|
+
|
|
70
|
+
Need to see doc relationships?
|
|
71
|
+
→ /utils/docs-graph (usually called by other skills)
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## Trigger Phrases
|
|
75
|
+
|
|
76
|
+
When user says... → Suggest skill
|
|
77
|
+
|
|
78
|
+
| User Says | Suggest |
|
|
79
|
+
|-----------|---------|
|
|
80
|
+
| "new feature", "requirements", "customer wants" | `/debrief` |
|
|
81
|
+
| "architecture", "how should we design", "technical approach" | `/dev-arch` |
|
|
82
|
+
| "what does this code do", "explore", "understand codebase" | `/dev-scout` |
|
|
83
|
+
| "how should I implement", "implementation plan" | `/dev-specs` |
|
|
84
|
+
| "build this", "implement", "code this" | `/dev-coding` |
|
|
85
|
+
| "test this", "verify it works", "run tests" | `/dev-test` |
|
|
86
|
+
| "review my code", "check this PR" | `/dev-review` |
|
|
87
|
+
| "what was built", "summarize changes", "document implementation" | `/dev-changelog` |
|
|
88
|
+
| "create diagram", "architecture diagram", "flow chart" | `/utils/diagram` |
|
|
89
|
+
| "what links to this", "doc relationships" | `/utils/docs-graph` |
|
|
90
|
+
|
|
91
|
+
## Cross-Skill Suggestions
|
|
92
|
+
|
|
93
|
+
During each skill, consider suggesting:
|
|
94
|
+
|
|
95
|
+
### /debrief
|
|
96
|
+
- During: Calls `/dev-arch` to validate architecture feasibility
|
|
97
|
+
- After: "Use `/dev-specs` to create implementation plans"
|
|
98
|
+
- If codebase exists: "Consider `/dev-scout` first to understand existing code"
|
|
99
|
+
|
|
100
|
+
### /dev-arch
|
|
101
|
+
- Called by: `/debrief` (feasibility) and `/dev-specs` (patterns)
|
|
102
|
+
- Reads: `_quality-attributes.md` for architecture-level checklists
|
|
103
|
+
- Outputs: `architecture.md`, ADRs in feature folder
|
|
104
|
+
- After: Informs `/dev-specs` with decisions
|
|
105
|
+
|
|
106
|
+
### /dev-scout
|
|
107
|
+
- After: "Ready for implementation? Use `/dev-specs` to plan"
|
|
108
|
+
- If patterns unclear: "Use `/utils/diagram` to visualize architecture"
|
|
109
|
+
|
|
110
|
+
### /dev-specs
|
|
111
|
+
- Before: Ensure `/debrief` completed (BRD exists)
|
|
112
|
+
- During: Calls `/dev-arch` for patterns and decisions
|
|
113
|
+
- Reads: `_quality-attributes.md` for spec-level checklists
|
|
114
|
+
- After: "Use `/dev-coding` to implement"
|
|
115
|
+
|
|
116
|
+
### /dev-coding
|
|
117
|
+
- Before: Ensure `/dev-specs` completed
|
|
118
|
+
- During: Auto-loads `/dev-coding-backend` or `/dev-coding-frontend`
|
|
119
|
+
- Reads: `_quality-attributes.md` for implementation-level checklists
|
|
120
|
+
- After: Auto-triggers `/dev-test` to verify implementation
|
|
121
|
+
- After test: "Use `/dev-review` to review changes"
|
|
122
|
+
|
|
123
|
+
### /dev-test
|
|
124
|
+
- Before: Implementation via `/dev-coding` completed
|
|
125
|
+
- During: Captures console errors, network failures, UI state
|
|
126
|
+
- If fails: Fix issues, then re-test
|
|
127
|
+
- After pass: "Use `/dev-review` to review changes"
|
|
128
|
+
|
|
129
|
+
### /dev-review
|
|
130
|
+
- Reads: `_quality-attributes.md` for ALL level checklists (verification)
|
|
131
|
+
- If issues found: Offers to call `/dev-coding` for automatic fix
|
|
132
|
+
- After fix: Re-runs review automatically
|
|
133
|
+
- If pass: Suggests `/dev-changelog` to document implementation
|
|
134
|
+
- If major changes needed: "Consider creating a CR via `/debrief`"
|
|
135
|
+
|
|
136
|
+
### /dev-changelog
|
|
137
|
+
- Before: `/dev-review` must pass
|
|
138
|
+
- Reads: Git changes, specs, use cases
|
|
139
|
+
- Outputs: summary.md, implementation.md, tech-debt.md, docs-updates.md
|
|
140
|
+
- Purpose: Document what was built, track progress, identify doc updates
|
|
141
|
+
|
|
142
|
+
### /utils/diagram
|
|
143
|
+
- Utility skill for diagram validation
|
|
144
|
+
- Called by other skills, not typically invoked directly
|
|
145
|
+
- Used for: architecture diagrams, flow charts, ERD
|
|
146
|
+
|
|
147
|
+
### /utils/docs-graph
|
|
148
|
+
- Utility skill for documentation relationships
|
|
149
|
+
- Called by other skills to understand dependencies
|
|
150
|
+
- Auto-updated by Claude Code hooks
|
|
151
|
+
|
|
152
|
+
## Quality Attributes
|
|
153
|
+
|
|
154
|
+
All skills reference `skills/_quality-attributes.md` for their respective level:
|
|
155
|
+
|
|
156
|
+
| Skill | Quality Level |
|
|
157
|
+
|-------|---------------|
|
|
158
|
+
| `/dev-arch` | Architecture Level |
|
|
159
|
+
| `/dev-specs` | Specification Level |
|
|
160
|
+
| `/dev-coding` | Implementation Level |
|
|
161
|
+
| `/dev-review` | All Levels (verification) |
|
|
162
|
+
|
|
163
|
+
Quality attributes covered:
|
|
164
|
+
- **Scalability** - handles growth
|
|
165
|
+
- **Maintainability** - easy to change
|
|
166
|
+
- **Performance** - fast enough
|
|
167
|
+
- **Security** - protected
|
|
168
|
+
- **Reliability** - doesn't break
|
|
169
|
+
- **Testability** - can verify
|
|
170
|
+
|
|
171
|
+
## Skill Awareness Protocol
|
|
172
|
+
|
|
173
|
+
Every skill should:
|
|
174
|
+
|
|
175
|
+
1. **Read this registry** at start (or have it embedded)
|
|
176
|
+
2. **Suggest relevant skills** at natural points:
|
|
177
|
+
- Before: What should have been done first
|
|
178
|
+
- During: What could help right now
|
|
179
|
+
- After: What should come next
|
|
180
|
+
3. **Not force** - Suggestions only, user decides
|
|
181
|
+
|
|
182
|
+
## Example Skill Awareness Output
|
|
183
|
+
|
|
184
|
+
```markdown
|
|
185
|
+
💡 **Skill Suggestions:**
|
|
186
|
+
- Before proceeding: Consider `/dev-scout` to understand existing patterns
|
|
187
|
+
- After completion: Use `/dev-review` to review your changes
|
|
188
|
+
- Related: `/utils/diagram` can help visualize the architecture
|
|
189
|
+
```
|