Check Layers — Development skill for Claude Code
Verify that the DDD layer boundaries are intact — domain never imports impl.
How to install Check Layers
Installs to ~/.claude/commands/drujensen-aiagent-check-layers.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/drujensen/aiagent/HEAD/.claude/commands/check-layers.md -o ~/.claude/commands/drujensen-aiagent-check-layers.md Restart Claude Code, or start a new session, for it to be picked up.
What Check Layers does
Verify that the DDD layer boundaries are intact — domain never imports impl.
Alternatives in Development
- Om Tidy — Self-maintenance pass — acts on every hygiene flag: archives completed work, groups loose clusters, splits ove 4.6k ★
- Domain Driven Design — Apply DDD patterns and bounded contexts 663 ★
- Check Impl — Implementation Check 149 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Arch Check
Run built-in architecture-conformance policies — cycles, cross-package imports, layer violations
Architecture Check
Architecture reviewer step 2 — verify dependency direction, crate boundaries, type placement
Fusebase Health
Run the read-only health check. Reports CLI_LAYER_DRIFT, FLOW_LAYER_DRIFT, SHARED_MERGE_DRIFT, EXCEPTION_IN_EF
Generate Ddd
Generate DDD components. Creates entities, value objects, aggregates, commands, queries, repositories, domain
Arch Boundaries
Install mechanically-enforced architecture boundaries that fail CI on spaghetti imports
Map
Map a route's component tree -- trace imports, detect boundaries, cache the result
Related Agents
Architecture Guardian
Use to verify MacMagazine module boundaries and system compliance are intact after adding/moving code or editi
Arch Purist
The iron-fisted enforcer of DDD layer boundaries and architectural integrity. Use this agent to audit import g
Rust Backend Architect
Primary reviewer for the Rust/Tauri backend — domain modeling, error handling, module boundaries (L0–L3 layers