一键导入
review-pr
Review a pull request or the current branch changes. Use when the user says "review", "review pr", "revise", or wants code review feedback.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review a pull request or the current branch changes. Use when the user says "review", "review pr", "revise", or wants code review feedback.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Detect and fix documentation violations across C++ compiler and TML library code. Scans for missing ///, undocumented public items, wrong comment styles, and auto-fixes using parallel agents. Use when the user says "fix docs", "audit docs", "documenta", "corrige docs", or wants to improve documentation coverage.
Deep knowledge of TML compiler internals. Inject before working on compiler C++ code. Maps the full pipeline with key functions, types, and cross-subsystem boundaries.
Deep knowledge of TML standard library structure, module dependencies, key types, and C runtime mapping. Inject before working on library code.
Detect which tests are affected by recent code changes. Use when the user wants to know what tests to run after making changes.
List build artifacts with sizes and ages. Use when the user asks about build outputs, compiled binaries, or disk usage.
Build the TML compiler from C++ sources. Use when the user says "build", "compila", "rebuild", or needs to recompile the compiler after C++ changes.
| name | review-pr |
| description | Review a pull request or the current branch changes. Use when the user says "review", "review pr", "revise", or wants code review feedback. |
| user-invocable | true |
| argument-hint | [optional PR number or branch name] |
Delegation: Use the Agent tool to dispatch a code-review agent with model: opus for this task.
If $ARGUMENTS contains a PR number:
gh pr view $ARGUMENTSgh pr diff $ARGUMENTSIf no arguments, review current branch vs main:
git log main..HEAD --onelinegit diff main...HEAD --statgit diff main...HEADFor each changed file, check:
Correctness
TML Project Specific
Style
Tests
Provide structured feedback: