git-plugin/skills/git-fix-pr/SKILL.md
Analyze and fix failing PR checks. Use when asked to fix a PR, resolve red CI checks, auto-fix lint/test failures, or reproduce CI errors locally before pushing.
npx skillsauth add laurigates/claude-plugins git-fix-prInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| Use this skill when... | Use the alternative when... |
|---|---|
| Fixing failing CI checks on an existing PR (lint, type, test) | Use git-pr-feedback to address reviewer comments rather than CI failures |
| Reproducing red GitHub Actions runs locally before pushing corrections | Use gh-workflow-monitoring to passively watch a run rather than fix it |
| Auto-applying lint/format/type fixes and pushing them to the PR branch | Use git-conflicts when the failure is a merge conflict, not a check |
| Diagnosing why a pull request is red after a push | Use git-triage to sweep many PRs at once instead of fixing one |
git remote get-url origingit branch --show-currentgit status --porcelain=v2 --branchgit diff --cached --numstatgit diff --numstatgit log --format='%h %s' --max-count=5Parse these parameters from the command (all optional):
$1: PR number (if not provided, detect from current branch)--auto-fix: Automatically apply fixes for common issues--push: Push fixes to the branch after committingAnalyze and fix failing PR checks.
gh pr checks <pr-number> or mcp__github__pull_request_readBased on failure type:
Linting errors: Run appropriate linters/formatters
# Python
uv run ruff check --fix .
uv run ruff format .
# JavaScript/TypeScript
npm run lint -- --fix
Type errors: Fix type annotations or implementations
Test failures: Fix failing tests or implementation bugs
git add -ugit commit -m "fix: resolve CI failures"git push| Check Type | Common Fixes | |------------|--------------| | Linting | Run formatter, fix import order | | Types | Add type annotations, fix mismatches | | Tests | Fix assertions, update snapshots | | Build | Fix imports, resolve dependencies |
tools
Scaffold a new ComfyUI custom-node repo (pyproject, CI, release-please, vitest+pytest, JS extension skeleton) in the picker/gesture vein. Use when bootstrapping or init-ing a comfyui node pack.
tools
Orchestrate a ComfyUI node pack from idea to registry: scaffold, create + seed the repo, open the gitops adoption PR. Use when releasing or spinning up a new comfyui node pack.
testing
macOS EndpointSecurity/EDR high CPU & battery drain. Use when Kandji ESF / XProtect pegs a core; trace the exec storm via powermetrics + eslogger.
development
odiff pixel-by-pixel image diffing. Use when comparing screenshots, detecting visual regressions, diffing before/after PNGs, asserting golden images.