agentleFS
EzraAppleEzraApple/skills-init/skills/plan-changes/SKILL.md

plan-changes

Skill2 starsChanged 4 months agoMITView on GitHub

Use when writing or reviewing an implementation plan, scoping a refactor, designing a feature, choosing between architectural approaches, or turning a broad change request into a decision-complete sequence of independently verifiable steps. Do not use for active root-cause investigation.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    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:

    Ask the user only about product, policy, or architecture choices that code and available evidence cannot answer.

    line 23
  2. Distinctive:

    Start with the direct version: what is the smallest coherent change that solves the stated problem?

    line 32
  3. Distinctive:

    Before the steps, summarize:

    line 51
  4. Distinctive:

    Use example inputs, outputs, schemas, or before/after code when a contract shape is otherwise ambiguous.

    line 63
  5. Distinctive:

    Leave the repository in a coherent state, or explain why an atomic group is required.

    line 75
  6. Distinctive:

    Prefer dependency order: establish shared contracts before consumers, preserve old/new compatibility during migrations, and remove old …

    line 78
  7. Distinctive:

    Check only the dimensions implicated by the change:

    line 87
  8. Distinctive:

    Use this compact output:

    line 102
  9. Distinctive:

    Before presenting, remove any step that does not serve the outcome, resolve choices an implementer would otherwise have to guess, and …

    line 124
  10. Very specific:

    When implementation is also authorized, use outcome-first-workflows to execute against the contract.

    line 128

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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 Changes

Produce the smallest decision-complete plan that reaches the requested outcome. A good plan resolves meaningful choices, preserves explicit constraints, and gives every implementation step its own proof.

Establish the Planning Boundary

Determine from the request and repository:

  • observable outcome and user or system impact;
  • current implementation and owning boundary;
  • hard constraints, compatibility promises, and authority limits;
  • existing code, primitives, or patterns worth reusing;
  • non-goals and adjacent work;
  • irreversible operations or rollout concerns.

Ask the user only about product, policy, or architecture choices that code and available evidence cannot answer. Do not ask them to locate files or explain facts you can inspect.

For an active failure whose cause is unknown, use systematic-debugging before planning a fix.

Choose the Shape

Start with the direct version: what is the smallest coherent change that solves the stated problem?

For a non-trivial decision, compare only materially distinct approaches. Include the minimal approach and a more durable boundary when both are credible. Do not invent a third option to fill a template.

For each real option, state:

  • what changes;
  • what it reuses;
  • the new coupling or concept it introduces;
  • compatibility and rollout implications;
  • the condition under which it is the better choice.

Recommend one and say what evidence would change the recommendation.

Write the Change Contract

Before the steps, summarize:

Outcome: <observable result>
Current boundary: <where behavior lives now>
Chosen approach: <one sentence>
Invariants: <behavior and contracts that must remain true>
Non-goals: <related work excluded>
Assumptions or decisions: <only material unresolved items>
Likely edit surfaces: <paths or components and why>

Use example inputs, outputs, schemas, or before/after code when a contract shape is otherwise ambiguous. Do not require code samples for mechanical changes.

Build Verifiable Steps

Each step must:

  1. Make one coherent change.
  2. Explain why it is necessary for the outcome.
  3. Name the owning files, symbols, or boundaries.
  4. State the expected behavior or contract after the step.
  5. Name the narrow witness that proves the step.
  6. Leave the repository in a coherent state, or explain why an atomic group is required.

Prefer dependency order: establish shared contracts before consumers, preserve old/new compatibility during migrations, and remove old paths only after callers move.

Estimate file count or rough diff size only when inspection supports it. Do not invent calendar estimates.

Cover Relevant Risk Paths

Check only the dimensions implicated by the change:

  • missing, empty, invalid, or oversized input;
  • failure, timeout, retry, and partial completion;
  • concurrency, duplication, stale state, and idempotency;
  • authorization and trust boundaries;
  • old and new versions running simultaneously;
  • data migration, rollback, and irreversible writes;
  • user-visible loading, error, recovery, and accessibility states.

Turn real risks into plan steps, verification, or explicit non-goals. Avoid a generic checklist dump.

Finish the Plan

Use this compact output:

## Change Contract
<outcome, boundary, approach, invariants, non-goals>

## Implementation
### 1. <verb + boundary>
Why: <reason>
Change: <specific shape>
Verify: <claim-matched witness>

## Rollout and Rollback
<only when relevant>

## Risks and Open Decisions
<material items only>

## Not in Scope
<explicit exclusions, or "Nothing deferred">

Before presenting, remove any step that does not serve the outcome, resolve choices an implementer would otherwise have to guess, and ensure the proposed evidence can actually prove success.

When implementation is also authorized, use outcome-first-workflows to execute against the contract.

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.