agentleFS
allmontyallmonty/better-code-agent/skills/plan-feature/SKILL.md

plan-feature

Skill0 starsChanged 10 days agoMITView on GitHub

Writes a plan in docs/plans/ before building - acceptance criteria, one-commit tasks with a verification each, a test plan and open questions - then stops for approval, or proceeds task by task when the user has said not to wait. Use first whenever the user asks to build, add or implement a feature or change that needs more than one commit, even if they say to just build it or that they are away; also when they ask to plan, spec or break down work.

39 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use brainstorm-feature, document-wiki and 9 more.

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.
  • asta-nguyenSkill

    brainstorm-feature

    Use when a request is new, ambiguous, affects product behavior, or has unresolved scope, UX, API, data, or compatibility decisions, before any design or code.

    Also in 3 projects that use this

  • asta-nguyenSkill

    document-wiki

    Use when a task changes behavior that an existing wiki documents, or when a standalone wiki must be created or refreshed from current source.

    Also in 3 projects that use this

  • shifulegendSkill

    review-and-verify

    Also in 3 projects that use this

  • utk2103Skill

    lean-audit

    Whole-repo audit for over-engineering. Like lean-review, but scans the entire codebase instead of a diff: a ranked list of what to delete, simplify, or replace with stdlib/native equivalents. Use when the user says "audit this codebase", "audit for over-engineering", "what can I delete from this repo", "find bloat", "lean-audit", or "/lean-audit". One-shot report, does not apply fixes.

    Also in 3 projects that use this

  • kiminmonacoSkill

    implement-feature

    Guide for implementing features in ClaudeBar following architecture-first design, TDD, rich domain models, and Swift 6.2 patterns. Use this skill when: (1) Adding new functionality to the app (2) Creating domain models that follow user's mental model (3) Building SwiftUI views that consume domain models directly (4) User asks "how do I implement X" or "add feature Y" (5) Implementing any feature that spans Domain, Infrastructure, and App layers

    Also in 3 projects that use this

  • pnahtanojSkill

    context-handoff

    Capture the current state of a session into a structured handoff summary. Use this skill whenever the user wants to wrap up a session, hand off work to another tool or person, continue in a new session, or document decisions before moving to implementation. Triggers on phrases like "wrap this up", "summarize where we got to", "capture this for later", "create a handoff", "what have we decided", "prep this for Claude Code", "write this up for the engineer", or any time the user signals a context boundary is approaching. Also trigger mid-session if the user wants to park a thread and return to it. Do NOT trigger for general summaries of a document or article — this skill is specifically for capturing the state of a working session.

    Also in 3 projects that use this

  • +5 more from asta-nguyen

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 38 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:

    Read first: Read AGENTS.md, docs/ROADMAP.md, the last entries of docs/PROGRESS.md, related ADRs, and the code the feature touches.

    line 13
  2. Distinctive:

    Ask what you can't find: If the goal, users, edge cases or constraints are unclear, ask before writing.

    line 14
  3. Very specific:

    Test plan: which level covers each acceptance criterion (.claude/rules/testing.md).

    line 21

“Common” is measured: kept by at least 6 in 10 of the 38 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

Work in the user's project: the current working directory. Every path below is relative to it, not to this skill's own folder.

Feature: $ARGUMENTS

  1. Read first. Read AGENTS.md, docs/ROADMAP.md, the last entries of docs/PROGRESS.md, related ADRs, and the code the feature touches. Trace the real flow: entry points, data, callers, existing tests. Note helpers and patterns to reuse.
  2. Ask what you can't find. If the goal, users, edge cases or constraints are unclear, ask before writing. Don't fill gaps with guesses.
  3. Write docs/plans/<feature-slug>.md from docs/plans/_template.md, sized to the work: a two- or three-commit change gets a goal, a few criteria and its tasks, not user stories or a design essay. Drop template sections that would be empty.
    • Goal: what the user can do afterwards.
    • Acceptance criteria: observable and testable, numbered.
    • Out of scope: what you're deliberately not doing.
    • Design: where it fits in the existing architecture (.claude/rules/architecture.md). If it needs a real decision between options, add an ADR task.
    • Tasks: ordered, each fits in one commit, each ends with verify: naming the test or command. Start with the riskiest or most uncertain part. Include tasks for migrations, docs and e2e where needed.
    • Test plan: which level covers each acceptance criterion (.claude/rules/testing.md).
    • Open questions.
  4. Register it in docs/ROADMAP.md with status planned.
  5. Stop for approval. Show the plan's tasks and open questions and ask for approval. Don't write code in this skill. If the user already said to go ahead without them ("just build it", "I'm away", "don't wait for me"), don't stop: answer the open questions with the most reasonable choice, record each one under the plan's Notes, set the status to approved (by request), commit the plan, then implement the tasks one by one with the implement-task workflow.

A good task: "Add RateLimiter.allow(key) with a sliding window — verify: unit tests for limit, window reset, separate keys". A bad task: "Implement rate limiting".

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.