Task plan

From KilimcininKorOglu/cli-tweaks · View interactive version

Task plan is an AI agent skill from the GitHub repository KilimcininKorOglu/cli-tweaks. Breaks a specification or PRD into tracked features and tasks, then runs them in dependency order. Manages a structured development workflow with per-task status tracking.

How to use this skill

Skill file

Task Plan - Generate Task Breakdown from PRD

Analyzes PRD/SPEC files and creates/updates comprehensive task breakdown structures.

Supports subcommands: add, status, run.

Subcommands

| Command | Description |

|----------------------------------|--------------------------------------|

| /task-plan | Analyze PRD, generate/update tasks |

| /task-plan docs/PRD.md | Specify PRD path |

| /task-plan add "description" | Add a new feature inline |

| /task-plan add @docs/spec.md | Add feature from file |

| /task-plan status | Show task status table |

| /task-plan run | Run all tasks autonomously |

Operating Mode

On each execution:

  1. PRD Analysis: Analyze the PRD file from scratch
  2. Check Current State: Read existing files in tasks/ directory
  3. Detect Changes: Identify new features, changed requirements, or removed sections
  4. Incremental Update: Update only changed parts, preserve existing progress

Finding PRD File

  1. If provided as argument: $ARGUMENTS
  2. Otherwise search project root: PRD.md, SPEC.md, prd.md, spec.md, docs/PRD.md, docs/SPEC.md

Core Steps

Step 1: Find and Read PRD File

Search for PRD/SPEC in project root and docs/, specifications/, specs/ directories.

Step 2: Analyze Existing Task Structure

If tasks/ directory exists:

When PRD is added to an existing project with manually added features, new features

must continue from the highest existing IDs. Never reset or conflict.

Step 3: Parse PRD and Compare

Extract: project metadata, feature boundaries, technical stack, user stories,

performance criteria, security requirements.

Compare with existing tasks:

Step 4: Create/Update Task Structure

For each new feature, create tasks/XXX-feature-name.md using the

feature template.

IMPORTANT RULES:

  1. Create 3-6 tasks per feature, each task should be 0.5-3 days of work
  2. Tasks should be atomic and independently testable
  3. Use realistic effort estimates based on complexity
  4. Dependencies MUST reference actual task IDs (T001, T002, etc.) or be "None"
  5. Do NOT use vague dependencies like "All backend features" or "Previous tasks"
  6. Success criteria must be specific and measurable
  7. Technical details should guide implementation
  8. Priority levels: P1=Critical, P2=High, P3=Medium, P4=Low

Rules for existing features:

Also update:

Step 5: Generate Change Summary

Output: added features, updated features, warnings (removed from PRD), statistics.

Task Properties Standards

Each task must include:

  1. Unique ID: TXXX format
  2. Status: NOT_STARTED | IN_PROGRESS | COMPLETED | BLOCKED | AT_RISK | PAUSED
  3. Priority: P1 (Critical) | P2 (High) | P3 (Medium) | P4 (Low)
  4. Effort: Developer-days (1 day = 6-8 hours)
  5. Dependencies: Hard and soft dependencies
  6. Success Criteria: At least 3-5 measurable criteria
  7. Files to Touch: File paths (new/update/delete)

Task sizing: Atomic tasks 0.5-5 days, Features 1-6 weeks, Milestones 1-3 months.

Subcommand Details

Quality Checklist

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.