agentleFS
smartwhale8smartwhale8/claude-playbook/.claude/skills/plan-feature/SKILL.md

plan-feature

Skill41 starsChanged 2 months agoMITView on GitHub

Turn a rough feature idea into a written specification by interviewing the user first. Use when the user describes something substantial they want built and the approach is not yet settled.

18 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use systematic-debugging.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • OpenAISkill

    systematic-debugging

    Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 18 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use AskUserQuestion to work through what is genuinely undecided.

    line 21
  2. Distinctive:

    Keep going until the hard parts are decided.

    line 32
  3. Very specific:

    Write SPEC.md in the repository root:

    line 36

“Common” is measured: kept by at least 6 in 10 of the 18 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Plan a feature

The idea: $ARGUMENTS

Claude solving the wrong problem well is the most expensive failure in an agentic session. This skill spends a few minutes preventing it.

1. Read before asking

Find how the codebase already does the nearest equivalent thing. Identify the files a change like this would touch and the patterns it should follow. Bring that to the interview, so the questions are about the decisions rather than the facts.

2. Interview

Use AskUserQuestion to work through what is genuinely undecided. Skip anything you can answer by reading the code.

Cover:

  • Behaviour. What happens in the normal case, and at each edge the user cares about.
  • Scope. What is explicitly not part of this.
  • Data. What is stored, what is derived, what migrates.
  • Interface. The endpoints, the screens, or the commands involved.
  • Failure. What happens when the dependency is down, the input is bad, or the operation is repeated.
  • Verification. What has to be true for this to be finished.

Keep going until the hard parts are decided. Stop asking about things that have one obvious answer.

3. Write the specification

Write SPEC.md in the repository root:

# <Feature>

## Goal
One paragraph. What this enables and for whom.

## Out of scope
The explicit list.

## Files and interfaces
Each file to add or change, and what changes in it.

## Behaviour
Numbered cases, each with its expected result.

## Data
Schema changes, migrations, derived values.

## Failure modes
Each one and the intended handling.

## Acceptance criteria
A numbered list, each item verifiable by a command or an observation.

## Verification
The end-to-end check that proves the feature works.

4. Hand over

Tell the user to start a fresh session to implement it, pointing that session at SPEC.md. A clean context that reads a good specification outperforms a long context that wrote one.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.