From hatch3r
Guides end-to-end feature implementation as a vertical slice: data model, domain logic, API, and UI. Use when implementing new features or working on feature request issues.
How this skill is triggered — by the user, by Claude, or both
Slash command
/hatch3r:hatch3r-featureThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> **Note:** Commands below use `npm` as an example. Substitute with your project's package manager (`yarn`, `pnpm`, `bun`) or build tool when your project uses a different package manager.
Note: Commands below use
npmas an example. Substitute with your project's package manager (yarn,pnpm,bun) or build tool when your project uses a different package manager.
Task Progress:
- [ ] Step 0: Detect ambiguity (P8 B1)
- [ ] Step 1: Read the issue and all relevant specs
- [ ] Step 1c: Design System Inventory (if UI) — invoke `hatch3r-design-system-detect`
- [ ] Step 2: Produce an implementation plan
- [ ] Step 2b: Test-first approach (TDD alternative — optional)
- [ ] Step 3: Implement the vertical slice
- [ ] Step 4: Write tests (unit, integration, security, E2E)
- [ ] Step 5: Verify quality gates
- [ ] Step 5b: Browser verification (if UI)
- [ ] Step 5c: UI/UX Verification Gate (if UI) — invoke `hatch3r-ui-ux-verify`; all 9 gates must pass before Step 6
- [ ] Step 6: Open PR
Before any work, scan the invocation for unresolved questions in scope, intent, acceptance criteria, target files, or irreversibility. If any are found, ask the user via the platform-native question tool per agents/shared/user-question-protocol.md. Do not proceed under silent assumption. Default path, not an exception. Triggers for THIS skill: acceptance criteria incomplete or untestable, data shape or error behavior unspecified, UI states (loading/empty/error/partial) undefined, security/entitlement model unstated, or the change requires a schema/API migration with downstream consumers. If the orchestrator already supplied requirements-elicitation answers, read them first (Step 1) and ask only about residual gaps.
similar-implementation researcher output, read the reference implementations and their extracted conventions. These define the patterns this feature should follow (file structure, state management, error handling, data fetching, test structure, component composition).requirements-elicitation answers, read them to understand explicit user decisions on ambiguities (data shape, error behavior, UI states, security model, etc.). Do not guess when explicit answers are available.Skip this step if acceptance criteria do not touch UI (no new component, no new page or route, no modification to an existing component or visual surface, no design-token change). Trigger: any file path matching **/*.{tsx,jsx,vue,svelte} or **/components/** would be created or modified.
skills/hatch3r-design-system-detect BEFORE writing any UI code. The skill produces a Design System Inventory: token source, component-library version, breakpoint set, theming convention, reuse-vs-extend-vs-create verdict.rules/hatch3r-design-system-detection.md.Before coding, output:
similar-implementation output), with divergences noted and justified. If no reference was provided, note "no reference — using best judgment from codebase conventions."When acceptance criteria are specific and testable, write tests BEFORE implementing:
Prefer TDD when:
Use standard flow (implement → test) when:
${HATCH3R:VERIFY_GATE_ALL}
Resolved to the project's language-aware gate at sync time (fallback when detection is unknown: npm run lint && npm run typecheck && npm run test).
Skip this step if the feature has no user-facing UI changes.
Skip this step if the feature has no user-facing UI changes. Trigger: same surface match as Step 1c (**/*.{tsx,jsx,vue,svelte} or **/components/**). Browser verification (Step 5b) records that the surface renders; this step records that the surface meets the CQ1/CQ2/CQ7 measurement floor.
skills/hatch3r-ui-ux-verify after Step 5b and BEFORE Step 6 (PR open).GATE_N: PASS|FAIL <evidence-path> and aggregate them in the PR description.Use the project's PR template. Include:
Fan-out scales with task size; token cost never justifies serializing independent work (rules/hatch3r-fan-out-discipline.md P8 B2; agents/shared/efficiency-patterns.md). Tier boundaries for THIS skill:
Emit sub_agents_spawned: { count, rationale } in your output.
Note: When this skill is invoked via the orchestration pipeline (board-pickup or workflow commands), skip this section — the orchestrator handles agent delegation in Phases 3 and 4.
You MUST spawn these agents via the Task tool (subagent_type: "generalPurpose") at the appropriate points:
hatch3r-researcher — MUST spawn before implementation with modes codebase-impact, feature-design, architecture. For Tier 2+ tasks (per hatch3r-deep-context), also include similar-implementation and requirements-elicitation. Skip only for trivially simple features (risk:low AND priority:p3).hatch3r-implementer — MUST spawn one per sub-issue when the feature is decomposed into multiple tasks. Each implementer receives its own sub-issue context, plus reference conventions and resolved requirements from the researcher output.hatch3r-reviewer — MUST spawn after implementation for code review before PR creation.hatch3r-qa-validation — use this skill for end-to-end verification of the implemented featureskills/hatch3r-design-system-detect (if UI)skills/hatch3r-ui-ux-verify) — all 9 gates report PASS (if UI):
hatch3r-ui (CQ1). Trigger: any change touching a route or component file in scope.hatch3r-ux (CQ2 flow ownership) cross-referenced with hatch3r-ui (focus management). Trigger: any keyboard-reachable element added or modified.<h1> per route, landmark coverage (banner/main/nav/contentinfo), every form input labelled, every image has alt or role="presentation". Specialist: hatch3r-ui (CQ1). Trigger: structural change to a route or page.loading + empty + error + partial snapshots present for every async surface per rules/hatch3r-ux-states-and-flows.md. Specialist: hatch3r-ui (CQ1 four-state contract owner). Trigger: any useQuery / useSWR / fetch / axios introduced or modified.playwright.toHaveScreenshot() or Chromatic/Percy; baselines committed. Specialist: hatch3r-ui (CQ1). Trigger: layout-affecting CSS, template, or token change.autocomplete attribute on email/password/name/address inputs. Specialist: hatch3r-ux (CQ2 microcopy owner). Trigger: any user-facing string added or modified.agents/shared/principles.md). Specialist: hatch3r-performance (CQ7). Trigger: any change to the route's render tree, hydration, or critical-path asset.AbortController. Specialist: hatch3r-ui (CQ1) cross-referenced with hatch3r-ux (CQ2) per rules/hatch3r-ai-ux-patterns.md. Trigger: any useChat / useCompletion / streamUI import or LLM-output rendering surface.hatch3r-ux (CQ2 human verification owner). Trigger: release-cut; skipped on per-PR runs.npx claudepluginhub hatch3r/hatch3r --plugin hatch3rExecutes scope-aware implementation with TDD and quality gates, scaling from inline plans for small changes to full multi-task workflows for larger work.
Orchestrates multi-session projects by implementing one feature per cycle from feature-list.json through TDD pipeline with quality gates and code review.
Orchestrates all code-modifying development tasks like bug fixes, enhancements, and new features using adaptive phases for analysis, specs, TDD, implementation, and verification.