<aside> 💡 This page gives you the Claude Code plugin that checks every commit and verifies that everything works before a pull request goes to GitHub, so reviewers stop being your bug catcher.

</aside>

The plugin

How to set it up

  1. List the errors that keep reaching your pull requests, such as failing tests or broken builds, and decide what "everything works" means for your project.
  2. Create a Claude Code plugin and put your project's tools and rules in it, so Claude loads them every session.
  3. Add the verify and check steps that prove your project works, using the commands you already run by hand.
  4. Connect the plugin to your commits so each commit triggers it automatically.
  5. Make the pull request step depend on the checks passing, so nothing goes to GitHub while a check fails.
  6. Test it on a commit that you know is broken and confirm the pull request is blocked, then fix the commit and confirm it goes through.

<aside> ⚠️ Watch out: the plugin only protects you if the pull request really waits for it, so check that a failing commit stops the pull request instead of just printing a warning.

</aside>

Prompt to build your own

You are helping me build a Claude Code plugin that checks my code on every commit and only lets the pull request go to GitHub once the checks pass.
My project: <language and framework>
My repository host: GitHub
How I verify the project works today: <test, build and lint commands I run by hand>
Errors that keep reaching my pull requests: <examples>
Build the plugin so that:
- It is a Claude Code plugin: a bundle of tools and rules that Claude loads every session.
- Every commit triggers it automatically.
- It runs my verify and check commands and confirms everything works.
- The pull request is only created or pushed to GitHub when every check passes, and it is blocked with a clear message when one fails.
- It makes no changes outside this repository and stores no secrets in the plugin files.
Return: the plugin file structure, the full contents of each file, step-by-step instructions to install it, and a test I can run with a deliberately broken commit to prove the pull request is blocked.

Watch the video · More free guides · Follow @manrajtalks for the next one.