From harness-engineering
Generate design documents for Track 2 features. Use when user says "plan this", "design this feature", "create a plan", "write a design doc", or after research is complete and the user wants to move to planning. This is the second phase of Track 2.
npx claudepluginhub emingenc/harness-engineering --plugin harness-engineeringThis skill uses the workspace's default tool permissions.
Generate a design.md from research findings. Uses bi-directional prompting
Implements structured self-debugging workflow for AI agent failures: capture errors, diagnose patterns like loops or context overflow, apply contained recoveries, and generate introspection reports.
Monitors deployed URLs for regressions in HTTP status, console errors, performance metrics, content, network, and APIs after deploys, merges, or upgrades.
Provides React and Next.js patterns for component composition, compound components, state management, data fetching, performance optimization, forms, routing, and accessible UIs.
Generate a design.md from research findings. Uses bi-directional prompting (Claude asks clarifying Qs) and stops for human annotation before proceeding.
Read the relevant research file:
workspace/research/<topic>.md
If no research exists, tell the user to run /research <topic> first.
Use the template at docs/templates/design-template.md.
Write to workspace/designs/<name>-design.md.
Fill in:
Before finalizing, ask 3-5 targeted clarifying questions:
Format as multiple choice when possible:
Before I finalize this design, I have a few questions:
1. For the auth middleware, should we:
a) Extend the existing middleware
b) Create a new middleware chain
c) Other (please specify)
2. Should error responses follow:
a) The existing JSON error format
b) RFC 7807 Problem Details
c) Other (please specify)
3. ...
Wait for the user's answers.
Incorporate answers into the design. Write the final version.
Run validation:
python3 ${CLAUDE_PLUGIN_ROOT}/skills/planner/scripts/validate_plan.py \
"workspace/designs/<name>-design.md"
This checks:
Tell the user:
Design document written to: workspace/designs/<name>-design.md
NEXT STEPS:
1. Open the design document
2. Add annotations using: <!-- ANNOTATION: your comment -->
3. When done, run /split to generate tasks
DO NOT proceed to implementation. The human must annotate first.
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/progress.py append "Design created: <name>-design.md (awaiting annotation)"
If validate_plan.py reports the design exceeds 30k tokens:
workspace/designs/<name>-sub-<n>.md/split and /executedInput: "/plan" (after researching auth flow) Process:
Input: "/plan" (after researching full API redesign) Process: