审查代码变更的复用性、质量与效率,并修复发现的问题。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "code-review" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/amplifier-bundle-skills/main/skills/code-review/SKILL.md 2. 保存为 ~/.claude/skills/code-review/SKILL.md 3. 装好后重载技能,告诉我可以用了
请审查以下代码变更,重点检查可复用性、代码质量、性能问题和潜在 bug,并直接给出修改后的代码与说明: [粘贴 diff 或代码片段]
一份问题清单、优化建议,以及可直接采用的修正版代码。
请检查这个函数的实现是否存在重复逻辑、命名不清、边界条件遗漏或低效写法,并重构为更简洁高效的版本: [粘贴函数代码]
重构后的函数代码,并附上主要改进点和原因说明。
下面是一组即将发布的代码改动,请从可维护性、性能、安全性和测试覆盖角度进行审查,指出风险并修复明显问题: [粘贴代码改动]
包含风险点评估、修复建议、必要代码修改及测试建议的审查结果。
Review all changed files for reuse, quality, and efficiency. Fix any issues found.
Run git diff (or git diff HEAD if there are staged changes) to see what changed. If there are no git changes, review the most recently modified files that the user mentioned or that you edited earlier in this conversation.
Use the delegate tool to launch all three agents concurrently in a single message. Pass each agent the full diff so it has the complete context.
For each change:
Review the same changes for hacky patterns:
Review the same changes for efficiency:
If $ARGUMENTS is provided, all three agents should also pay special attention to: $ARGUMENTS
Wait for all three agents to complete. Aggregate their findings and fix each issue directly. If a finding is a false positive or not worth addressing, note it and move on — do not argue with the finding, just skip it.
When done, briefly summarize what was fixed (or confirm the code was already clean).
帮助你调研、规划并并行执行大规模代码变更,让多个代理分别提交 PR。
用多模型视觉能力分析图片内容、提取文字并回答图像相关问题。
帮助开发者设计安全持久的配置与状态文件管理模式,兼顾默认值合并和崩溃恢复。
以资深工程师视角审视架构、遗留重构与工具选型,给出务实建议。
帮助开发与运维设计兼顾本地顺畅和远程安全的认证与 TLS 接入方案。
帮助开发者设计易安装、易扩展且配置分层清晰的 CLI 工具模式。
审查代码变更的安全性、性能与正确性,帮助你在合并前发现风险
对 GitHub PR 或 GitLab MR 做基于全代码库的代码审查与质量检查
从正确性、测试、安全与性能等维度进行深入代码审查并给出改进建议
用于代码与分支审查,综合检查正确性、兼容性、架构、测试、性能与安全问题。
帮助你严谨评估代码评审意见,澄清疑点后再决定是否采纳与实现
调用多模型协同审查代码,汇总发现漏洞、性能问题与最佳实践建议。