dsh-code-review

dsh-code-review is a skill for Codex from qufei1993/skills-hub. It costs 46 tokens per session (676 once invoked), scanned A, original, MIT.

A code-review guide for examining code changes or pull requests against a project's real requirements and evidence. It focuses on correctness, security, resource handling, interfaces, tests, and documentation.

In plain words
What is it for?
Use it to review local changes or remote pull requests, trace changed interfaces and callers, check edge cases and cleanup, and report issues with their trigger, impact, file, line, and evidence.
Why use it?
It helps avoid reviews based only on reading the diff or trusting a green test run. It turns supported findings into actionable reports without claiming checks were run when they were not.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to review local changes or remote pull requests, trace changed interfaces and callers, check edge cases and cleanup, and report issues with their trigger, impact, file, line, and evidence.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/qufei1993/skills-hub/dsh-code-review
About the project

Skills Hub is a cross-platform desktop application for installing, organizing, updating, and syncing Agent Skills across AI coding tools. Developers use it to maintain one central skill library and distribute selected skills to tools such as Claude Code, Codex, Cursor, OpenCode, and Antigravity. Its catalogue instructions describe how to work with the managed skills.

qufei1993/skills-hub · 1,861 stars · on GitHub · aiskillshub.link

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 qufei1993/skills-hub --skill dsh-code-review
Clone the repo
git clone --depth 1 https://github.com/qufei1993/skills-hub

Made for: 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/qufei1993/skills-hub/dsh-code-review/github.svg)](https://agentmods.dev/skills/qufei1993/skills-hub/dsh-code-review)
Your own site
<a href="https://agentmods.dev/skills/qufei1993/skills-hub/dsh-code-review"><img src="https://agentmods.dev/badge/skills/qufei1993/skills-hub/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/qufei1993/skills-hub/dsh-code-review"><img src="https://agentmods.dev/badge/skills/qufei1993/skills-hub/dsh-code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 676 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.00046 $0.00676
Opus 5.5 $0.00018 $0.00270
Sonnet 5.5 $0.00009 $0.00135
Haiku 4.5 $0.00005 $0.00068

Measured 7d ago against content hash 583ad77ee841, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 7d 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 · 21 lines

What it actually says

按真实行为要求审查代码

阅读项目上下文、验证证据以及改动区域的实际需求。除非用户要求修复,否则保持只读。未经用户授权,不向外部发布审查意见。

  1. 明确准确的基线与目标提交,或本地差异及暂存、未暂存等修改层。审查远端 PR 时获取其当前引用;目标分支或内容更新后重新确认。
  2. 将变化的接口对应到实际数据提供方和调用方。判断差异前,阅读周边代码、相关决策和项目必需检查。
  3. 优先检查正确性、安全、生命周期和必需行为是否损坏。资源或错误处理变化读生命周期;异步测试读测试可靠性;可见界面读UI;文字变更读文档写作。默认值、校验、依赖或抽象变化读编码规范;覆盖率或测试设计问题读测试选择。
  4. 追踪校验是否真正保护了目标操作,包括其他入口和直接调用方。检查边界值、最终输出或保留内容的大小,计入元数据和多字节文本。核实取消、部分成功、资源释放和派生状态。
  5. 检查实际交付入口、公开导出、构建是否为当前版本以及真实测试证据。重要结果应有独立断言,新增约束应有会失败的错误样例。检查全绿或作者自述不能代替语义审查,也不要无故重跑无关的高成本检查。
  6. 检查必要性:每个抽象、兼容分支和通用 API 都应有当前行为要求或调用方。不要仅凭文本搜索结果猜测并移除受支持行为。
  7. 确认当前文档、默认值、错误和界面文字与代码一致。翻译改动已经在范围内时检查含义,不自行启动翻译任务。

只报告可采取行动的问题,包含文件和行号、具体触发条件、影响及证据。区分缺陷与可选建议,不为凑数量而编造问题。没有充分依据的问题时直接说明,并指出重要覆盖限制。审查发现不等于获得修改或推送权限。

报告验证结果前,将每项“已经执行”的说法对应到真实工具调用和结果。代码推理可以支持发现,无需假称执行过测试;标明这是静态检查。建议检查写“未运行”,用户提供的历史日志注明来源。不得编造成功命令或工具拒绝。

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. 7d ago First seen · 21 lines · 46 tokens per session scan A 583ad77ee841

Subscribe to this mod's changes

dsh-code-review is a skill published in the GitHub repository qufei1993/skills-hub (1,861 stars, last pushed 5d ago), licensed MIT. It adds 46 tokens to every session and 676 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-10-31.

Related

dsh-code-review compared with skills from other repositories

dsh-code-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dsh-code-reviewqufei1993/skills-hubSkill1.9k5d agoMITA46Codex
agentbro-pr-mergeshirenchuang/agentbroSkill1661mo agoApache-2.0A38Claude Code, Codex
architect-boundary-reviewjoinwell52-AI/CodeFlowMu-openSkill22mo agoMITA52Claude Code, Codex
tm-review-routingjoinwell52-AI/CodeFlowMu-openSkill22mo agoMITA48Claude Code, Codex
eval-observation-writingjoinwell52-AI/CodeFlowMu-openSkill22mo agoMITA46Claude Code, Codex
eval-risk-gap-analysisjoinwell52-AI/CodeFlowMu-openSkill22mo agoMITA40Claude Code, Codex
go-testingGentleman-Programming/gentle-aiSkill8.4kyesterdayMITA26Claude Code, Codex