.amcp/skills/gh-pr-review/SKILL.md
Review GitHub Pull Requests using the gh CLI. Use when a user asks to review a PR, perform code review, check a pull request, or provide feedback on proposed changes. Triggers on phrases like "review PR", "review pull request", "check PR", "code review".
npx skillsauth add tao12345666333/amcp 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 Pull Requests by fetching the diff, analyzing changes, and posting structured review comments.
gh CLI authenticated (gh auth status)gh pr view <number> --json title,body,files,additions,deletions,author,baseRefName,headRefNamegh pr diff <number> to get the full diff## PR Review: <title>
**PR**: #<number> | **Author**: <author> | **Branch**: <head> → <base>
**Files changed**: <count> | **+<additions>** / **-<deletions>**
### Summary
<1-2 sentence overview of what this PR does>
### 👍 Strengths
- <what's done well>
### 🔍 Issues Found
#### Critical
- [ ] <file>:<line> — <description>
#### Suggestions
- [ ] <file>:<line> — <description>
#### Nits
- <minor style/naming suggestions>
### 📋 Checklist
- [ ] Tests added/updated
- [ ] No secrets or credentials
- [ ] Error handling adequate
- [ ] Documentation updated if needed
### Verdict
<APPROVE | REQUEST_CHANGES | COMMENT> — <reasoning>
After generating the review, offer to post it as a PR comment:
gh pr review <number> --comment --body "<review content>"
Or for approve/request-changes:
gh pr review <number> --approve --body "<review content>"
gh pr review <number> --request-changes --body "<review content>"
gh pr checks <number> to see CI statustools
Send and edit Telegram messages via Bot API. Use when AMCP needs to send a message, reply to a specific message, edit an existing message, or push proactive notifications (cron results, heartbeat alerts, task status). Requires AMCP_TELEGRAM_BOT_TOKEN env var.
tools
Create or update AMCP skills. Use when designing, structuring, or packaging skills with scripts, references, and assets. This skill should be used when users want to create a new skill (or update an existing skill) that extends AMCP's capabilities with specialized knowledge, workflows, or tool integrations.
tools
Backup old AMCP sessions by renaming with execution date, then clean and compact sessions and memory.
testing
Periodic heartbeat check that reads HEARTBEAT.md from the workspace and executes any tasks listed there. Use for autonomous background monitoring, periodic maintenance, and proactive task execution. Triggered by a cron schedule.