git-bisect-pr-review
Two skills in one plugin: (1) Automated git bisect for regression hunting — establishes boundaries, runs `git bisect run` with reproduction
Open source Repository Open in the app JSON README (API)
About
Two skills in one plugin: (1) Automated git bisect for regression hunting — establishes boundaries, runs `git bisect run` with reproduction commands, analyzes the culprit commit, and suggests fixes. (2) Structured PR review — loads PR context via `gh` CLI, reviews across five dimensions (code quality, test coverage, security, performance, CI status), posts inline and general comments, handles approvals, and merges with the repo's preferred strategy. Includes safety rails: never merges without user confirmation, never force-pushes to protected branches. Requires `gh` CLI.
Details
- Kind
- Plugins
- Topic
- Version control
- Publisher
- pierre-louis242
- Origin
- marketplace
- Category
- ferramentas
- Last push
- 2026-04-06T14:00:24Z
- Repository state
- ativo
- License
- MIT
- Added
- 2026-08-30 01:48:58
- Updated
- 2026-08-30 01:48:58
- Origin id
pierre-louis242/git-bisect-pr-review/git-bisect-pr-review
README
# git-bisect-pr-review A Claude Code plugin for hunting regressions with `git bisect` and managing pull requests — review, comment, approve, and merge — all from the terminal. ## What it does Two integrated workflows in one skill: ### Part A: Git Bisect — Regression Hunting 1. **Establish boundaries** — Identify good/bad commits and build a reproduction command 2. **Automated bisect** — Runs `git bisect run` with your repro command, or guides you through manual bisect steps 3. **Analyze the culprit** — Shows the breaking commit, its diff, context, and associated PR 4. **Suggest a fix** — Recommends revert, targeted fix, or deeper investigation based on the root cause ### Part B: PR Review — Comment, Approve, Merge 1. **Load PR context** — Fetches title, body, diff, CI status, and existing reviews via `gh` CLI 2. **Structured review** across five dimensions: code quality, test coverage, security & performance, change overview, CI status 3. **Post comments** — Inline comments on specific lines, general PR comments, or formal reviews (approve / request changes) 4. **Merge** — Detects the repo's preferred merge strategy and merges with user confirmation 5. **Cleanup** — Deletes remote/local branches, switches back to main ### Combined flow Bisect → create fix branch → apply fix → open PR → self-review → merge (with user confirmation at every destructive step). ## Prerequisites - **`gh` CLI** installed and authenticated: `gh auth login` ## Install ### As a plugin (recommended) ```bash # From a marketplace (once registered) /plugin install git-bisect-pr-review@<marketplace-name> # Or locally for development/testing claude --plugin-dir /path/to/git-bisect-pr-review ``` ### As a standalone skill ```bash git clone https://github.com/Pierre-louis242/git-bisect-pr-review.git /tmp/git-bisect-pr-review cp -r /tmp/git-bisect-pr-review/skills/git-bisect ~/.claude/skills/git-bisect cp -r /tmp/git-bisect-pr-review/skills/pr-review ~/.claude/skills/pr-review ``` ## Usage The skill triggers automatically when relevant. You can also invoke it directly: ``` # As plugin /git-bisect-pr-review:git-bisect-pr # As standalone skill /git-bisect-pr ``` Or describe what you need: ``` > This test used to pass last week, find which commit broke it > Review PR #42 > Add a comment on PR #42 about the error handling in utils.ts > Approve and merge PR #42 > Find when the login page regression was introduced ``` ## Plugin structure ``` git-bisect-pr-review/ ├── .claude-plugin/ │ └── plugin.json ├── skills/ │ ├── git-bisect/ │ │ └── SKILL.md │ └── pr-review/ │ └── SKILL.md ├── README.md └── LICENSE ``` ## Safety - **Never merges without explicit user confirmation** - **Never force-pushes** to main/master/develop - Always checks CI status before approving or merging - Stashes uncommitted changes before bisect, restores after - Review comments are constructive — suggests fixes, not just problems ## Contributing Issues and PRs welcome. Ideas for improvement: - Flaky test detection during bisect (re-run N times) - Integration with Jira/Linear for auto-linking regressions to issues - PR review templates per project type ## License MIT