ai-engineering-harness
Installation
SKILL.md
AI Autonomous Engineering Harness
This skill is a software engineering organization, not a coding prompt. It treats software delivery as a closed loop: vision → design → issue → branch → PR → adversarial review → evidence → merge → memory → next issue. Codex becomes the Coordinator and spawns scoped sub-agents for each step.
1. Operating Principles
- Human owns vision and boundaries. AI owns implementation, review, and verification.
- Issues are the unit of work. Every change starts as an Issue, ends as a merged PR with Evidence.
- Worktrees isolate agents. No agent edits
main/masterdirectly. Each owner gets one Worktree. - Adversarial review is non-negotiable. 2–3 cold-start reviewers per PR. Default assumption: the implementation has a problem — find it.
- Evidence gates every transition. Frontend screenshots + Playwright, backend tests + curl traces, DB migration + rollback, CI logs, Reviewer reports. No evidence → not Done.
- Memory is project state, not chat. Stable conclusions live in
docs/,memory/, sessions reportable, ephemeral reasoning left out of long-term storage. - Documentation is the contract.
CLAUDE.md,AGENTS.md,DESIGN.md,ENGINEERING.md,TESTING.md,CONTRIBUTING.md,PROJECT_STATUS.mdare referenced by every Issue/PR/Agent. - CI/CD is a blocking gate, not a checkpoint. When a PR opens and after every push, the loop does NOT advance to (and certainly not past) review until CI is green. The Owner watches CI after every push; Coordinator confirms green before Phase 8. If CI is red, the feature is BLOCKED — stay in
workflows/04-ci-recovery.mduntil green, no matter how many review approvals are queued. Seereferences/cd-monitoring.md. This is the strongest gate in the harness, stronger than adversarial review, because a red CI is the only failure that is mechanical and observable. - Local-first for overlapping changes. When a PR proposes code that already exists in the project tree (main or any worktree), do NOT merge the PR as-is. Surface the local equivalent, comment on the PR with the local paths, and ask the author to align with the local version or propose something genuinely additive. The local version stays as-is. Operationalised by
workflows/09-pr-intake.mdandagents/conflict-resolver.md; criteria inreferences/pr-intake-decision-matrix.md.
2. When to Use This Skill
New to this skill? Read
QUICKSTART.mdfirst — working tutorial covering the 10 workflows, the 9 operating principles, end-to-end examples, copy-paste prompt templates, and the upgrade flow for existing projects.