Code quality review

From woditschka/agentic-coding-reference · View interactive version

Code quality review is an AI agent skill from the GitHub repository woditschka/agentic-coding-reference. Java code quality checklist for Spring Boot applications, plus design placement and workload fit against the project's recorded briefs. Load when conducting code quality reviews.

How to use this skill

Skill file

IDE-Assisted Review (optional)

When an IDE semantic oracle is available, use it to raise review precision over grep-and-recall: (a) pre-filter deterministic inspections on changed files and fold them into findings — if code-quality-gate § IDE Static Analysis already ran them, confirm rather than re-litigate; and (b) ground consistent-with-codebase claims by resolving the referenced symbol instead of recalling it ("mirrors ExampleRepository" is a checkable claim). Part (b) is required, not optional: when the oracle is connected, a consistent-with-codebase finding (raised or cleared) must cite the search_symbol / get_symbol_info call that resolves the referenced symbol (see intellij-idea § Cite the call that backs a claim) — without the oracle, cite the grep and label it the weaker basis. The inspection pre-filter (a) stays an accelerator; a client without an oracle reviews on native tools alone. Tool mechanics: see the intellij-idea skill.

Design Placement

The style guide is the floor; the project's recorded design is the wall. For every new or moved business rule in the diff — a conditional, a validation, a computation encoding a domain decision — check its landing layer against the owning component's row in docs/system-design.md, read under the project's docs/architecture-principles.md § Language Realization (the placement doctrine a project may adapt):

Judge placement against the recorded briefs, never personal architecture taste. Every placement finding cites the catalog row or principle it enforces.

Scope and Vocabulary

The slice's contract is its acceptance bullets in docs/prd.md; its boundary is the non-goals there and the non-goal ADRs under docs/adr/. Read both before the checklist:

Workload Fit

Resource use is judged against docs/system-design.md § Scale and Load, never against the reviewer's own estimate of the workload. The implementer selected against that section, and a review from a different basis is taste (tdd-principles § Fit for the Workload). For every new or changed code path that scales with data:

The free tier is the default on every path: where the better form costs nothing in clarity, it is taken without a row. The test is clarity, not the shape; a scan over a bounded literal list is the simplest form and stays. A neighbor's misselection is a convention only while the path stays bounded, because it starts to cost once the path grows. A miss is blocked, severity fixable, under operationally-honest where the better form is equally clear; otherwise a recommendations entry. Common shapes:

Code Quality Checklist

Naming

Comments and Javadoc

Records and Data Model

Construction

The brief's Pattern Catalog row "Construction and update" binds as written; a project that adapts the row is reviewed against its own text.

Spring Boot Idioms

Error Handling

Logging

Functions and Methods

Control Flow

Package Structure

UTF-8 and Edge Cases

Testing

Test quality is the test-reviewer's dimension; the checklist lives in the test-review skill and docs/testing-principles.md. Flag a test here only when it blocks reading the production change.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.