← ClaudeAtlas

architecture-reviewlisted

Review system-level architecture of a PR, branch, namespace, or whole project — boundary violations, dependency cycles, layer breaches, ADR compliance, cohesion of modules and bounded contexts. Make sure to use this skill whenever the user asks to review the architecture, audit module boundaries, check for circular dependencies, verify domain structure, or says things like "architektur-review", "prüfe die struktur", "check architecture", "review namespace", "audit boundaries", "are our modules clean". Use this skill for HIGH-LEVEL structural review only — SOLID, class design, and method-level issues belong in `component-review`.
lx-wnk/skills · ★ 1 · AI & Automation · score 71
Install: claude install-skill lx-wnk/skills
# Architecture Review (System Level) Audit structural health: boundaries, dependency direction, layering, ADR drift. Report findings — never modify code. ## Scope **In scope:** module/context boundaries, dependency cycles, layer violations, namespace cohesion, public-API surface leaks, shared-model pollution, drift from documented ADRs. **Out of scope:** SOLID inside a class, naming of private methods, style, line-level bugs (→ `component-review` or general code review). ## Examples ```bash # Review architecture of a specific PR /architecture-review pr 42 # Review a branch against main /architecture-review branch feat/orders-refactor # Focus on a single namespace/module /architecture-review namespace src/Order # Review the whole project /architecture-review ``` ## Workflow ```mermaid flowchart TD A["Parse target mode"] --> B["Load project context"] B --> C["Collect files in scope"] C --> D["Build dependency map"] 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 full file context via `git show <branch>:<file>` - `branch <name>` → `git diff main...<name>`, `git ls-tree -r <name>`, read files via `git show <branch>:<file>` - `namespace <path>` → recursively read files under `<path>` - empty → full-project review (sample entry points + top-level modules) ## Phase 2: Load Project Context Check in order: 1. `.agent-context/layer1-