Use when reviewing code quality, asking whether a refactor or design is good, looking for code smells, or evaluating architecture tradeoffs. Identifies shallow interfaces, invalid state models, unclear boundaries, hidden effects, weak failure contracts, over-mocking, over-abstraction, compatibility glue, and clean-looking code that preserves bad models.
72
89%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
“Thus, programs must be written for people to read, and only incidentally for machines to execute.”
— Abelson and Sussman, Structure and Interpretation of Computer Programs
“In this connection it might be worth-while to point out that the purpose of abstracting is not to be vague, but to create a new semantic level in which one can be absolutely precise.”
— Edsger W. Dijkstra, “The Humble Programmer”
Good code solves a real problem through a model people can understand, use, change, and repair. It tells the truth at the right grain: concepts named where they matter, valid states made clear, boundaries translated, consequences visible, failures classified, behavior verified, and unnecessary structure deleted.
Borrow design pressure, not ecosystem ceremony: impossible states and explicit failure/effect boundaries from Rust; domain modules and algebraic modeling from ML traditions; anti-corruption boundaries from integration-heavy systems. Translate the idea into the host language's native tools.
These are not style preferences. Treat them as design failures unless the surrounding code has a real constraint that explains them.
Do not hard-pivot from one dogma to its opposite. Every design accepts costs; choose the smallest honest shape with the information available.
Reject these when they avoid modeling the real problem.
A review finding is ready only when it names the concrete code shape, the caller or maintainer burden, the standard it violates, and the smallest honest change. Drop findings that do not have code evidence or a real cost.
For nontrivial reviews or design advice, load only the reference files that match the concern below. Do not read every reference by default, and do not treat this root summary as the full standard.
| Concern | Read |
|---|---|
| Shared terms need clarification | references/vocabulary.md |
| Domain distinctions, granularity, identity, or implementation details leaking into the model | references/domain-modeling.md |
| Flags, nullable lifecycle fields, invalid combinations, transitions, loops, or authority | references/state.md |
| Deep modules, module roles, seams, dependency shape, resource ownership, or pass-through wrappers | references/modules.md |
| Raw API/DB/framework/provider shapes, parsing, DTOs, source-of-truth conflicts, or trust changes | references/boundaries.md |
| IO, mutation, authority, async/background work, retries, idempotency, or hidden consequences | references/effects.md |
| Expected failures, defects, operational failures, diagnostics, or human-facing failure facts | references/error-handling.md |
| Behavior tests, brittle mocks, characterization tests, evidence, or weak verification | references/verification.md |
| Overengineering, over-modeling, indirection mazes, speculative generality, or reasoning-cost smells | references/complexity.md |
| Contracts, internal freedom, Chesterton's fence, refactoring, compatibility obligations, or clean end-state changes | references/maintainability.md |
516dee7
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.