testdouble/han/plan-implementation
Claude Code and agent skill by testdouble/han
- community
Checking that the SKILL.md file is still in the repository.
Builds a feature implementation plan from an existing feature specification (or equivalent context) through a facilitated team conversation. Use when the user wants to plan how to implement, build, deliver, or ship a feature that has already been specified. Does not specify what the feature should do — use plan-a-feature first. Does not design the contract for an interface — use design-an-api. Does not refine or stress-test an already-written plan — use iterative-plan-review. Runs its resolution rounds to completion and holds its questions until after they finish; to review each round as it lands, use pairing.
Install
npx vskill@latest install testdouble/han/plan-implementationSKILL.md
The same SKILL.md was published earlier as testdouble/han/plan-implementation.
Project Context
- CLAUDE.md: !
find . -maxdepth 1 -name "CLAUDE.md" -type f - project-discovery.md: !
find . -maxdepth 3 -name "project-discovery.md" -type f - personal config directory: !
bash "${CLAUDE_PLUGIN_ROOT}/scripts/han-config-dir.sh" 2>/dev/null || echo "$HOME/.claude" - project .han/config.md: !
cat .han/config.md 2>/dev/null || echo ""
As your first action, use the Read tool on .han/config.md inside the personal config directory path above. A read that returns no file is no personal configuration: continue silently. When that file or the project .han/config.md probe supplies content, apply it per config-rule.md, which governs precedence between the two files, relative-path resolution, and what to do with a file that reads but cannot be used.
Operating Principles
- The feature specification is the ground truth for _what_, but not for scope. This skill plans _how_. Do not re-open
behavioral decisions the specification already settled; flag contradictions as Open Questions for the user. Scope is the exception, and it is narrow: a specification is an artifact, not a scope authority, so a commitment it carries for a subsystem, integration, or artifact the work item never asks for is cut with the citation rather than planned. The license reaches unrequested subsystems and nothing else. See ../../references/scope-justification-rule.md.
- The run stays inside the boundary it descends from. Before locating the specification, the skill records the work
item's stated scope and exclusions, per ../../references/planning-boundary-rule.md. The scope gate at Step 7.5 then reads that record, including commitments the plan inherited from the specification.
- Visual material the user supplies is kept, and reaches every reviewer. Persist it beside the plan as it arrives,
never at document-write time, and pass its paths in every dispatched specialist's brief. The boundary rule owns the convention.
- Questions to the user arrive one at a time, led by the consequence. An escalation carries one question, opens with
what a person who will not read the code would describe, gives named candidate answers, and puts paths and identifiers below the question or leaves them out. Per ../../references/operator-escalation-rule.md. The opening confirmation turn is the one exception, and the one turn that carries more than one ask.
- The han-core:plan-synthesizer reconciles the specialists, it does not author every section. It reads what every
specialist produced, tracks claims and evidence, and commits the decisions the plan records. Specialists own their domains. This skill runs the rounds itself; the synthesizer is dispatched once, at the end.
- Always include `han-core:junior-developer` on the team. When decisions lack strong evidence, the
han-core:junior-developer reframes the issue in plain terms first — that frequently unlocks a resolution without needing the user.
- Escalate to the user only when evidence and reframing have both failed. Every escalation surfaces with a full
description, the evidence considered, and a recommended answer.
- Done is when the han-core:plan-synthesizer says so. The loop exits when the han-core:plan-synthesizer reports the
plan is ready to commit, or that only user-input items remain. The user is not asked to keep iterating past that point.
- YAGNI is a first-class operating principle, applied to _implementation_ choices. The implementation plan inherits
the spec's behavioral commitments but applies the evidence-based YAGNI rule from ../../references/yagni-rule.md independently to abstractions, configuration knobs, observability, runbooks, infrastructure, rollout machinery, test scaffolding, schema columns, indexes, and any other implementation artifact the plan recommends. Items that fail the evidence test get demoted to a ## Deferred (YAGNI) section in feature-implementation-plan.md with the reopening trigger named; items where a strictly simpler implementation satisfies the same evidence get the simpler implementation recorded as the decision and the larger version under Rejected alternatives:. The Sentry-runbook-on-staging-only-Sentry pattern is the named project precedent — operational machinery shipped before the system that drives it actually produces the data, traffic, or failures it covers is YAGNI by default. Every committed implementation item is ongoing maintenance and a pattern future agents will copy.
- Keep the plan at planning altitude — intention over prescription. The plan is the reader's layer: it carries the
intention and goals of the work, the touch points (a module, a contract, a boundary), and the decision-bearing values (a flag default, a key name, a threshold). NEVER inline full file contents or prescribe line-level edits, BECAUSE a non-author must be able to read the plan, plans are executed after the codebase has moved on (a prescribed edit list goes stale and misleads), and the implementer — human or coding agent — reads the current code at build time. Deeper detail lives one hop away in the companion artifacts. YAGNI gates whether an item is _included_; this principle gates how _verbose_ an included item is.
- A contract two components must agree on is pinned here, not invented during the build. A format grammar, a field
layout, a schema, a payload, a signature: each is a decision-bearing value in exactly the sense the altitude rule above already permits, so the plan carries its concrete form rather than the name of a document somebody will author later. This is where the plan stops a writer and a reader from drifting apart, and it is the one thing the altitude rule is most often misread as forbidding. See ../../references/contract-pinning-rule.md.
- Plain language leads; technical detail nests beneath it. Every section leads with plain-language prose a
non-author can follow. Technical detail is minimal references only — a path, a contract name, a decision-bearing value — placed below or after the plain language it illustrates, never mixed into it and never free-standing. When choosing between more plain language and more technical detail, choose more plain language.
- Frame the work around user stories when possible. User stories give the implementer the intent at a high level
before any mechanics. Derive them from behavior the specification already commits to — never invent behavior — and anchor work units to the story each one advances. When the feature has no user-facing behavior, frame stories around the operator or consuming system; skip stories only when no actor benefits in a describable way.
- The plan lives in three cross-referenced files.
feature-implementation-plan.mdis the primary plan and lives at
the root of {folder}/; implementation-decision-log.md records every decision and implementation-iteration-history.md records each round of discussion — both companion artifacts live in {folder}/artifacts/ to keep the planning folder uncluttered. The main plan cites decisions with inline ([D-N](artifacts/implementation-decision-log.md#...)) links for non-obvious claims. The decision log and iteration history cross-link through Driven by rounds: / Decisions produced: fields (they sit as siblings inside artifacts/), and both link back into the plan through Referenced in plan: / Changed in plan: fields using ../feature-implementation-plan.md. Any edit to one file requires updating the matching fields in the others.
Plan an Implementation
Step 1: Locate the Feature Specification
Read the user's argument and conversation context to identify the source artifact. The expected input is a feature-specification.md produced by the plan-a-feature skill, but any document describing what the feature should do is acceptable (PRD, design doc, product brief).
Resolve the source path:
- If the user provided a file path, use it.
- Otherwise, search for a recent
feature-specification.mdunderdocs/features/,docs/plans/, or other
documentation roots discovered via CLAUDE.md or project-discovery.md. If multiple candidates exist, ask the user which one.
- If no feature specification exists, tell the user this skill requires one and recommend running
plan-a-feature
first.
Three files will be written. The primary plan lives at the root of {same-folder-as-source}/; the two companion artifacts live in {same-folder-as-source}/artifacts/ (which may already exist if the source spec came from plan-a-feature — share the same subfolder rather than creating a second one):
{same-folder-as-source}/feature-implementation-plan.md— the primary plan.{same-folder-as-source}/artifacts/implementation-decision-log.md— every committed implementation decision with
rationale, evidence, and rejected alternatives.
{same-folder-as-source}/artifacts/implementation-iteration-history.md— round-by-round record of specialists
engaged, questions raised, and how each was resolved.
Each file follows its own template, copied whole: feature-implementation-plan-template.md, implementation-decision-log-template.md, and implementation-iteration-history-template.md. Read a template in full from here rather than through the synthesis directives in Step 8.
Two more artifacts are written by Step 1.5 rather than by this step:
{same-folder-as-source}/artifacts/scope-boundary.md— the boundary record. Always present, whether this run wrote it
or an earlier planning skill did.
{same-folder-as-source}/ui-designs/— visual material the user supplies, when they supply some.
Create the artifacts/ subfolder before writing the companion files if it does not already exist.
The three files cross-reference each other. The main plan cites decisions with inline parenthetical links like ([D-3](artifacts/implementation-decision-log.md#d-3-rollout-strategy)); the decision log and iteration history cross-link through Driven by rounds: / Decisions produced: fields (siblings inside artifacts/), and both link back into the plan through Referenced in plan: / Changed in plan: fields via ../feature-implementation-plan.md.
If any of the three files already exist, ask the user whether to overwrite or append iteration notes before proceeding.
Read the full specification into context. If the specification is a feature-specification.md produced by plan-a-feature, also read its companion decision-log.md, team-findings.md, and feature-technical-notes.md if it exists — these live in {same-folder-as-source}/artifacts/ (the same subfolder this skill will write to). Fall back to reading them from {same-folder-as-source}/ directly for spec folders produced before the artifacts layout was introduced. The feature-technical-notes.md file is lazily created by plan-a-feature — its absence means no load-bearing mechanics were captured at spec time, not that the spec is incomplete. Note the decisions already settled, any open items the spec flagged, the review team findings, and any committed technical mechanics the plan must honor.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinghan-planning/skills/plan-implementation/SKILL.md
Popularity
- Repository stars
- 99
- Repository forks
- 10
- 7-day trend score
- 23
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/testdouble/han/plan-implementation)