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. Code-quality checklist — language-agnostic principles, design placement and workload fit against the project's recorded briefs, and the per-section slots a stack fills in. Load when conducting code quality reviews.

How to use this skill

Skill file

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 (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

This checklist is structurally complete and language-agnostic. The principles below hold in any language; the Stack-specific rules slot under each heading is where this project records the conventions its language and tools impose, or points to docs/architecture-principles.md and AGENTS.md. A reviewer decides pass or fail on the principles. An empty slot means the stack has not recorded its specifics yet — not that anything goes.

Formatting

Naming

Documentation

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.

Imports and Dependencies

Error Handling

Functions and Methods

Control Flow

Concurrency

Module Structure

Failure and Invariants

Variables and Types

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.