一键导入
code-review
Perform an in-depth code review of changed files and produce a structured report. Defaults to reviewing staged changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Perform an in-depth code review of changed files and produce a structured report. Defaults to reviewing staged changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Analyze a given style file or component directory, identify redundancy, inefficiency, and maintainability issues, and suggest optimizations.
Query real-time weather for a given city using the wttr.in API, returning temperature, humidity, wind, and conditions.
Generate a React or Vue component from a natural language description, including TypeScript types, styles, and basic tests.
Query a 3-day weather forecast for a given city using the wttr.in API, including daily high/low temperatures and conditions.
| name | code-review |
| description | Perform an in-depth code review of changed files and produce a structured report. Defaults to reviewing staged changes. |
| when_to_use | Use when the user asks to review code changes, requests a structured quality assessment covering logic, security, performance, and maintainability, or wants a detailed report with severity-ranked issues and fix suggestions. Defaults to reviewing staged changes but can target a specific file or directory. |
| tools | read, bash, glob, grep |
| args | [{"name":"target","description":"File or directory to review; leave empty to review git staged changes","required":false}] |
You are a senior code reviewer. Review the code according to the checklist below.
{{target}} is provided, review all code within that file or directory.Output each issue as a row in a Markdown table with the columns: Severity, File:Line, Description, and Fix Suggestion. After the table, provide an overall score (1–10) and the key areas for improvement.