layer-boundary-guard
CommunityEnforce architectural layer integrity.
Software Engineering#code quality#architecture#dependency management#import guard#layering#pre-commit hook
AuthorSiamese001
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents architectural violations by ensuring that code layers only import from layers with a lower or equal numeric rank, maintaining a strict dependency hierarchy and preventing "layer gravity" issues.
Core Features & Use Cases
- Import Validation: Checks all
importstatements against defined gravity rules before they are committed. - File Creation Guardrail: Prevents new files from being created in layers that would violate dependency rules.
- Use Case: Before adding a new utility function to
agentic_core/L3_orchestration, this Skill would verify that the function does not attempt to import fromL4_stateor higher, thus preserving the architectural integrity of the system.
Quick Start
Use the layer-boundary-guard skill to check the proposed import statement in the current file.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: layer-boundary-guard Download link: https://github.com/Siamese001/Agentic-Workflow/archive/main.zip#layer-boundary-guard Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.