review-code
提供一个结构化工作流程,类似于资深工程师进行代码审查、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
- Understand: Read context (ticket, PR description) and identifiy scope.
- Execute: Use the checklist in references/checklist.md.
- Core areas: Quality, Security, Performance, Maintainability.
- Tools: Run project-specific linting and testing commands (e.g.,
just lint,npm test,pytest); use static analysis if available. - Document: Provide constructive feedback with rationale and suggestions.
- Follow Up: Track and verify fixes.
References
checklist.md: Detailed review criteria.