Coding agents write code fast.
GroundWork makes sure it's the right code.
A free, open-source plugin for Claude Code, Codex and Devin that turns your AI agent from a fast improviser
into a teammate that plans first, asks before building, and leaves a paper trail.
https://github.com/user-attachments/assets/32a6ebce-19bd-428f-abce-2431fff384e9
▶ Can't see the player? Watch the video on YouTube.
The problem
AI coding agents are incredibly fast, and they are just as fast at making a mess.
- They build from a one-line request. You get the wrong thing, delivered quickly.
- Every session has its own opinion. Two agents, two designs, one confused product.
- The reasoning lives in a chat window. Close it, and the "why" is gone forever.
- Nobody knows who asked for what. When something breaks in production, no one knows whom to call.
- Docs are written once, then rot. New teammates and new agents trust information that is no longer true.
An agent is a skilled craftsperson who never attended the design review. Nothing it needs is written down, so it guesses.
What GroundWork does
GroundWork gives your agent the missing system: a shared, written plan that everyone follows.
Standardize the system. Preserve the craftsmanship.
Before any code is written, the agent interviews you, drafts a short decision document, and waits for your approval. Only then does it plan, build in small steps, and hand over cleanly. It can't skip a step, and it can't approve its own work. The rules are enforced by the tool itself, not by asking the agent nicely.
idea → interview → RFC → you approve → spec → you approve → plan → build → handover
Why you'll like it
You stay in charge.
Nothing gets built until a human approves the plan. Unknowns are flagged instead of guessed, and if the plan changes midway, you decide, and the change is recorded.
Fewer rework loops.
The agent asks its questions up front, as clickable choices instead of walls of text. You catch a wrong assumption in minutes, not after a week of code.
Work never gets lost.
Close the laptop, switch teammates, or start a fresh session. GroundWork shows what's in flight and resumes exactly where work stopped, without asking the same questions twice.
Always know who to call.
For every feature and bug it records who requested it, who owns it, who built it, who deployed it, and who supports it. One command answers "whom do I call?" during an incident.
Bugs get fixed properly.
A bug is treated as a broken requirement. It has to be diagnosed and get a regression test before anyone touches the code.
Every repo looks the same inside.
Business logic, connections to outside systems (LLMs, databases, APIs) and settings each have one fixed folder, so people and agents know where to look. An existing repo is never restructured unless you choose to migrate it. If you keep its structure, new code follows the patterns already there. Either way, every repo gets a CODEMAP.md, generated from the code. It shows which folder holds what, where outside systems are called and where settings are read.
The same quality bar, whichever agent writes the code.
Each repo records one set of code quality tools: GroundWork's standard formatter, linter, type checker and test runner, or your own. One command, verify, runs them after every task. Ten coding rules in AGENTS.md target the mistakes agents make most, and other agents read that file too.
Secrets stay out of git.
Code reads credentials only from environment variables, which locally come from a .env file that GroundWork makes sure git ignores. A committed .env or an API key pasted into code is caught by the check, which never shows the key itself.
Docs that stay true.
GroundWork notices when the code or architecture moves on and flags the documents that are now out of date.
Answers you'll actually read.
The agent is told to answer first, in plain words, and keep it short, without dropping the caveats, risks or next steps you need.