sk-code-quality
БесплатноБез исполняемых скриптовНе проверенsk-code quality gate after implementation, before verification: P0/P1/P2 author checks, comment hygiene, and surface checklists.
от 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
Editwhen 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.mdfor 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-reviewwhen 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.mdis 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 bysystem-spec-kit.scripts/quality-gate.cjsis 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.jsonnames, each as an argv array und
Установить sk-code-quality в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadEditBashGrepGlobВложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
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