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
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
Copy Check
Build-end pass over the diff's user-facing strings. Applies the project's copy rules and before→after exemplar
Rogue Backend Engineering Skill
Expert backend application engineering: layered architecture, domain services, validation, transactions, cachi
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
Architect Engineer
Use for system/module design decisions, defining boundaries between layers, evaluating architectural tradeoffs