Vibe Coder · Unit 11: Connectors, MCP and Workflows · Lesson 9 of 9
A CI workflow
Engineers: run checks and an agent review automatically on every pull request, so problems surface before merge.
Read the short notes and pictures.Do everything inside a blue frame.
Checks on every change
Continuous integration runs your checks automatically whenever code is proposed. Adding an agent review to the same pipeline gives every pull request a first pass, and branch protection makes the result binding.

Building the pipeline
Add a workflow file
Ask Claude Code to write it for your stack.
Run the checks
The same commands as in CLAUDE.md.
Add the agent review
With a narrow brief and read-only access.
Protect main
Required checks and one approval.

Add CI to your repository
Add a workflow that runs your checks and an agent review on pull requests, and protect main. Prove it with a pull request that fails, then passes.
Done when
Vercel will add preview deployments to the same pull requests in Unit 15.
Keep these
- CI runs checks on every pull request.
- Add an agent as a first reviewer.
- Protect main.