搜索

PythonReactSEOPDF
GitHub Skill

code-review

Review code for quality, bugs, security, and improvements. Use when self-reviewing before commit, reviewing PRs, or debugging issues.

hscspring☆ 16 仓库 Stars4 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Code Review

Systematically review code for quality, bugs, and security.

Checklist

Priority Check
🔴 Critical Security (no secrets, injection)
🔴 Critical Correctness (logic, edge cases)
🟡 Important Performance (N+1, loops)
🟡 Important Error handling
🟢 Nice-to-have Readability, DRY, style

Process

  1. Context - Read requirement/design
  2. High-level - Architecture check
  3. Line-by-line - Detailed inspection
  4. Tests - Check coverage
  5. Document - Summarize findings

Output Format

## Code Review: [Name]

### Summary
[Approved / Changes Requested]

### Issues
- 🔴 [file:line] Problem → Suggestion
- 🟡 [file:line] Problem → Suggestion

### Good Patterns 👍
- [What was done well]

Common Issues

# 🔴 Security
password = "hardcoded"          # Bad
password = os.environ["PASS"]   # Good

# 🔴 SQL Injection
f"SELECT * WHERE id={id}"       # Bad
"SELECT * WHERE id=%s", (id,)   # Good

Tips

  • Be constructive
  • Explain the "why"
  • Acknowledge good patterns

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-02-02
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!