adversarial-reviewer
Review code through three hostile personas - the Saboteur, the New Hire, and the Security Auditor - each required to find at least one issue. Use when a…
Turn a spec or set of requirements into a detailed, task-by-task implementation plan an engineer (or a subagent) can execute without further context. Breaks work into bite-sized steps with exact file paths, real code, and verification commands. Use before starting a multi-step
$ npx -y skills add KhaledSaeed18/dotclaude --skill writing-plans --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/writing-plansContext preview
The summary Claude sees to decide when to auto-load this skill.
Turn a spec or set of requirements into a detailed, task-by-task implementation plan an engineer (or a subagent) can execute without further context. Breaks work into bite-sized steps with exact file paths, real code, and verification commands. Use before starting a multi-step
name: writing-plans description: Turn a spec or set of requirements into a detailed, task-by-task implementation plan an engineer (or a subagent) can execute without further context. Breaks work into bite-sized steps with exact file paths, real code, and verification commands. Use before starting a multi-step build, once you know what you're building.
Write the implementation plan as if the engineer executing it has strong general skills but zero knowledge of this codebase, this domain, or your intentions. Everything they need to act has to be on the page: which files to touch, the actual code, how to test it, what "done" looks like for each step. Vagueness in a plan becomes wasted work or wrong work at execution time.
A good plan is a sequence of small, verifiable tasks — each one producing a self-contained change that makes sense on its own and leaves the project working.
Read the spec or requirements fully, then look at the codebase the plan will touch — existing patterns, conventions, the files involved. Plan *with* the grain of the code that's there, not against an idealised version of it. If the spec spans several independent subsystems, say so and propose splitting it into one plan per subsystem; each plan should produce working, testable software on its own.
Before writing any task, list the files the work will create or modify and the single responsibility of each. This is where the decomposition gets decided.
Each task is a coherent unit of work; each *step* inside it is one action of two to five minutes. Following test-driven development, a typical task reads:
Give every task an explicit **Files** block — what to create, what to modify (with line ranges where it helps), what the test file is. Use checkbox (`- [ ]`) syntax for steps so progress is trackable during execution.
A plan with gaps is a plan that fails at execution. None of these belong in a finished plan:
Every step that changes code shows the code. Every command comes with its expected output. File paths are exact.
When the plan is complete, read it once more against the spec with fresh eyes — this is a checklist you run yourself, not a subagent dispatch:
1. **Coverage.** Walk each requirement in the spec. Can you point to the task that implements it? List any gaps and add tasks for them. 2. **Placeholder scan.** Search the plan for the red flags above and fix any you find. 3. **Consistency.** Do the type names, signatures, and property names used in later tasks match what earlier tasks defined? A method called `clearLayers()` in one task and `clearFullLayers()` in another is a latent bug.
Fix issues inline and move on.
Save the plan as a markdown file (a `docs/plans/YYYY-MM-DD-<feature>.md` location works well unless the project has its own convention). Then offer the user how to execute it:
If the work should be isolated from the current branch, note that an isolated workspace should be set up at execution time via the `git-worktrees` skill, and that the branch gets wrapped up afterward with the `finish-branch` skill.
Reusable Claude Code extension registry. skills, subagents, slash commands, and hooks for engineering, git, testing, and security workflows. Distributed as a shadcn GitHub registry and as installable plugins.
Repo: KhaledSaeed18/dotclaude
Review code through three hostile personas - the Saboteur, the New Hire, and the Security Auditor - each required to find at least one issue. Use when a…
Review an API contract (REST or GraphQL) before or while it is implemented, checking resource naming, HTTP semantics, status codes, error shape, pagination,…
Process code-review feedback with technical rigour — understand each point, check it against the actual codebase, and respond with reasoning or implementation…
Author a new subagent for this repository end to end by scaffolding it with pnpm new, curating its tool allowlist, setting model, color, and memory in…
Author a new slash command for this repository end to end by scaffolding it with pnpm new, writing the frontmatter and argument handling, drafting the prompt…
Author a new Claude Code hook for this repository end to end by scaffolding it with pnpm new, writing the hook script and its settings.json wiring, documenting…