/tsh-product-engineering:orchestrating-feature-implementationfrom TSH Product Engineering
Orchestrates multi-file feature implementation by delegating plan tasks to subagents in parallel, gating on reports, and running final verification. Use before editing any file for a feature request or plan execution.
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.
In this workflow the main conversation is the orchestrator: it owns the plan, the todo list, the delegation, and the gates. Implementation work runs in subagents so their file reads, tool output, and MCP traffic stay out of this context. The plan file is the contract — every delegate works from it, because subagents never see this conversation.
Verification follows a pyramid: each task runs only its own scoped checks and is trusted from its report, each phase closes with one integration checkpoint, and the plan's final verification phase is the single full, evidence-based pass. No check runs twice.
*.plan.md exists (possibly from a previous session) and should be executed.Local repository rules outrank this skill. If the project defines its own delivery workflow (branching, review, CI gates), run this workflow inside it, not instead of it.
| Severity | Rule |
|---|---|
| MUST | Have a plan file the user has read before non-trivial implementation starts. No plan → create one first via creating-implementation-plans, which ships in this plugin and is always available. Only a genuinely trivial change (single file, no design decision) may proceed planless. |
| MUST | Make every delegation self-contained: exact plan path, task ID(s), the instruction to read the plan's Technical Context first, and any pinned inputs (dev server URL, design URLs). Subagents have no conversation history. |
| MUST | Run tasks in parallel only when the plan marks them as one parallel group and their **Files:** lists are disjoint. Launch the group's subagents in a single message; run everything else in plan order. |
| MUST | Gate on every task report: confirm it names each Definition of Done command with a passing result, and read the files-changed and deviations sections critically — they are gate inputs, not decoration. Re-run nothing at this tier; the final verification phase re-establishes evidence. A failed, blocked, or command-less report stops the flow. |
| MUST | Run each phase's Verification: line exactly once, when its last task completes — an integration-scoped check of what the phase's tasks created plus one typecheck or build. Never a re-run of task Definitions of Done, never a full suite. |
| MUST | Mirror plan tasks in the todo list and update both after each completed task. |
| MUST | Stop on any material deviation from the plan: update the plan file, tell the user what changed and why, and let them re-read before continuing. |
| MUST | Close every Figma-backed UI task through the UI verification gate — fresh ui-capture-worker artifacts judged by ui-reviewer, iterated up to 5 times per item. Read ./references/ui-verification-gate.md before the first UI delegation. The final verification phase starts only when every UI item is individually PASSED or user-acknowledged ESCALATED. |
| MUST | Close by executing the plan's final verification phase exactly once: delegate code-reviewer and feature-verifier concurrently — in a single message, or as immediately consecutive background delegations — stating verbatim in the reviewer's delegation that functional and E2E verification runs in the parallel verifier. A legacy plan without that phase gets a single full-scope code-reviewer delegation instead. |
| NEVER | Re-run full suites between tasks, or add any review or verification pass after the final verification phase has passed. Findings route back as scoped fixes with scoped re-checks — never a second full pass. |
| NEVER | Treat task-tier trust as the final word — it holds only because the final phase re-runs everything once — or a clean build as a substitute for UI verification against the design. |
| Work | Route to |
|---|---|
| UI task backed by a design (Figma URL or design reference in the plan) | ui-engineer subagent |
| UI verification capture — ACTUAL evidence from the running app, per gate iteration | ui-capture-worker subagent |
| UI verification verdict — Figma comparison on captured artifacts, per gate iteration | ui-reviewer subagent |
| Any other implementation task — backend, logic, tests, config | software-engineer subagent |
| Trivial single-file change with no design decision | Inline, in this conversation |
| A bug whose cause is not yet established | debugging-code, in this conversation — a fix that outgrows a minimal change comes back here as a plan carrying the established root cause |
| Code review, in the final verification phase | code-reviewer subagent |
| Functional verification of the delivered feature, in the final verification phase | feature-verifier subagent |
| Authoring E2E test suites, infrastructure/CI, discovery or analysis work | Out of scope here — name the gap to the user instead of improvising |
specifications/<task-id>/<task-name>.plan.md). Check it is actionable: tasks
name files and Definitions of Done, no material open questions, and — for a
non-trivial plan — a final verification phase whose verification document
(specifications/<task-id>/<task-name>.verification.md) exists. Missing or
stale → follow
creating-implementation-plans
and iterate with the user until they are happy with it.Verification: line once. A failed report or phase check stops the line —
resolve it (with the user if needed) before the next delegation../references/ui-verification-gate.md:
fresh ui-capture-worker capture, ui-reviewer verdict, fixes back to
ui-engineer, up to 5 iterations, then the structured escalation gate. Every
item ends PASSED or user-acknowledged ESCALATED before the next step, and the UI
Verification Summary is reported separately from code review.code-reviewer with the plan path, the full
list of changed files, and the sentence assigning functional and E2E verification
to the parallel verifier; feature-verifier with the verification document path
and the pinned inputs. For a legacy plan without this phase, delegate a single
full-scope code-reviewer instead.ui-engineer for UI, software-engineer otherwise) as a scoped
follow-up task; re-run only the checks scoped to each fix — never a second full
review or verification pass. A fix that changes rendered UI on a Figma-backed
screen reopens that item's UI verification gate. A finding that invalidates part
of the plan is a material deviation — rule above applies.| Reference | Load when | Covers |
|---|---|---|
| UI verification gate | The plan contains a Figma-backed UI task, before the first UI delegation — and again before closing any UI item | The per-item verify-fix loop, iteration budget, blocker handling, the structured escalation gate, the UI Verification Summary |
All of these ship in this plugin — if this skill loaded, they are installed. The plan
rule above depends on the first: it is a prerequisite, not a bonus. So do the
feature-verifier, ui-capture-worker, and ui-reviewer agents. Every
browser-driving delegate in this plugin runs on the Playwright CLI, and the UI
verification gate judges through the Figma MCP, exclusively.
creating-implementation-plans —
authors the plan and the verification document this workflow executes.reviewing-code — the standard the final review
gate applies; the code-reviewer agent loads it automatically.reviewing-ui — the single verification pass the UI
gate repeats; also user-invocable standalone.verifying-ui and
capturing-ui-evidence — the judging standard
and capture contract behind the gate; the ui-reviewer and ui-capture-worker
agents load them automatically, and verifying-ui loads nowhere else
(disable-model-invocation: true).discovering-technical-context — what
the implementer agents consult before writing code.Other plugins are a different matter: tsh-product-testing (E2E suites) and
tsh-platform-engineering (CI, deployment) may not be installed. Name the gap to the
user, never path into them, and never block on one.
What SKILL.md sets; muted values are Claude Code's defaults
Trigger on: 'implement this', 'build this feature', 'do this ticket', executing or resuming a *.plan.md, work spanning more than one file or task, delegating implementation to subagents or running tasks in parallel, or a change that looks obvious enough to just start editing. Writing the plan is creating-implementation-plans; judging finished work is reviewing-code; fixing a bug whose cause is not yet known is debugging-code.
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./creating-implementation-plansWrites TSH's implementation plan as a committed file at specifications/<task-id>/<task-name>.plan.md: phased tasks that each name their files and a verifiable Definition of Done, technical context persisted for implementers, explicit parallel groups. Use when a plan, spec, or task breakdown is asked for — a plan kept outside the repository cannot be committed, reviewed in a PR, or read by an implementer subagent./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.Other plugins' skills for the same job