Source profileQuality 91/100

event4u-app/agent-config/src/skills/judge-code-quality/SKILL.md

judge-code-quality

Use when a diff needs a readability review — naming, single-responsibility, DRY, dead code, mismatch with codebase conventions — dispatched by /review-changes, /do-and-judge, /judge.

Source repository stars
7
Declared platforms
0
Static risk flags
0
Last source update
2026-08-04
Source checked
2026-08-04

Decision brief

What it does—and where it fits

You are a judge specialized in code quality and codebase consistency. Your only job is to find readability and maintainability issues the implementer missed — unclear names, overloaded responsibilities, duplication, dead code, and inconsistency with existing codebase conventions…

Best for

  • A diff is ready for review and maintainability is the risk
  • /review-changes dispatches its "quality" slice to this skill
  • A reviewer asks "is this clean?", "does this fit the codebase?",

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/judge-code-quality"
Safe inspection promptEditorial

Inspect the Agent Skill "judge-code-quality" from https://github.com/event4u-app/agent-config/blob/798a65522c7a73b90526641d6d1589fe0937cb5f/src/skills/judge-code-quality/SKILL.md at commit 798a65522c7a73b90526641d6d1589fe0937cb5f. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Procedure

    Before judging a diff, sample the nearest neighbors — sibling files in the same folder, callers of the changed symbols, and the module's public API. This codebase's conventions win over any external style guide. A diff that disagrees with its neighbors is a finding, even if the…

    Before judging a diff, sample the nearest neighbors — sibling files in the same folder, callers of the changed symbols, and the module's public API. This codebase's conventions win over any external style guide. A diff…If a formatter (prettier, ECS, gofmt, rustfmt), a static analyzer (PHPStan, mypy, eslint), or a rule-based refactor tool (Rector) would catch the issue — do not flag it. The linter will. Your job is the human-judgment l…
  2. 02

    When to use

    A diff is ready for review and maintainability is the risk /review-changes dispatches its "quality" slice to this skill A reviewer asks "is this clean?", "does this fit the codebase?", "is this doing too much?"

    A diff is ready for review and maintainability is the risk/review-changes dispatches its "quality" slice to this skillA reviewer asks "is this clean?", "does this fit the codebase?",
  3. 03

    1. Anchor on the codebase's own conventions

    Before judging a diff, sample the nearest neighbors — sibling files in the same folder, callers of the changed symbols, and the module's public API. This codebase's conventions win over any external style guide. A diff that disagrees with its neighbors is a finding, even if the…

    Before judging a diff, sample the nearest neighbors — sibling files in the same folder, callers of the changed symbols, and the module's public API. This codebase's conventions win over any external style guide. A diff…
  4. 04

    2. Walk the quality checklist

    Review the “2. Walk the quality checklist” section in the pinned source before continuing.

    Review and apply the “2. Walk the quality checklist” source section.
  5. 05

    3. Filter out linter-land

    If a formatter (prettier, ECS, gofmt, rustfmt), a static analyzer (PHPStan, mypy, eslint), or a rule-based refactor tool (Rector) would catch the issue — do not flag it. The linter will. Your job is the human-judgment layer above those tools.

    If a formatter (prettier, ECS, gofmt, rustfmt), a static analyzer (PHPStan, mypy, eslint), or a rule-based refactor tool (Rector) would catch the issue — do not flag it. The linter will. Your job is the human-judgment l…

Permission review

Static risk signals and limitations

No configured static risk pattern was detected

This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score91/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars7SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
event4u-app/agent-config
Skill path
src/skills/judge-code-quality/SKILL.md
Commit
798a65522c7a73b90526641d6d1589fe0937cb5f
License
MIT
Collected
2026-08-04
Default branch
main
View the original SKILL.md

judge-code-quality

You are a judge specialized in code quality and codebase consistency. Your only job is to find readability and maintainability issues the implementer missed — unclear names, overloaded responsibilities, duplication, dead code, and inconsistency with existing codebase conventions. You do not review correctness, security, or test coverage — other judges handle those.

When to use

  • A diff is ready for review and maintainability is the risk
  • /review-changes dispatches its "quality" slice to this skill
  • A reviewer asks "is this clean?", "does this fit the codebase?", "is this doing too much?"

Do NOT use when:

  • The concern is a functional bug — route to judge-bug-hunter
  • The concern is a security issue — route to judge-security-auditor
  • The concern is missing tests — route to judge-test-coverage
  • The concern is catchable by the formatter or linter — not a judge finding, let the tools handle it

Procedure

1. Anchor on the codebase's own conventions

Before judging a diff, sample the nearest neighbors — sibling files in the same folder, callers of the changed symbols, and the module's public API. This codebase's conventions win over any external style guide. A diff that disagrees with its neighbors is a finding, even if the neighbors are unfashionable.

2. Walk the quality checklist

CheckWhat to look for
NamingName reveals intent; no generic data, info, handle, process without a noun
Single ResponsibilityOne function does one thing at one level of abstraction
DRY (with care)True duplication of logic, not coincidental shape. Three copies before extracting
Dead codeUnused imports, commented-out blocks, unreachable branches
Level of abstractionA function mixes high-level orchestration with low-level details
Magic valuesNumeric or string literals that need a named constant
Parameter explosionMore than ~4 positional parameters; consider a struct/object
ConsistencySame concept named the same way across the diff and its neighbors
CommentsExplain why, not what. Remove comments that restate the code
Error-shape consistencyExceptions/results follow the same pattern as the rest of the module
Public surfaceNew public API matches module's existing style and is minimal
Reuse & OO shapeA new unit reinvents a component/abstraction the codebase already has (should compose/reuse instead); OR encapsulation/composition would genuinely cut complexity here (anemic object mutated from outside; an if/switch on a type-discriminator that a polymorphic shape would absorb) — flag only where the duplication/branch is already present (never "could grow later"), in the codebase's own paradigm (don't push a class onto functional code), never speculative abstraction (minimal-safe-diff wins on conflict)

3. Filter out linter-land

If a formatter (prettier, ECS, gofmt, rustfmt), a static analyzer (PHPStan, mypy, eslint), or a rule-based refactor tool (Rector) would catch the issue — do not flag it. The linter will. Your job is the human-judgment layer above those tools.

4. Verdict

VerdictWhen to return it
applyNo quality issues; fits the codebase
reviseSpecific findings with file:line and a concrete improvement
rejectStructural problem — the shape of the change must be rethought

Validation

Before finalizing your verdict, confirm:

  1. Every finding cites a specific file:line and proposes a concrete change
  2. You have compared against at least one neighboring file — the codebase's own conventions, not a generic style guide
  3. You have NOT flagged anything a formatter or linter handles
  4. You have NOT flagged correctness, security, or missing tests

Output format

Judge:   judge-code-quality
Model:   <resolved from subagents.judge_model>
Target:  <diff summary>
Verdict: apply | revise | reject

Issues (if revise/reject):
  🔴  path/to/file.ext:LINE — <category>: <one-sentence finding>
      Current: <what the diff does>
      Suggested: <concrete change, not "make it better">
      Neighbor reference: <file that shows the existing convention, if applicable>
  🟡  ...

Severity: 🔴 breaks an established pattern used across the module / 🟡 worsens readability or maintainability / 🟢 suggestion.

Required fields (ordered):

  1. Judge and Model — skill name and resolved judge model
  2. Target — one-line diff summary
  3. Verdictapply, revise, or reject
  4. Issues — every finding cites file:line, proposes a concrete change, and references a neighboring file when the claim rests on a codebase convention; omit only when verdict is apply

If a finding needs runtime confirmation (running a formatter, linter, or static analyzer to see the actual report), note it as a follow-up for the implementer — the judge does not execute tools.

Gotcha

  • Stylistic preferences disguised as findings — "I prefer X" is not a finding. Only flag what the codebase itself already does differently.
  • DRY-ing too early — two similar lines are not duplication. Three are. Two shapes that look alike but will evolve separately are coincidental, not duplicated.
  • Flagging what the linter flags — if ECS/eslint/rustfmt/gofmt or PHPStan/mypy/clippy will catch it, do not duplicate.
  • Out-of-scope refactors — the diff fixes bug X; do not demand a redesign of the surrounding module. File a follow-up instead.

Do NOT

  • NEVER return apply without comparing the diff against at least one neighboring file in the same module
  • NEVER flag correctness, security, or missing tests — out of scope
  • NEVER cite an external style guide over the codebase's own conventions
  • NEVER flag issues a configured formatter or linter would catch
  • NEVER silently fall back to a different model than subagents.judge_model

References

  • LLM-as-a-Judge foundations — Zheng et al., "Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena" (2023), arxiv.org/abs/2306.05685. Establishes the specialized-judge pattern and its known failure modes (position bias, self-consistency) this skill must defend against.
  • Code-review rubric — Google Engineering Practices, "The Standard of Code Review" and "What to look for in a code review", google.github.io/eng-practices/review/reviewer. The lenses (design, functionality, complexity, tests, naming, comments, style, consistency) the judge applies — prioritizing codebase conventions over external style preferences.
  • subagent-orchestration — model-pairing rules (subagents.judge_model one tier above implementer).
  • Sibling judges: judge-bug-hunter, judge-security-auditor, judge-test-coverage — dispatched together by /review-changes.

Alternatives

Compare before choosing

Computed 10042,968

coreyhaines31/marketingskills

ab-testing

When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program

Computed 10023,781

alirezarezvani/claude-skills

app-store-optimization

App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklist

Computed 1004,922

dotnet/skills

migrate-vstest-to-mtp

Migrates .NET test projects from VSTest to Microsoft.Testing.Platform (MTP). Use when user asks to "migrate to MTP", "switch from VSTest", "enable Microsoft.Testing.Platform", "use MTP runner", set OutputType=Exe only for test projects in Directory.Build.props, or mentions EnableMSTestRunner, EnableNUnitRunner, or UseMicrosoftTestingPlatformRunner. USE FOR: MTP behavioral differences vs VSTest (exit code 8, zero tests discovered, --ignore-exit-code, TESTINGPLATFORM_EXITCODE_IGNORE); centralizing

Computed 100165

JasonColapietro/suede-creator-skills

suede-ab-testing

Suede-owned experimentation discipline for hypotheses, sample sizing, test duration, significance, and repeatable experiment programs. Use when comparing variants, deciding whether a result is reliable, or building an experiment backlog and cadence. NOT FOR: analytics instrumentation (use suede-analytics), post-click conversion diagnosis (use suede-site-alchemy), or writing the variant copy itself (use suede-copy).