Roadmap to Improve Plans
Turn selected strategic-roadmap opportunities or accepted feature slices into grouped batches of numbered improvement plans. This is the wide planning stage: preserve the audit judgment, feature decisions, and architecture diagnosis behind each selected item, then turn it into enough detail for future executors to work safely.
Treat plan writing as meta-work: the output should improve future execution loops by carrying forward impact, risk, confidence, design claims, regression checks, approval boundaries, and STOP conditions.
This owns this pipeline's NNN plan-bank contract directly.
Source Frame
Before writing plans, load what applies:
- The selected
.agents/ROADMAP.md or equivalent roadmap/opportunity artifact.
- Accepted feature-planning artifacts when splitting a feature outline or final plan into PR-sized improvement plans.
improve for the original audit posture: category, evidence, impact, effort, risk, confidence, fix sketch, and “not worth doing” verdicts.
- The
coding-standards skill as the canonical source for standards concerns. Load only the reference files matching the selected work; do not copy the standards into this skill or the plan.
improve-codebase-architecture for architecture/deepening candidates: current friction, shallow-module diagnosis, deletion test, locality/leverage, and recommendation strength.
- DLS-style exemplar plans when present in the target repo, especially effort indexes, numbered plans, memos, rejected/deferred notes, and reconciliation logs.
- Project docs and commands:
AGENTS.md, README.md, CONTEXT.md, architecture docs, ADRs, package/test config, CI config, and current VCS state.
Workflow
Select plan scope
- Start from selected roadmap items, accepted feature artifacts, or ask the user which items to plan.
- Treat one effort directory as one improvement batch: one theme, one outcome, one README index.
- Split unrelated projects, features, or outcomes into separate batches.
- Preserve dependency order from the roadmap or feature outline; do not flatten everything into parallel tasks.
Reconcile current state
- Read current project instructions and existing plans.
- Check current VCS state and active branch/bookmark so the plan does not assume stale code.
- Re-open source evidence from the roadmap before planning; old roadmap citations are leads, not facts.
- Identify exact validation commands and any missing verification baseline.
- Carry forward the roadmap's definition of “better”; if missing, define the plan-bank success criteria before decomposing work.
- If credentials or secrets appear, reference only the file path, line, and credential type; never copy secret values into plans.
Decompose into numbered plans
- Each
NNN-*.md should be independently landable or have an explicit dependency on an earlier plan.
- Preserve the source audit frame for roadmap/audit opportunities: audit category, impact, effort, risk, confidence, evidence, and fix sketch or direction.
- Preserve the source feature frame for accepted feature artifacts: source design/outline, accepted decisions, phase/slice, dependencies, verification, and implementation routing.
- Prefer vertical slices over layer-by-layer rewrites.
- Include architecture/deepening language when relevant: module, interface, depth, seam, adapter, leverage, locality.
- For architecture plans, carry forward the diagnosis: current friction, deletion test result, locality/leverage claim, recommendation strength, and ADR conflicts if any.
- Do not pretend an unresolved seam or interface decision is implementation-ready. Route it to
feature-planning-artifacts, a research/spike plan, or a memo instead.
- Use the
coding-standards skill to name the standards concern and design claim each plan protects.
Write the effort index and plans
- Prefer
.agents/plans/improvements/<effort-slug>/ unless the repo already has an established planning convention.
- Use references/index-template.md for
README.md.
- Use references/plan-template.md for each numbered plan.
- Use references/memo-template.md only when a design fork or handback needs a durable answer.
- Choose the next available
NNN- prefix by inspecting the destination directory.
Mark deeper-planning candidates and autonomy boundaries
- In the effort index, mark plans that deserve deeper feature-planning treatment because the audit confidence is low, the architecture shape is unsettled, the recommendation is speculative, or user decisions are required.
- For each plan, state what can be done as routine execution, what needs design review, and what requires human approval.
Plan Requirements
Every numbered plan must be self-contained for an executor with no planning-session context. Assume competence at following explicit instructions and weakness at filling gaps. Each plan must include:
- source frame: roadmap/audit category, impact, effort, risk, confidence, and fix sketch or direction when available; feature artifact, accepted decision, and slice dependency when splitting a feature;
- standards concern from the
coding-standards skill, when the plan changes code shape;
- purpose and payoff;
- definition of “better” for this plan;
- current-state evidence with paths and line ranges where possible;
- desired end state;
- scope and out of scope;
- implementation sequence at PR-sized granularity;
- exact automated verification commands;
- evals or regression checks that catch the change getting worse;
- manual verification only when it proves something automation cannot;
- autonomy boundary for routine execution, design review, and human approval;
- drift checks to run before implementation;
- STOP conditions for stale assumptions, missing commands, design forks, or failed validation;
- rejected approaches and why they are not being used;
- executor handoff notes for a fresh executor.
Architecture plans must also include current friction, deepening direction, deletion-test result, locality/leverage claim, and recommendation strength. If those are unknown, the plan is not ready for routine implementation.
Guardrails
- Do not implement source changes.
- Do not write giant all-or-nothing plans.
- Do not hide unresolved design questions in TODO prose; either stop for deeper planning or write a memo request.
- Do not turn speculative architecture into implementation instructions; preserve the uncertainty and route it to design review.
- Do not leave recurring decisions as repeated advice; turn them into a policy, memo, ADR suggestion, or plan-bank rule when durable.
- Do not keep old shapes by default. Prefer the intended end state unless migration compatibility is required.
- Do not invent validation commands. If commands are unknown, make establishing the verification baseline an explicit first plan or STOP condition.
- Do not copy secrets into plans, even as evidence.
Done Criteria
The effort is done when the index explains plan order and readiness, each numbered plan can be handed to a fresh executor, and low-confidence or unsettled architecture work is flagged for deeper planning or design review instead of being marked ready prematurely.
1---2name: roadmap-to-improve-plans3description: Use when turning a roadmap, repo priorities, architecture priorities, chosen opportunities, accepted feature outlines/plans, or “roadmap to plans” request into grouped improvement plan batches for future executors. Writes README.md indexes, 001-*.md/NNN-style plans, optional memo-*.md files, verification gates, drift checks, STOP conditions, rejected approaches, and executor handoff notes.4---56# Roadmap to Improve Plans78Turn selected strategic-roadmap opportunities or accepted feature slices into grouped batches of numbered improvement plans. This is the wide planning stage: preserve the audit judgment, feature decisions, and architecture diagnosis behind each selected item, then turn it into enough detail for future executors to work safely.910Treat plan writing as meta-work: the output should improve future execution loops by carrying forward impact, risk, confidence, design claims, regression checks, approval boundaries, and STOP conditions.1112This owns this pipeline's NNN plan-bank contract directly.1314## Source Frame1516Before writing plans, load what applies:1718- The selected `.agents/ROADMAP.md` or equivalent roadmap/opportunity artifact.19- Accepted feature-planning artifacts when splitting a feature outline or final plan into PR-sized improvement plans.20- `improve` for the original audit posture: category, evidence, impact, effort, risk, confidence, fix sketch, and “not worth doing” verdicts.21- The `coding-standards` skill as the canonical source for standards concerns. Load only the reference files matching the selected work; do not copy the standards into this skill or the plan.22- `improve-codebase-architecture` for architecture/deepening candidates: current friction, shallow-module diagnosis, deletion test, locality/leverage, and recommendation strength.23- DLS-style exemplar plans when present in the target repo, especially effort indexes, numbered plans, memos, rejected/deferred notes, and reconciliation logs.24- Project docs and commands: `AGENTS.md`, `README.md`, `CONTEXT.md`, architecture docs, ADRs, package/test config, CI config, and current VCS state.2526## Workflow27281. **Select plan scope**29 - Start from selected roadmap items, accepted feature artifacts, or ask the user which items to plan.30 - Treat one effort directory as one improvement batch: one theme, one outcome, one README index.31 - Split unrelated projects, features, or outcomes into separate batches.32 - Preserve dependency order from the roadmap or feature outline; do not flatten everything into parallel tasks.33342. **Reconcile current state**35 - Read current project instructions and existing plans.36 - Check current VCS state and active branch/bookmark so the plan does not assume stale code.37 - Re-open source evidence from the roadmap before planning; old roadmap citations are leads, not facts.38 - Identify exact validation commands and any missing verification baseline.39 - Carry forward the roadmap's definition of “better”; if missing, define the plan-bank success criteria before decomposing work.40 - If credentials or secrets appear, reference only the file path, line, and credential type; never copy secret values into plans.41423. **Decompose into numbered plans**43 - Each `NNN-*.md` should be independently landable or have an explicit dependency on an earlier plan.44 - Preserve the source audit frame for roadmap/audit opportunities: audit category, impact, effort, risk, confidence, evidence, and fix sketch or direction.45 - Preserve the source feature frame for accepted feature artifacts: source design/outline, accepted decisions, phase/slice, dependencies, verification, and implementation routing.46 - Prefer vertical slices over layer-by-layer rewrites.47 - Include architecture/deepening language when relevant: module, interface, depth, seam, adapter, leverage, locality.48 - For architecture plans, carry forward the diagnosis: current friction, deletion test result, locality/leverage claim, recommendation strength, and ADR conflicts if any.49 - Do not pretend an unresolved seam or interface decision is implementation-ready. Route it to `feature-planning-artifacts`, a research/spike plan, or a memo instead.50 - Use the `coding-standards` skill to name the standards concern and design claim each plan protects.51524. **Write the effort index and plans**53 - Prefer `.agents/plans/improvements/<effort-slug>/` unless the repo already has an established planning convention.54 - Use [references/index-template.md](references/index-template.md) for `README.md`.55 - Use [references/plan-template.md](references/plan-template.md) for each numbered plan.56 - Use [references/memo-template.md](references/memo-template.md) only when a design fork or handback needs a durable answer.57 - Choose the next available `NNN-` prefix by inspecting the destination directory.58595. **Mark deeper-planning candidates and autonomy boundaries**60 - In the effort index, mark plans that deserve deeper feature-planning treatment because the audit confidence is low, the architecture shape is unsettled, the recommendation is speculative, or user decisions are required.61 - For each plan, state what can be done as routine execution, what needs design review, and what requires human approval.6263## Plan Requirements6465Every numbered plan must be self-contained for an executor with no planning-session context. Assume competence at following explicit instructions and weakness at filling gaps. Each plan must include:6667- source frame: roadmap/audit category, impact, effort, risk, confidence, and fix sketch or direction when available; feature artifact, accepted decision, and slice dependency when splitting a feature;68- standards concern from the `coding-standards` skill, when the plan changes code shape;69- purpose and payoff;70- definition of “better” for this plan;71- current-state evidence with paths and line ranges where possible;72- desired end state;73- scope and out of scope;74- implementation sequence at PR-sized granularity;75- exact automated verification commands;76- evals or regression checks that catch the change getting worse;77- manual verification only when it proves something automation cannot;78- autonomy boundary for routine execution, design review, and human approval;79- drift checks to run before implementation;80- STOP conditions for stale assumptions, missing commands, design forks, or failed validation;81- rejected approaches and why they are not being used;82- executor handoff notes for a fresh executor.8384Architecture plans must also include current friction, deepening direction, deletion-test result, locality/leverage claim, and recommendation strength. If those are unknown, the plan is not ready for routine implementation.8586## Guardrails8788- Do not implement source changes.89- Do not write giant all-or-nothing plans.90- Do not hide unresolved design questions in TODO prose; either stop for deeper planning or write a memo request.91- Do not turn speculative architecture into implementation instructions; preserve the uncertainty and route it to design review.92- Do not leave recurring decisions as repeated advice; turn them into a policy, memo, ADR suggestion, or plan-bank rule when durable.93- Do not keep old shapes by default. Prefer the intended end state unless migration compatibility is required.94- Do not invent validation commands. If commands are unknown, make establishing the verification baseline an explicit first plan or STOP condition.95- Do not copy secrets into plans, even as evidence.9697## Done Criteria9899The effort is done when the index explains plan order and readiness, each numbered plan can be handed to a fresh executor, and low-confidence or unsettled architecture work is flagged for deeper planning or design review instead of being marked ready prematurely.