From harness-engineering
Lifecycle orchestrator for AI-native software development. Drives 7 phases (discovery → design → architecture → implementation → test → release → ops) via schema-validated JSON artifacts. REQUIRES harness-plan for the implementation phase. Use when user says 'start a project lifecycle', 'run discovery phase', 'advance to next phase', 'check lifecycle status', or invokes /harness-engineering.
How this skill is triggered — by the user, by Claude, or both
Slash command
/harness-engineering:harness-engineeringThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Lifecycle orchestrator: drive AI-native projects across 7 fixed phases via structured JSON artifacts.
EXAMPLES.mdREFERENCE.mdTROUBLESHOOTING.mdresources/briefs/architecture.mdresources/briefs/design.mdresources/briefs/discovery.mdresources/briefs/eval.mdresources/briefs/implementation.mdresources/briefs/managed-agents-guide.mdresources/briefs/ops.mdresources/briefs/release-automation.mdresources/briefs/release.mdresources/briefs/test.mdresources/phase-executor-briefs.mdresources/reviewer-personas.mdresources/scope-criteria.mdscripts/engineering_advance.pyscripts/engineering_agents.pyscripts/engineering_eval.pyscripts/engineering_gc.pyLifecycle orchestrator: drive AI-native projects across 7 fixed phases via structured JSON artifacts.
.engineering/ at project root. Phases communicate only through artifacts on disk.discovery.approved, architecture.approved, release.approved).scripts/ over hand-editing JSON. Never hand-edit .engineering/*.json when a script exists.| # | Phase | Artifact | Upstream |
|---|---|---|---|
| 1 | discovery | requirements.json | user |
| 2 | design | design-spec.json | discovery |
| 3 | architecture | stack.json + adrs/ | discovery |
| 4 | implementation | campaign-ref.json | design + architecture |
| 5 | test | test-report.json | implementation |
| 6 | release | release-checklist.json | test |
| 7 | ops | metrics.json + incidents/ | release |
/harness-engineering init "goal" → create .engineering/ + auto-drive
/harness-engineering status → one-screen view (no loop)
/harness-engineering phase <name> → enter phase, print upstream + schema
/harness-engineering advance → validate + advance
/harness-engineering revise <p> → mark upstream revising; downstream → stale
/harness-engineering lint → cross-phase consistency
/harness-engineering insight ... → capture/list/address insights
/harness-engineering reset → archive .engineering/, start fresh
/harness-engineering gc → engineering_gc.py (dry-run by default)
On init/resume, loop: read lifecycle.json → load resources/briefs/{current}.md → dispatch Agent(general-purpose) to fill the phase artifact → run engineering_advance.py. Exit codes: 0 advance, 1 retry (max 2), 3 loop detected (stop), 42 risk gate (pause). Multiple "ready" phases dispatch in parallel. Implementation delegates to harness-plan. See REFERENCE.md for full protocol and decision principles.
harness-plan for implementation phase. Check:
test -f ~/.claude/skills/harness-plan/SKILL.md || find ~/.claude/plugins -path '*/harness-plan/skills/harness-plan/SKILL.md' -print -quit | grep -q .harness-discipline — when installed, advance prefers /completion-verify for the implementation gate; design/implementation briefs invoke /tdd-plan and /change-spec. Without discipline, a degraded inline path produces same verdicts with less structured evidence. See docs/dedup-matrix.md..engineering/lifecycle.json — master state (also holds eval_baseline).engineering/{phase}/ — per-phase artifacts + archive/.engineering/eval/cases/EVAL-NNN.json — distilled regression cases (Phase 5).engineering/eval/runs/run-<ts>/result.json — eval execution records.engineering/metrics/phase_runs.jsonl — append-only execution metrics.engineering/decisions.jsonl — append-only decision audit trail.engineering/insights.jsonl — append-only cross-phase insightsAGENTS.md (project root) — cross-tool role contract; auto-generated and refreshed on phase transitions. Hand-edits outside BEGIN/END markers preserved.@file resources/.... Inlined schemas drift; referenced ones stay consistent./security-review + multi-persona reviewers; release should not re-run them. See docs/dedup-matrix.md.AGENTS.md template (Phase 3+) so the role contract is the single source of truth across tools.engineering_*.py. Only the auto-drive loop calls those. Subagents write artifacts; the loop validates and advances.harness-plan — drives the implementation phase./tdd-plan — used inside design/implementation briefs./change-spec — used to break large features into reviewable units./completion-verify — canonical executor for test gate.caveman + git-guardrails — recommended in autodrive.See REFERENCE.md, EXAMPLES.md, TROUBLESHOOTING.md, docs/principles.md, docs/architecture.md, docs/phases.md.
Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub suntao2yl/claude-skill-engineering --plugin harness-engineering