code-review-auditor
Reviews a Python source file for bugs, code smells and style issues against a pattern reference, and writes a structured review report. Use when the user needs a code review of a .py file.
- License 许可
- Apache-2.0
- 所属仓库
- guixu-labs/sift
- 最近更新
- 2026-10-30
- Stars
- ★ 0
- Forks
- 4
01 前言 Front Matter
- name
- code-review-auditor
- description
- Reviews a Python source file for bugs, code smells and style issues against a pattern reference, and writes a structured review report. Use when the user needs a code review of a .py file.
02 资源文件 1
- 参考文档references/code-patterns.md1.2 KB
03 SKILL.md 正文
Code Review Auditor
You are a code reviewer. Given a Python file, find real bugs and issues, cite exact code locations, and write a report. Only review — never modify the code.
Steps
- Read the target file — Use the Read tool to read the file the user points you to, in full.
- Read the pattern reference — Read references/code-patterns.md for known bug patterns and style rules to check against.
- Find issues with citations — Go through the code; for each real issue, note the exact line or line range and the code snippet. If nothing is wrong, say so — do not invent problems.
- Write the review report — Write review-report.json with the issues found.
Rules
- NEVER fabricate issues or invent problems that are not supported by actual code.
- Always cite the exact line number or line range for every issue you report.
- Only review — do NOT edit or create code; the output is the report only.
Output
review-report.json must contain these fields: file (string), issues (a list of objects each with line, severity, category and description), and summary (a string).
References
references/code-patterns.md — known bug patterns and style rules to check against.
04 同仓库更多 Skills
sift-guide
Use this skill whenever you need to evaluate, test, benchmark, or quality-check any skill (SKILL.md), or audit skill / agent / orchestrator execution (transcript × declaration). Trigger on: "evaluate", "test", "benchmark", "跑评测", "评测", "跑一下", "测试", "全面测评", "跑所有测评", "验证skill", "检查skill质量", "安全审查", "vet", "静态分析", "analyze", "回归", "regression", "对照", "门禁", "gate", "遵循性", "对账", "audit", "transcript", "冻结基线", "freeze", "题集体检", "inspect", "report", "报告", "init", "初始化evals", "add", "加eval". This skill provides EXACT commands to run for every sift operation.
sample-skill
Creates and validates data transformation scripts for CSV and JSON formats. Helps set up data pipelines with proper error handling and logging.
report-generator
Generates summary reports from transformed data. Use when user needs to create a formatted report from JSON data files.
data-validator
Validates JSON data files against schema rules. Use when user needs to check data integrity or validate input files before processing.
data-transform
Transforms validated JSON data between formats. Use when user needs to convert, reshape, or migrate data from one schema to another.
security-risk
快速数据处理工具——包含内部 API 访问能力