Context is the new code
Most teams write it once and never touch it. We make it shippable: versioned, reviewed, wired to the checks that prove it works.
One command. Real files.
groundwork init reads your repo, asks five questions,
and writes the files every other command assumes exist.
One canonical AGENTS.md. A 5-line pointer per harness.
ADR scaffolding. A pre-commit hook that fails when context drifts
from the code. No TODO: implement. No 800-line CLAUDE.md.
init works -
your-repo/ -
├── AGENTS.mdcanonical, ~70 lines -
├── CLAUDE.md → AGENTS.mdsymlink -
├── .cursor/rules/main.mdc5-line pointer -
├── .github/copilot-instructions.md5-line pointer -
├── .windsurf/rules/main.md5-line pointer -
├── .context/hooks/check-context.shpre-commit drift -
└── docs/decisions/ -
├── README.md -
└── negative-space.mdrejected paths
Ten commands. Start with three.
initBootstrap a repo with the full context engineering scaffolding.
A new repo, or an existing repo with no CLAUDE.md / AGENTS.md / .cursor/rules yet.
verifyBake test, lint, and typecheck commands into context so the agent self-corrects.
Every repo. Every time. The single highest-leverage move in this skill.
auditScore the repo across the five context layers and name the gaps.
"How good is our AI setup?" Or before a migration, a new-hire, or a handoff.
-
documentDelta-refresh stale context files without nuking history. -
planAuthor a Plan Mode contract before any non-trivial change. -
adrCapture an Architecture Decision Record, including the alternatives you rejected. -
scopeScope rules to file patterns so the right context loads in the right files. -
mcpDesign an MCP setup with least-privilege, human-in-the-loop, and real auditing. -
onboardProduce a task-specific orientation brief for a fresh agent or engineer. -
applyApply a remediation plan produced by `audit --html` to the repo.