A pull request template makes coding agents show what they checked and skipped
A dev.to post shares a simple template that makes an AI coding agent report what it verified, what it left undone and what sensitive files it touched.
The short version
- Agent-written pull requests are often long and polite but leave out what was actually verified.
- The template lives at .github/pull_request_template.md, and AGENTS.md tells the agent to fill every section.
- Sections: task, changes, how it was verified, what was not done, sensitive files touched, and environment.
- The 'verified' section must list real commands and results, not claims like 'all tests pass'.
- A template makes the information complete, but it can't prove it is true, so reviewers should spot-check.
The problem with agent pull requests
A pull request is a proposed code change that a teammate reviews before it is merged. As dev.to reported, the Sandscale team noticed that pull requests written by AI agents tend to be long and courteous but missing the key facts.
What did the agent actually check? What did it skip? Did it quietly change something else along the way? Reviewers end up digging the answers out of the diff, the line-by-line record of changes.
Why it matters
Writing code is getting faster, so review is where mistakes get caught. A fixed template moves the summarizing work to the agent and shows the reviewer where to look first. It costs nothing to adopt and works with any coding agent that reads an instructions file.
The template, section by section
The fix is plain: give the agent a template and make it fill it in every time. The file goes in the repository at .github/pull_request_template.md. A line in AGENTS.md, the instructions file agents read, tells it to complete every section and write "none" where nothing applies.
- Task: the ticket number and a one-sentence goal.
- What changed: a one-line entry per file or module.
- How it was verified: the commands actually run, and whether they passed or failed.
- Not done or uncertain: unfinished parts and doubts.
- Sensitive places: checkboxes for test files, CI or hook settings, agent instruction files and dependency or lock files.
- Environment: which machine or workspace the work was done on.
Why each part earns its place
The authors say to write commands, not feelings. "Tests all pass" can't be checked, but "ran pnpm test, passed" can be rerun by the reviewer on the same machine.
They call the "not done or uncertain" section the most valuable. Agents tend to report success, so a dedicated space for gaps tells the reviewer where to look hardest.
The checkboxes help with priorities. Changes to tests, CI, the agent's own instructions or dependencies deserve attention first, and a tick box is much faster than hunting through a long diff.
What a template can't do
The post is candid about the limit. A template makes information complete, not truthful. An agent could write "verified" without running anything.
So the reviewer should rerun at least one command from the verification section. The authors add that one agent per machine, one branch and one templated pull request lets reviews move steadily, one at a time.
What to watch
- Whether agents fill in the 'not done' section honestly or just write 'none' every time
- Whether teams add more checkboxes for risky files as they learn where agents slip
Try it
Copy the six headings into .github/pull_request_template.md, add a line to your agent's instructions to fill every section, and rerun one listed command on your next review.
More stories
Get The Daily
AI news, explained in 5 minutes a day. Free. The first issue is coming soon.
No password. Unsubscribe any time. Privacy
Say why
Liked it? Say why
Add a line for other readers.
No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.
Sources
The reporting and documents this story is built from. Each link opens the original.
- ReportingDEV Community: the article we sourced dev.to
Written with AI by the SI Agent News Desk from the reporting above. Every number is checked against it.Spot a mistake or a concern? Contact us · Corrections.

Claude
Claude
Claude