r/ChatGPTCoding • u/EnvironmentalAir1691 • 21h ago
Resources And Tips I stopped letting my coding agent sign off its own work. Open-source skill that splits QA into separate roles
The pattern I kept hitting with AI coding agents: the same agent writes the code, writes the tests, fixes the failures and declares it done. That's one reviewer with a stake in the answer.
Real QA teams split those jobs on purpose. So I wrote enhance-qa, a skill for Claude Code and Codex (with setup for Cursor, Copilot, Gemini CLI and Antigravity) that does the same:
• Scout: maps the product and writes the test checklist (read-only)
• Testers: black-box and exploratory testing with evidence (read-only)
• Verifier: a fresh agent that must reproduce each bug before it's filed and re-checks each fix (read-only)
• Fixer: one commit per bug, starting from a failing test. The only role that edits code
• Lead: plans the pass and gives a go/no-go
It keeps a qa/ folder of plain Markdown in the repo, so later builds get a smoke test, fix verification and regression testing around what changed. A release pass runs full regression and ends in a go/no-go report.
Bugs only, no feature wishes. It asks before touching data, auth, payments or dependencies, and never pushes or deploys.
MIT: https://github.com/rohanvijaykumar/enhance-qa
Curious how others handle this. Do you use a second model or agent to check the first one's work?
2
u/Kodenstudio 19h ago
I always get stuck on the "must reproduce" part of these QA flows. The bugs that burn me the most are timing-dependent — sometimes they only fire every 15th run. If a verifier needs a clean 100% reproduction before filing, those just drop into the void. The bug ships because the system "couldn't reproduce it." I ended up just having mine log a reproduction count instead of a strict yes/no. "3 out of 10" gets filed as flaky. Just curious if that's a problem you run into with this skill, or if the code it's reviewing is mostly deterministic?
1
u/Comprehensive-Dog35 19h ago
Out of curiosity, what are you currently developing, and how involved are you personally in the coding and testing process?
I'm currently developing my own beginner-friendly programming language and engine. I use AI as an assistant to help me learn and develop my ideas, but I also test the functionality myself, question the code and often spot errors that AI misses.
I'm still learning as I go, so it's interesting to see how other people use AI in their development process. My goal isn't just to create something that works, but to understand how it works too.
1
u/Best_Researcher491 15h ago
I read the README on main (705226b). The fixer row says one bug per commit, a failing test first, and that it cannot edit the checklist or close its own bugs.
The stops list I saw has four items: first-run kickoff, a one-line OK before an unusually large run, a pace check, and the go/no-go. I did not run it.
1
u/Substantial_Gap_6676 14h ago
Yes, and for me the useful part was limiting what the reviewer gets to see. I give it the original task and the diff, nothing else. No chat history and no summary from the agent that wrote the code, because that summary is where the "it's done" framing sneaks in. I ask for specific problems with file and line, not a pass or fail. And I read the test changes myself before anything else, since a writer agent will sometimes loosen an assertion just to get green.
1
u/Right-Performance-93 3h ago
a second agent only helps if it cannot edit the tests the first one wrote. if both can change the checks, a pass is just the two of them agreeing.