write-plan

write-plan is a skill for Claude Code from ayberkcansever/ai-skills. It costs 70 tokens per session (4,547 once invoked), scanned A, original, MIT.

A method for writing a small, test-first implementation plan before changing code. TDD, or test-driven development, means writing tests before the implementation they check.

In plain words
What is it for?
Use it to turn a specification into bite-sized coding tasks, tests, documentation checks, and a durable project plan.
Why use it?
It gives an engineer a clear sequence of files, changes, and checks when they do not yet know the codebase or problem area.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents; mentions AGENTS.md.

Good fit Use it to turn a specification into bite-sized coding tasks, tests, documentation checks, and a durable project plan.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ayberkcansever/ai-skills/write-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 write-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 write-plan

README.md
[![agentmods](https://agentmods.dev/badge/skills/ayberkcansever/ai-skills/write-plan/github.svg)](https://agentmods.dev/skills/ayberkcansever/ai-skills/write-plan)
Your own site
<a href="https://agentmods.dev/skills/ayberkcansever/ai-skills/write-plan"><img src="https://agentmods.dev/badge/skills/ayberkcansever/ai-skills/write-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 write-plan

Your own site · 80×15
<a href="https://agentmods.dev/skills/ayberkcansever/ai-skills/write-plan"><img src="https://agentmods.dev/badge/skills/ayberkcansever/ai-skills/write-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,547 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.00070 $0.04547
Opus 5 $0.00035 $0.02273
Sonnet 5 $0.00014 $0.00909
Haiku 4.5 $0.00007 $0.00455

Measured 8d ago against content hash b85e0aa9494b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

write-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 8d 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/cursor/write-plan/SKILL.md · 314 lines

How it starts

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

Write Plan

Overview

Write comprehensive implementation plans assuming the engineer has zero context for the codebase and questionable taste. Document everything they need to know: which files to touch for each task, code, testing, docs they might need to check, how to test it. Give them the whole plan as bite-sized tasks. DRY. YAGNI. TDD. Frequent commits.

Assume they are a skilled developer, but know almost nothing about the toolset or problem domain. Assume they don't know good test design very well.

Announce at start: "I'm using the write-plan skill to create the implementation plan."

Context: Plans are written in the user's checkout; they are executed in this checkout if already on the ticket branch, otherwise in a per-ticket worktree that execute-plan opens via the git-worktrees skill. Keep every path in the plan repo-relative so it resolves in either place.

Documentation layout (two tiers)

Tier Path Git Use
Durable docs/features/<TICKET-ID>/ tracked Design, implementation plans, test checklists — commit when stable
WIP docs/plans/<TICKET-ID>/ gitignored Agent scratch during write-plan / execute-plan

Infer <TICKET-ID> from the branch name (e.g. PROJ-123) or ask once if unclear. If your project does not use ticket IDs, use a short kebab-case slug for the feature.

Save new implementation plans to (WIP):

docs/plans/<TICKET-ID>/<scope>-implementation-plan.md

Overwrite guard: if the target plan file already exists, do not rewrite it silently — it may already be audited (interview-plan) or partially executed (ticked checkboxes). Confirm with the user before replacing; prefer amending the existing plan.

Examples:

  • docs/plans/PROJ-123/backend-implementation-plan.md
  • docs/plans/PROJ-123/service-implementation-plan.md

Canonical filenames when promoting to docs/features/<TICKET-ID>/:

  • README.md — index, status, cross-repo links
  • design.md — architecture + decisions
  • backend-implementation-plan.md / service-implementation-plan.md / frontend-implementation-plan.md
  • test-checklist.html — optional manual QA

Read the full file on GitHub · 314 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. 8d ago First seen · 314 lines · 70 tokens per session scan A b85e0aa9494b

Subscribe to this mod's changes

write-plan is a skill published in the GitHub repository ayberkcansever/ai-skills (2 stars, last pushed 4d ago), licensed MIT. It adds 70 tokens to every session and 4,547 once invoked, about $0.0003 per session on Opus 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-08-31.