feature-planning

Generates requirements analysis and implementation plans with two human approval gates before coding.

1|Updated Jul 16, 2026
One-click install
npx skills add https://github.com/LunarCommand/claude-skills --skill feature-planning-lunarcommand
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feature-planning
Source: https://github.com/LunarCommand/claude-skills/tree/main/skills/feature-planning
Command: npx skills add https://github.com/LunarCommand/claude-skills --skill feature-planning-lunarcommand

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Jumping straight from a feature idea to code often produces misaligned implementations, missed edge cases, and untested assumptions. This Skill enforces a structured plan-before-code workflow where requirements are critiqued, questions are answered, and a testable plan is approved by a human before any code is written. ## Core Features & Use Cases - Two human approval gates: Gate 1 requires the user to answer clarifying questions written into the requirements file; Gate 2 requires an explicit "approved" or "accepted" before implementation begins. - Opinionated approach analysis: Appends strengths, risks, gaps in the requirements, alternative approaches, and a defended recommendation directly to the requirements file on disk. - Traceable plan documents: Writes plans to /_plans/<feature>-plan.md with stable IDs for invariants (INV-n), tasks (P1.1), and tests (T-n), plus a coverage rollup mapping every requirement to a test. - Use Case: A user says "I want to build CSV export for the dashboard." The Skill creates /_reqs/csv-export.md, appends an analysis and clarifying questions, waits for answers, writes a phased plan with test definitions, and only implements after the user replies "approved". ## Quick Start Ask the assistant to plan and implement a new feature by describing it in chat or pointing to a requirements file, for example: "Use feature-planning to plan and build the CSV export feature described in /_reqs/csv-export.md."

Frequently Asked Questions about feature-planning

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I plan a new feature before writing code with Claude?

Provide either a requirements file path or a prose description of the feature. The Skill writes an approach analysis and clarifying questions into the requirements file, waits for your answers, then produces a phased implementation plan that you must explicitly approve before any code is written.

What is the difference between approved and accepted in the planning gate?

"Approved" means the plan is correct and implementation should start immediately. "Accepted" means the plan is final but coding should not begin; the plan file records a status line with a git sha so a later session can verify the plan has not changed before resuming.

Can I use a feature description in chat instead of a requirements file?

Yes. The Skill derives a kebab-case slug, creates a requirements file under /_reqs/ capturing only what you stated, and treats that file as the source of truth for the rest of the workflow. Gaps in your description become clarifying questions.

What does the implementation plan template include?

The plan includes goals and non-goals, invariants with INV-n IDs, non-functional requirements, success criteria, strategy with rejected alternatives, phased tasks with P-phase.task IDs, enumerated test definitions with T-n IDs, a coverage rollup, rollout notes, and a status line.

When should I not use a gated planning workflow?

Avoid it for trivial changes where ceremony outweighs value, though the Skill right-sizes plans by collapsing sections to single lines or explicit "None" entries for light features. It is designed for features with state, side effects, concurrency, or migration concerns.