/clanker-skills:writing-plansfrom clanker-skills
Use when you have a spec or requirements for a multi-step task, before touching code
Ships in clanker-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Write comprehensive implementation plans for an engineer with little repository or domain context. Document the files to touch, code, tests, documentation, and verification commands they need. Give them the whole plan as bite-sized tasks. DRY. YAGNI. TDD. Frequent commits.
Assume the implementer is technically capable but new to the repository and domain. State relevant toolchain and domain assumptions explicitly.
Save plans to: docs/plans/YYYY-MM-DD-<feature-name>.md
When a spec covers multiple independent subsystems, consider separate plans—one per subsystem. Each plan should produce working, testable software on its own.
Before defining tasks, map out which files will be created or modified and what each one is responsible for. This is where decomposition decisions get locked in.
This structure informs the task decomposition. Each task should produce self-contained changes that make sense independently.
A task is the smallest unit that carries its own test cycle and is worth a fresh reviewer's gate. When drawing task boundaries: fold setup, configuration, scaffolding, and documentation steps into the task whose deliverable needs them; split only where a reviewer could meaningfully reject one task while approving its neighbor. Each task ends with an independently testable deliverable.
Each step is one action (2-5 minutes):
Every plan MUST start with this header:
# [Feature Name] Implementation Plan
> **For agentic workers:** Execute this plan task-by-task with the target platform's native planning or task-execution workflow. Keep checkbox (`- [ ]`) state current. Delegate only when the task authorizes delegation and an isolated worker adds an independent evidence channel.
**Goal:** [One sentence describing what this builds]
**Architecture:** [2-3 sentences about approach]
**Tech Stack:** [Key technologies/libraries]
## Global Constraints
[The spec's project-wide requirements — version floors, dependency limits,
naming and copy rules, platform requirements — one line each, with exact
values copied verbatim from the spec. Every task's requirements implicitly
include this section.]
---
### Task N: [Component Name]
**Files:**
- Create: `exact/path/to/file.py`
- Modify: `exact/path/to/existing.py:123-145`
- Test: `tests/exact/path/to/test.py`
**Interfaces:**
- Consumes: [what this task uses from earlier tasks — exact signatures]
- Produces: [what later tasks rely on — exact function names, parameter
and return types. A task's implementer sees only their own task; this
block is how they learn the names and types neighboring tasks use.]
- [ ] **Step 1: Write the failing test**
```python
def test_specific_behavior():
result = function(input)
assert result == expected
```
- [ ] **Step 2: Run test to verify it fails**
Run: `pytest tests/path/test.py::test_name -v`
Expected: FAIL with "function not defined"
- [ ] **Step 3: Write minimal implementation**
```python
def function(input):
return expected
```
- [ ] **Step 4: Run test to verify it passes**
Run: `pytest tests/path/test.py::test_name -v`
Expected: PASS
- [ ] **Step 5: Commit**
```bash
git add tests/path/test.py src/path/file.py
git commit -m "feat: add specific feature"
```
Every step must contain the actual content an engineer needs. These are plan failures — never write them:
After writing the complete plan, look at the spec with fresh eyes and check the plan against it. This is a self-check, not an assignment to another worker.
1. Spec coverage: Skim each section/requirement in the spec. Can you point to a task that implements it? List any gaps.
2. Placeholder scan: Search your plan for red flags — any of the patterns from the "No Placeholders" section above. Fix them.
3. Type consistency: Do the types, method signatures, and property names you used in later tasks match what you defined in earlier tasks? A function called clearLayers() in Task 3 but clearFullLayers() in Task 7 is a bug.
If you find issues, fix them inline. No need to re-review — just fix and move on. If you find a spec requirement with no task, add the task.
After saving the plan, execute it in the current session when the user has already authorized implementation. If the user explicitly asks for delegation, or an isolated review would add a distinct evidence channel, use the target platform's native worker or subagent mechanism and give each worker one bounded task with its own acceptance check. Do not delegate overlapping writers or use delegation as ceremony.
For a high-risk or cross-cutting plan, use the plan document reviewer prompt for one independent completeness check before implementation.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub canerkocak/clanker-skills --plugin clanker-skills22 skills in this plugin
/adaptive-code-orchestratorAdaptively choose single-agent work, parallel reconnaissance, dependency waves, or independent review for reliable repository changes. Use for uncertain, cross-cutting, multi-file, long-running, or high-risk coding work where agent coordination may improve evidence or speed, or when the user asks how much agent coordination to use. When explicitly invoked for a small localized edit, stay single-agent and keep the workflow minimal.
/analyze-data-qualityAssess whether structured data, financial equations, state-machine accounting, query results, dashboards, or analytical evidence are trustworthy enough to use. Use to check data quality, reconcile conflicting sources or metric definitions, adjudicate financial-data findings, or decide whether evidence is safe to cite./ast-grep-callchain-auditPerform strict AST-based call-chain and code-quality audits with ast-grep. Use for code reviews, refactors, unfamiliar code, dead parameters, duplicate helpers, wrong call-site usage, stale functions, AI-generated slop, or multi-rail and multi-surface changes.
/better-englishLine-edit English prose when the user wants to tighten a draft, cut filler, or remove repetition. Preserve the writer's meaning and voice.
/call-chain-invariantsClassify which discovered product surfaces actually share an invariant before claiming a fix is complete. Use for multi-rail, admin/app, API/UI, lifecycle, explorer, fee, status, or repeated-state bugs where a one-surface patch may leave a reachable sibling broken. Consume the semantic blast-radius graph; do not assume a hard-coded chain or UI matrix applies.
/codebase-searchTrace repository behavior with a read-only Astra low/fast Codex session. Use for implementation searches, call-chain analysis, and source-backed code questions when delegation is permitted. Handle simple known-file lookups directly.