# Structure Review

> Review code structure for concrete ownership, contract, and maintainability problems.

- Skill: `yeshwanthyk/structure-review` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add yeshwanthyk/structure-review`
- Raw SKILL.md: https://api.skillmd.com/api/skills/yeshwanthyk/structure-review/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Yeshwanthyk (https://skillmd.com/u/yeshwanthyk)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/yeshwanthyk/structure-review

---


# Structure review

Assess whether the structure supports the intended behavior without unnecessary coordination or complexity. A review request produces findings. Apply corrections only when implementation is also requested.

Trace enough of the production path and its checks to understand the affected boundary. Inspect failures or adjacent paths when they can change the conclusion.

Use the relevant shared principles to examine a real design choice:

- [Simplicity](../references/principles/simplicity.md): does a layer hide useful complexity or merely pass it on?
- [Boundary discipline](../references/principles/boundary-discipline.md): what prevents invalid input or state at the boundary?
- [Type-system discipline](../references/principles/type-system-discipline.md): do the types make invalid combinations unrepresentable?
- [State ownership](../references/principles/state-ownership.md): who owns each value, transition, and cleanup?
- [Recovery and idempotency](../references/principles/recovery-and-idempotency.md): what happens after interruption or repeated delivery?
- [Prove it works](../references/principles/prove-it-works.md): what evidence supports the behavior claim?

Read only the notes that help assess the change. Consider other quality concerns when the code and task make them relevant.

Report findings in order of consequence. Each finding needs a code location, a concrete failure or maintenance cost, the smallest useful correction, and a check that would establish it. Distinguish observed problems from plausible risks. Name the condition for revisiting a deferred issue.

Preserve boundaries that serve a real contract. Do not propose a rewrite, abstraction, or style change solely to satisfy a principle. No findings is a valid result; a review need not inventory every sound area.

For a deeper design dispute or source attribution, consult [references.md](references.md).

