# Plan

> Build a compact, validation-gated implementation plan for multi-step, risky, or ambiguous work — typically when phases need explicit checkpoints, the change touches multiple files/services, or the user wants alignment before execution. Output goes to `.claude/plans/<topic>.md` (or `.agents/plans/`) with goal, in/out-of-scope, phased steps, validation per phase, and replanning triggers. Skip for trivial single-file fixes, bug investigations (use `tracer`), or open-ended exploration (use `explore`). Pair with `ship` once the plan ends and merge work begins.

- Skill: `lucassantana-dev/plan` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add lucassantana-dev/plan`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lucassantana-dev/plan/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: LucasSantana-Dev (https://skillmd.com/u/lucassantana-dev)
- Updated: 2026-08-19
- Page: https://skillmd.com/skills/lucassantana-dev/plan

---


# plan

Use planning only when it actually reduces risk.

## Steps

1. Read local guidance and active handoff.
2. Pull only the context needed for the task.
3. State goal, in-scope, and out-of-scope.
4. Break work into short phases.
5. Give each phase a validation step.
6. Write the plan to `.claude/plans/` or `.agents/plans/`.

## Rules

- Keep phases small enough to finish without drifting.
- Note what would cause replanning.
- If work is already partly done, document the current state before planning the rest.
- Prefer the provided plan template.

## Extend vs new plan

Before writing, scan `.claude/plans/` and `.agents/plans/`:

- Existing plan covers same scope AND ≤30 days old → **extend** (append phases, edit status header, keep history).
- Same scope but >30 days old → new plan; mark old as **superseded**.
- Different scope → new plan.

When extending, update the status header to reflect partial completion (e.g. "Phases 1-5 done; Phases 6-8 added 2026-05-14").

## Skip plan if

- ≤2 files touched AND edit is obvious from the request → just do it, no plan
- Pure investigation / "where is X" → use `explore`
- Bug root-cause hunt → use `tracer`
- Open-ended ideation → use `brainstorming`

## Worked example — extend

User: "add WoL panel + tabs to dashboard."
Existing: `homepage-customization-2026-05-13.md` (5 phases, 1 day old).
Action: append Phase 6-8 to that file; do NOT create a second plan. Update header to note the extension date.

