What to hand a coding agent, and what to keep
Agents can take a well-planned card to a tested pull request. You keep the plan, the review and the merge.
✓ Your workspace passed this lesson's check
Coding agents have moved well past autocomplete. Given a clear card, an agent can read the code, make the change on a branch, write tests, run them and open a pull request. At Shogo, the product is built this way: a planner agent writes the plan, developer agents build, a QA agent reviews and tests, and a person reviews and merges.
Good jobs for an agent
- Well-scoped features and fixes. A card with a plan and acceptance criteria.
- Bug reproduction. Turning a bug report into a failing test before anyone fixes it.
- Tests. Adding the missing tests around code you're about to change.
- Refactors with a safety net. Renames, extractions and upgrades where tests prove nothing changed.
- Investigation. "Why is this endpoint slow?" with evidence: queries, timings, the lines responsible.
- Docs and PR descriptions.
Jobs you keep
- Architecture and trade-offs. Which approach, what to give up and why.
- Deciding what "done" means. The acceptance criteria are yours, even if an agent drafts them.
- Review and merge. A person reads the diff and owns what goes to main.
- Production access. Deploys, migrations on live data, secrets.
The size of a good card
Too big ("rebuild billing") and the agent makes decisions you didn't want. Too small ("rename this variable") and you'd be faster yourself. Aim for one reviewable pull request: a change you can read and test in under half an hour.
Here's our backlog: [paste 10 items].
For each, say whether it's ready for a coding agent (clear problem, small enough for one reviewable PR, testable), needs planning first, or needs a human decision. For the "needs planning" ones, list the questions that must be answered.You're done when: you've sorted ten backlog items and found at least two that are ready for an agent.
Lesson coach
Checking your access…