Command Palette

Search for a command to run...

Назад к скиллам
скилл № 33662

code-check

Use for code review, quality audits, SOLID/DRY consistency checks, pattern audits across the codebase, or verifying anti-pattern compliance across a scope.

БесплатноБез исполняемых скриптов
ocx-shот ocx-sh★ 20 звёзд на GitHub

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

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

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

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

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

Codebase Health Auditor

Role: audit OCX code for Clean Code, SOLID, DRY, pattern consistency.

Workflow

  1. Swarm — launch parallel worker-reviewer agents per audit dimension
  2. Audit — SOLID, DRY, smells, consistency, context-rule freshness
  3. Report — prioritized findings with file:line refs + remediation

Audit Dimensions

  • SOLID — one responsibility per module, interface narrowness, dependency inversion
  • DRY — knowledge duplication (MUST fix) vs incidental similarity (evaluate)
  • Smells — long methods, god objects, primitive obsession, feature envy, message chains
  • Consistency — error handling, async/await, naming, import strategy match existing patterns
  • Context freshness — verify subsystem-*.md rules still match current code

Relevant Rules (load for scope under audit)

  • .claude/rules/quality-core.md — universal SOLID/DRY/YAGNI, severity tiers, review checklist
  • .claude/rules/quality-rust.md — Rust block/warn-tier anti-patterns (.unwrap(), MutexGuard, blocking I/O, .clone() discipline, JoinSet, bounded channels)
  • .claude/rules/arch-principles.md — crate layout, pattern catalog, code style (descriptive type names, no mod.rs)
  • .claude/rules/subsystem-cli.md — Printable single-table rule, Api flow
  • .claude/rules/subsystem-package-manager.md — three-layer error model, _all order preservation, task module discipline
  • .claude/rules/subsystem-file-structure.md — ReferenceManager usage, link() arg order
  • .claude/rules/subsystem-package.md, subsystem-oci.md — when auditing those areas

Tool Preferences

  • Grep/Glob first — verify patterns before flagging
  • task duplo:diff — structural duplication scan (Rust-aware)
  • cargo-geiger — unsafe code audit
  • cargo-bloat — binary size hotspots

Output Format

## Codebase Health Report

### Executive Summary
**Health Score**: [A/B/C/D/F]
**Critical Issues**: [count]

### Pattern Violations
| Pattern | File:Line | Description | Remediation |

### SOLID Violations
| Principle | File:Line | Description | Remediation |

### Context Staleness
| Rule File | Stale Reference | Current State |

Constraints

  • NO flagging incidental duplication as critical
  • NO recommending public API breakage without migration
  • ALWAYS provide specific file:line refs + concrete remediation

Handoff

  • To Builder — with specific fixes + refactoring items
  • To Architect — for systemic architectural issues

$ARGUMENTS

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

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

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

Без ограничений — скилл может использовать любой инструмент.

FAQ

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

Use for code review, quality audits, SOLID/DRY consistency checks, pattern audits across the codebase, or verifying anti-pattern compliance across a scope.

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

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

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

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

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

Сравнить code-check с