agentleFS
futureteafuturetea/tea-stack/skills/write-plan/SKILL.md

write-plan

Skill5 starsChanged 3 days agoMITView on GitHub

Use when editing 3+ files, changing contracts, or facing ambiguous scope. Drafts a concise one-page implementation plan before coding.

28 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use write-spec, execute-plan 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.
  • AnthropicSkill

    write-spec

    Write a feature spec or PRD from a problem statement or feature idea. Use when turning a vague idea or user request into a structured document, scoping a feature with goals and non-goals, defining success metrics and acceptance criteria, or breaking a big ask into a phased spec.

    Also in 6 projects that use this

  • TheKREATORSSkill

    execute-plan

    Deprecated - use the superpowers:executing-plans skill instead

    Also in 6 projects that use this

  • MaheshAwasareSkill

    write-adr

    Write an Architecture Decision Record — Context, Decision, Consequences, Alternatives Considered. Use when making any architecture-shaping choice (DB, framework, service boundary, vendor, data model) so the *reason* survives. ADRs are append-only and superseded, not edited.

    Also in 3 projects that use this

  • renatorozasSkill

    grill

    Adversarial code review. Don't let me ship until the changes pass your scrutiny.

    Also in 3 projects that use this

  • Hugging FaceSkill

    simplify

    Refactor code after tests pass. The "Refactor" phase of Red-Green-Refactor.

    Also in 3 projects that use this

  • Hugging FaceSkill

    implement

    Make tests pass. Invoke after /write-tests produces failing tests.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 22 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Never invent file paths, symbols, or existing behavior without reading them first.

    line 22
  2. Distinctive:

    Prefer minimal edits and existing abstractions over speculative refactors.

    line 28
  3. Very specific:

    Grounded in code: Every claim about existing behavior cites path:line.

    line 65
  4. Distinctive:

    Pause on open decisions: If human sign-off is required on scope or external contracts, stop after presenting the plan instead of coding …

    line 67

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

Write Plan

Align on scope, trade-offs, and verification before editing code so implementation stays minimal and predictable.

When to Use

  • Changes touching 3+ files or crossing module boundaries
  • Modifications to public APIs, schemas, configs, auth, or state transitions
  • Tasks with multiple viable designs or unclear acceptance criteria

Skip this skill for small, obvious, single-spot edits.

Workflow

  1. Read before designing
    • Inspect directly relevant source files, types, call sites, and tests.
    • Never invent file paths, symbols, or existing behavior without reading them first.
  2. Define scope and open decisions
    • State both Goals and explicit Non-Goals.
    • Surface any ambiguity affecting external contracts, compatibility, or value trade-offs with options and a recommendation.
  3. Slice into verifiable steps
    • Order steps so each slice can be built or tested incrementally.
    • Prefer minimal edits and existing abstractions over speculative refactors.
  4. Specify deterministic verification
    • List exact build/lint/test commands, key test cases (happy path, boundaries, failures), and any required runtime check.

Output Template

# Plan: <short title>

## 1. Goal and Non-Goals
- **Goal**: Concrete problem solved and acceptance criteria.
- **Non-Goals**: Related things intentionally left untouched.

## 2. Current State and Affected Scope
- Verified current behavior (with `path:line` evidence)
- Files to modify or add and each file's responsibility

## 3. Design and Trade-offs
- Chosen approach (data/control flow summary)
- Key trade-off: why A over B (omit if straightforward)
- Decisions needed from human (if any)

## 4. Implementation Steps
1. [Step 1] Edit summary -> verification check
2. [Step 2] Edit summary -> verification check

## 5. Verification Plan
- Automated gates: `<build / lint / test commands>`
- New or updated tests: key scenarios and edge cases
- Manual / runtime verification (if applicable)

## 6. Risks and Rollback
- Main risks and mitigation (or "Low risk; revert commit")

Quality Bar

  • Grounded in code: Every claim about existing behavior cites path:line.
  • One page max: Dense and actionable; no filler prose.
  • Pause on open decisions: If human sign-off is required on scope or external contracts, stop after presenting the plan instead of coding immediately.

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.