read-only-gh-pr-review/skills/read-only-gh-pr-review/SKILL.md
Review backend pull requests for correctness, security, performance, maintainability, and test coverage using GitHub CLI plus local repository inspection. Use when asked to review service-layer/API/database changes, audit backend branch diffs, summarize backend risk, or produce actionable must-fix/should-fix feedback.
npx skillsauth add jawwadfirdousi/agent-skills read-only-gh-pr-reviewInstall 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.
Review backend pull requests end-to-end using local code analysis and GitHub CLI API calls. Report only actionable, high-signal findings.
SemanticSearch, WebSearch, Grep, LS, Glob, Read, Shell, GitHub CLI.gh command, source the read-only environment script to enable security enforcement:
source "<SKILL_DIR>/scripts/activate-gh-readonly.sh"
Replace <SKILL_DIR> with the absolute path to this skill directory.gh commands directly—they are intercepted by the read-only wrapper.gh auth status. If not authenticated, ask the user to run gh auth login.command gh and other bypass attempts.source "<SKILL_DIR>/scripts/activate-gh-readonly.sh"gh commands in this shell session are now protected.gh auth status, gh api user.-R <OWNER>/<REPO>.gh pr view <PR_NUMBER> [--json <fields>] when PR number is known.gh pr list [flags] and pick the target PR.headRefName).git fetch --prune origin <HEAD_BRANCH>.FETCH_HEAD or check out a local review branch from it.gh pr view <PR_NUMBER> [--json <fields>]gh pr diff <PR_NUMBER> [--patch|--name-only]gh api repos/<OWNER>/<REPO>/pulls/<PR_NUMBER>/files --paginategh api repos/<OWNER>/<REPO>/pulls/<PR_NUMBER>/reviews --paginategh pr checks <PR_NUMBER> [--json <fields>]gh pr view <PR_NUMBER> --commentsgh api repos/<OWNER>/<REPO>/issues/<PR_NUMBER>/comments --paginategh api repos/<OWNER>/<REPO>/pulls/<PR_NUMBER>/comments --paginateRead, Grep) and correlate with diff hunks.gh api repos/<OWNER>/<REPO>/contents/<PATH>?ref=<REF> when exact remote content is needed (content is usually base64 in .content).references/review-checklist.md.file:line, impact, and concrete fix guidance.Use this section order:
Critical Issues (Must Fix)Important Issues (Should Fix)Suggestions (Consider)Good Practices NotedFor each issue, use:
Issue: <brief description>
Location: <file:line>
Severity: <Critical|High|Medium|Low>
Problematic Code: <snippet or precise behavior>
Suggestion: <specific fix>
Example: <optional patch-style snippet>
Use command mappings in references/github-cli-map.md.
development
Manage Trello boards, lists, and cards via the Trello REST API.
development
create, edit, review, validate, and package high-quality svg graphics, icons, illustrations, diagrams, logos, charts, patterns, and inline svg code. use when the user asks to make a beautiful svg, generate an .svg file, fix or optimize svg markup, convert a visual concept into svg, design an icon system, or verify svg accessibility, safety, path data, viewbox, gradients, masks, filters, and browser-safe rendering.
development
Run Supabase Management API SQL for persistent data tasks such as querying records, applying schema changes, managing policies, and handling storage metadata. Use when requests involve Supabase database CRUD, migrations, or production-like data inspection.
testing
Execute read-only SQL queries against PostgreSQL databases. Use when: (1) querying PostgreSQL data, (2) exploring schemas/tables, (3) running SELECT queries for analysis, (4) checking database contents. Supports multiple database connections with descriptions for auto-selection. Blocks all write operations (INSERT, UPDATE, DELETE, DROP, etc.) for safety.