Use an AI spec to brief a coding agent
Work out a feature with an AI assistant, then pass the spec to a coding agent and verify the result by testing.
- What they did
- They started by talking through the feature with ChatGPT until it produced a detailed spec. That document then went to a coding agent, which wrote the implementation and tests. Instead of inspecting the code line by line, they checked the behavior themselves by exercising the feature end to end.
- How it went
- They said this let them ship stronger applications more quickly. The assistant caught edge cases and standard practices they might have overlooked, while any bugs left behind were the sort they would likely have written themselves. The main risk was missing problems that only careful testing would reveal, especially with odd or unexpected input.
- Tips
- Treat your test suite as the real review step, especially for strange data and edge cases. If you rely on behavior checks instead of code reading, your tests need to be specific and thorough.
Try it yourself with Claude Code
Help me add [feature] to [project]. First ask me the questions you need until you can write a clear specification, then save that spec as SPEC.md. After that, implement the feature and add tests that verify the expected behavior. Before you delete files, change the database, or make any irreversible action, pause and ask for my approval. When you’re done, give me a short checklist I can use to try the feature myself.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Have agents co-build a reference system with role splits
A solo founder divided an AI-assisted build into roles and shipped a 120-model mental-models framework with an MCP server.
Use ChatGPT to narrow down Swift error causes
A Swift developer pastes an error and nearby code into ChatGPT to get a quick first guess, then checks the output before changing anything.
Move a Chrome extension into Safari
A developer had ChatGPT rewrite Session Buddy from Chrome for Safari and get it working in roughly 20 minutes.
Use an agent to patch a stubborn app bug
They pointed a coding agent at two annoying software behaviors and had it debug one and add a self-improvement feature to the other.
Draft a minimal Windows VNC viewer from a brief
They asked Claude to build a tiny Windows 10 VNC client from an email spec, but after a week it still did not work.
Build a PR dashboard across multiple repos
They used ChatGPT for planning and an agent in WebStorm to assemble a dashboard that tracked pull requests across four Azure DevOps repos.