dsh-code-review

dsh-code-review is a skill for Claude Code, Codex from hackerFish/awesome-dsh-skills. It costs 27 tokens per session (363 once invoked), scanned A, original, MIT.

A Chinese-language code-review skill using a six-part checklist: correctness, security, maintainability, error handling, tests, and documentation.

In plain words
What is it for?
Reviewing code changes, checking edge cases and security risks, verifying tests and documentation, and producing a structured report with file locations and severity.
Why use it?
It helps reviewers find concrete, reproducible problems and separate blocking issues from suggestions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Reviewing code changes, checking edge cases and security risks, verifying tests and documentation, and producing a structured report with file locations and severity.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hackerfish/awesome-dsh-skills/dsh-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 hackerFish/awesome-dsh-skills --skill dsh-code-review
Clone the repo
git clone --depth 1 https://github.com/hackerFish/awesome-dsh-skills

Made for: Claude Code, Codex.

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 dsh-code-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/hackerfish/awesome-dsh-skills/dsh-code-review/github.svg)](https://agentmods.dev/skills/hackerfish/awesome-dsh-skills/dsh-code-review)
Your own site
<a href="https://agentmods.dev/skills/hackerfish/awesome-dsh-skills/dsh-code-review"><img src="https://agentmods.dev/badge/skills/hackerfish/awesome-dsh-skills/dsh-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 dsh-code-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/hackerfish/awesome-dsh-skills/dsh-code-review"><img src="https://agentmods.dev/badge/skills/hackerfish/awesome-dsh-skills/dsh-code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 363 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.
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.00027 $0.00363
Opus 5 $0.00014 $0.00181
Sonnet 5 $0.00005 $0.00073
Haiku 4.5 $0.00003 $0.00036

Measured 9d ago against content hash b40434b68618, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

dsh-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 9d 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.

skills/dsh-code-review/SKILL.md · 31 lines

What it actually says

结构化代码审查

六维检查(按优先级)

  1. 正确性:逻辑是否实现意图;边界条件(空、单元素、超长、负数、并发)是否处理
  2. 安全:外部输入是否校验/转义;密钥是否泄漏;命令注入、路径穿越是否存在
  3. 可维护性:命名是否表达意图;函数是否单一职责;重复代码是否应提取
  4. 错误处理:失败路径是否可观测;错误信息是否可定位
  5. 测试:关键路径是否有测试;测试是否测了行为而不是实现细节
  6. 文档:接口变化是否同步文档与版本号

审查报告格式

文件:行号 | 严重级(阻断/建议/吹毛求疵) | 事实 | 建议
  • 先列阻断项,再列建议项;吹毛求疵的合并成一条
  • 只批评可复现的事实,不评价作者
  • 拿不准的标注"需讨论",不要用"显然""一定"下判断

自查用法

把上面的清单当成自己的代码出门前检查:提交 PR 前先以审查者视角过一遍。

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. 9d ago First seen · 31 lines · 27 tokens per session scan A b40434b68618

Subscribe to this mod's changes

dsh-code-review is a skill published in the GitHub repository hackerFish/awesome-dsh-skills (5 stars, last pushed 4d ago), licensed MIT. It adds 27 tokens to every session and 363 once invoked, about $0.0001 per session on Opus 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-31.