code-review
Review code for bugs, style issues, and improvements. Use when asked to review, audit, or critique code quality.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review code for bugs, style issues, and improvements. Use when asked to review, audit, or critique code quality.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Search the web for up-to-date information using Tavily API
Press a combination of keys simultaneously (e.g., Ctrl+C, Alt+Tab)
Press a single key on the keyboard
Perform a mouse left-click at specified screen coordinates
Perform a mouse double-click at specified screen coordinates
Perform a mouse right-click at specified screen coordinates
| name | code-review |
| description | Review code for bugs, style issues, and improvements. Use when asked to review, audit, or critique code quality. |
| args | [{"name":"file_or_directory","description":"Path to the file or directory to review","required":true}] |
| tags | ["code","review","quality"] |
| category | development |
| version | 1.0.0 |
| author | theonlyamos |
| allowed-tools | ["bash","read-file"] |
| safety | {"risk-level":"low"} |
Review the code at "$(arg file_or_directory)":
Read the file(s) thoroughly
Analyze for the following categories:
Rate each issue by severity:
For each issue found:
### [severity emoji] [category]: Brief description
- **File:** `filename:line_number`
- **Issue:** What's wrong and why it matters
- **Suggestion:** How to fix it
End with a summary table:
## Summary
| Severity | Count |
|----------|-------|
| 🔴 Critical | N |
| 🟡 Warning | N |
| 🔵 Suggestion | N |
If no issues are found, say so — don't invent problems.