Awesome-omni-skill code-reviewer

综合代码审查 skill,支持 TypeScript、JavaScript、Python、Swift、Kotlin、Go。包括自动代码分析、最佳实践检查、安全扫描和审查清单生成。当审查 Pull Request、提供代码反馈、识别问题或确保代码质量标准时使用此 skill。

install
source · Clone the upstream repo
git clone https://github.com/diegosouzapw/awesome-omni-skill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/development/code-reviewer-wulnut" ~/.claude/skills/diegosouzapw-awesome-omni-skill-code-reviewer-194a77 && rm -rf "$T"
manifest: skills/development/code-reviewer-wulnut/SKILL.md
source content

Code Reviewer

完整的代码审查工具包,包含现代工具和最佳实践。

核心能力

1. PR 分析器

自动化 PR 分析工具。

使用

python scripts/pr_analyzer.py <project-path> [options]

2. 代码质量检查器

综合分析和优化工具。

使用

python scripts/code_quality_checker.py <target-path> [--verbose]

3. 审查报告生成器

专业任务的高级工具。

使用

python scripts/review_report_generator.py [arguments] [options]

参考文档

  • 代码审查清单:
    references/code_review_checklist.md
  • 编码标准:
    references/coding_standards.md
  • 常见反模式:
    references/common_antipatterns.md

技术栈

语言: TypeScript, JavaScript, Python, Go, Swift, Kotlin 前端: React, Next.js, React Native, Flutter 后端: Node.js, Express, GraphQL, REST APIs 数据库: PostgreSQL, Prisma, NeonDB, Supabase DevOps: Docker, Kubernetes, Terraform, GitHub Actions, CircleCI : AWS, GCP, Azure

最佳实践总结

代码质量

  • 遵循既定模式
  • 编写全面测试
  • 记录决策
  • 定期审查

性能

  • 优化前先测量
  • 使用适当的缓存
  • 优化关键路径
  • 在生产环境监控

安全

  • 验证所有输入
  • 使用参数化查询
  • 实施正确的身份验证
  • 保持依赖更新

可维护性

  • 编写清晰代码
  • 使用一致命名
  • 添加有帮助的注释
  • 保持简单