/tsh-product-engineering:creating-implementation-plansfrom TSH Product Engineering
Creates a structured implementation plan as a committed file with phased tasks, file annotations, and verifiable definitions of done. Use when a feature needs planning before implementation or when delegating to subagents.
Ships in TSH Product Engineering. 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.
This skill turns a designed solution into a plan document that a human can review in minutes and an implementer subagent can execute without seeing the conversation. The plan is a file, not a chat message: it survives the session, travels in a commit, and is the single handoff artifact for delegated implementation.
*.plan.md needs revision after new findings or user feedback.Local repository rules outrank this skill. If the project has its own planning or specification convention (location, naming, required sections), follow it and apply this skill's rules only where the local convention is silent.
| Severity | Rule |
|---|---|
| MUST | Save the plan as a file. Default: specifications/<task-id>/<task-name>.plan.md, where <task-id> is the ticket ID or a short kebab-case task name. |
| MUST | Choose sections deliberately from the building blocks — match plan depth to task risk. A config tweak gets a goal and two tasks; a schema migration gets the full treatment. |
| NEVER | Put implementation code in the plan. Type definitions, function signatures, DTOs, and API shapes are allowed to pin a contract; pseudo-code only for genuinely complicated algorithms. |
| MUST | Name every file each task touches in a **Files:** field, each labeled create, modify, or reuse. |
| MUST | Write every task and every Definition-of-Done item as a - [ ] checkbox. Implementer agents are contractually required to tick their own scope, so a plan without checkboxes silently loses all progress tracking — and nobody notices, because ticking nothing raises no error. |
| MUST | Give every task a Definition of Done with at least one objectively verifiable check. Commands come verbatim from the plan's Technical Context — never assumed from Node/npm — and scoped to the task's own files: targeted unit tests, lint or typecheck on the changed area, plus any test file the task itself creates. Never directory- or project-wide suites — integration interactions belong to phase verification, full passes to the final verification phase. |
| MUST | End every non-trivial plan with a final verification phase: a code-review task and a functional-verification task, executable in parallel. Draft the verification document at specifications/<task-id>/<task-name>.verification.md at planning time, and ask the user which functional checks it should include — before implementation starts. |
| MUST | Mark independent tasks as an explicit parallel group. Tasks qualify only when neither depends on the other's output AND their **Files:** lists are disjoint. |
| MUST | Consult the Current Implementation Analysis before planning new components — reuse or extend existing code first. |
| MUST | Plan only the current task. Record prerequisite or follow-up work under Improvements (Out of Scope), not as extra phases. |
| NEVER | Add approval tables, revision predicates, or status bookkeeping. The user approves by reading the plan and saying so; iterate until they are satisfied. |
| Reference | Load when | Covers |
|---|---|---|
| Plan building blocks | Assembling or revising a plan's structure — every time, before drafting | Every candidate section: why it exists, when to include it, when to drop it, and the Definition of Done rules in full |
| Worked example | Unsure how a finished plan reads, or calibrating depth for a mid-size task | One complete plan for a small feature — illustrative, not a template to fill |
| Verification document | Drafting the final verification phase's document — every non-trivial plan | The document's building blocks, scenario tags, evidence rules, and a compact worked example |
discovering-technical-context: read
project instructions, then existing patterns. You will persist what you find into
the plan so implementers never rediscover it../references/plan-building-blocks.md and
select the sections this task actually needs. Tell the user in one line which
blocks you dropped and why.**Files:** field, a
Definition of Done scoped to the task's own files, and optionally a Stop Rule and
Clues.Parallel group A: Tasks 2.1–2.3). The orchestrator will
launch one subagent per task in the group, so the disjoint-files rule is what
prevents them from overwriting each other.debugging-code, the established root cause goes
there too: the causal chain with its evidence, and the measured reach of the fix../references/verification-doc.md, propose
the candidate checks — browser walkthrough, API calls, database state, log checks,
data seeding — and ask the user which to include. Save the document next to the
plan.Both ship in this plugin — if this skill loaded, they are installed. Step 2 of the procedure depends on the first.
discovering-technical-context —
populates the plan's Technical Context section. Required by Step 2.orchestrating-feature-implementation —
executes the finished plan.What SKILL.md sets; muted values are Claude Code's defaults
Trigger on: 'write an implementation plan', 'plan this feature', 'break this into tasks', revising an existing *.plan.md, preparing tasks for parallel implementation, or any spec-driven development request. Writes the plan only — executing it is orchestrating-feature-implementation.
Three short reads, in order
implementation-plan, task-breakdown, specification, plan-file
npx claudepluginhub thesoftwarehouse/agentic-collections --plugin tsh-product-engineering8 skills in this plugin
/capturing-ui-evidenceThe mechanical capture contract for UI verification: drives the playwright-cli against the pinned dev server URL to collect actual.png, computed-styles.json and a11y-snapshot.yml into the iteration artifact directory. Works with no design reference at all; when — and only when — the caller supplies a Figma URL, it also exports the shared reference image. Evidence collection only — judging the result is the ui-reviewer agent's job./debugging-codeFinds and fixes the root cause of a bug: pins the symptom, reproduces it, secures a failing test — existing, corrected or new — narrows to the cause with evidence rather than plausibility, measures how far the fix reaches before applying it minimally, and keeps the test as a regression guard. Use when code behaves wrongly and the cause is not yet known — load it before reading, searching, or editing the code, because locating the cause is this skill's own first step, not something to do before it./discovering-technical-contextEstablishes which conventions a change must follow before it is written, in priority order: the plan's persisted technical context, then project instructions (CLAUDE.md, .claude/rules, decision records), then existing codebase patterns, then external documentation. Use to answer 'how does this project do X' or to fill a plan's Technical Context section.Other plugins' skills for the same job