Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

sk-code-review

БесплатноБез исполняемых скриптовНе проверен

Stack-agnostic code-review for sk-code: findings-first severity, security/correctness minimums, and surface evidence.

MichelKerkmeesterот 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 @review for 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

  1. Review-only pass: findings-first output with no code edits.
  2. Gate validation: a pass or fail that follows severity for orchestrated workflows, with any score advisory only.
  3. 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.md doctrine.
  • Verification evidence collection; use the surface's workflow-verify.md doctrine.

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

  1. 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.

  2. Inspect the review target (git diff, staged diff, file list, or commit range).

  3. Load baseline standards from the sk-code-review mode (of the sk-code family).

  4. 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-code in 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=d leaves 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/v1 JSON document and always exits 2, because it runs nothing. Read each files[] entry's surfaces, surface_skills (the folder each surface loads from), checklists (each with its source, sources and parsed overrides) and the document's config.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.md section 3 owns the fields.

  5. Load sk-code surface 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's surfaces holds its label, or one of its checklists applies to the file. A candidate that holds no reviewed file is not loaded and n

Полный SKILL.md на GitHub

Установить sk-code-review в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash
Grep
Glob
Write

Вложенные файлы

README.mdROUTER.mdassets/code-quality-checklist.mdassets/fix-completeness-checklist.mdassets/removal-plan.mdassets/security-checklist.mdassets/solid-checklist.mdassets/test-quality-checklist.mdbenchmark/reports/2026-07-10--live-mode-b--live/README.mdbenchmark/reports/2026-07-10--live-mode-b--live/failed-runs.mdbenchmark/reports/2026-07-10--live-mode-b--live/findings-and-recommendations.mdbenchmark/reports/2026-07-10--live-mode-b--live/results.csvbenchmark/reports/2026-07-10--live-mode-b--live/skill-benchmark-report.jsonbenchmark/reports/2026-07-10--live-mode-b--live/skill-benchmark-report.mdbenchmark/reports/2026-07-10--live-mode-b--live/source.mdbenchmark/reports/2026-07-10--router-mode-a--router/README.mdbenchmark/reports/2026-07-10--router-mode-a--router/failed-runs.mdbenchmark/reports/2026-07-10--router-mode-a--router/findings-and-recommendations.mdbenchmark/reports/2026-07-10--router-mode-a--router/results.csvbenchmark/reports/2026-07-10--router-mode-a--router/skill-benchmark-report.jsonbenchmark/reports/2026-07-10--router-mode-a--router/skill-benchmark-report.mdbenchmark/reports/2026-07-10--router-mode-a--router/source.mdbenchmark/reports/2026-10-27--finding-accuracy--live/README.mdbenchmark/reports/2026-10-27--finding-accuracy--live/failed-runs.mdbenchmark/reports/2026-10-27--finding-accuracy--live/findings-and-recommendations.mdbenchmark/reports/2026-10-27--finding-accuracy--live/results.csvbenchmark/reports/2026-10-27--finding-accuracy--live/skill-benchmark-report.jsonbenchmark/reports/2026-10-27--finding-accuracy--live/skill-benchmark-report.mdbenchmark/reports/2026-10-27--finding-accuracy--live/source.mdbenchmark/reports/2026-10-27--finding-accuracy-calibrated--live/README.mdbenchmark/reports/2026-10-27--finding-accuracy-calibrated--live/failed-runs.mdbenchmark/reports/2026-10-27--finding-accuracy-calibrated--live/findings-and-recommendations.mdbenchmark/reports/2026-10-27--finding-accuracy-calibrated--live/results.csvbenchmark/reports/2026-10-27--finding-accuracy-calibrated--live/skill-benchmark-report.jsonbenchmark/reports/2026-10-27--finding-accuracy-calibrated--live/skill-benchmark-report.mdbenchmark/reports/2026-10-27--finding-accuracy-calibrated--live/source.mdbenchmark/reports/README.mdchangelog/v1.0.0.0.mdchangelog/v1.1.0.0.mdchangelog/v1.2.0.0.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить sk-code-review с