Skip to content
Back to skills

Code Reviewer

ASecurity

审查 Python 代码的质量、风格和常见缺陷。适用于用户提交代码要求审查、希望获得反馈或进行代码审计时。

  • 69 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
code-qualitypythoncode-review

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add alffei/skill_share --skill code-reviewer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Reviewer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Code Reviewer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/alffei-code-reviewer/badge)](https://www.skillsdirectory.com/skills/alffei-code-reviewer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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 步:输出结构化审查结果,包含以下部分:
- **摘要**:代码的作用,以及整体质量判断(1-2 句话)
- **问题清单**:按严重程度分组(先 `error`,再 `warning`,最后 `info`)
- **评分**:按 1-10 分打分,并简要说明理由
- **最值得优先处理的 3 条建议**:影响最大的改进项

Files in this skill

  • SKILL.md1.2 KB
  • references/review-checklist.md1.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in code-quality →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.