Claude-skill-registry cfn-task-planning
Classify tasks, initialize structured configs with scope boundaries, decompose complex tasks
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/cfn-task-planning" ~/.claude/skills/majiayu000-claude-skill-registry-cfn-task-planning && rm -rf "$T"
manifest:
skills/data/cfn-task-planning/SKILL.mdsource content
What it does
Three-phase planning: (1) classify by type/complexity → agent specializations, (2) initialize config with scope boundaries, deliverables, acceptance criteria, (3) decompose large tasks into subtasks within tool budgets.
When to use (4 triggers)
- Starting CFN Loop Task Mode → Generate scope config before spawning
- Analyzing complexity → Select right agents and iteration thresholds
- Breaking down epics → Sequential subtasks when one agent can't complete
- Scope contracts → Establish in/out-of-scope before implementation
When NOT to use (4 anti-patterns)
- Well-defined and scoped → Go straight to spawning
- Real-time classification during execution → Planning phase only
- CLI mode with Redis → CLI stores in Redis, this is for Task Mode configs
- Simple single-step → Skip for trivial changes
How to use
Step 1 Classify:
./classify-task.sh "Create REST API..." --format=json
Step 2 Init: ./init-config.sh --task-id cfn-phase-123 --task-description "..." --mode standard
Step 3 Decompose: ./decompose-task.sh --task-id ... --description "..." --complexity high
Parameters
- classify: TASK_DESCRIPTION, --format (json/simple)
- init: --task-id, --task-description, --mode (mvp/standard/enterprise)
- decompose: --task-id, --description, --tool-budget, --complexity
Expected output
- Classify:
{task_type, complexity, keywords_matched, suggested_agents} - Init:
with scope, agents, thresholds, acceptance criteria.cfn/task-configs/task-{id}.json - Decompose: JSON array of subtasks with deliverables, tool_budget, estimated_effort
Real-world example
"Add JWT auth" → classify backend → init config with deliverables
[src/auth/jwt.ts, tests/] + acceptance criteria → spawn agents with known scope