agentleFS
kaeawckaeawc/auto-mobile/skills/pr-analysis/SKILL.md

pr-analysis

Skill56 starsChanged 34 days agoApache-2.0View on GitHub

Use this workflow skill for a deep, read-only PR review covering intent, code quality, regression risk, test gaps, and feedback status; prefer it over check-ci when the request is broader than CI triage.

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 3 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Always collect GraphQL review-thread state: unresolved and outdated threads are not represented reliably by flat comment views.

    line 15
  2. Distinctive:

    Read full changed files from the PR branch and the base branch, not just diff hunks.

    line 18
  3. Distinctive:

    If validation is warranted, run the lightest relevant repo validation rather than a blanket heavy build.

    line 20
  4. Very specific:

    Prefer gh for PR metadata and CI data.

    line 25
  5. Distinctive:

    Keep the analysis read-only unless the user explicitly asks for fixes.

    line 30
  6. Very specific:

    When saving large diffs or logs, put them in scratch/.

    line 31

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

PR Analysis

Perform a read-only PR review that covers intent, correctness, regression risk, tests, and existing feedback.

Workflow

  1. Resolve the PR with gh pr view <pr> --json ... and capture the head branch, base branch, title, and body.
  2. Gather context with gh pr diff, gh pr diff --stat, gh pr checks, and all paginated review, inline, and conversation comments plus review verdicts.
  3. Always collect GraphQL review-thread state: unresolved and outdated threads are not represented reliably by flat comment views. Reuse github-pr-feedback for the collection and the ledger.
  4. Read full changed files from the PR branch and the base branch, not just diff hunks.
  5. Find related callers, interfaces, and tests in the local codebase.
  6. If validation is warranted, run the lightest relevant repo validation rather than a blanket heavy build.
  7. Produce findings first, then open questions, then a short summary.

Repo Rules

  • Prefer gh for PR metadata and CI data.
  • Prefer repo validations:
    • TypeScript: bun run lint, bun run build, bun test
    • Fast checks: bash scripts/all_fast_validate_checks.sh
    • Android or iOS only when the PR actually touches those areas
  • Keep the analysis read-only unless the user explicitly asks for fixes.
  • When saving large diffs or logs, put them in scratch/.

Output Structure

  • Findings ordered by severity with file:line references
  • Open questions or assumptions
  • Brief change summary and residual risks

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.