Planning implementations

From uw-ssec/rse-plugins · View interactive version

Planning implementations is an AI agent skill from the GitHub repository uw-ssec/rse-plugins. Use when a feature, refactor, or multi-file change needs to be designed before coding. Triggers: plan X, design the implementation, how should we build X, create an implementation plan, phased plan, success criteria, design before coding. Not for changing an existing plan (use iterating-plans) or ex

How to use this skill

Skill file

Planning Implementations

Produce a phased plan grounded in the actual code, with test-first tasks,

measurable success criteria, and every decision made.

When to use

ai-research-workflows:running-experiments first.

Mode

Default: Collaborative (protocol: ai-research-workflows:using-research-workflows).

A plan is design-shaped work, which the protocol gives to Collaborative, so a

specific request to plan still gets the gates below: this skill overrides the

protocol's step 2, which would pick Direct for a specific directive with

enough context. Use Direct only when the

user says so ("just write the plan") or can't be consulted ("I'm offline");

then skip the gates in steps 2, 3 and 5, decide yourself and record each

choice under Resolved Decisions.

Process

  1. Gather context. No topic given? Ask what to plan. Read every mentioned

file completely. Check docs/rse/specs/ (then legacy .agents/) for

research-*, prior-art-* and experiment-* docs; with no research doc,

suggest ai-research-workflows:researching and proceed as the user prefers.

Investigate patterns, integration points, dependencies and tests, in

parallel where possible; finish all of it before synthesizing. Ask only

what the code can't answer.

  1. Approach gate. Present findings with file:line references, design

options with pros, cons and a recommendation, and what is out of scope. Ask

for approval. Don't write the plan file yet.

  1. Structure gate. Propose the phases, one-line objective each; get

feedback.

  1. Write the plan. Read references/plan-writing.md first, then fill in

assets/plan-template.md and save it to docs/rse/specs/plan-<slug>.md.

  1. Review. Give the approach, phase count and criteria counts; ask about

phasing, criteria, approach and edge cases. Revise with

ai-research-workflows:iterating-plans; execute with

ai-research-workflows:implementing-plans.

Hard rules

before saving, even when the user asks to leave one open: explain that the

implementer would have to guess, offer options with a recommendation, and

ask them to choose (in Direct mode, take the recommendation and record it).

No "Open Questions" section.

tests for the above" or "similar to Phase N". Show the test code and commands.

code, watch it pass, commit. For research code the failing test checks a

known result, analytic case or invariant

(ai-research-workflows:hardening-research-code).

file:line for the files it changes or runs, code or docs; mark files it

creates (new).

Quick reference

| Need | Read |

|---|---|

| Sections, task shape, placeholders, criteria split, checklist | references/plan-writing.md |

| The plan skeleton | assets/plan-template.md |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.