# Pull request review loop

A step of the [Claude Code development environment](https://gradus.kazet.blog/tree/claude-dev-environment) tree on Gradus, in the Guardrails area: Permissions, verify, review.

Page: https://gradus.kazet.blog/tree/claude-dev-environment/step/review-loop

Have every assistant-written change land through a pull request that a reviewer subagent and CI check before a person merges it.

Usually comes after: [A single verify command](https://gradus.kazet.blog/tree/claude-dev-environment/step/verify-command).

## Prompt for your AI assistant

```
Set up a workflow where changes are pushed to a branch and opened as a pull request with a generated description. Add a CI job that runs the verify command and a review step that runs the reviewer subagent on the diff. Document the loop in CLAUDE.md so the assistant follows it without being asked.
```

Every step of the tree: https://gradus.kazet.blog/tree/claude-dev-environment/llms.txt
