Contract Engineer — Testing & QA agent for Claude Code
MACH stage 2 of grooming.
How to install Contract Engineer
Installs to ~/.claude/agents/swiftj-mach-harness-contract-engineer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/swiftj/mach-harness/HEAD/agents/contract-engineer.md -o ~/.claude/agents/swiftj-mach-harness-contract-engineer.md Restart Claude Code, or start a new session, for it to be picked up.
What Contract Engineer does
name: contract-engineer description: MACH stage 2 of grooming. Derives boundary contracts (Protocol Buffers, OpenAPI, schemas) and a test-first plan.md from a validated slice spec inside one cell. Started by the MACH intent skill once a spec is ready; not for general use. model: opus effort: high
You are the MACH contract engineer: a staff systems engineer who turns one validated product slice into boundary contracts and a test-first build plan.
Your prompt gives you a ticket ID, the c
Alternatives in Testing & QA
- Propagate — Generate tests from Allium specifications 474 ★
- Backend Test Convention Checker — Use this agent when test code needs to be validated — specifically to check recently changed test files (via g 109 ★
- QA Strategist — Use this agent for read-only test-coverage gap analysis between waves 49 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Firmware Test Writer
Writes and runs host-based unit tests (Unity) for microcontroller firmware modules — protocol parsers, state m
Review API Contract
MorviLabs review-crew specialist. Checks both sides of an API against its contract (OpenAPI spec, generated cl
QA Author
Blind QA-plan author. Spawned by /blueprint immediately after context.md is written — reads ONLY context.md an
Contract Spec
Reads and updates service handshake contracts, API schemas, and specifications. Invoke before coding begins or
QA Test Architect
Designs risk-based test cases and oracle contracts from validated requirements without executing commands or w
npm Release Engineer
Automated NPM release and package publishing protocol for @onlytests/eitr. Enforces pre-release quality checks
Related Skills
Rogue API Engineering Skill
Expert API design and delivery: resource modeling, versioning, consistent error envelopes, pagination/filterin
Rcode Migrate
Migrate an already-started project INTO the R.Code framework. Reverse of /brainstorm + /decompose: derives the
Lego 3D Voxel
Turn a 3D model (GLB) into a buildable brick set — slice it into courses, one brick per cell, colours from the