agentleFS
RinisnotarobotRinisnotarobot/rinco-pi-skills-commands/skills/workflows/plan/SKILL.md

plan

Skill2 starsChanged 2 months agoMITView on GitHub

Evidence-based implementation planning that writes a final Markdown artifact to disk. Use when the user asks for an implementation plan, a multi-file feature needs sequencing before coding, a migration or compatibility change needs rollout steps, or another engineer or agent needs a codebase-grounded handoff.

184 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use heartmula, webhook-subscriptions and 10 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.
  • math-incSkill

    heartmula

    Set up and run HeartMuLa, the open-source music generation model family (Suno-like). Generates full songs from lyrics + tags with multilingual support.

    Also in 9 projects that use this

  • Tommy-ywSkill

    webhook-subscriptions

    Create and manage webhook subscriptions for event-driven agent activation, or for direct push notifications (zero LLM cost). Use when the user wants external services to trigger agent runs OR push notifications to chats.

    Also in 5 projects that use this

  • math-incSkill

    minecraft-modpack-server

    Set up a modded Minecraft server from a CurseForge/Modrinth server pack zip. Covers NeoForge/Forge install, Java version, JVM tuning, firewall, LAN config, backups, and launch scripts.

    Also in 5 projects that use this

  • john-data-chenSkill

    touchdesigner-mcp

    Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.

    Also in 6 projects that use this

  • gaebalaiSkill

    codex-system

    PROACTIVELY consult Codex CLI, your highly capable supporter with exceptional reasoning and task completion abilities. Codex is a trusted expert you should ALWAYS consult BEFORE making decisions on: design choices, implementation approaches, debugging strategies, refactoring plans, or any non-trivial problem. When uncertain, consult Codex. Don't hesitate - Codex provides better analysis. Explicit triggers: "think deeper", "analyze", "second opinion", "consult codex".

    Also in 3 projects that use this

  • ibahgatSkill

    context-optimize

    Improve context efficiency and cache stability for long or complex sessions.

    Also in 3 projects that use this

  • +3 more from math-inc

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 167 edited versions we read keep these.

  • 11

    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:

    Read references/codebase-evidence.md.

    line 32
  2. Distinctive:

    Use exact paths and symbols only after verifying that they exist.

    line 34
  3. Distinctive:

    Start with the smallest strategy consistent with the repository's existing architecture.

    line 40
  4. Distinctive:

    Avoid architecture changes whose benefit is unrelated to the requested behavior.

    line 46
  5. Distinctive:

    Use signatures, schemas, state transitions, or short pseudocode only when they encode a decision that prose cannot preserve precisely.

    line 63
  6. Distinctive:

    test seam and RED condition (predicted failing test or characterization — asserted by the plan, written by the executor).

    line 74
  7. Distinctive:

    Use horizontal steps only when the work is inherently cross-cutting or cannot remain compatible as a vertical slice.

    line 79
  8. Distinctive:

    After the plan passes self-review, create the parent directory, write the complete Output Contract as one Markdown file, read it back, and …

    line 116
  9. Distinctive:

    Stop for a reply only when an open question is blocking or the user explicitly requested a review gate.

    line 118
  10. Distinctive:

    add a revision section at the top recording what changed, the trigger, the date, and the revision it supersedes, and state there that it …

    line 128
  11. Very specific:

    When a revision changes a slice already published as a ticket, follow the supersession form in publish-tickets.

    line 132
  12. Distinctive:

    Use the smallest depth that leaves no implementation decision hidden.

    line 140

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

Implementation Planning

Turn a sufficiently clear coding goal into an executable, verifiable change plan. Inspect the repository before naming changes. Planning produces decisions and ordered work; the final plan artifact is its only expected repository change.

Workflow

1. Establish the implementation contract

Extract:

  • source specification path and status when one exists;
  • intended observable outcome;
  • in-scope and out-of-scope behavior;
  • originating REQ, INV, and AC identifiers;
  • acceptance evidence;
  • technical and business constraints supplied by authoritative sources;
  • assumptions and unresolved decisions.

Validate a supplied specification before planning: it must be ready, internally traceable, and authoritative for desired behavior. Preserve its identifiers and meaning. Repository code is evidence of current behavior, not proof of desired product policy.

Ask only about decisions that cannot be discovered and would materially change behavior, safety, compatibility, persistent data, cost, or public interfaces. When unresolved product or policy truth affects any of those outcomes or acceptance meaning, stop and settle it in the spec stage first — run the spec procedure (the spec skill when loaded, or /skill:spec when the user prefers) — planning must not synthesize product decisions silently. Only technical assumptions that do not alter desired behavior or safety may remain open in a persisted plan.

Completion criterion: the goal is testable, scope is bounded, every material product decision is resolved in the source specification or authoritative input, and remaining technical assumptions are explicit.

2. Trace the current code path

Read references/codebase-evidence.md. Locate the relevant entry point, call/data flow, state ownership, external boundaries, similar implementation, tests, configuration, and authoritative verification commands.

Use exact paths and symbols only after verifying that they exist. Distinguish confirmed facts from proposals.

Completion criterion: the plan can explain where the behavior enters, where it is decided, where state or effects occur, and where it is currently tested.

3. Choose the change strategy

Start with the smallest strategy consistent with the repository's existing architecture. Compare alternatives only when a real decision exists. For each viable option state:

  • what boundary or invariant it changes;
  • compatibility and operational consequences;
  • why it is selected or rejected.

Avoid architecture changes whose benefit is unrelated to the requested behavior. If preparatory refactoring is necessary, identify the concrete obstruction it removes.

Completion criterion: one strategy is selected from explicit constraints rather than preference.

4. Build the change map

List each verified integration point:

<path> :: <symbol or section>
Current responsibility:
Planned responsibility:
Interface/data impact:

Include created, modified, moved, and deleted artifacts; tests; schemas/migrations; configuration; documentation; generated artifacts; and public contracts only where applicable.

Use signatures, schemas, state transitions, or short pseudocode only when they encode a decision that prose cannot preserve precisely. Do not write the implementation inside the plan.

Completion criterion: every planned artifact has a reason to change and every affected boundary has an owner.

5. Slice and order the work

Read references/slicing-and-dependencies.md. Prefer vertical slices that deliver one observable behavior through the required layers and remain buildable after each slice. Name each slice's boundary in the codebase-design vocabulary (module, interface, seam, adapter, depth) so the test surface and what the slice hides can be evaluated per slice. Give each slice:

  • behavior delivered;
  • files and symbols changed;
  • interface or data decisions;
  • test seam and RED condition (predicted failing test or characterization — asserted by the plan, written by the executor);
  • implementation outline;
  • focused and broader verification;
  • dependencies and risks.

Use horizontal steps only when the work is inherently cross-cutting or cannot remain compatible as a vertical slice. For schema, API, protocol, or broad migrations, read references/migrations-and-rollout.md.

Completion criterion: dependency order is explicit, no slice relies on hidden work, and each slice ends in an independently verifiable repository state.

6. Define the verification contract

Derive completion evidence from the requirement, repository policy, selected design, and affected risks. For every evidence item record:

  • claim and affected scope;
  • required or optional status;
  • owner and earliest stage when the evidence is due: debugging, TDD, verification, review, release, or operator;
  • proving method: command, manual observation, operational signal, migration/reconciliation record, security review, or compatibility evidence;
  • authority: requirement, repository instruction, CI job, configuration, or explicit risk decision;
  • exact command or observable result, including prerequisites.

Compact plans may compress these fields into stated common defaults — for example: every evidence item required, owner = executor, due at the verification stage, authority = the repository configuration the row cites — with per-row overrides. The fields are compressed, never dropped.

Separate focused RED/GREEN evidence, affected package checks, repository-required gates, and evidence automation cannot prove. Do not invent a coverage threshold or require every test level. Match the contract to the risk and existing project policy.

When a slice waits on a remote dependency, shares a capacity limit, or writes outside the repository's own boundary, the contract carries one item per affected wait: the upper bound allowed, the enforcement point that applies it, and, when a resilience assessment exists, the budget decision it implements. Record the bound together with the authority that set it — repository configuration, project policy, or the caller — and mark the item required when no value is available yet instead of choosing one here. An inherited default, such as a connection pool's own timeout, is not a recorded bound.

Planning defines this contract but does not execute it. Execution is a separate stage: TDD supplies behavior-cycle evidence at each named seam, and the verification phase — run by the executor, or via /skill:verification — decides which evidence is reusable, runs the missing gates, and states the final gate verdict.

Completion criterion: every acceptance condition and material risk maps to a required or optional proving method without assigning the same gate to multiple executors.

7. Self-review and persist the plan

Read references/plan-quality.md and repair gaps before writing. Confirm requirement coverage, path/symbol existence, interface consistency, dependency ordering, migration safety, and verification traceability. For traceability, confirm that each contracted command names the test file or test name it collects, and that a command whose tests arrive in a later slice names the planned test path and the owner who backfills it.

Choose the artifact path in this order:

  1. an exact path supplied by the user;
  2. an authoritative plan directory defined by the repository;
  3. docs/plans/YYYY-MM-DD-<slug>.md.

Build <slug> from the plan title as lowercase ASCII kebab-case; use implementation-plan when no safe slug remains. Use the current local date. Preserve existing artifacts: if the path exists, append -2, -3, and so on before .md rather than overwriting it.

After the plan passes self-review, create the parent directory, write the complete Output Contract as one Markdown file, read it back, and confirm that no section was truncated. Return the artifact path and a concise summary in the conversation instead of duplicating the full plan.

Stop for a reply only when an open question is blocking or the user explicitly requested a review gate.

Completion criterion: the final, self-reviewed plan exists at the reported path and its contents match the plan summary.

Revise an approved plan

An approved plan that conflicts with its source specification, cannot falsify an acceptance criterion, or no longer matches the repository is revised, never quietly reinterpreted. Return the conflicting semantics to the owner that holds them — spec or domain-modeling when loaded — before rewriting implementation text: a mechanism that cannot fail the criterion is a specification question, not a planning one.

Then, in the plan artifact:

  • add a revision section at the top recording what changed, the trigger, the date, and the revision it supersedes, and state there that it takes precedence over the sections it touches, so a reader is not left to infer precedence;
  • rewrite every statement the revision invalidates in place — counts, identifiers, migrations, rollback — or mark it superseded by <section> where rewriting would destroy the record;
  • mark affected downstream slices, and the tickets published from them, stale by name.

When a revision changes a slice already published as a ticket, follow the supersession form in publish-tickets; a ticket and its plan must never describe different work.

Choose the Depth

  • Compact: one or two local files, established pattern, no persistent-data or public-contract change. Return current path, ordered changes, tests, and verification — compressing the presentation, not the evidence contract: record the base revision and state each verification command's claim, scope, and proving method, with required/optional, owner/stage, and authority carried as stated defaults or per-row overrides, so downstream stages do not rediscover or re-guess them.
  • Standard: several modules or a new behavior crossing boundaries. Use the full output contract.
  • Migration: persistent data, public API/protocol, dependency replacement, multi-stage rollout, or compatibility window. Include transition states, rollback, observability, and cleanup.

Use the smallest depth that leaves no implementation decision hidden.

Output Contract

# Implementation Plan: <change>

## Goal and Scope
## Source Specification
## Requirement Traceability
## Repository Evidence
## Selected Strategy
## Change Map
## Implementation Slices
### 1. <observable deliverable>
- Changes
- Interfaces/data
- Test seam and RED condition
- Implementation outline
- Verification
- Blocked by
- Risks
## Migration and Rollback

Include this section only when the change involves persistent data, a public contract, or multi-stage rollout.
## Final Verification
## Assumptions and Open Questions
## Non-Goals

The Requirement Traceability section maps every originating REQ, INV, and AC identifier to implementation slices and final evidence, with each gate citing the slice's own command and the target it exercises. The Final Verification section is the durable verification contract. Preserve each item's claim, scope, requirement level, owner/stage, method, authority, and expected evidence so downstream Skills do not have to rediscover or reinterpret it. Record the base revision - the current commit at planning time - at the top of Repository Evidence, so downstream stages can detect staleness.

references/example-plan.md shows a worked Compact-depth plan end to end.

A plan is complete when another engineer or agent can execute it without rediscovering the code path or inventing requirements, while retaining freedom over implementation details not decided by the task. Executing the slices follows the tdd skill's red–green cycle at each named seam.

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.