Skip to content
Development
Skill

/code-review

代码审查方法,包含审查清单、常见问题、最佳实践

From plugin
boss
55827 skills16 agents7 commands
Install
$ npx -y skills add echoVic/boss-skill --skill code-review --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/code-review

Context preview

The summary Claude sees to decide when to auto-load this skill.

代码审查方法,包含审查清单、常见问题、最佳实践

SKILL.md

code-review.SKILL.md
name: tech-lead/code-review
description: 代码审查方法,包含审查清单、常见问题、最佳实践
version: 1.0.0
agent: tech-lead
type: methodology
user-invocable: false
agent-invocable: true
dependencies:
  - shared/tech-stack-detection
triggers:
  - 需要审查代码时
  - 需要评估代码质量时

代码审查方法

审查清单

功能正确性

  • [ ] 代码实现符合需求
  • [ ] 边界情况处理正确
  • [ ] 错误处理完善

代码质量

  • [ ] 命名清晰易懂
  • [ ] 函数职责单一
  • [ ] 避免重复代码
  • [ ] 注释必要且准确

安全性

  • [ ] 输入验证
  • [ ] SQL注入防护
  • [ ] XSS防护
  • [ ] 认证授权正确

性能

  • [ ] 无明显性能问题
  • [ ] 数据库查询优化
  • [ ] 避免N+1查询

可维护性

  • [ ] 代码结构清晰
  • [ ] 易于测试
  • [ ] 遵循项目规范
Ships withboss

Languages / 语言 / 言語 / 언어 / Idiomas / Langues: English · 中文 · 日本語 · 한국어 · Español · Français · Português Boss is an auditable agent-team workflow for coding agents.

Get the whole plugin

Other skills on boss.

brainstorming
Skill

brainstorming

需求澄清 Skill。当用户只给了模糊描述时自动触发,通过业务提问把一句话翻译成完整需求,交给 Boss 流水线执行。 Triggers: '我想做一个', '帮我做', '有个想法', 'brainstorm', '帮我规划一下', '做个XX', 'I want to build' Does NOT…

@echovic@echovicView Skill