← ClaudeAtlas

component-reviewlisted

Review low-level component and class design — SOLID, cohesion, pattern correctness, interface design, method contracts, aggregate integrity, and domain-model health inside a PR, branch, namespace, or module. Make sure to use this skill whenever the user asks to review class design, check SOLID, audit a component, check if a pattern is used correctly, or says things like "component review", "class review", "prüfe das klassen design", "are these classes clean", "review the service", "solid check". Use this skill for DETAIL REVIEW only — module boundaries and dependency structure belong in `architecture-review`.
lx-wnk/skills · ★ 1 · AI & Automation · score 71
Install: claude install-skill lx-wnk/skills
# Component Review (Detail Level) Audit class- and method-level design of a scoped target. Report findings — never modify code. ## Scope **In scope:** SOLID (per class), cohesion inside a class, pattern correctness, interface segregation, method signatures, aggregate invariants, error model, testability seams, naming that leaks abstractions. **Out of scope:** module boundaries, dependency cycles, layer violations (→ `architecture-review`), code formatting, style, line-level null checks. ## Examples ```bash # Review a PR's component design /component-review pr 42 # Review a branch /component-review branch feat/order-service # Review a specific namespace/module /component-review namespace src/Order # Review current uncommitted changes /component-review ``` ## Workflow ```mermaid flowchart TD A["Parse target mode"] --> B["Load project context"] B --> C["Detect stack + idioms"] C --> D["Research current patterns"] D --> E["Run checks"] E --> F["Report findings"] ``` ## Phase 1: Parse Target From `$ARGUMENTS`: - `pr <N>` → `gh pr diff <N>`, `gh pr view <N> --json headRefName,files`, read files via `git show <branch>:<file>` - `branch <name>` → `git diff main...<name>`, read files from branch - `namespace <path>` → recursive read under `<path>` - empty → `git diff HEAD` for uncommitted changes ## Phase 2: Load Project Context Check in order, stop at first hit: 1. `.agent-context/layer1-bootstrap.md`, `layer2-project-core.md` 2. `.agent-context/decisions.j