Manraj Sidhu
Open on TikTok

Stop hoping reviewers catch bugs

3 min readMotion reelClaude & skills352 views

Stop hoping reviewers catch bugs: a Claude Code plugin checks every commit before the PR goes to GitHub.

Our PRs kept landing with errors in them. The fix was one Claude plugin: a backpack of tools and rules Claude loads every session. Now every commit triggers it, it verifies and checks that everything works, and only then does the PR go up.

Plugins are guardrails. The code is correct before anyone else has to review it.

I'm Manraj Sidhu, AI developer, and this is the real setup my team uses. Built with @claudeai @github

Which plugin would you build? Follow @manrajtalks

How to build it

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.

The plugin

  1. A plugin is a backpack of tools and rules that Claude Code loads at the start of every session.

  2. The trigger is a commit: every commit runs the plugin, so nothing depends on someone remembering to run it.

  3. The verify step checks that everything works, before anyone else sees the code.

  4. The gate is the pull request: it goes up to GitHub only after the checks pass.

  5. The result is that plugins act as guardrails, and the code is correct before anyone else has to review it.

  6. The promise is a prompt: the final block on this page is the prompt to paste into ChatGPT (Codex) or Claude Code to build your own version.

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.

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.

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.
  • #ai
  • #claudecode
  • #aicoding
  • #devtools
  • #manrajtalks

Follow for the next one

The longer version, by email

Or subscribe on Substack