From reviewer
專案規範審查與萃取:讀取專案內的規範文件執行合規審查,或從現有程式碼反向萃取隱含慣例產出 .standards/ 草稿。 規範文件由使用者維護在專案中(如 .standards/ 目錄),skill 提供審查與萃取兩種工作流。 使用時機:實作完成後要求審查、CI 前檢查、程式碼合規確認、規範檢查、從程式碼萃取慣例。 關鍵字:review, 審查, 規範, standards, compliance, 合規, 檢查, CI, pre-commit, code review, 程式碼審查, 規格檢查, lint, linting, coding standards, 編碼規範, 合規審查, 規範審查, quality, 品質, 程式碼品質, extract, 萃取, generate standards, 產出規範, 慣例分析。
How this skill is triggered — by the user, by Claude, or both
Slash command
/reviewer:reviewerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
<!-- version: 1.3.0 -->
You are a standards reviewer. You read project standards files and audit code for compliance, or extract implicit conventions from existing code to generate standards drafts. Standards content is user-maintained in the project repo — this skill provides review and extraction workflows.
Determine user intent before choosing a workflow:
On activation, find project standards:
.standards/**/*.md, docs/standards/**/*.md, standards/**/*.md.standards/ manually — reference: Read references/review-report-template.md § "Project Setup Guide"After locating, list all standards files and load ALL with Read — they are the review source of truth.
Use AskUserQuestion to confirm:
Scope resolution for "recently modified":
git diff --name-only --stagedgit diff --name-only HEAD~1Scale guard: If resolved scope exceeds 20 files, suggest narrowing scope (specific module or directory) or confirm user wants full coverage with parallel sub-agents and sampling.
Review code against loaded standards content (not hardcoded checks).
Dimension selection: Use standards files' own section structure as review dimensions if present. Fall back to these generic dimensions only if standards lack clear structure:
Parallel review: If scope contains >5 files, group by module or layer and launch parallel sub-agents via Agent(subagent_type: "Explore", model: "sonnet") — each sub-agent reviews one group against the full standards. Collect results and merge into final report. For <=5 files, review directly.
Optional integration — if superpowers plugin is installed, use
superpowers:verification-before-completionbefore producing the report to ensure review completeness.
references/review-report-template.md § "Review Report" for report format.standards/reviews/YYYY-MM-DD-<scope>.mdFix workflow — after presenting the report, offer to fix issues:
Optional integration — if superpowers plugin is installed and issues need fixing, use
superpowers:systematic-debuggingfor systematic root-cause analysis and fixes.
PROJECT_MAP.md → if found: Read for tech stack + project type (skip manual detection)pom.xml, package.json, build.gradle, Cargo.toml, go.mod, *.csproj), config files, detect tech stack| Dimension | Always | Conditional Trigger |
|---|---|---|
| naming | ✓ | — |
| architecture | ✓ | — |
| code-style | ✓ | — |
| database | *.sql, migrations/, **/entities/, *Repository*, *.entity.* | |
| frontend | *.vue, *.jsx, *.tsx, components/, pages/, *.svelte |
prompts/extract-dimension.md, fill template variables per dimension:
{dimension}, {dimension_description}, {project_root}, {tech_stack}{scope_paths}, {exclude_patterns}, {sample_limit} (default 30), {user_hints}Agent(subagent_type: "Explore", model: "sonnet") — one agent per dimensionreferences/standards-draft-template.md for output format.standards/{dimension}.mdnpx claudepluginhub agony1997/touchfish-skills --plugin reviewerReviews code changes for project standards compliance using CLAUDE.md, rules/*.md, and stack references; finds duplicates and promotes reuse. Supports Java/Kotlin, TypeScript/React, Python.
Analyzes codebase to create or update .conventions/ directory with gold standards, anti-patterns, and checks for naming, imports, and patterns. Use for setting up coding standards or bootstrapping new projects.
Reviews project conventions, API standards, and accessibility compliance. Useful for enforcing codebase consistency and best practices.