prepare-plan

prepare-plan is a skill for Claude Code from ayberkcansever/ai-skills. It costs 50 tokens per session (5,300 once invoked), scanned A, original, MIT.

A planning workflow that turns a ticket or idea into a written specification and task plan based on the existing codebase. It asks for decisions and waits for approval at each stage.

In plain words
What is it for?
Use it to investigate a proposed change, document its expected behaviour, and create a plan for implementation.
Why use it?
It keeps important requirements and decisions in files instead of leaving them only in a conversation. Later work can use the same plan even after the conversation is gone.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; names the AskUserQuestion tool.

Good fit Use it to investigate a proposed change, document its expected behaviour, and create a plan for implementation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ayberkcansever/ai-skills/prepare-plan
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ayberkcansever/ai-skills --skill prepare-plan
Clone the repo
git clone --depth 1 https://github.com/ayberkcansever/ai-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for prepare-plan

README.md
[![agentmods](https://agentmods.dev/badge/skills/ayberkcansever/ai-skills/prepare-plan/github.svg)](https://agentmods.dev/skills/ayberkcansever/ai-skills/prepare-plan)
Your own site
<a href="https://agentmods.dev/skills/ayberkcansever/ai-skills/prepare-plan"><img src="https://agentmods.dev/badge/skills/ayberkcansever/ai-skills/prepare-plan/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for prepare-plan

Your own site · 80×15
<a href="https://agentmods.dev/skills/ayberkcansever/ai-skills/prepare-plan"><img src="https://agentmods.dev/badge/skills/ayberkcansever/ai-skills/prepare-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,300 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.05300
Opus 5.5 $0.00020 $0.02120
Sonnet 5.5 $0.00010 $0.01060
Haiku 4.5 $0.00005 $0.00530

Measured 3d ago against content hash 049589515eef, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

prepare-plan scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

sdlc/prepare-plan/SKILL.md · 431 lines

How it starts

The opening of the file, as written. The whole thing — 431 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Prepare Plan

Interview the user into a spec of provable decisions, then write a plan implement-plan can schedule. Stop for approval after each.

Input (what the user wrote after the command): $ARGUMENTS

Reads: the ticket and its linked docs, the code, docs/quirks.md, any existing spec or plan for the ticket. Writes: <root>/docs/plans/<plan>/spec.md and plan.md.

Later skills and resumed sessions see only these files, never this chat — whatever they need goes in a file. <plan> is the plan's name: the name or ticket key in the input, else the branch's ticket key (git branch --show-current | grep -oE '[A-Z]+-[0-9]+'), else a short kebab-case name you propose and the user confirms. Announce it once set: /implement-plan later in this session uses it without arguments. <root> is the main checkout, root="$(dirname "$(git rev-parse --path-format=absolute --git-common-dir)")", even when this session runs in a linked worktree — every skill finds the folder there and it outlives worktree removal. The folder is never committed: unless already ignored, add docs/plans/ to "$(git rev-parse --git-common-dir)/info/exclude" (review-build refuses untracked files; .gitignore is tracked).

Invariants

  • Read the ticket before asking anything, and the code before asking anything it could answer. Ask only what would change the plan.
  • Ask through the host's question dialog (AskUserQuestion in Claude Code, AskQuestion in Cursor), written as Asking below: up to 4 questions per call whose answers don't depend on each other — a question that reshapes the others goes alone. The user can always answer in their own words. No dialog on this host → the same questions in chat, options lettered.
  • An unanswered question stays open. "Probably", "sure", "we'll see" are not decisions — re-ask with a sharper recommendation and force a yes / no.
  • Every decision has a Check: — runnable command, named test, or manual QA: <step>. Every [product] decision also has an Example: with real values, an edge value included. Cannot write them → the decision is too vague; sharpen it.
  • Backward compatibility is closed from grep results, never from memory. Every symbol, path, field, route, or env var the plan names cites file:line or was verified during planning. Never guess a name.
  • Backward compatible by default. During a rolling deploy old and new code run side by side, and a rollback runs old code over data the new code wrote — both must keep working. Schema and contract changes are additive (expand), readers move next, removals (contract) ship later as a ## Release follow-up. Anything else is a [compat] decision the user approves explicitly, marked (breaking — approved <date>).
  • Write to spec.md the moment something is decided, assumed, or asked. Decisions are append-only: a change is a new D<n> marked supersedes D<m>, with the old one struck.
  • Approvals live in the spec's **Status:** line. No plan before spec-approved (short lane: one approval for both); no code before plan-approved. Changing a decision after an approval sets it back to draft.
  • After a context compaction, re-read the spec and plan — the files are the truth — and this skill if the host dropped it from context.

Read the full file on GitHub · 431 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · +1 lines 049589515eef
  2. 7d ago Changed · +6 lines · -1 tokens per session 65d089b52798
  3. 11d ago Changed · +31 lines 42b1410441b8
  4. 15d ago Changed · +63 lines e9dca7e62c06
  5. 2mo ago First seen · 330 lines · 51 tokens per session scan A d19fcfd1671f

Subscribe to this mod's changes

prepare-plan is a skill published in the GitHub repository ayberkcansever/ai-skills (3 stars, last pushed 4d ago), licensed MIT. It adds 50 tokens to every session and 5,300 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-03.

Related

prepare-plan compared with skills from other repositories

prepare-plan next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prepare-planayberkcansever/ai-skillsSkill34d agoMITA50Claude Code
fetch-urlarabold/docs-mcp-serverSkill1.9k9d agoMITA51Claude Code, Codex
firebase-messagingevanca/flutter-ai-rulesSkill67819d agoMITA35Claude Code
firebase-cloud-functionsevanca/flutter-ai-rulesSkill67819d agoMITA36Claude Code
accessibilityevanca/flutter-ai-rulesSkill67819d agoMITA52Claude Code
karpathy-llm-wikiAstro-Han/karpathy-llm-wikiSkill2.8k4mo agoMITA67Claude Code, Codex
setupqdrant/mcp-server-qdrantSkill1.6kyesterdayApache-2.0C45Claude Code, Codex