code-review

A review checklist for code changes in SkillHub, an AI skills marketplace. It covers the web app, command-line tool, shared packages, and platform-specific concerns.

In plain words
What is it for?
It reviews diffs and related issues, runs available quality checks, examines authentication, rate limits, unsafe content, secrets, and API changes, then writes structured findings.
Why use it?
It helps reviewers find broken tests, missed engineering rules, security problems, and risks in skill-package handling before a change is merged.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/biglionx/skillhub/code-review
Any agent
npx skills add BiglionX/SkillHub --skill code-review
Clone the repo
git clone --depth 1 https://github.com/BiglionX/SkillHub

Made for: Claude Code, Codex.

Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 668 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00056 $0.00668
Opus 5 $0.00028 $0.00334
Sonnet 5 $0.00011 $0.00134
Haiku 4.5 $0.00006 $0.00067

Measured 2d ago against content hash c9ccd0a6de80, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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 2d 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/code-review/SKILL.md · 55 lines

What it actually says

SkillHub 代码审查 (code-review)

本技能指导 Agent 对 SkillHub 仓库的代码改动做系统性审查。

何时使用

  • 审查 PR(合并前)
  • 复查 AI 代理或协作者的改动
  • 上线前自查

工作流程

1. 理解改动

  • 读 diff 与相关 issue/描述,明确意图
  • 定位受影响包(apps/web、apps/cli、packages/*)

2. 运行质量门禁(可执行时)

  • pnpm lint(无 error,warning 需说明)
  • pnpm typecheck
  • 相关测试:pnpm --filter <包> run test / test:e2e
  • 涉及 Prisma:schema 变更是否配套 db:migrate/迁移说明

3. 工程约定核对

  • 包命名 @skillhub/*workspace:* 依赖
  • web 代码 @/ 别名、i18n(zh-CN/en-US/ja-JP/ko-KR 四语言 dictionary 同步)
  • API 路由有 __tests__/;错误处理用 lib/api-response 的 success/error 系列
  • 注释/日志语言一致,无调试残留(console.log 无理由出现)

4. 安全与平台特定风险

  • 认证:管理/写操作走 lib/auth-config + lib/admin-auth,禁止裸信凭
  • 限流:公开 API 是否考虑 lib/middleware/rate-limit
  • 技能包相关改动:是否影响 SKILL.md 解析(lib/skills/skill-md-parser.ts)、审核流程(app/api/reviews)、v2 端点(/api/v2/*
  • 注入风险:SKILL.md 内容渲染(react-markdown)是否允许危险 HTML
  • 密钥/URL 硬编码、.env 泄漏

5. 输出审查意见(markdown)

# 审查意见: <PR/改动描述>
- 结论: 批准 / 需修改 / 拒绝
- 阻塞项: (必须修复)
- 建议项: (可优化)
- 测试覆盖评估: 充分/不足 (具体)

注意

  • 只审查、不直接改代码(除非用户明确要求"修复审查发现的问题")
  • 对空骨架包(api-client/ui/utils)的改动按实际内容审查,不为空目录扣分
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. 2d ago First seen · 55 lines · 56 tokens per session scan A c9ccd0a6de80

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository BiglionX/SkillHub (34 stars, last pushed 5d ago), licensed Apache-2.0. It adds 56 tokens to every session and 668 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens