agentleFS
iadr-deviadr-dev/kotlin-claude-workflow/.claude/skills/review-pr/SKILL.md

review-pr

Skill1 starsChanged 40 days agoMITView on GitHub

Multi-agent review of the current diff or a GitHub PR for this Kotlin project - correctness/architecture, error handling, tests, type design, and comments - aggregated into one prioritized action list.

185 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use diagnose-ci-failures, docs-loop and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • zerx-labSkill

    diagnose-ci-failures

    Diagnose CI failures for a PR using the GitHub CLI, extract error logs, and generate a plan to fix them. Use when the user asks to check CI status, pull CI issues, triage test failures, or investigate PR build failures.

    Also in 3 projects that use this

  • GeiserXSkill

    docs-loop

    Use when the user asks to audit docs, check documentation for stale claims, or verify docs against the code.

    Also in 3 projects that use this

  • GeiserXSkill

    full-loop

    Drive a repository to done with sergio-loop, then keep improving it with refine-loop at a descending theta. Use only when the user explicitly invokes full-loop.

    Also in 3 projects that use this

  • tirth8205Skill

    review-delta

    Review only changes since last commit using impact analysis. Token-efficient delta review with automatic blast-radius detection.

    Also in 3 projects that use this

  • +8 more from GeiserX

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 178 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run agents in parallel (default) unless the user asked for sequential.

    line 29

“Common” is measured: kept by at least 6 in 10 of the 178 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

Review PR: $ARGUMENTS

1. Scope

  • PR number given → gh pr diff <n> --name-only and gh pr view <n>; review that diff.
  • Otherwise → git diff --name-only HEAD (plus staged). Nothing changed → say so and stop.

2. Pick agents

AspectAgentRuns when
codekotlin-revieweralways
errorssilent-failure-hunterdiff touches try/catch, runCatching, Result, Flow.catch, fallbacks, retries, coroutine launches
testspr-test-analyzerbehavior changed (with or without test changes)
typestype-design-analyzernew or changed class/data class/value class/sealed/interface
commentscomment-analyzerKDoc or substantial comments added/changed

Explicit aspects in the arguments override the defaults; all runs every agent. Tell each agent the exact files/diff range and that the project's rules are in CLAUDE.md and the kotlin-architecture skill.

Run agents in parallel (default) unless the user asked for sequential.

3. Aggregate

Deduplicate findings reported by several agents (keep the most specific). Drop findings without a concrete file:line and failure scenario.

# Review summary

## Critical (must fix before merge)
- [agent] description — path/File.kt:LINE

## Important (should fix)
- ...

## Suggestions
- ...

## Strengths
- ...

## Next steps
1. Fix critical issues, then re-run `build-and-verify`
2. Re-run `/review-pr <aspects>` for the touched aspects

Polish/simplification after the review: the built-in /simplify. Posting comments to the PR: only when the user asks (gh pr review / gh pr comment).

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.