Skip to content
Agentmart
Submit a tool

plan

Use when a task is T2/T3 — before building a feature that spans multiple files or carries risk.

Skill by AbdurRafay2004

IndexedMIT★ 4
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/abdurrafay2004-plan

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when a task is T2/T3 — before building a feature that spans multiple files or carries risk. Produces an implementation plan with exact files, complete code steps, and per-stage verification.

Use cases: productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/plan

What's inside

Skill name
plan
Description
Use when a task is T2/T3 — before building a feature that spans multiple files or carries risk. Produces an implementation plan with exact files, complete code steps, and per-stage verification.
License
MIT
Instructions
140 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Plan

Part of the **Plan** phase — see the `workflow` skill for tiers and sequencing.

Write implementation plans assuming the implementer has zero context for this
codebase and questionable taste. Document everything they need: which files to
touch per task, the code itself, how to test it, what to check. Bite-sized
tasks. DRY. YAGNI. Test-first where the tier demands it. Frequent commits.

## Tier scaling

- **T1:** skip this skill — no plan, just do the task.
- **T2:** short plan as bullets in chat — files to touch, order of work,
  verification step. Include the scope summary for the workflow's single
  combined brief/plan review. No document or separate second approval.
- **T3:** written plan file the user approves BEFORE build starts. Trade-offs
  stated in plain product language. Save to `docs/plans/YYYY-MM-DD-<feature>.md`
  (user preferences override).

## Step 0 — challenge the premise

Before planning the how, spend a paragraph on the whether. Is this the right
problem at all, or a proxy for a simpler outcome — and what actually breaks if
we do nothing? Does existing code already solve part of it? Map each
sub-problem to what exists before planning anything parallel. Then name the
**10x version** of the ask — what would deliver 10x the value for 2x the
effort? Usually you still plan the ask, but naming the bigger and the
do-nothing versions lets the user pick scope deliberately, not by default.

## Scope check

If the spec covers multiple independent subsystems, it should have been
decomposed during `brief`. If it wasn't, stop and suggest one plan per
subsystem — each producing working, testable software on its own.

## File structure first

Before defining tasks, map which files will be created or modified and what
each is responsible for. This locks in decomposition decisions.

- Each file gets one clear responsibility, with well-defined interfaces.
- Prefer smaller focused files; edits are more reliable when a file can be held
  in context at once.
- Files that change together live together — split by responsibility, not by
  technical layer.
- In existing codebases follow established patterns; if a file you're modifying
  has grown unwieldy, a split may be part of the plan.

## Task right-sizing

A task is the smallest unit that carries its own test cycle and could be
meaningfully accepted or rejected on its own. Fold setup, configuration, and
docs into the task whose deliverable needs them. Each task ends with an
independently testable deliverable.

**Each step is one action (2–5 minutes):** write the failing test — run it and
watch it fail — implement the minimal code — run tests and watch them pass —
commit.

**Every task is a vertical slice** — a thin, complete path through all the
layers it touches (schema, API, UI, tests), demoable or verifiable on its own;
never a horizontal pass over one layer. Refactor steps ride along as tiny
commits, each leaving the codebase working.

## Spikes

When a design question blocks the plan ("does this state model hold up?"),
answer it with a throwaway prototype, not debate. Rules: one command to run;
no persistence — state lives in memory; skip all polish (no tests, no error
handling, no abstractions); surface the full state after every action. A spike
answers exactly one question. Capture the answer somewhere durable — the plan
itself, a commit message — then DELETE the prototype. The answer is the only
keeper.

## Plan document structure (T3)

```markdown
# [Feature] Implementation Plan

**Goal:** [one sentence]
**Tier:** T3 — [why: touches payments / auth / migration ...]
**Architecture:** [2–3 sentences]
**Tech stack:** [key technologies]

## Global constraints
[Project-wide requirements from the spec — version floors, naming rules,
platform requirements — one line each, exact values copied verbatim.
Every task implicitly includes this section.]

### Task N: [Component]
**Files:**
- Create: `exact/path/to/file.ts`
- Modify: `exact/path/to/existing.ts:123-145`
- Test: `tests/exact/path/to/file.test.ts`

**Interfaces:**
- Consumes: [exact signatures this task uses from earlier tasks]
- Produces: [exact names/types later tasks rely on]

- [ ] Step 1: Write the failing test        (show the actual test code)
- [ ] Step 2: Run it — expected: FAIL with [message]
- [ ] Step 3: Minimal implementation        (show the actual code)
- [ ] Step 4: Run tests — expected: PASS
- [ ] Step 5: Commit (exact `git add <files>` — never `git add -A`)
```

## No placeholders

These are plan failures — never write them:
- "TBD", "TODO", "implement later", "fill in details"
- "Add appropriate error handling" / "handle edge cases"
- "Write tests for the above" without the actual test code
- "Similar to Task N" — repeat the code; tasks may be read out of order
- Steps that describe what to do without showing how
- References to types or functions not defined in any task

Exact file paths always. Complete code in every code step. Exact commands with
expected output.

From AbdurRafay2004/handoff, MIT.

More from AbdurRafay2004/handoff

Signals

Stars
4
Forks
0
Open issues
0
Last commit (this folder)
Oct 8, 2026 (21 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from AbdurRafay2004

Cite this page

plan skill. Agent Mart. https://agentmart.dev/skills/abdurrafay2004-plan (last updated 2026-10-24)