agentleFS
sefaertuncsefaertunc/anthropic-watch/.claude/skills/planning-with-files/SKILL.md

planning-with-files

Skill1 starsChanged 7 months agoMITView on GitHub

How to structure implementation plans as files, progressive implementation, plan review process

53 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use react-useeffect, strategic-compact 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.
  • jarrodwattsSkill

    react-useeffect

    React useEffect best practices from official docs. Use when writing/reviewing useEffect, useState for derived values, data fetching, or state synchronization. Teaches when NOT to use Effect and better alternatives.

    Also in 3 projects that use this

  • WorldFlowAISkill

    strategic-compact

    Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.

    Also in 3 projects that use this

  • KKodiacSkill

    obsidian-bases

    Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of notes, or when the user mentions Bases, table views, card views, filters, or formulas in Obsidian.

    Also in 4 projects that use this

  • ZanderRussSkill

    obsidian-markdown

    Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax. Use when working with .md files in Obsidian, or when the user mentions wikilinks, callouts, frontmatter, tags, embeds, or Obsidian notes.

    Also in 4 projects that use this

  • JetBrainsSkill

    webapp-testing

    Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

    Also in 8 projects that use this

  • StrayDragonSkill

    ui-ux-pro-max

    UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.

    Also in 8 projects that use this

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 10 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 51 edited versions we read keep these.

  • 10

    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:

    Before implementing, send the plan through the plan-reviewer agent:

    line 73
  2. Distinctive:

    Write the IMPLEMENTATION-PROMPT file

    line 75
  3. Very specific:

    Use /review-plan to trigger review

    line 76
  4. Distinctive:

    Update the plan file with revisions

    line 84
  5. Distinctive:

    Don't skip review for non-trivial work.

    line 86
  6. Distinctive:

    Run verification for that phase

    line 95
  7. Distinctive:

    If a phase reveals the plan was wrong, STOP.

    line 100
  8. Distinctive:

    Every plan should define must-haves that carry through from planning to verification:

    line 121
  9. Distinctive:

    Don't over-plan. The plan should be specific enough to implement without guessing but not so detailed that it's pseudo-code.

    line 134
  10. Distinctive:

    Every step needs a verification.

    line 137
  11. Distinctive:

    Keep plans in version control.

    line 140

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

Planning with Files

The IMPLEMENTATION-PROMPT Pattern

Large tasks need a written plan before code. The plan lives as a file so it can be reviewed, versioned, and referenced across sessions.

File naming: IMPLEMENTATION-PROMPT-{FEATURE}.md in the project root or docs/ directory.

Structure:

# Implementation: {Feature Name}

## Goal

One sentence. What does success look like?

## Context

What exists today. What needs to change. Links to relevant spec sections.

## Plan

### Phase 1: {Name}

- Step 1: {specific action}
  - Verify: {how to confirm it worked}
- Step 2: {specific action}
  - Verify: {how to confirm it worked}

### Phase 2: {Name}

...

## Edge Cases

- {case}: {how to handle}

## Out of Scope

- {thing we're explicitly NOT doing}

Breaking Large Tasks into Phases

Each phase should be:

  • Independently testable
  • Committable on its own
  • Small enough for one session (or one focused block within a session)

Signs a phase is too big:

  • More than 5-7 steps
  • Touches more than 3-4 files substantially
  • You can't describe the verification in one sentence

Signs a phase is too small:

  • It's just one line change
  • The verification is "it compiles"
  • It doesn't move the feature forward meaningfully

The Plan-Review Workflow

Before implementing, send the plan through the plan-reviewer agent:

  1. Write the IMPLEMENTATION-PROMPT file
  2. Use /review-plan to trigger review
  3. The plan-reviewer (Opus) acts as a staff engineer:
    • Flags ambiguity
    • Identifies missing verification steps
    • Checks SPEC.md alignment
    • Questions unrealistic scope
    • Points out edge cases
  4. Address ALL feedback before proceeding
  5. Update the plan file with revisions

Don't skip review for non-trivial work. The 5 minutes spent reviewing saves hours of rework.

Progressive Implementation

Execute one phase at a time:

  1. Read the plan
  2. Implement the phase
  3. Run verification for that phase
  4. Commit
  5. Update PROGRESS.md
  6. Move to next phase

If a phase reveals the plan was wrong, STOP. Update the plan first. Don't improvise your way through a broken plan.

When to Plan vs When to Just Do It

Plan (write an IMPLEMENTATION-PROMPT):

  • Multi-file changes
  • New features
  • Architectural changes
  • Anything touching more than 2 modules

Just do it:

  • Bug fixes with obvious cause
  • Single-file refactors
  • Documentation updates
  • Config changes

Must-Haves Contract

Every plan should define must-haves that carry through from planning to verification:

  • Truths: Observable behaviors that must be true when done (e.g., "POST /api/users returns 201 with a user object")
  • Artifacts: Files that must exist with real implementation (e.g., "src/routes/users.js with createUser function")
  • Key Links: Connections between artifacts (e.g., "users route imported in src/app.js and registered at /api/users")

These must-haves become the verification checklist. If the plan-reviewer doesn't see them, it should request them. If the verify-app agent can't confirm them, the feature isn't done.

Gotchas

  • Plans rot fast. If a plan is more than 2 sessions old and hasn't been started, re-review it before implementing. The codebase may have changed.
  • Don't over-plan. The plan should be specific enough to implement without guessing but not so detailed that it's pseudo-code. Trust the implementer to make tactical decisions.
  • Every step needs a verification. "Implement the auth module" is not a plan step. "Implement the auth module; verify: login endpoint returns 200 with valid creds and 401 with invalid" is a plan step.
  • Keep plans in version control. They're documentation of decisions and intent.

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.