跳到正文
FunCoding

code-review

Systematic code review for bugs, security, style, and performance

Star
1,129
许可证
MIT
最近提交
2026年11月29日

pydantic_deep/bundled_skills/code-review/SKILL.md

在 GitHub 上查看

Code Review

Perform a systematic code review covering these categories:

Review Checklist

1. Correctness

  • Logic errors, off-by-one, null/None handling
  • Edge cases: empty inputs, large inputs, concurrent access
  • Error handling: are exceptions caught and handled properly?

2. Security

  • Input validation and sanitization
  • SQL injection, XSS, command injection
  • Secrets in code, hardcoded credentials
  • Authentication and authorization checks

3. Performance

  • Unnecessary loops, N+1 queries
  • Missing indexes for database queries
  • Large memory allocations, unbounded collections
  • Blocking calls in async code

4. Style & Maintainability

  • Naming clarity (variables, functions, classes)
  • Function length — split if >30 lines
  • Dead code, commented-out code
  • Missing type annotations

5. Testing

  • Are new code paths covered by tests?
  • Are edge cases tested?
  • Are error paths tested?

Output Format

For each issue found:

  • File:line — category — description — suggested fix
  • Severity: critical / warning / suggestion

相似的 Skill

rea-analysis-optimization

MOmorluto/rea486k近 7 天新增 8,943 个 star

精选

diagnosing-bugs

诊断困难 bug 和性能回归,用测试或脚本构建反馈循环定位问题。

MAmattpocock/skills337k近 7 天新增 4,978 个 star

setup-ts-deep-modules

MAmattpocock/skills337k近 7 天新增 4,978 个 star

code-review

MAmattpocock/skills337k近 7 天新增 4,978 个 star

tdd

MAmattpocock/skills337k近 7 天新增 4,978 个 star

retro

MAmattpocock/skills337k近 7 天新增 4,978 个 star