review-code

0xmsc 的头像作者 0xmsc

提供一个结构化工作流程,类似于资深工程师进行代码审查、PR审查或计划代码审查任务。

📖 中文导读:提供一个结构化工作流程,类似于资深工程师进行代码审查、PR审查或计划代码审查任务。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: review-code description: Provides a structured workflow for planning and executing code reviews like a senior engineer. Use when asked to review code, PRs, or plan a code review task.

Code Review Skill

Workflow

  1. Understand: Read context (ticket, PR description) and identifiy scope.
  2. Execute: Use the checklist in references/checklist.md.
    • Core areas: Quality, Security, Performance, Maintainability.
  3. Tools: Run project-specific linting and testing commands (e.g., just lint, npm test, pytest); use static analysis if available.
  4. Document: Provide constructive feedback with rationale and suggestions.
  5. Follow Up: Track and verify fixes.

References

  • checklist.md: Detailed review criteria.