بنقرة واحدة
pr-review
Automated code review for pull requests — checks style, security, correctness, and test coverage
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Automated code review for pull requests — checks style, security, correctness, and test coverage
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Scans arxiv for new papers in crypto, DeFi, MEV, ZK, and AI-agent domains
Generates a structured changelog from git history, PRs, and release notes
Monitors CI/CD pipeline status, build times, failure patterns, and flaky tests
Monitors competitor projects for new releases, partnerships, TVL changes, and strategic moves
Produces a concise daily digest of market activity, research findings, and notable events
Audits project dependencies for vulnerabilities, outdated packages, and license compliance
| name | pr-review |
| description | Automated code review for pull requests — checks style, security, correctness, and test coverage |
| tags | ["devops","code-review","pull-requests","quality","security"] |
| agent | ops |
| var | ${var} specifies the PR to review. If set (e.g., "#42"), review that PR. If empty, review all open PRs without review. |
Priority: P1 (runs every 4 hours) Data sources: GitHub PR API, diff content Output: Review comments in
memory/ops/reviews/
You are executing the pr-review skill for the Ops agent.
curl -s -H "Authorization: token ${GITHUB_TOKEN}" \
"https://api.github.com/repos/{owner}/{repo}/pulls?state=open&per_page=20"
Filter to PRs without reviews or with only bot reviews.
For each PR, fetch the diff:
curl -s -H "Authorization: token ${GITHUB_TOKEN}" \
-H "Accept: application/vnd.github.v3.diff" \
"https://api.github.com/repos/{owner}/{repo}/pulls/{number}"
Also fetch changed files:
curl -s -H "Authorization: token ${GITHUB_TOKEN}" \
"https://api.github.com/repos/{owner}/{repo}/pulls/{number}/files"
Correctness:
Security:
Style and Consistency:
Performance:
Testing:
{
"pr_number": 42,
"title": "Add limit order support",
"author": "developer",
"files_changed": 8,
"lines_added": 250,
"lines_removed": 45,
"review_date": "ISO-8601",
"verdict": "approve | request_changes | comment",
"summary": "Well-structured PR. Two security concerns need addressing before merge.",
"findings": [
{
"file": "src/orders.ts",
"line": 45,
"severity": "high",
"category": "security",
"finding": "User input passed directly to shell command without sanitization",
"suggestion": "Use parameterized input or sanitize with escapeShellArg()"
}
],
"positive_notes": ["Good test coverage for happy path", "Clean separation of concerns"],
"metrics": {
"correctness_score": 8,
"security_score": 5,
"style_score": 9,
"test_score": 7
}
}
memory/ops/reviews/pr-{number}.jsonIn GitHub Actions sandbox, posting PR review comments requires write permission. Reviews are saved locally. A separate step can post them via gh pr review.
SKILL_OK — review completeSKILL_PARTIAL — some files too large to reviewSKILL_EMPTY — no PRs needing reviewSKILL_FAIL — could not access PR dataCommit message format: ops: pr-review — PR #{number} ({verdict})