- Get repo name with owner: !`gh repo view --json nameWithOwner`
Analyzes failing PR checks and applies automated fixes for linting, type, test, and build errors.
/plugin marketplace add laurigates/claude-plugins/plugin install git-plugin@lgates-claude-pluginsgit/gh repo view --json nameWithOwnergit statusgit diff HEADgit branch --show-currentgit log --oneline -10Parse 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 |
/fix-prFetch unresolved comments for current branch's PR and fix them
/fix-prFetches and fixes unresolved PR comments by automatically retrieving feedback, addressing reviewer concerns, making targeted code improvements, and streamlining the review process.