tech-lead/code-review

tech-lead/code-review is a skill for Claude Code from echoVic/boss-skill. It costs 52 tokens per session (2,480 once invoked), scanned A, original, MIT.

A checklist-based method for examining code for correctness, security, performance, clarity, and ease of maintenance.

In plain words
What is it for?
Use it to review requirements, edge cases, errors, naming, repeated logic, SQL injection, cross-site scripting (XSS), authentication, authorisation, and database queries.
Why use it?
It helps catch bugs, unsafe input handling, slow database access, unclear structure, and code that is difficult to test before merging changes.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: agent in frontmatter.

Part of the boss plugin — 39 skills, 10 commands, 10 agents, 8 hooks shipped together

Good fit Use it to review requirements, edge cases, errors, naming, repeated logic, SQL injection, cross-site scripting (XSS), authentication, authorisation, and database queries.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/echovic/boss-skill/code-review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add echoVic/boss-skill --skill code-review
Clone the repo
git clone --depth 1 https://github.com/echoVic/boss-skill

Made for: Claude Code.

Or install boss, the plugin that ships this one along with the rest of its 39 skills, 10 commands, 10 agents, 8 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tech-lead/code-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/echovic/boss-skill/code-review/github.svg)](https://agentmods.dev/skills/echovic/boss-skill/code-review)
Your own site
<a href="https://agentmods.dev/skills/echovic/boss-skill/code-review"><img src="https://agentmods.dev/badge/skills/echovic/boss-skill/code-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tech-lead/code-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/echovic/boss-skill/code-review"><img src="https://agentmods.dev/badge/skills/echovic/boss-skill/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,480 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00052 $0.02480
Opus 5.5 $0.00021 $0.00992
Sonnet 5.5 $0.00010 $0.00496
Haiku 4.5 $0.00005 $0.00248

Measured 15d ago against content hash e020e0dfd668, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tech-lead/code-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 15d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skill/skills/tech-lead/code-review/SKILL.md · 253 lines

How it starts

The opening of the file, as written. The whole thing — 253 lines — stays where its author put it; the contents beside it link to each section on GitHub.

代码审查方法论

适用场景

对代码变更进行系统性审查,确保功能正确、质量达标、安全可控。本方法论提供分阶段审查流程和可操作的检查项,而非泛泛的「代码质量要好」。

审查流程

阶段 1:理解变更(5 分钟)

在逐行看代码之前,先回答:

  1. 这个 PR 解决什么问题? — 看 PR 描述、关联 issue、PRD
  2. 变更范围多大? — 看 diff stat,超过 400 行的 PR 要求拆分
  3. 涉及哪些模块? — 看变更文件列表,识别影响面

原则(Google Code Review):不理解上下文就不要给 review 意见。先理解「为什么改」,再看「改得对不对」。

阶段 2:正确性审查(必过)

这是阻塞项,有问题必须修复。

检查项 怎么查
需求对齐 代码是否实现了 PRD/issue 描述的全部需求?有没有多做或少做?
边界条件 空值、零值、最大值、超长输入、并发是否处理?
错误处理 异常是否被正确捕获和处理?有没有吞异常?
数据一致性 并发写入、事务边界、缓存失效是否正确?
向后兼容 API 变更是否破坏现有调用方?数据迁移是否可逆?

阶段 3:安全性审查(必过)

检查项 怎么查
输入验证 所有外部输入是否校验(类型、长度、格式、范围)?
注入防护 SQL/命令/模板注入是否防护?用参数化查询而非字符串拼接
XSS 防护 用户输入是否转义?CSP 是否配置?
认证授权 敏感操作是否校验权限?越权访问是否拦截?
敏感信息 密钥、token、密码是否硬编码?日志是否泄露敏感数据?
依赖安全 新增依赖是否有已知漏洞?版本是否过旧?

参考:OWASP Top 10 是必查清单。

阶段 4:代码质量审查(建议项)

检查项 怎么查
命名 变量/函数/类名是否表达意图?避免 data、temp、flag 这类无意义命名
函数长度 单个函数是否超过 50 行?超过则考虑拆分
单一职责 一个函数/类是否只做一件事?
重复代码 是否有 3 行以上的重复?抽取为函数或常量
注释 注释是否解释「为什么」而非「做什么」?过时的注释是否删除?
死代码 是否有未使用的变量、函数、import?
魔法值 是否有未命名的常量(if (status === 3))?提取为枚举或常量

阶段 5:设计审查(建议项)

原则 检查内容
SRP(单一职责) 类是否只有一个变更理由?
OCP(开闭原则) 新增功能是扩展还是修改?是否需要改核心代码?
LSP(里氏替换) 子类是否能替换父类而不破坏行为?
ISP(接口隔离) 接口是否过于臃肿?调用方是否依赖不需要的方法?
DIP(依赖倒置) 是否依赖抽象而非具体实现?

Read the full file on GitHub · 253 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 15d ago Changed · -3 lines e020e0dfd668
  2. 19d ago Changed · +2 lines 889fc0bc4a66
  3. 1mo ago Changed · +206 lines · +29 tokens per session 745f9277c8cf
  4. 2mo ago Changed · +2 lines 6dc316d6e1cc
  5. 3mo ago First seen · 46 lines · 23 tokens per session scan A 93ea1116af93

Subscribe to this mod's changes

tech-lead/code-review is a skill published in the GitHub repository echoVic/boss-skill (631 stars, last pushed 5d ago), licensed MIT. It adds 52 tokens to every session and 2,480 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

tech-lead/code-review compared with skills from other repositories

tech-lead/code-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tech-lead/code-reviewechoVic/boss-skillSkill6315d agoMITA52Claude Code
bmad-github-story-reviewchoucrifahed/agent-pluginsSkill625d agoMITA73Claude Code
bmad-github-story-open-prchoucrifahed/agent-pluginsSkill625d agoMITA73Claude Code
autoreviewopenclaw/clawhubSkill9.6ktodayMITA17Claude Code, Codex
review-workcode-yeongyu/oh-my-openagentSkill71ktodaynoneA63Claude Code, Codex
skill-trigger-auditorAlexZio00/sovereign-skillsSkill1604d agoMITA38Claude Code, Codex
superlintmgechev/skillgradeSkill7391mo agoMITA0Claude Code, Codex