Cfn task planning

From masharratt/claude-flow-novice · View interactive version

Cfn task planning is an AI agent skill from the GitHub repository masharratt/claude-flow-novice. Classify tasks (type/domain), estimate complexity + iterations, recommend specialists, init structured configs with scope boundaries, decompose complex tasks. Use when starting CFN Loop Task Mode (scope config before spawning), setting scope contracts, estimating loop count, or breaking one task int

How to use this skill

Skill file

What it does

Single home for task-level planning intelligence: (1) classify by type/domain/complexity → agent specializations, (2) estimate complexity + iteration count, (3) recommend specialists from recurring feedback themes, (4) initialize config with scope boundaries, deliverables, acceptance criteria, (5) decompose large tasks into subtasks within tool budgets.

Absorbed cfn-task-intelligence (now a deprecated redirect): classification, complexity/iteration estimation, and specialist recommendation are documented here. cfn-task-planning classifies and estimates; cfn-agent-lifecycle consumes that classification to select and spawn agents.

When to use (6 triggers)

  1. Starting CFN Loop Task Mode → Generate scope config before spawning
  2. Analyzing complexity → Select right agents and iteration thresholds
  3. Estimating iterations → How many loops before gates pass
  4. Recurring feedback → After repeated themes (e.g. 3 security), recommend a specialist
  5. Breaking down epics → Sequential subtasks when one agent can't complete
  6. Scope contracts → Establish in/out-of-scope before implementation

When NOT to use (4 anti-patterns)

  1. Well-defined and scoped → Go straight to spawning
  2. Real-time classification during execution → Planning phase only
  3. CLI mode with Redis → CLI stores in Redis, this is for Task Mode configs
  4. Simple single-step → Skip for trivial changes

How to use

Step 1 Classify: ./cli/classify-task.sh "Create REST API..." --format=json

Step 2 Estimate complexity + iterations: $HOME/.claude/skills/cfn-task-intelligence/lib/complexity/estimate-complexity.sh --description "..."

Step 3 Init: ./cli/init-config.sh --task-id cfn-phase-123 --task-description "..." --mode standard

Step 4 Decompose: ./cli/decompose-task.sh --task-id ... --description "..." --complexity high

Step 5 (after recurring feedback) Recommend specialist: $HOME/.claude/skills/cfn-task-intelligence/lib/specialist/recommend-specialist.sh --current-loop3 "..." --feedback-themes "security,auth" --recurring-count 3

Canonical script locations

Classification, config, decomposition, and audit live in this skill (cli/ + lib/). Complexity/iteration estimation and specialist recommendation are absorbed from the deprecated cfn-task-intelligence skill; its scripts stay runnable in place and are the canonical implementations:

Parameters

Expected output

Real-world example

"Add JWT auth" → classify backend → estimate complexity (high, ~6 iterations) → init config with deliverables [src/auth/jwt.ts, tests/] + acceptance criteria → hand classification to cfn-agent-lifecycle to select and spawn agents with known scope

Related skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.