sk-code-review
БесплатноБез исполняемых скриптовНе проверенStack-agnostic code-review for sk-code: findings-first severity, security/correctness minimums, and surface evidence.
от MichelKerkmeester★ 40 звёзд на GitHubОб этом скилле
sk-code-review Mode - Stack-Agnostic Findings-First Review
Universal findings-first review baseline paired with sk-code surface standards evidence for the detected code surface.
1. WHEN TO USE
Activation Triggers
Use the sk-code-review mode (of the sk-code family) when:
- A user asks for code review, PR review, or merge readiness.
- A workflow dispatches
@reviewfor pre-commit or gate validation. - A user requests security/correctness risk analysis before merge.
- A user wants severity-ranked findings with file:line evidence.
Keyword Triggers
review, code review, pr review, audit, security review, request changes, findings, blocking issues, merge readiness
Use Cases
- Review-only pass: findings-first output with no code edits.
- Gate validation: a pass or fail that follows severity for orchestrated workflows, with any score advisory only.
- Focused risk pass: security, concurrency, correctness, or removal-focused review.
When NOT to Use
- Feature implementation without review intent; load the surface packet (
sk-code-skilled) that carries the implement doctrine. - Pure documentation editing where code behavior is not being assessed.
- Git-only workflow tasks (branching, rebasing, commit hygiene) without code quality evaluation intent.
- Applying review fixes after findings are accepted; load the surface packet (
sk-code-skilled) that carries the implement doctrine. - Author-side quality gates before review; use
sk-code-quality. - Root-cause debugging; use the surface's
workflow-debug.mddoctrine. - Verification evidence collection; use the surface's
workflow-verify.mddoctrine.
2. SMART ROUTING
The hub bundles this mode for a code review, a pull-request review, merge readiness or a security and correctness pass over a diff.
Its vocabulary is review, code review, pr review, audit, security review, request changes, findings, blocking issues and merge readiness.
The first resource it loads is references/review-core.md, the doctrine both @review and @deep-review read.
Review keeps no detection of its own.
The quality runner's explain entry is the one resolver, and it applies the shared detection contract, stack-detection.md section 2.
A surface the hub's router bundles from request words is only a candidate: it applies to the files the resolver places in it.
The rule-override algorithm it hands to the review lives in review-core.md section 9.
Read ROUTER.md before selecting skill-local resources; open only the matched files.
3. HOW IT WORKS
Phase 1: Scope and Baseline
Check the two efficiency gates in section 8 before scoping anything: M-1 skips a review whose pull request is unchanged since the last one, and M-2 skips a diff below its opt-in evidence threshold unless it touches a sensitive path. A skip ends the review there, with the status line alone.
Inspect the review target (
git diff, staged diff, file list, or commit range).Load baseline standards from the
sk-code-reviewmode (of the sk-code family).Resolve the rule sources for the reviewed files in one call, from the reviewed repository's root, where
<hub>is the sk-code folder this mode was loaded from (.skilled/skills/sk-codein the repository that ships it):git diff --name-only --diff-filter=d <range> # the reviewed paths that still exist node <hub>/sk-code-quality/scripts/quality-gate.cjs --explain <file> [<file>...]Pass only paths that exist as regular files. One deleted or missing path makes the runner stop the whole call with
FILE_NOT_FOUND, exit 3, which would drop every surface and override for the files that do exist.- For a diff,
--diff-filter=dleaves the deleted paths out. - For a file list, drop any path that is not a regular file.
- List a deleted path on the
Not checked:line when its removal matters to the review, such as a deleted test or a removed caller.
It prints one
code-quality-explain/v1JSON document and always exits 2, because it runs nothing. Read eachfiles[]entry'ssurfaces,surface_skills(the folder each surface loads from),checklists(each with itssource,sourcesand parsedoverrides) and the document'sconfig.hygiene.disabled.Exit 3 on that filtered list is a usage or root fault: name it on the
Not checked:line and review those files against the baseline only.runner-contract.mdsection 3 owns the fields.- For a diff,
Load
sk-codesurface standards evidence for the surfaces the resolver returned. A surface the hub's router bundled from request words is a candidate, and it applies only to the files the resolver places in it: the file'ssurfacesholds its label, or one of its checklists applies to the file. A candidate that holds no reviewed file is not loaded and n
Установить sk-code-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadBashGrepGlobWriteВложенные файлы
FAQ
Что делает скилл sk-code-review?
Stack-agnostic code-review for sk-code: findings-first severity, security/correctness minimums, and surface evidence.
Как установить скилл sk-code-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл sk-code-review запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic