From skill-forge
Plans architecture for new Claude Code skills via domain discovery, use case decomposition, complexity tier assessment, sub-skill breakdown, and file structure design.
npx claudepluginhub agricidaniel/skill-forgeThis skill uses the workspace's default tool permissions.
Ask the user these questions (adapt based on context):
Guides building production-grade Claude Code skills with architecture design, workflow checklists, prompt engineering, and packaging scripts.
Creates Claude Code skills with best practices for structure, validation, and testing. Useful when designing or refining skills, prompts, references, or supporting files.
Creates new Claude Code skills from scratch following best practices for structure, naming, frontmatter, progressive disclosure, reference organization, and tool scoping. Use for building skills or converting slash commands.
Share bugs, ideas, or general feedback.
Ask the user these questions (adapt based on context):
For each use case, define:
Use Case: [Name]
Trigger: User says "[phrases]"
Steps:
1. [First action]
2. [Decision point or validation]
3. [Next action]
Result: [What success looks like]
Tools Needed: [built-in, MCP, scripts]
Evaluate based on answers:
| Signal | Tier 1 | Tier 2 | Tier 3 | Tier 4 |
|---|---|---|---|---|
| Use cases | 1-2 | 2-3 | 4-8 | 8+ |
| Needs scripts? | No | Yes | Maybe | Yes |
| Sub-skills needed? | No | No | Yes | Yes |
| Parallel execution? | No | No | No | Yes |
| Reference docs? | No | Maybe | Yes | Yes |
| Industry templates? | No | No | Maybe | Yes |
Decision matrix:
Based on tier, generate the architecture:
Tier 1 Output:
skill-name/
SKILL.md
Tier 2 Output:
skill-name/
SKILL.md
scripts/
validate.py
process.py
references/
domain-knowledge.md
Tier 3 Output:
skill-name/ # Main orchestrator
SKILL.md
references/
shared-reference.md
skills/
skill-name-sub1/
SKILL.md
skill-name-sub2/
SKILL.md
Tier 4 Output:
skill-name/ # Main orchestrator
SKILL.md
references/
ref1.md
ref2.md
scripts/
script1.py
script2.py
assets/
template1.md
template2.md
skills/
skill-name-sub1/
SKILL.md
skill-name-sub2/
SKILL.md
...
agents/
skill-name-role1.md
skill-name-role2.md
For each sub-skill, define:
{parent}-{function} (kebab-case)Design the command routing:
| Command | Routes to | Purpose |
|---------|-----------|---------|
| /skill-name | main SKILL.md | Interactive mode |
| /skill-name sub1 | skills/skill-name-sub1/ | Sub-workflow 1 |
| /skill-name sub2 | skills/skill-name-sub2/ | Sub-workflow 2 |
Identify knowledge that should be extracted to reference files:
Rule of thumb: If information is >50 lines and only needed for specific sub-workflows,
extract it to references/.
Create a structured plan document:
# Skill Plan: [name]
## Overview
- Domain: [domain]
- Tier: [1-4]
- Sub-skills: [count]
- Scripts: [count]
## Use Cases
[list from Step 2]
## Architecture
[diagram from Step 4]
## Sub-Skills
[details from Step 5]
## Routing
[table from Step 6]
## Reference Files
[list from Step 7]
## Next Steps
Run `/skill-forge build [name]` to scaffold the skill.
User: "I want to create a skill for managing Docker containers and Kubernetes deployments"
Discovery reveals:
Assessment: Tier 3 (multi-skill orchestrator)
Architecture:
devops/ # Main orchestrator
SKILL.md
scripts/
health_check.py # Cluster health check
log_parser.py # Log analysis
references/
k8s-patterns.md # Deployment patterns
docker-best-practices.md
skills/
devops-docker/SKILL.md # Container management
devops-k8s/SKILL.md # Kubernetes deployments
devops-monitor/SKILL.md # Monitoring and alerts
devops-logs/SKILL.md # Log analysis
devops-scale/SKILL.md # Scaling strategies
devops-fix/SKILL.md # Troubleshooting