Problem
As the only backend engineer on Saroya AI, I needed to ship at the pace of a team without letting quality slide. Coding agents are powerful but drift without structure: they skip tests, ignore specs and pile up technical debt.
What I did
I built a harness of 14 subagents, 22 slash commands and hooks, wired to existing MCP servers (Model Context Protocol, the standard for connecting models to tools). The subagents and slash commands keep the work spec-first and test-first. Every feature starts as a PRD and gets a spec before implementation; significant decisions get an ADR. A 169-test suite backs it.
How it works
- Subagents. 14 specialised agents, each with a defined scope and its own permitted tools.
- Slash commands. 22 commands for common workflows: spec creation, test scaffolding, deployment, cost analysis.
- Hooks. Post Google Chat updates when an issue is raised or solved and when a PR is opened, and scan for secrets such as API keys before anything is pushed.
- MCP servers. Existing servers give the agents real tools: Supabase, Railway, Razorpay, code-review-graph, Context7, Notion, Postman, Firecrawl, Apify and last30days.
- Practices. TDD, spec-driven development, PRDs, ADRs and RCAs.
Limitations
The harness is built for one product and one engineer. Adapting it to a team would need changes to the permission model and to conflict resolution. Source code is confidential. The harness did not catch one bug: testers reported a cross-user data leak, caused by cache entries with no user scoping, and I fixed it.