@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,312 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: create-command
|
|
3
|
+
type: meta
|
|
4
|
+
category: system
|
|
5
|
+
description: Interactive wizard to create new slash commands
|
|
6
|
+
config_required:
|
|
7
|
+
- command_types: "Define command categories (development, planning, quality, etc.)"
|
|
8
|
+
- category_mapping: "Map types to subdirectories"
|
|
9
|
+
- template_types: "Specify command templates available"
|
|
10
|
+
- base_path: "Define commands directory location"
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# Create Command
|
|
14
|
+
|
|
15
|
+
## Purpose
|
|
16
|
+
|
|
17
|
+
Interactive wizard for creating slash commands following project standards. Ensures proper integration with workflow and comprehensive documentation.
|
|
18
|
+
|
|
19
|
+
## ⚙️ Configuration
|
|
20
|
+
|
|
21
|
+
| Setting | Description | Example |
|
|
22
|
+
|---------|-------------|---------|
|
|
23
|
+
| `command_types` | Available types | `development, planning, quality, audit, meta, git` |
|
|
24
|
+
| `category_mapping` | Type to directory map | `development: workflow, quality: validation` |
|
|
25
|
+
| `template_types` | Template options | `workflow, audit, utility` |
|
|
26
|
+
| `base_path` | Commands directory | `.claude/commands/` |
|
|
27
|
+
| `name_pattern` | Validation regex | `^[a-z][a-z0-9-]*[a-z0-9]$` |
|
|
28
|
+
|
|
29
|
+
## Usage
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
/create-command [options]
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Options
|
|
36
|
+
|
|
37
|
+
- `--name <name>`: Command name (without slash)
|
|
38
|
+
- `--type <type>`: Command type
|
|
39
|
+
- `--interactive`: Full interactive mode (default)
|
|
40
|
+
- `--template <type>`: Use template
|
|
41
|
+
|
|
42
|
+
## When to Use
|
|
43
|
+
|
|
44
|
+
- New workflow action needed
|
|
45
|
+
- System integration required
|
|
46
|
+
- Developer productivity shortcuts
|
|
47
|
+
- Quality gates needed
|
|
48
|
+
|
|
49
|
+
## Command Creation Process
|
|
50
|
+
|
|
51
|
+
### Step 1: Discovery & Planning
|
|
52
|
+
|
|
53
|
+
**Wizard Questions**:
|
|
54
|
+
|
|
55
|
+
1. Command name (without slash)
|
|
56
|
+
2. Command type
|
|
57
|
+
3. Category (subdirectory)
|
|
58
|
+
4. One-line description
|
|
59
|
+
5. Detailed purpose
|
|
60
|
+
6. When to use scenarios
|
|
61
|
+
|
|
62
|
+
### Step 2: Specification
|
|
63
|
+
|
|
64
|
+
**Define**:
|
|
65
|
+
|
|
66
|
+
1. Options/parameters
|
|
67
|
+
2. Usage examples
|
|
68
|
+
3. Process steps
|
|
69
|
+
4. Output format
|
|
70
|
+
|
|
71
|
+
### Step 3: File Generation
|
|
72
|
+
|
|
73
|
+
**File Created**: `{base_path}/{category}/{command-name}.md`
|
|
74
|
+
|
|
75
|
+
**YAML Frontmatter**:
|
|
76
|
+
|
|
77
|
+
```yaml
|
|
78
|
+
---
|
|
79
|
+
name: {command-name}
|
|
80
|
+
type: {type}
|
|
81
|
+
category: {category}
|
|
82
|
+
description: {description}
|
|
83
|
+
---
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
**Structure**:
|
|
87
|
+
|
|
88
|
+
```markdown
|
|
89
|
+
# {Command Name} Command
|
|
90
|
+
|
|
91
|
+
## Purpose
|
|
92
|
+
{detailed_purpose}
|
|
93
|
+
|
|
94
|
+
## When to Use
|
|
95
|
+
{scenarios}
|
|
96
|
+
|
|
97
|
+
## Usage
|
|
98
|
+
{syntax}
|
|
99
|
+
|
|
100
|
+
## Process
|
|
101
|
+
{steps}
|
|
102
|
+
|
|
103
|
+
## Output Format
|
|
104
|
+
{output}
|
|
105
|
+
|
|
106
|
+
## Integration
|
|
107
|
+
{workflow_integration}
|
|
108
|
+
|
|
109
|
+
## Best Practices
|
|
110
|
+
{practices}
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
### Step 4: Integration & Documentation
|
|
114
|
+
|
|
115
|
+
**Updates**:
|
|
116
|
+
|
|
117
|
+
- Commands README
|
|
118
|
+
- Main documentation (if major)
|
|
119
|
+
- Quick start (if user-facing)
|
|
120
|
+
|
|
121
|
+
### Step 5: Validation
|
|
122
|
+
|
|
123
|
+
**Checks**:
|
|
124
|
+
|
|
125
|
+
- Name follows conventions
|
|
126
|
+
- YAML valid
|
|
127
|
+
- All sections complete
|
|
128
|
+
- Examples clear
|
|
129
|
+
- Process actionable
|
|
130
|
+
- File in correct directory
|
|
131
|
+
|
|
132
|
+
**Test**: Verify command loads and works
|
|
133
|
+
|
|
134
|
+
### Step 6: Commit
|
|
135
|
+
|
|
136
|
+
**Format**:
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
feat(commands): add /{command-name} command
|
|
140
|
+
|
|
141
|
+
- {description}
|
|
142
|
+
- {key_features}
|
|
143
|
+
|
|
144
|
+
Usage: /{command-name} [options]
|
|
145
|
+
|
|
146
|
+
Examples:
|
|
147
|
+
- {example}
|
|
148
|
+
|
|
149
|
+
Updates:
|
|
150
|
+
- {command_file} (new)
|
|
151
|
+
- README.md (updated)
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
## Interactive Wizard Flow
|
|
155
|
+
|
|
156
|
+
```text
|
|
157
|
+
⚙️ Create New Command Wizard
|
|
158
|
+
|
|
159
|
+
📝 Step 1: Command Identity
|
|
160
|
+
Command Name: {input}
|
|
161
|
+
Type: {selection}
|
|
162
|
+
Category: {input}
|
|
163
|
+
Description: {input}
|
|
164
|
+
|
|
165
|
+
📋 Step 2: Purpose & Usage
|
|
166
|
+
Purpose: {input}
|
|
167
|
+
When to use: {input}
|
|
168
|
+
|
|
169
|
+
🔧 Step 3: Options & Parameters
|
|
170
|
+
Options: {input}
|
|
171
|
+
|
|
172
|
+
📊 Step 4: Process Definition
|
|
173
|
+
Steps: {input}
|
|
174
|
+
|
|
175
|
+
📝 Step 5: Review & Confirm
|
|
176
|
+
{summary}
|
|
177
|
+
Proceed? (y/n)
|
|
178
|
+
|
|
179
|
+
✨ Creating Command
|
|
180
|
+
✓ Generated file
|
|
181
|
+
✓ Updated documentation
|
|
182
|
+
✓ Validation passed
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
## Command Templates
|
|
186
|
+
|
|
187
|
+
### Workflow Command
|
|
188
|
+
|
|
189
|
+
```markdown
|
|
190
|
+
---
|
|
191
|
+
name: {name}
|
|
192
|
+
type: development
|
|
193
|
+
category: workflow
|
|
194
|
+
description: {desc}
|
|
195
|
+
---
|
|
196
|
+
|
|
197
|
+
# {Name} Command
|
|
198
|
+
|
|
199
|
+
## Purpose
|
|
200
|
+
{purpose}
|
|
201
|
+
|
|
202
|
+
## Usage
|
|
203
|
+
/{name} [options]
|
|
204
|
+
|
|
205
|
+
## Process
|
|
206
|
+
### Step 1: {name}
|
|
207
|
+
{actions}
|
|
208
|
+
|
|
209
|
+
## Output Format
|
|
210
|
+
{format}
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
### Audit Command
|
|
214
|
+
|
|
215
|
+
```markdown
|
|
216
|
+
---
|
|
217
|
+
name: {name}
|
|
218
|
+
type: audit
|
|
219
|
+
category: quality
|
|
220
|
+
description: {desc}
|
|
221
|
+
---
|
|
222
|
+
|
|
223
|
+
# {Name} Command
|
|
224
|
+
|
|
225
|
+
## Audit Process
|
|
226
|
+
### 1. {Area}
|
|
227
|
+
**Checks**: {checks}
|
|
228
|
+
**Benchmarks**: {benchmarks}
|
|
229
|
+
|
|
230
|
+
## Output Format
|
|
231
|
+
{format}
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
## Validation Rules
|
|
235
|
+
|
|
236
|
+
### Command Name
|
|
237
|
+
|
|
238
|
+
- Format: kebab-case
|
|
239
|
+
- Length: 3-30 characters
|
|
240
|
+
- Pattern: Configured regex
|
|
241
|
+
- Must be unique
|
|
242
|
+
- No slash included
|
|
243
|
+
|
|
244
|
+
### YAML Frontmatter
|
|
245
|
+
|
|
246
|
+
**Required**: name, type, category, description
|
|
247
|
+
|
|
248
|
+
**Valid Types**: Configured command types
|
|
249
|
+
|
|
250
|
+
**Description**: One-line, under 120 chars
|
|
251
|
+
|
|
252
|
+
### Directory Structure
|
|
253
|
+
|
|
254
|
+
```text
|
|
255
|
+
{base_path}/
|
|
256
|
+
├── workflow/
|
|
257
|
+
├── planning/
|
|
258
|
+
├── quality/
|
|
259
|
+
├── audit/
|
|
260
|
+
├── meta/
|
|
261
|
+
└── git/
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
## Best Practices
|
|
265
|
+
|
|
266
|
+
### Design
|
|
267
|
+
|
|
268
|
+
- Single, clear responsibility
|
|
269
|
+
- Descriptive name
|
|
270
|
+
- Comprehensive docs
|
|
271
|
+
- Sensible defaults
|
|
272
|
+
- Clear feedback
|
|
273
|
+
|
|
274
|
+
### Integration
|
|
275
|
+
|
|
276
|
+
- Fit existing workflow
|
|
277
|
+
- Work with other commands
|
|
278
|
+
- Idempotent when possible
|
|
279
|
+
|
|
280
|
+
## Common Patterns
|
|
281
|
+
|
|
282
|
+
### Quality Check
|
|
283
|
+
|
|
284
|
+
```bash
|
|
285
|
+
/{check-name} [--scope <area>] [--fix] [--report]
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
### Workflow Automation
|
|
289
|
+
|
|
290
|
+
```bash
|
|
291
|
+
/{action-name} [--options]
|
|
292
|
+
```
|
|
293
|
+
|
|
294
|
+
### Audit
|
|
295
|
+
|
|
296
|
+
```bash
|
|
297
|
+
/{audit-name} [--scope <area>] [--depth <level>] [--report]
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
## Related Commands
|
|
301
|
+
|
|
302
|
+
- `/create-agent` - Create new agent
|
|
303
|
+
- `/create-skill` - Create new skill
|
|
304
|
+
- `/help` - System help
|
|
305
|
+
|
|
306
|
+
## Notes
|
|
307
|
+
|
|
308
|
+
- Use verb-noun pattern for names
|
|
309
|
+
- Full words in options
|
|
310
|
+
- Keep examples updated
|
|
311
|
+
- Test before committing
|
|
312
|
+
- Always update README
|
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: create-skill
|
|
3
|
+
type: meta
|
|
4
|
+
category: system
|
|
5
|
+
description: Interactive wizard to create reusable skills for specialized workflows
|
|
6
|
+
config_required:
|
|
7
|
+
- skill_categories: "Define skill categories (testing, development, validation, etc.)"
|
|
8
|
+
- skill_types: "Specify skill types (workflow, validation, utility, etc.)"
|
|
9
|
+
- base_path: "Define skills directory location"
|
|
10
|
+
- template_types: "Available skill templates"
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# Create Skill Command
|
|
14
|
+
|
|
15
|
+
## Purpose
|
|
16
|
+
|
|
17
|
+
Interactive wizard for creating skills - specialized, reusable workflows invoked by agents. Ensures skills follow standards and integrate properly.
|
|
18
|
+
|
|
19
|
+
## ⚙️ Configuration
|
|
20
|
+
|
|
21
|
+
| Setting | Description | Example |
|
|
22
|
+
|---------|-------------|---------|
|
|
23
|
+
| `skill_categories` | Available categories | `testing, development, validation, documentation, automation` |
|
|
24
|
+
| `skill_types` | Skill types | `workflow, validation, utility, template, analysis` |
|
|
25
|
+
| `base_path` | Skills directory | `.claude/skills/` |
|
|
26
|
+
| `name_pattern` | Validation regex | `^[a-z][a-z0-9-]*[a-z0-9]$` |
|
|
27
|
+
| `template_types` | Template options | `workflow, validation, utility` |
|
|
28
|
+
|
|
29
|
+
## Usage
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
/create-skill [options]
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Options
|
|
36
|
+
|
|
37
|
+
- `--name <name>`: Skill name (kebab-case)
|
|
38
|
+
- `--category <category>`: Skill category
|
|
39
|
+
- `--interactive`: Full interactive mode (default)
|
|
40
|
+
- `--template <type>`: Use template
|
|
41
|
+
|
|
42
|
+
## When to Use
|
|
43
|
+
|
|
44
|
+
- Reusable workflows needed
|
|
45
|
+
- Domain expertise codification
|
|
46
|
+
- Complex procedures documentation
|
|
47
|
+
- Best practice standardization
|
|
48
|
+
|
|
49
|
+
## Skill Creation Process
|
|
50
|
+
|
|
51
|
+
### Step 1: Discovery & Planning
|
|
52
|
+
|
|
53
|
+
**Wizard Questions**:
|
|
54
|
+
|
|
55
|
+
1. Skill name (kebab-case)
|
|
56
|
+
2. Skill category
|
|
57
|
+
3. One-line description
|
|
58
|
+
4. Detailed purpose
|
|
59
|
+
5. Primary users (agents)
|
|
60
|
+
6. Skill type
|
|
61
|
+
|
|
62
|
+
### Step 2: Workflow Definition
|
|
63
|
+
|
|
64
|
+
**Define**:
|
|
65
|
+
|
|
66
|
+
1. Input requirements
|
|
67
|
+
2. Process steps
|
|
68
|
+
3. Output/deliverables
|
|
69
|
+
4. Success criteria
|
|
70
|
+
|
|
71
|
+
### Step 3: File Generation
|
|
72
|
+
|
|
73
|
+
**File Created**: `{base_path}/{category}/{skill-name}.md`
|
|
74
|
+
|
|
75
|
+
**YAML Frontmatter**:
|
|
76
|
+
|
|
77
|
+
```yaml
|
|
78
|
+
---
|
|
79
|
+
name: {skill-name}
|
|
80
|
+
category: {category}
|
|
81
|
+
description: {description}
|
|
82
|
+
usage: {usage_context}
|
|
83
|
+
input: {input_requirements}
|
|
84
|
+
output: {output_produced}
|
|
85
|
+
---
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
**Structure**:
|
|
89
|
+
|
|
90
|
+
```markdown
|
|
91
|
+
# {Skill Name}
|
|
92
|
+
|
|
93
|
+
## Overview
|
|
94
|
+
{purpose_and_users}
|
|
95
|
+
|
|
96
|
+
## When to Use
|
|
97
|
+
{scenarios}
|
|
98
|
+
|
|
99
|
+
## Prerequisites
|
|
100
|
+
{requirements}
|
|
101
|
+
|
|
102
|
+
## Workflow
|
|
103
|
+
### Step 1: {name}
|
|
104
|
+
{actions_and_validation}
|
|
105
|
+
|
|
106
|
+
## Output
|
|
107
|
+
{deliverables_and_criteria}
|
|
108
|
+
|
|
109
|
+
## Examples
|
|
110
|
+
{scenarios}
|
|
111
|
+
|
|
112
|
+
## Error Handling
|
|
113
|
+
{errors_and_solutions}
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
### Step 4: Integration & Documentation
|
|
117
|
+
|
|
118
|
+
**Updates**:
|
|
119
|
+
|
|
120
|
+
- Skills README
|
|
121
|
+
- Agent documentation (if agent-specific)
|
|
122
|
+
- Quick start (if widely used)
|
|
123
|
+
|
|
124
|
+
### Step 5: Validation
|
|
125
|
+
|
|
126
|
+
**Checks**:
|
|
127
|
+
|
|
128
|
+
- Name follows conventions
|
|
129
|
+
- YAML valid
|
|
130
|
+
- All sections complete
|
|
131
|
+
- Workflow clear and actionable
|
|
132
|
+
- Prerequisites defined
|
|
133
|
+
- Success criteria measurable
|
|
134
|
+
- File in correct directory
|
|
135
|
+
|
|
136
|
+
**Test**: Invoke from agent context
|
|
137
|
+
|
|
138
|
+
### Step 6: Commit
|
|
139
|
+
|
|
140
|
+
**Format**:
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
feat(skills): add {skill-name} skill
|
|
144
|
+
|
|
145
|
+
- {description}
|
|
146
|
+
- Primary users: {agents}
|
|
147
|
+
|
|
148
|
+
Workflow: {key_steps}
|
|
149
|
+
Output: {deliverables}
|
|
150
|
+
|
|
151
|
+
Updates:
|
|
152
|
+
- {skill_file} (new)
|
|
153
|
+
- README.md (updated)
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
## Interactive Wizard Flow
|
|
157
|
+
|
|
158
|
+
```text
|
|
159
|
+
🎯 Create New Skill Wizard
|
|
160
|
+
|
|
161
|
+
📝 Step 1: Skill Identity
|
|
162
|
+
Skill Name: {input}
|
|
163
|
+
Category: {selection}
|
|
164
|
+
Description: {input}
|
|
165
|
+
Type: {selection}
|
|
166
|
+
|
|
167
|
+
📋 Step 2: Purpose & Users
|
|
168
|
+
Purpose: {input}
|
|
169
|
+
Primary users: {input}
|
|
170
|
+
|
|
171
|
+
🔧 Step 3: Workflow Definition
|
|
172
|
+
Steps: {input}
|
|
173
|
+
Input: {input}
|
|
174
|
+
Output: {input}
|
|
175
|
+
Success criteria: {input}
|
|
176
|
+
|
|
177
|
+
📝 Step 4: Review & Confirm
|
|
178
|
+
{summary}
|
|
179
|
+
Proceed? (y/n)
|
|
180
|
+
|
|
181
|
+
✨ Creating Skill
|
|
182
|
+
✓ Generated file
|
|
183
|
+
✓ Updated documentation
|
|
184
|
+
✓ Validation passed
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
## Skill Templates
|
|
188
|
+
|
|
189
|
+
### Workflow Skill
|
|
190
|
+
|
|
191
|
+
```markdown
|
|
192
|
+
---
|
|
193
|
+
name: {name}
|
|
194
|
+
category: {category}
|
|
195
|
+
description: {desc}
|
|
196
|
+
usage: Invoke when {context}
|
|
197
|
+
input: {requirements}
|
|
198
|
+
output: {deliverables}
|
|
199
|
+
---
|
|
200
|
+
|
|
201
|
+
# {Name}
|
|
202
|
+
|
|
203
|
+
## Overview
|
|
204
|
+
**Purpose**: {purpose}
|
|
205
|
+
**Primary Users**: {agents}
|
|
206
|
+
|
|
207
|
+
## Workflow
|
|
208
|
+
### Step 1: {name}
|
|
209
|
+
**Objective**: {goal}
|
|
210
|
+
**Actions**: {steps}
|
|
211
|
+
**Validation**: {checks}
|
|
212
|
+
**Output**: {result}
|
|
213
|
+
|
|
214
|
+
## Output
|
|
215
|
+
**Produces**: {outputs}
|
|
216
|
+
**Success Criteria**: {criteria}
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
### Validation Skill
|
|
220
|
+
|
|
221
|
+
```markdown
|
|
222
|
+
---
|
|
223
|
+
name: {name}
|
|
224
|
+
category: validation
|
|
225
|
+
description: {desc}
|
|
226
|
+
usage: Use to validate {what}
|
|
227
|
+
input: {what_to_validate}
|
|
228
|
+
output: Validation report
|
|
229
|
+
---
|
|
230
|
+
|
|
231
|
+
# {Name}
|
|
232
|
+
|
|
233
|
+
## Validation Checklist
|
|
234
|
+
### {Category}
|
|
235
|
+
- [ ] {check}
|
|
236
|
+
|
|
237
|
+
## Validation Process
|
|
238
|
+
{steps}
|
|
239
|
+
|
|
240
|
+
## Output Format
|
|
241
|
+
{report_format}
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
## Validation Rules
|
|
245
|
+
|
|
246
|
+
### Skill Name
|
|
247
|
+
|
|
248
|
+
- Format: kebab-case
|
|
249
|
+
- Length: 3-40 characters
|
|
250
|
+
- Pattern: Configured regex
|
|
251
|
+
- Must be unique
|
|
252
|
+
|
|
253
|
+
### YAML Frontmatter
|
|
254
|
+
|
|
255
|
+
**Required**: name, category, description, usage, input, output
|
|
256
|
+
|
|
257
|
+
**Valid Categories**: Configured categories
|
|
258
|
+
|
|
259
|
+
**Valid Types**: Configured types
|
|
260
|
+
|
|
261
|
+
### Directory Structure
|
|
262
|
+
|
|
263
|
+
```text
|
|
264
|
+
{base_path}/
|
|
265
|
+
├── testing/
|
|
266
|
+
├── development/
|
|
267
|
+
├── validation/
|
|
268
|
+
├── documentation/
|
|
269
|
+
├── automation/
|
|
270
|
+
└── analysis/
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
## Best Practices
|
|
274
|
+
|
|
275
|
+
### Design
|
|
276
|
+
|
|
277
|
+
- Generic and reusable
|
|
278
|
+
- Parameterized for context
|
|
279
|
+
- Modular steps
|
|
280
|
+
- Clear objectives
|
|
281
|
+
- Actionable steps
|
|
282
|
+
- Validated at each step
|
|
283
|
+
|
|
284
|
+
### Documentation
|
|
285
|
+
|
|
286
|
+
- Realistic examples
|
|
287
|
+
- Error scenarios documented
|
|
288
|
+
- Clear prerequisites
|
|
289
|
+
- Agent-aware design
|
|
290
|
+
|
|
291
|
+
## Common Patterns
|
|
292
|
+
|
|
293
|
+
### Testing Workflow
|
|
294
|
+
|
|
295
|
+
1. Prerequisites check
|
|
296
|
+
2. Test planning
|
|
297
|
+
3. Test implementation
|
|
298
|
+
4. Validation
|
|
299
|
+
5. Documentation
|
|
300
|
+
|
|
301
|
+
### Validation Workflow
|
|
302
|
+
|
|
303
|
+
1. Input validation
|
|
304
|
+
2. Criteria checking
|
|
305
|
+
3. Result compilation
|
|
306
|
+
4. Report generation
|
|
307
|
+
|
|
308
|
+
## Related Commands
|
|
309
|
+
|
|
310
|
+
- `/create-agent` - Create new agent
|
|
311
|
+
- `/create-command` - Create new command
|
|
312
|
+
- `/help` - System help
|
|
313
|
+
|
|
314
|
+
## Notes
|
|
315
|
+
|
|
316
|
+
- Skills invoked by agents, not users
|
|
317
|
+
- Keep focused on single responsibility
|
|
318
|
+
- Comprehensive docs critical
|
|
319
|
+
- Test from actual agent context
|
|
320
|
+
- Skills evolve with patterns
|
|
321
|
+
- Use action-oriented names
|