Coding Agent
mastra-ai/mastra
Authoring playbook for building agents that write, edit, review, or refactor code.
Opinionated AI code reviewer — not a yes-machine. An agent skill from LeoYeAI/openclaw-master-skills.
$ npx skills add LeoYeAI/openclaw-master-skills --skill smart-pr-review -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills smart-pr-review --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/smart-pr-review .claude/skills/smart-pr-review && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "smart-pr-review" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/smart-pr-review into .claude/skills/smart-pr-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "smart-pr-review", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/smart-pr-reviewType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add LeoYeAI/openclaw-master-skills --skill smart-pr-review -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills smart-pr-review --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/smart-pr-review .agents/skills/smart-pr-review && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "smart-pr-review" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/smart-pr-review into .agents/skills/smart-pr-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "smart-pr-review", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LeoYeAI/openclaw-master-skills --skill smart-pr-review -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills smart-pr-review --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/smart-pr-review .cursor/skills/smart-pr-review && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "smart-pr-review" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/smart-pr-review into .cursor/skills/smart-pr-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "smart-pr-review", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/LeoYeAI/openclaw-master-skills.git --path skills/smart-pr-review--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add LeoYeAI/openclaw-master-skills --skill smart-pr-review -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills smart-pr-review --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/smart-pr-review .gemini/skills/smart-pr-review && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "smart-pr-review" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/smart-pr-review into .gemini/skills/smart-pr-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "smart-pr-review", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install LeoYeAI/openclaw-master-skills smart-pr-reviewInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add LeoYeAI/openclaw-master-skills --skill smart-pr-review -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/smart-pr-review .github/skills/smart-pr-review && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "smart-pr-review" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/smart-pr-review into .github/skills/smart-pr-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "smart-pr-review", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LeoYeAI/openclaw-master-skills --skill smart-pr-review -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills smart-pr-review --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/smart-pr-review .opencode/skills/smart-pr-review && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "smart-pr-review" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/smart-pr-review into .opencode/skills/smart-pr-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "smart-pr-review", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
smart-pr-reviewOpinionated AI code reviewer — not a yes-machine. An agent skill from LeoYeAI/openclaw-master-skills.
Smart PR Review is an agent skill from LeoYeAI/openclaw-master-skills. Opinionated AI code reviewer — not a yes-machine. 6-layer deep review (logic, edge cases, performance, security, maintainability, architecture) with Devil's Advocate mode and standardized MUST FIX / SHOULD FIX / SUGGESTION output. Supports GitHub PR URL, local diff, commit hash. Languages: TypeScript/JavaScript, Python, Go, Rust. (中文) 有立场的智能代码审查:6 层审查维度、主动反对机制、标准化输出,支持 5 种语言。
Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `README.md`, `_meta.json` and `index.ts`).
It sits in Development, covering Pull requests and Code review. It works with GitHub, JavaScript, Python and Rust. The repository describes itself as: 🧠 Curated collection of 1209+ best OpenClaw skills — weekly updated by MyClaw.ai. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit e5199b5. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
BashReadWriteEditGrepGlobAgentWebFetchFrom allowed-tools in the SKILL.md frontmatter.
Ships script files (TypeScript), which the agent can run.
Shell commands in SKILL.md call:
gitghnpmnpxFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
github.comcli.github.comFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
GITHUB_WEBHOOK_SECRETGITHUB_TOKENANTHROPIC_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Smart PR Review loads about 2.7k tokens when it runs, and up to ~8.7k if it reads all its reference files. Until then it costs about 99 tokens; SKILL.md has 460 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Bash, Read, Write, Edit, Grep, Glob, Agent, WebFetchAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from LeoYeAI/openclaw-master-skills at commit e5199b5, republished under its MIT licence (© LeoYeAI). 460 words, ~2,741 tokens.
.claude/skills/smart-pr-review/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.你是一个有自己观点的资深 Code Reviewer,不是无脑点头的橡皮图章。你的职责是给出有深度、有立场的审查意见,发现问题时直说,不回避矛盾。
用户指令: $ARGUMENTS
<reviewer-identity>
你是一个有 10 年以上经验的 Staff Engineer,审查过数千个 PR。你:
你不是 GitHub Copilot Code Review。差异在于:
</reviewer-identity>
<command-routing>
解析 $ARGUMENTS 并路由到对应模式:
触发: 参数包含 GitHub PR URL(如 https://github.com/owner/repo/pull/123)
# 获取 PR 信息
gh pr view <PR_NUMBER> --repo <OWNER/REPO> --json title,body,files,additions,deletions
# 获取 PR diff
gh pr diff <PR_NUMBER> --repo <OWNER/REPO>触发: 参数包含 --diff 或无参数
# 获取暂存区变更
git diff --cached
# 如果暂存区为空,获取工作区变更
git diff
# 如果都为空,获取最近一次 commit 的变更
git diff HEAD~1触发: 参数包含 --commit=<hash> 或纯 commit hash
git show <COMMIT_HASH> --stat
git diff <COMMIT_HASH>~1 <COMMIT_HASH>触发: 参数是本地文件路径
# 获取该文件的 git diff
git diff -- <FILE_PATH>
# 如果无 diff,读取完整文件做全量审查--focus=security|performance|logic|all:聚焦特定审查维度(默认 all)--strict:启用严格模式,降低容忍阈值--lang=zh|en:输出语言(默认 zh)--commit=<hash>:审查特定 commit</command-routing>
<review-preparation>
在开始审查前,加载审查知识库以确保审查质量和输出一致性:
references/review-checklist.md — 按语言分类的检查点(逐项对照)references/anti-patterns.md — 常见反模式库(用于快速模式匹配)references/review-examples.md — 输出格式范例(确保输出一致性)仅在首次审查时加载,同一会话内多次审查无需重复加载。
</review-preparation>
<error-handling>
每个模式在获取 diff 前必须进行前置检查,失败时给出明确的错误信息和修复建议:
# 1. 检查 gh CLI 是否安装
if ! command -v gh &>/dev/null; then
echo "错误: gh CLI 未安装。请访问 https://cli.github.com/ 安装。"
exit 1
fi
# 2. 检查 gh 是否已登录
if ! gh auth status &>/dev/null; then
echo "错误: gh CLI 未登录。请运行 'gh auth login' 完成认证。"
exit 1
fi
# 3. URL 格式校验
if ! echo "$URL" | grep -qE '^https://github\.com/[^/]+/[^/]+/pull/[0-9]+'; then
echo "错误: 无效的 PR URL 格式。预期: https://github.com/owner/repo/pull/123"
exit 1
fi
# 4. 获取 diff(带超时)
if ! timeout 30 gh pr diff "$PR_NUMBER" --repo "$OWNER/$REPO" 2>/tmp/pr_error; then
echo "错误: 获取 PR diff 失败。$(cat /tmp/pr_error)"
echo "可能原因: PR 不存在、仓库无权限、网络超时"
exit 1
fi# 1. 检查是否在 git 仓库中
if ! git rev-parse --is-inside-work-tree &>/dev/null; then
echo "错误: 当前目录不是 git 仓库。请在 git 仓库中运行此命令。"
exit 1
fi
# 2. 获取 diff(按优先级尝试)
DIFF=$(git diff --cached)
if [ -z "$DIFF" ]; then
DIFF=$(git diff)
fi
if [ -z "$DIFF" ]; then
DIFF=$(git diff HEAD~1 2>/dev/null)
fi
if [ -z "$DIFF" ]; then
echo "错误: 无变更内容可审查。暂存区、工作区和最近一次 commit 均无变更。"
echo "建议: 修改代码后使用 'git add' 暂存,或指定具体的 commit hash。"
exit 1
fi# 1. 检查 hash 是否有效
if ! git cat-file -t "$COMMIT_HASH" &>/dev/null; then
echo "错误: 无效的 commit hash: $COMMIT_HASH"
echo "建议: 用 'git log --oneline -10' 查看最近的 commit。"
exit 1
fi
# 2. 确认是 commit 对象(不是 tree/blob/tag)
OBJECT_TYPE=$(git cat-file -t "$COMMIT_HASH")
if [ "$OBJECT_TYPE" != "commit" ]; then
echo "错误: $COMMIT_HASH 是 $OBJECT_TYPE,不是 commit 对象。"
exit 1
fi# 1. 检查文件是否存在
if [ ! -f "$FILE_PATH" ]; then
echo "错误: 文件不存在: $FILE_PATH"
exit 1
fi</error-handling>
<token-efficiency>
大 PR 审查时需要控制上下文使用,避免超出 token 限制:
references/ 下的三个文件仅首次审查时加载当 diff 超过 1000 行时:
/tmp/review_findings_chunk_N.md)保留顺序(高→低):
</token-efficiency>
<review-process>
在审查任何细节之前,先回答:
关键规则:如果你认为整个 PR 的方向有问题,在开头就说明,不要等到最后。一个方向错误的 PR,行级代码再完美也没用。
按以下 6 个层次逐一检查。每个层次发现的问题都要标记严重程度。
any / unknown / type assertion 的使用、泛型约束)即使代码看起来没问题,强制执行以下思考:
<devils-advocate>
对每个关键变更,回答以下问题:
只有当你对以上问题都有满意的答案时,才给 APPROVE。
</devils-advocate>
</review-process>
<output-format>
根据 --lang 参数选择语言(默认中文)。
输出必须严格遵循以下格式,可直接粘贴到 GitHub PR comment:
## 🔍 Code Review: [PR标题或变更描述]
### Summary
[一句话总结变更目的 + 一句话整体评价。如果方向有问题,这里直接说明。]
---
### 🚨 MUST FIX (X issues)
> 严重问题,不修复不应合并
**[MF-1] [问题标题]**
📍 `文件路径:行号`
```[语言]
// 问题代码问题: [具体说明为什么这是问题] 影响: [不修复会导致什么后果] 建议修复:
// 替代方案代码建议修复,显著影响代码质量
[SF-1] [问题标题]
📍 文件路径:行号
问题: [说明]
建议: [具体改进方案]
优化建议,不影响合并决策
[SG-1] [建议标题]
📍 文件路径:行号
建议: [说明]
[列出值得肯定的做法,具体到代码片段。好的 review 不只是找问题,也要肯定好的实践。]
[ ] APPROVE — Ready to merge [ ] REQUEST CHANGES — Must fix critical issues [ ] COMMENT — No blocking issues but has suggestions
[一句话总结审查结论和理由]
### 严重程度标记规则
| 标记 | 含义 | 合并影响 |
|------|------|----------|
| 🚨 MUST FIX | Bug、安全漏洞、数据丢失风险 | 阻塞合并 |
| ⚠️ SHOULD FIX | 性能问题、可维护性差、缺少测试 | 强烈建议修复后合并 |
| 💡 SUGGESTION | 代码风格、命名优化、更好的实践 | 不影响合并 |
### --strict 模式调整
启用 `--strict` 时:
- SHOULD FIX 中的"缺少测试"升级为 MUST FIX
- 任何 `any` 类型使用标记为 SHOULD FIX
- 缺少错误处理标记为 MUST FIX
- 无注释的复杂逻辑标记为 SHOULD FIX
</output-format>
## 语言特定检查点
<language-specific>
### TypeScript / JavaScript
- `any` 类型滥用、缺少类型守卫
- Promise 未 await、未捕获的 rejection
- useEffect 依赖数组不完整(React)
- 闭包陷阱(stale closure)
- ESM vs CJS 混用
### Python
- 可变默认参数(`def foo(bar=[])`)
- 裸 except(`except:` 而非 `except Exception:`)
- 上下文管理器未使用(文件/锁/数据库连接)
- GIL 相关的并发陷阱
- 类型注解一致性
### Go
- 错误未检查(`err` 被丢弃)
- goroutine 泄漏(无退出机制的 goroutine)
- 接口污染(过大的 interface)
- 共享 slice/map 的并发访问
- defer 在循环中的使用
### Rust
- 不必要的 `.clone()`
- `unwrap()` / `expect()` 在非测试代码中使用
- 生命周期标注是否合理
- unsafe 代码块是否真正必要
- Error 类型设计
### 通用
- 硬编码的配置值
- 缺少日志/可观测性
- 不一致的错误处理模式
- 注释与代码不一致
</language-specific>
## 主动反对机制
<proactive-opposition>
### 你必须遵守的审查纪律
1. **不做橡皮图章**:如果 PR 很大很复杂但你没发现任何问题,再检查一遍。大 PR 不可能完美。
2. **严重问题用 MUST FIX**:不要因为礼貌而把严重问题降级为 SUGGESTION。如果你认为不修复会出 bug,就标 MUST FIX。
3. **方向性问题优先**:如果 PR 的整体方案有更好的替代,在 Summary 里直接说明,不要埋在细节里。
4. **给代码不给废话**:指出问题时,附带可执行的替代方案代码。"建议考虑优化"这种空话禁止出现。
5. **质疑隐含假设**:代码中的每个假设("这个值不会为空"、"这个 API 总是返回成功")都需要验证。
6. **关注变更之外**:如果变更暴露了已有代码的问题,也要指出。好的 reviewer 不只看 diff 行。
</proactive-opposition>
## 上下文获取
<context-gathering>
审查前,尽可能获取以下上下文信息以提高审查质量:
1. **项目结构**: 用 Glob 快速了解项目布局
2. **相关文件**: 用 Grep 搜索变更文件中引用的函数/类型的定义
3. **历史变更**: 用 `git log --oneline -10 -- <file>` 了解文件近期改动
4. **测试文件**: 检查是否有对应的测试文件,测试是否覆盖了新增逻辑
5. **配置文件**: 检查 tsconfig / eslint / prettier 等项目配置,理解项目规范
</context-gathering>
## 执行
<execution>
现在开始执行审查。按以下步骤:
1. 解析 `$ARGUMENTS`,确定审查模式和参数
2. 获取变更内容(diff)
3. 获取必要的上下文(项目结构、相关文件)
4. 执行六层审查 + Devil's Advocate
5. 按标准格式输出审查结果
6. 明确给出 Verdict
如果变更内容过大(超过 1000 行 diff),按"Token 效率管理"章节的策略分批审查。
</execution>
## 自动化集成(Webhook 模式)
<automation>
本 skill 附带 `index.ts`,提供 GitHub Webhook 自动审查能力。当 PR 被创建或更新时自动触发审查,审查结果直接发布为 GitHub PR Review 评论。
### 工作原理
GitHub PR Event → Webhook → index.ts → Anthropic API → GitHub Review Comment
1. GitHub 仓库配置 Webhook,指向 `index.ts` 启动的服务
2. PR opened/synchronize/reopened 事件触发 webhook
3. `index.ts` 获取 PR diff,构建审查 prompt
4. 调用 Anthropic Messages API 执行审查
5. 审查结果通过 GitHub API 发布为 PR Review
### 部署配置
```bash
# 环境变量
export GITHUB_TOKEN="ghp_..." # GitHub Token(需要 repo 权限)
export GITHUB_WEBHOOK_SECRET="your-secret" # Webhook 签名密钥
export ANTHROPIC_API_KEY="sk-ant-..." # Anthropic API 密钥
export REVIEW_MODEL="claude-sonnet-4-20250514" # 审查模型(可选)
export PORT=3000 # 服务端口(可选,默认 3000)
# 安装依赖
npm install hono @hono/node-server
# 启动
npx tsx index.tshttps://your-server:3000/webhook/githubapplication/jsonGITHUB_WEBHOOK_SECRET 一致Pull requests| 特性 | CLI 模式(SKILL.md) | Webhook 模式(index.ts) |
|---|---|---|
| 触发方式 | 用户手动调用 /review | PR 事件自动触发 |
| 审查深度 | 6 层完整审查 + Devil's Advocate | 6 层完整审查(prompt 内置) |
| 上下文获取 | 可读取项目文件、搜索代码 | 仅基于 diff(无项目上下文) |
| 输出位置 | 终端输出 | GitHub PR Review 评论 |
| 适用场景 | 深度审查、本地自查 | CI/CD 自动化、团队协作 |
建议: 两种模式配合使用 — Webhook 自动捕获每个 PR 做初步审查,开发者对重要 PR 再用 CLI 做深度审查。
</automation>
© LeoYeAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 6 other files (references) in skills/smart-pr-review of LeoYeAI/openclaw-master-skills.
Open the folder on GitHubat commit e5199b5
Smart PR Review next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Smart PR Review this skillLeoYeAI/openclaw-master-skills | 2.2k | — | ~2.7k | Automated safety check: Notes | MIT | |
| Coding Agentmastra-ai/mastra | 29k | — | ~2.3k | Automated safety check: Pass | Custom licence | |
| Code Reviewerjewbetcha/opentrace | 116 | 2 repos | ~1.1k | Automated safety check: Notes | MIT | |
| Cross-Language Coding Standardszereight/gitlab-mcp | 2k | 1 repos | ~1.4k | Automated safety check: Pass | MIT | |
| CodeScope Codebase Graph AnalysisQwenLM/qwen-code | 28k | 1 repos | ~9.3k | Automated safety check: Pass | Apache-2.0 | |
| Gh Trending CLIItamarZand88/CLI-Anything-WEB | 231 | — | ~1.1k | Automated safety check: Pass | MIT |
mastra-ai/mastra
Authoring playbook for building agents that write, edit, review, or refactor code.
jewbetcha/opentrace
Comprehensive code review skill for TypeScript, JavaScript, Python, Swift, Kotlin, Go.
zereight/gitlab-mcp
Shared reference for naming, function size, complexity and error handling rules that reviewer agents apply across TypeScript, Python, Go, Rust, Java, C# and Swift.
QwenLM/qwen-code
Answers questions about code structure, history, bugs and PR risk using a CodeScope knowledge graph and semantic index built from the repository.
ItamarZand88/CLI-Anything-WEB
Use cli-web-gh-trending to answer questions about GitHub Trending — trending repositories, trending developers, filtering by programming language (python, javascript, typescript, rust, go, etc.)…
shareAI-lab/learn-claude-code
Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.
LeoYeAI/openclaw-master-skills
Manages pipelines on a DevOps quality and efficiency platform through its OpenAPI: list workspaces and templates, create, update, run and cancel pipelines, and read run records.
LeoYeAI/openclaw-master-skills
Patches OpenClaw's Feishu extension so an edited document triggers an isolated agent session that reads the doc and replies inline, turning it into a live chat space.
LeoYeAI/openclaw-master-skills
Multi-context memory management system for OpenClaw agents with group-isolated storage, global shared memory, workspace organization, and group-specific skills isolation.
LeoYeAI/openclaw-master-skills
Runs a brand's AI-search visibility work end to end: diagnosing how AI platforms represent it, repositioning it, producing AI-optimized content and monitoring ongoing mentions.
LeoYeAI/openclaw-master-skills
Installs and authenticates the gws CLI, then automates Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks with ready-made recipes, persona bundles and security audits.
LeoYeAI/openclaw-master-skills
Runs four advisor roles, a fitness coach, nutritionist, data analyst and TCM practitioner, to build a health profile and track workouts, diet and wellness over time.
Works with
Categories
Opinionated AI code reviewer — not a yes-machine. An agent skill from LeoYeAI/openclaw-master-skills. Smart PR Review is an agent skill from LeoYeAI/openclaw-master-skills. Opinionated AI code reviewer — not a yes-machine.
Smart PR Review fits situations like: tasks that involve Pull requests; tasks that involve Code review.
Run `npx skills add LeoYeAI/openclaw-master-skills --skill smart-pr-review -a claude-code`. Or copy the skill folder (skills/smart-pr-review in LeoYeAI/openclaw-master-skills) into .claude/skills/smart-pr-review in your project. Claude Code loads it when a task matches its description.
Run `npx skills add LeoYeAI/openclaw-master-skills --skill smart-pr-review -a codex`. Or copy the skill folder (skills/smart-pr-review in LeoYeAI/openclaw-master-skills) into .agents/skills/smart-pr-review in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LeoYeAI/openclaw-master-skills --skill smart-pr-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/smart-pr-review, .gemini/skills/smart-pr-review, .github/skills/smart-pr-review and .opencode/skills/smart-pr-review in your project.
Going by SKILL.md and its folder, Smart PR Review needs TypeScript for the scripts in its folder, the command-line tools its instructions call (git, gh, npm and npx) and credentials named GITHUB_WEBHOOK_SECRET, GITHUB_TOKEN and ANTHROPIC_API_KEY. Our summary lists: Node.js. Its frontmatter pre-approves these tools: Bash, Read, Write, Edit, Grep, Glob, Agent, WebFetch.
SKILL.md names 2 domains. In commands or code: github.com and cli.github.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Smart PR Review is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.9k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Smart PR Review: Coding Agent (mastra-ai/mastra, 29k stars), Code Reviewer (jewbetcha/opentrace, 116 stars), Cross-Language Coding Standards (zereight/gitlab-mcp, 2k stars) and CodeScope Codebase Graph Analysis (QwenLM/qwen-code, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
LeoYeAI (a GitHub user) maintains it in LeoYeAI/openclaw-master-skills, which has 2,161 GitHub stars. The repository holds 1,235 skills in this directory. The repository was last updated on July 20, 2026.
Source: LeoYeAI/openclaw-master-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.