harness-engineering-culture
Installation
SKILL.md
Harness engineering culture
Build environments where agents execute and humans steer—through legible tooling (CLI, MCP, hooks, skills) and docs that agents can navigate without a monolithic manual.
Primary reference: Harness engineering (OpenAI).
Local patterns: CLI vs MCP separation (dual interfaces), schema and adapter registries.
Core beliefs
- Missing capability → harness gap — When an agent fails, ask what is not legible or enforceable, then add CLI command, MCP tool, linter, or skill—not “try harder.”
- Ambiguous design → decision checkpoint — Before coding a fork (CLI vs MCP split, new tool surface, schema shape), use
adr-recordslayer 0 (decision checkpoints); recordacceptedADR after agreement—not drive-by architecture. - CLI + MCP = thin interfaces; core = logic — MCP and CLI are agent-facing APIs only. Domain logic, schemas, and registries live in core packages; both surfaces call the same entrypoints. CLI for CI/
doctor/contracts; MCP for chat. Divergence is a bug (core pattern). - Docs are the system of record — Versioned markdown in git; Slack/docs outside repo are invisible to agents.
AGENTS.mdis a map (~100 lines), not an encyclopedia. - Mechanical enforcement — Linters,
make check-*,pnpm run validate, schema validation at boundaries—error messages teach the agent how to fix. - Progressive disclosure — Router → ADR / DESIGN_FAQ (why) → DX_FAQ (how) → skills (procedures) → code (behavior SSOT).