review-quality
Unified codebase quality review: merge readiness verdict + maintainability (Clean Code) + docs-vs-code consistency. Use for code review, quality check…
от enuno★ 17 звёзд на GitHub
Установить review-quality в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Quality Review (Unified)
Goal: turn “is this change good?” into a repeatable review with a clear merge/production readiness verdict.
This skill intentionally merges three review lenses:
- Merge readiness (requirements alignment + risk + verification)
- Code maintainability (Clean Code-style review)
- Documentation consistency (README/docs vs implementation)
This is the single entry point for Ship Faster reviews. It includes an internal auto-triage:
- Always run the unified review (this skill).
- If React/Next.js performance risk is detected, also run
review-react-best-practicesand include its findings. - If UI surface changes are detected, also run a Web Interface Guidelines audit (a11y/focus/forms/motion/content overflow) and include terse
file:linefindings.
Inputs (recommended)
BASE_SHAandHEAD_SHAfor diff-based reviews- Optional:
PLAN_OR_REQUIREMENTSpath (e.g.run_dir/evidence/features/<feature_slug>-plan.md) - Optional: docs scope (
README.md,docs/**, API contracts) - Optional:
run_dir(Ship Faster run directory, if available)
Suggested scope commands
# Baseline: main/master merge-base
BASE_SHA=$(git merge-base HEAD main 2>/dev/null || git merge-base HEAD master)
HEAD_SHA=$(git rev-parse HEAD)
git diff --stat "$BASE_SHA..$HEAD_SHA"
git diff "$BASE_SHA..$HEAD_SHA"
Process
0) Auto-triage (Built-in Router)
Goal: reduce user choice. The reviewer decides which specialized review lens to apply, deterministically, based on the diff.
Collect signals (minimum):
git diff --name-only "$BASE_SHA..$HEAD_SHA"
git diff --stat "$BASE_SHA..$HEAD_SHA"
git diff "$BASE_SHA..$HEAD_SHA"
Routing rules (apply in order):
Docs-only change (fast path):
- If every changed file is in
docs/**or ends with.md|.txt|.rst - Then run the unified review, but focus on Docs ↔ Code consistency + release risk (skip deep code maintainability unless docs reference code changes).
- If every changed file is in
React/Next.js performance-sensitive change:
- If any changed file matches:
**/*.tsx,**/*.jsxnext.config.*,app/**,pages/**,src/app/**,src/pages/**- React/Next entrypoints (
layout.tsx,page.tsx,middleware.ts,route.ts,loading.tsx)
- Or the diff contains performance-sensitive keywords (spot check via
git diff):use client,Suspense,dynamic(,next/dynamic,next/navigation,React.cache,revalidate,fetch(,headers(),cookies()
- Then: run
review-react-best-practicesand include its output (or link to its artifact) in the final report.
- If any changed file matches:
UI Web Interface Guidelines audit (a11y/UX rules, terse output):
- If any changed file matches:
- UI code:
**/*.tsx,**/*.jsx,**/*.vue,**/*.html,**/*.css,**/*.scss - Common UI dirs:
app/**,pages/**,src/app/**,src/pages/**,components/**,src/components/**
- UI code:
- Then: fetch the latest Web Interface Guidelines and audit only the changed UI files first.
- Source:
https://raw.githubusercontent.com/vercel-labs/web-interface-guidelines/main/command.md - Fetch method: WebFetch (if available) or
curl -fsSL <url>
- Source:
- Output findings in terse
file:lineformat, grouped by file (high signal, low prose). Treat a11y + focus issues as higher severity than cosmetic issues.
- If any changed file matches:
Output requirement (at top of your report):
## Triage
- Docs-only: yes|no
- React/Next perf review: yes|no
- UI guidelines audit: yes|no
- Reason: <1-3 bullets based on file paths / patterns>
1) Merge readiness (verdict review)
Use the template: references/code-reviewer.md.
Minimum checks:
- Requirements alignment (acceptance criteria hit, non-goals respected)
- Side effects are gated (deploy/payments/DB writes require explicit approval)
- Error handling is explicit (no silent failures)
- Verification evidence exists (tests/build/typecheck/lint/manual steps)
2) Clean Code maintainability scan
Review the diff (and nearby touched code) across these dimensions:
- Meaningful naming (avoid
data1,tmp, mixed naming for same concept) - Small functions / SRP (very long functions, too many params, mixed responsibilities)
- Duplication (DRY) (copy/paste logic, repeated transformations/validation)
- Over-engineering (YAGNI) (unused branches, unnecessary abstractions)
- Magic numbers / strings (hardcoded values without semantic constants)
- Structural clarity (deep nesting, unreadable one-liners, nested ternaries)
- Project conventions (imports/order/style consistency)
3) Docs ↔ code consistency scan
Check that docs do not lie:
- Enumerate:
README.md,docs/**/*.md, config examples, env keys, API contracts - For each claim/config/example: locate the authoritative code/config/contracts
- Record mismatches with evidence (doc location + code location)
Output (required)
Produce a structured report:
quality-review.md- `q
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/code-reviewer.md
FAQ
Что делает скилл review-quality?
Unified codebase quality review: merge readiness verdict + maintainability (Clean Code) + docs-vs-code consistency. Use for code review, quality check, refactor check, outdated docs check, or merge/production readiness.
Как установить скилл review-quality?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл review-quality запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis 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…