Generates feature implementation plan as split artifacts: spec.md (requirements/workflows), plan.md (technical approach), tasks.md (step-by-step), quickstart.md (TL;DR) in .claude/specs/{feature}/.
From piv-speckitnpx claudepluginhub galando/piv-speckit --plugin piv<feature-name>commands/piv_loop//plan-featurePlan a feature by creating an epic issue and breaking it into task sub-issues on GitHub.
/plan-featurePlans new feature for existing project: checks prerequisites, gathers requirements interactively, generates phases, and updates IMPLEMENTATION_PHASES.md and SESSION.md.
/plan-featureGather detailed requirements for a new feature through systematic analysis and clarification
/plan-featurePlan a feature into session-sized work items with verification criteria
Goal: Transform feature request into implementation plan with split spec artifacts.
/piv-speckit:plan-feature "feature description"
Full methodology:
$CLAUDE_PLUGIN_ROOT/.claude-plugin/reference/execution/plan-feature.md
Phase 0: Check .claude/agents/context/prime-context.md. If missing/stale (>20 files changed or >7 days), re-scan codebase silently.
Phase 1: Extract problem, identify type (New/Enhancement/Refactor/Fix), assess complexity (Low/Med/High), map affected systems. Create user story: As a <user> I want <goal> So that <benefit>.
Phase 1.5: Review DRY (reuse patterns?), Broken Windows (tech debt?), Automate (tests/CI?), Design for Change (flexible?).
Phase 2: Read prime context, analyze project structure, find similar implementations, check patterns in .claude/rules/, identify integration points.
Phase 3: Research latest library docs, find examples, identify gotchas.
Phase 4: Think about architecture fit, dependencies, edge cases, testing strategy, performance, security.
Phase 5: Generate plan with: context references, patterns to follow, implementation phases, step-by-step tasks with VALIDATE commands.
Phase 6: Create split artifacts in .claude/specs/{XXX-feature}/ or single file in .claude/agents/plans/.
Split Artifacts (Inspired by GitHub's Spec-Kit)
Creates .claude/specs/{XXX-feature-name}/ with:
spec.md - WHAT: User stories, requirements, workflowsplan.md - HOW: Technical approach, architecture, APIstasks.md - DO: Step-by-step implementation tasksquickstart.md - TL;DR: Quick reference for humansBackward Compatible: