skills/execplan/SKILL.md
Write a self-contained execution plan (ExecPlan) for complex, multi-step tasks. Use when asked to plan a large feature, significant refactor, multi-hour implementation, or when the user says "write a plan", "create an execplan", "plan this out", "design before building", or needs a structured approach before starting complex work.
npx skillsauth add rarestg/rarestg-skills execplanInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
An ExecPlan is a self-contained, living design document that guides a stateless agent (or novice human) through a complex implementation end-to-end. It replaces vague task descriptions with concrete, verifiable steps. The bar: a fresh agent with zero prior context reads the plan top-to-bottom and produces a working, observable result.
Use an ExecPlan when work spans multiple files, requires research, has significant unknowns, or would take more than a focused session to complete. For small, well-understood changes, skip the plan and just do the work.
One plan per file. Store all plans in a plans/ directory at the repo root.
Name files descriptively: plans/add-webhook-support.md,
plans/migrate-to-v2-api.md.
Multiple plans can exist in parallel. Each is independent and self-contained. An agent can work on several plans concurrently — pick one up, advance it, switch to another. If one plan depends on another, reference it by path rather than duplicating its content.
Completed plans stay checked in. They serve as reference for future work and provide context for how the codebase reached its current state.
Read relevant code, docs, configs, tests, and CI before writing anything. Understand the current state well enough to explain it to someone who knows nothing about the repo.
Follow the skeleton below. Start from it and flesh out sections as you research. Every section exists for a reason.
Present the plan for user review. Do not start implementing until the plan is approved.
Work through milestones sequentially. At every stopping point:
The plan is a living document. When you discover something, change course, or finish a milestone, update the plan immediately. A stale plan is dangerous.
Use the following structure. Omit sections only if genuinely irrelevant.
# <Short, action-oriented title>
Living document. Progress, Surprises & Discoveries, Decision Log, and
Outcomes must be kept current as work proceeds.
## Purpose
What someone gains after this change and how they can see it working.
A few sentences, user-perspective.
## Progress
- [x] (2025-10-01 13:00Z) Completed step
- [ ] Incomplete step
- [ ] Partially done (completed: X; remaining: Y)
Update at every stopping point. Use timestamps to track pace.
## Context and Orientation
Current state as if the reader knows nothing. Key files and modules by
full path. Define non-obvious terms. Do not reference prior plans unless
they are checked into the repo.
## Plan of Work
Sequence of edits in prose. For each: file path, location (function or
module), and what changes. Concrete and minimal.
## Milestones
Break work into independently verifiable chunks. For each milestone:
scope, what exists at the end that didn't before, commands to run,
expected results.
When unknowns are significant, include prototyping milestones that
validate feasibility before committing to a full implementation.
Label these clearly and state criteria for promoting or discarding.
## Validation and Acceptance
How to exercise the system and what to observe. Exact test commands
and expected results. Show inputs and outputs so a novice can tell
success from failure.
## Surprises & Discoveries
Unexpected behaviors, bugs, performance tradeoffs, or insights found
during implementation. Include concise evidence (test output is ideal).
## Decision Log
- Decision: ...
Rationale: ...
Date: ...
## Outcomes & Retrospective
What was achieved, what remains, lessons learned. Written at major
milestones and at completion.
tools
Break large code changes into small, stacked pull requests using vanilla git and the gh CLI. Auto-trigger when implementing a feature or change that spans multiple logical steps, touches several files, or will exceed ~200 changed lines. Also trigger on "stack PRs", "break this into smaller PRs", "stacked diffs", or "create a PR stack". Do NOT trigger for single-file fixes, small bug fixes, or changes under ~200 lines that are a single logical unit.
development
Export a PR's clean inline review comments, CodeRabbit outside-diff comments, and CodeRabbit nitpicks into local files, then triage review feedback through a stack-aware orchestrator workflow with durable reply drafts for follow-up PRs. Use when given a GitHub pull request URL and asked to work through review comments without relying on noisy raw API blobs.
development
Create, rewrite, or maintain a repository's AGENTS.md as a short dispatcher for coding agents. Use when asked to write an AGENTS.md from scratch, update stale agent instructions, shrink a bloated AGENTS.md, add repo guidance for AI/coding agents, or document where agents should find source-of-truth docs, invariants, validation commands, and workflow rules. Triggers on: "create AGENTS.md", "write an agents file", "update AGENTS.md", "maintain AGENTS.md", "fix our agent instructions", "make this repo easier for Codex/Claude/agents", "rewrite this bloated AGENTS.md".
development
Run reusable Graphify-led architecture analysis for codebases using semantic graphs, optional subagent extraction, graph synthesis, source-search validation, graph-shape review, and follow-up refactor planning. Use when asked to analyze repo architecture, god nodes, surprising edges, topology, module boundaries, or graph-derived cleanup/refactor opportunities.