gh-pr-review-fix
GitHub PR Review Fix
Use this skill as the sole GitHub PR review remediation workflow.
Autonomous Invocation
If the user explicitly invokes $gh-pr-review-fix with no extra detail:
- Read the repo
AGENTS.md. - Infer the target repo and PR with
scripts/prepare_pr_bundle.py. - Fetch a normalized unresolved-thread bundle.
- Prioritize valid findings by file and severity.
- Apply the minimal fixes that fully resolve the findings.
- Run repo-native verification.
- Create one scoped conventional commit and push if checks pass.
- Re-fetch unresolved threads and continue until zero remain or the workflow is blocked.
Stop and ask only when the repo/PR cannot be inferred, GitHub auth is unavailable, the worktree is too ambiguous to safely stage, or repo policy conflicts with automatic remediation.
Workflow
- Read the repo
AGENTS.md. - Prepare the target bundle:
python3 scripts/prepare_pr_bundle.py --out <json>- or pass
--repo,--pr, or--urlwhen the target is known
- Render the review summary:
/home/bjorn/.codex/skill-support/bin/review-pack render --input <json> --format md
- Work file-by-file:
- resolve correctness and safety findings first
- prefer reviewer suggestion blocks when they are valid
- keep changes minimal and scoped
- Verify with repo-native checks before considering a finding done.
- Use
$commitonly if you need help staging a mixed tree; otherwise keep this workflow self-contained. - Re-run
scripts/prepare_pr_bundle.pyafter each pass to confirm what remains unresolved. - If the task becomes passive or continuous monitoring rather than active remediation, switch to
$babysit-pr.
Use When
- The user asks to fix GitHub PR review comments end-to-end.
- The current task is centered on unresolved review threads in a PR.
Do Not Use When
- The input is a local review file, Codex review, Zen review, or manual notes.
- The task is passive PR monitoring.
- The task is only CI remediation with no review-thread context.
Direct Tool Policy
- Use GitHub CLI or GitHub connector/API as the source of truth for PR metadata and review threads.
- Use Context7 for current API docs when the fix touches changing library APIs.
- Use Exa or
web.runonly when a review fix needs current external confirmation. - Do not route through
context7-researchorweb-research-stack.
Outputs
- normalized PR review bundle
- short prioritized remediation summary
- verified fixes
- commit and push summary when a commit is created
- terminal status:
completed,blocked, orneeds-user
Resources
scripts/prepare_pr_bundle.py
More from bjornmelin/dev-skills
streamdown
|
13pytest-dev
World-class pytest engineer for Python: write/refactor tests, fix flakiness, design fixtures/markers, add coverage, speed up suites (collection/runtime), and optimize CI (GitHub Actions sharding, xdist parallelism, caching). Use when asked about pytest best practices, pytest 9.x features (subtests, strict mode, TOML config), pytest plugins (xdist/cov/asyncio/mock/httpx), or test performance/CI tuning.
5dmc-py
|
4supabase-ts
Production-ready Supabase integration patterns for Next.js/React/TypeScript applications. Use when working with Supabase for (1) SSR authentication with @supabase/ssr, (2) Database operations and migrations, (3) Row Level Security (RLS) policies, (4) Storage buckets and file uploads, (5) Realtime channels and presence, (6) Edge Functions with Deno, (7) pgvector embeddings and semantic search, (8) Vercel deployment and connection pooling, (9) CLI operations (type generation, migrations). Triggers on Supabase client setup, auth patterns, RLS policies, storage uploads, realtime subscriptions, Edge Functions, vector search, or Vercel+Supabase deployment.
2bun-dev
Definitive, rule-first Bun development/build/runtime guidance + automation. Use when adopting Bun, migrating a repo from Node.js, auditing/fixing Bun package management (bun.lockb, bun install), optimizing scripts/monorepos (bun run --parallel/--sequential, --workspaces/--filter), configuring Bun + TypeScript, using bun test/build, tuning performance, or deploying Bun workloads/Vercel Functions with the Bun runtime (bunVersion, limitations, Next.js ISR scripts).
1convex-audit
Audit a Convex-backed codebase for schema quality, security, runtime boundaries, migrations, and function-surface risks. Use when the user asks for a Convex review, backend audit, contract analysis, or remediation plan. Do not use for green-field feature-spec generation; use convex-feature-spec for that.
1