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.
npx skills add xl188/XLSkills --skill requesting-code-reviewgit clone --depth 1 https://github.com/xl188/XLSkillsWrote 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.
[](https://agentmods.dev/skills/xl188/xlskills/requesting-code-review)<a href="https://agentmods.dev/skills/xl188/xlskills/requesting-code-review"><img src="https://agentmods.dev/badge/skills/xl188/xlskills/requesting-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.
<a href="https://agentmods.dev/skills/xl188/xlskills/requesting-code-review"><img src="https://agentmods.dev/badge/skills/xl188/xlskills/requesting-code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00096 | $0.04744 |
| Opus 5.5 | $0.00038 | $0.01898 |
| Sonnet 5.5 | $0.00019 | $0.00949 |
| Haiku 4.5 | $0.00010 | $0.00474 |
Grade A, and why
dsh-requesting-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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 325 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Pre-Commit Code Verification(DSH 版)
Automated verification pipeline before code lands. Static scans, baseline-aware quality gates, an independent reviewer subagent, and an auto-fix loop.
Core principle: No agent should verify its own work. Fresh context finds what you miss.
与 Hermes 版的关系:流程 / 契约 / 铁律同源。差异只在平台机制——DSH 用批量并行 subagent(同一条消息多个调用并行执行,默认并发上限 10)替代 delegate_task(tasks=[...]);审查员没有 toolsets 参数可传,改用 prompt 指令约束"不要调用工具";大规模审查可打包成 references/dual-axis-review.md 的 workflow(agent() 的 opts.schema 在工具层强校验 JSON 契约)。
When to Use
- After implementing a feature or bug fix, before
git commitorgit push - When user says "commit", "push", "ship", "done", "verify", or "review before merge"
- After completing a task with 2+ file edits in a git repo
- 多任务流水线的每个任务后(作为质量闸门)
Skip for: documentation-only changes, pure config tweaks, or when user says "skip verification".
Step 1 — Get the diff
git diff --cached
Empty → git diff,再空 → git diff HEAD~1 HEAD。若 --cached 空但 git diff 有内容,提示用户 git add <files>(按 dsh-dev-pm-flow 流程改动通常未暂存,直接审查 git diff 即可)。仍空 → git status,没什么可验。
diff 超 15,000 字符 → 按文件拆分:
git diff --name-only
git diff HEAD -- specific_file.cs
Step 2 — Static security scan
只扫新增行。任何命中 = 安全信号,喂给 Step 5。
按项目技术栈选择扫描 pattern 库(单一事实源,复用仓库级 requesting-code-review/references/dotnet.md,不复制;作为 DSH 技能安装后随包部署于 references/dotnet.md):
- .NET / C# / SqlSugar / Oracle → 读
requesting-code-review/references/dotnet.md,执行其中的扫描命令与 checklist;pwsh 等价:git diff --cached | Select-String -Pattern '^\+[^\+]' | Select-String -Pattern '<同一条 -iE 正则>' - 其他技术栈(Java/Go/Python…)→ 手动按对应语言补充 pattern;没有对应参考文件时明说"该栈无内置 pattern"
- 硬约束:未读对应 references 文件(.NET 即 dotnet.md)不得进入扫描——SKILL.md 不内置任何可执行 pattern,漏读 = 空转还自以为扫过
通用原则:Select-String -Pattern '^\+[^\+]' 排除 +++ b/file diff 头行;扫描只针对新增行,命中 = 需人工复核的信号。
Step 3 — Baseline tests and linting
检测项目语言,跑对应工具。先测改动前失败数 baseline_failures(stash 改动 → 跑 → pop),只统计你改动新增的失败。
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago First seen · 325 lines · 96 tokens per session scan A 0f7b5bba30d4
dsh-requesting-code-review is a skill published in the GitHub repository xl188/XLSkills (2 stars, last pushed 1mo ago), licensed MIT. It adds 96 tokens to every session and 4,744 once invoked, about $0.0004 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-31.
Other skills, from other repositories
libretranslate-markdown-i18n
Machine-translate Markdown / Obsidian / Quartz content into other languages using a self-hosted LibreTranslate instance, preserving frontmatter, headings, emojis, bold/italic, wikilinks (![[...]]/[[...]]) and internal links. Use whenever a user wants to auto-translate a Markdown vault, Obsidian notes, or a…
awesome-skills-master
Master catalog orchestrator and autonomous installer for AI agents. Use when exploring, cloning, discovering, or installing skills, plugins, or MCP servers from awesome-skills without using interactive CLI tools. Guides environment detection, rule adaptation (.mdc/CLAUDE.md), MCP configuration, and strict author…
docker-single-port-multi-instance
Consolidate multiple Docker Compose app instances (production / test / demo) behind ONE host port using an nginx reverse proxy that routes by URL path prefix (e.g. /demo). Use when a user wants 'one port, several apps/banks' or a demo reachable simultaneously from the main landing page with its own database.
readme-template
Standard README template for repos — professional structure with badges, overview, table of contents, features/modules, stack, installation, configuration, tests, security, structure, docs, roadmap, contribute, license, author + RepoActivity sections (Star History, repo stats) + profile GIF footer. Use when creating…
suap-iff-api
Authenticate to and consume the SUAP IFF (Instituto Federal Fluminense) API v2 from the CLI — obtain the JWT access/refresh token via matricula+senha, then fetch student data (periodos letivos, dados do aluno, boletim). Use when the user has a suap.iff.edu.br matricula+senha and wants to extract academic data…
github-issue-pr-attribs
Standardize GitHub ISSUE and PR metadata (Assignee, Reviewer, Labels, Project, Milestone, Development, Relationship) and ship a strong, well-structured code-review template. Includes ready-to-use issue forms, PR template, and a severity/rubric review model.