SkillAgentSearch skills...

pr-review

Code review for pull request $1

Install / Use

npx skills add specstoryai/getspecstory

Installs into whichever agent you are using.

About this skill
⚡

Claude Commands

Claude Code slash commands

Quality Score

70/100

Supported Platforms

Claude Code
Cursor

Our assessment of pr-review

pr-review scores 70/100 on our quality scale, 3402nd of 4,355 Development & Engineering skills we index.

Its Claude Commands is 3.9 KB long, lightly structured (2 headings) with 1 code example: a solid amount of guidance for an agent.

With 1,342 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
26/30
Structure
8/20
Description
8/15
Adoption
13/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 3 days ago, so pr-review is actively maintained.
  • It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.

Automated pattern scan on 2026-10-01. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

pr-review compared with similar skills

All 4 of these similar skills score higher than pr-review; compare them before choosing.

SkillScoreStarsUpdatedFormat
pr-review (this skill)by specstoryai701.3k3d agoClaude Commands
claude-memby thedotmack10095.1ktodayCLAUDE.md
Agent-Reachby Panniantong10087.2k15d agoCLAUDE.md
Understand-Anythingby Egonex-AI10084.9k3d agoCLAUDE.md
headroomby headroomlabs-ai10074.2ktodayCLAUDE.md

Frequently asked questions

How do I install pr-review?
Run npx skills add specstoryai/getspecstory. The install tabs above show the steps for each supported agent.
Which AI agents does pr-review work with?
It is written for Claude Code and Cursor, as a Claude Commands file. Other agents that read the same format can often use it too.
Is pr-review safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is pr-review still maintained?
The repository was last updated 3 days ago, so pr-review is actively maintained.

allowed-tools: Bash(gh pr view:), Bash(gh pr diff:), Bash(git diff:), Bash(grep:), Bash(awk:), Bash(sed:) description: Code review for pull request $1

Context

  • Current pull request status: !gh pr view $1
  • Current pull request diff: !gh pr diff $1

Your task

Examine pull request $1 using the GitHub CLI command.

Ignore any changes to:

  • .specstory/history files
  • .claude/ files
  • .cursor/ files
  • ./specstory binary
  • CLAUDE.md
  • AGENT.md
  • changelog.md

Please code review the pull request.

Review line by line and explain to me the purpose of each change. Use file names and line numbers to reference the changes, but also sequentially number every observation so we can easily reference them.

In the line by line review, pay attention to:

  • clarity of variable names
  • Go lang idiomatic code
  • code clarity and simplicity, readable over clever
  • "why" comments, not "how" comments
  • missing comments
  • missing log output
  • missing analytics tracking
  • single function exit point where possible (immediate guard clauses are OK)
  • goroutines tracked by a sync.WaitGroup use wg.Go(func() { ... }), never wg.Add(1) paired with a defer wg.Done() — flag any Add/Done pair, especially one where the Done sits in a different function from its Add
  • verify the code has to exist, is actually needed, and is in use
  • verify the code is DRY, and doesn't replicate the same or similar code
  • for test cases, ensure a data-driven approach is being used rather than lots of repetitive test code

Format your line by line review like this example:

  cmd/remote.go

  Line 12 (removed): Removed unused import of pkg/service package
  - (1) ✅ Good - Cleaning up unused imports is proper Go hygiene

  Lines 157-162 (modified): Changed from loading config directly to using RPC client
  // Old: config, err := service.LoadConfig(dir)
  // New: rpcClient, err := client.NewRPCClient(dir)
  - (2) ✅ Good architectural decision - Now operates via daemon RPC instead of direct file access
  - (3) ✅ Proper defer cleanup pattern for RPC client
  - (4) ✅ Variable name rpcClient is clear and follows conventions

  Lines 164-189 (new): Added remote status check before disabling
  - (5) ✅ Good UX - Detects current connection state to provide better feedback
  - (6) ✅ Type assertions use the two-value form (ok pattern) for safety
  - (7) ⚠️ Nested if statements become deeply indented (4 levels) - could be refactored for readability
  - (8) ✅ Variable names wasConnected, oldURL are descriptive
  - (9) ❓ Missing error handling - if remote.status call fails, we continue anyway. Should we?

  ---
  pkg/remote/sync.go
  Lines 260-265 (modified): Success messages now come after RPC call
  - (10) ✅ Comment "config is now saved" is helpful context
  - (11) ⚠️ Misleading comment placement - comment says "config is now saved" but we can't be certain from this code's perspective (that happens in the daemon)

In addition to the line by line review, suggest the 2-5 most important improvements for this code review.

In addition to the most important improvements, let's also think about if any of these changes could benefit from new, updated or expanded unit tests. We focus our unit tests on complicated logic, and combinatorial scenarios, not on coverage or completeness for completeness sake. Better to not have a unit test than to have tests that are simplistic or tautological. We also don't test 3rd party library or language features, only our own code.

For any new test cases that were added, confirm the tests are:

  • Not trivial - They test real logic in our code and aren't just testing Go lang or 3rd party libraries
  • Not tautological - They would catch real bugs
  • Well-designed - Each assertion accurately verifies specific logic and complexity in the code being tested
  • Reliable - They won't be flaky, don't rely on external state, and don't catch false positives.
  • Not repetitive - They test different scenarios, and use data-driven testing rather than repetitive test code.

Related Skills

View on GitHub
GitHub Stars1.3k
CategoryDevelopment
Updated3d ago
Forks89

Languages

Go

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions
pr-review — Claude Commands: Install & Safety Check | SkillAgent