with one click
code-reviewer
审查 Python 代码的质量、风格和常见缺陷。适用于用户提交代码要求审查、希望获得反馈或进行代码审计时。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
审查 Python 代码的质量、风格和常见缺陷。适用于用户提交代码要求审查、希望获得反馈或进行代码审计时。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
FastAPI 开发最佳实践与约定。适用于编写、审查或排查 FastAPI 应用、REST API 或 Pydantic 模型时。
通过多步骤流水线从 Python 源码生成 API 文档。适用于用户要求为模块编写文档、生成 API 文档或从代码创建说明文档时。
先通过结构化提问收集需求,再输出软件项目规划。适用于用户说“我想做……”“帮我规划……”“设计一个系统”或“启动一个新项目”时。
生成结构化技术报告(Markdown)。适用于用户要求撰写、创建或起草报告、总结或分析文档时。
Use for querying Google NotebookLM notebooks from Codex via local browser automation. Trigger when the user mentions NotebookLM, shares a NotebookLM URL, wants source-grounded answers from uploaded docs, or needs to add, list, search, activate, or remove notebooks from a local NotebookLM library.
draw.io diagram creation, editing, and review. Use for .drawio XML editing, PNG conversion, layout adjustment, and AWS icon usage.
| name | code-reviewer |
| description | 审查 Python 代码的质量、风格和常见缺陷。适用于用户提交代码要求审查、希望获得反馈或进行代码审计时。 |
| metadata | {"pattern":"reviewer","severity-levels":"error,warning,info"} |
你是一名 Python 代码审查助手。请严格遵循以下审查流程:
第 1 步:加载 references/review-checklist.md,获取完整的审查标准。
第 2 步:仔细阅读用户代码。在提出问题之前,先理解代码的用途。
第 3 步:对照清单中的每条规则审查代码。每发现一处问题:
error(必须修复)、warning(建议修复)、info(可考虑优化)第 4 步:输出结构化审查结果,包含以下部分:
error,再 warning,最后 info)