Command Palette

Search for a command to run...

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

sk-code-quality

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

sk-code quality gate after implementation, before verification: P0/P1/P2 author checks, comment hygiene, and surface checklists.

MichelKerkmeesterот MichelKerkmeester★ 40 звёзд на GitHub

Об этом скилле

Code Quality (quality)

quality is the author-side quality gate MODE child of the sk-code family. It runs after the acting agent applying workflow-implement.md changes the code and before the surface's verification workflow or done-claim. It consumes the shared surface router, loads the right checklist for the detected surface and target path, fixes quality-gate failures in place, and leaves findings-only output to sk-code-review.


1. WHEN TO USE

Activation Triggers

Use this mode when the request involves:

  • Running the post-implementation quality gate before a completion claim.
  • Applying P0/P1/P2 author-side checks to changed code, scripts, skills, agents, commands, MCP servers, or spec docs.
  • Checking comment hygiene on modified files and removing ephemeral artifact references from comments while preserving durable WHY.
  • Loading a SKILLED authoring checklist for .skilled/skills/, .skilled/agents/, .skilled/commands/, specs/, MCP server source, or language-specific SKILLED files.
  • Fixing quality-gate failures in place with Edit when the fix belongs to the already-authored file.

Keyword triggers: quality gate, code quality, comment hygiene, surface checklist, authoring checklist, SKILLED checklist, check before done.

When NOT to Use

Skip this mode when:

  • The user needs code written, files scaffolded, or behavior implemented. Hand it to the acting agent applying workflow-implement.md for the detected surface.
  • A failure needs symptom-to-root-cause investigation or a single-cause bug fix. Use the surface's debugging workflow (workflow-debug.md).
  • The task is to collect final non-mutating verification evidence. Use the surface's verification workflow (workflow-verify.md).
  • The user asks for findings-first review output, severity-ranked findings, or PR review. Use sk-code-review.
  • The task is documentation-only prose with no code-work contract. Use sk-doc.

Family Boundary

This is an independently invokable member of the sk-code family. It owns the quality gate, not implementation planning, debugging, verification evidence, or formal review reporting. It may edit files that the surface skill already changed to satisfy gate failures, but it does not create new files and does not dispatch subagents.

Pairs well with:

  • The surface skill (sk-code-skilled) immediately before this gate, because implementation writes the files this mode checks.
  • The surface's debugging workflow (workflow-debug.md) when a quality failure reveals a functional bug or failing command.
  • The surface's verification workflow (workflow-verify.md) after P0 quality issues are clear, because verification gates the final claim.
  • sk-code-review when the user wants findings-only output rather than author-side correction.

2. SMART ROUTING

The sk-code hub routes a post-implementation quality gate here: the request names a quality gate, comment hygiene, an authoring checklist or a check before done, and the hub's quality signal selects this packet. This mode routes by target path more than by keyword, because the checklists a change needs follow the files it touches. node scripts/quality-gate.cjs --explain <path> names those checklists and why, and its answer outranks any keyword match.

Three resources load first: references/runner-contract.md for the runner's CLI, gate values and verdict; ../shared/references/universal/code-quality-standards.md for the shared severity floor; and references/code-style-guide.md for this packet's style and comment rules. The resource domains, loading levels, path-keyed rows and comment-hygiene layers follow in the next section.

The prompt-intent projection in that router only makes the default resources scoreable; it never picks the path-keyed checklist. Read ROUTER.md before selecting skill-local resources; open only the matched files.


3. RESOURCES

Resource Domains

  • This mode ships no house-style checklist. The universal floor and the universal style guide apply on every surface, and each surface's own checklists carry its house style. ../sk-code-skilled/assets/checklists/universal-checklist.md is the SKILLED baseline, loaded when SKILLED is a resolved surface of the target, and the SKILLED JavaScript and CSS house checks sit under ../sk-code-skilled/assets/checklists/js-css-style/.
  • ../sk-code-skilled/assets/checklists/ contains SKILLED authoring checklists for skills, agents, commands, MCP servers, language files, and config; the spec-folder checklist is owned by system-spec-kit.
  • scripts/quality-gate.cjs is the runner. It reads the change, runs the built-in checks, probes the enforcement layers, lists the checklists the declarations name and prints one verdict. It writes no file. The only commands it runs beyond its own are the ones a repository's committed .skilled/skills/sk-code/sk-code-quality/repository/quality.json names, each as an argv array und
Полный SKILL.md на GitHub

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

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

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

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

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

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

Read
Edit
Bash
Grep
Glob

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

README.mdROUTER.mdassets/comment-syntax.jsonassets/quality-config.template.jsonassets/quality-defaults.jsonbenchmark/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-26--quality-gate-fixtures--live/README.mdbenchmark/reports/2026-10-26--quality-gate-fixtures--live/failed-runs.mdbenchmark/reports/2026-10-26--quality-gate-fixtures--live/findings-and-recommendations.mdbenchmark/reports/2026-10-26--quality-gate-fixtures--live/results.csvbenchmark/reports/2026-10-26--quality-gate-fixtures--live/skill-benchmark-report.jsonbenchmark/reports/2026-10-26--quality-gate-fixtures--live/skill-benchmark-report.mdbenchmark/reports/2026-10-26--quality-gate-fixtures--live/source.mdbenchmark/reports/README.mdchangelog/v1.0.0.0.mdchangelog/v1.0.0.2.mdchangelog/v1.0.1.0.mdchangelog/v1.1.0.0.mdchangelog/v1.1.1.0.mdchangelog/v1.10.0.0.mdchangelog/v1.11.0.0.mdchangelog/v1.12.0.0.mdchangelog/v1.13.0.0.mdchangelog/v1.13.1.0.mdchangelog/v1.13.10.0.mdchangelog/v1.13.11.0.mdchangelog/v1.13.12.0.md

FAQ

Что делает скилл sk-code-quality?

sk-code quality gate after implementation, before verification: P0/P1/P2 author checks, comment hygiene, and surface checklists.

Как установить скилл sk-code-quality?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл sk-code-quality запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

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