architecture-compliance

Enforce architectural layer boundaries and dependency rules across the codebase.

1|Updated Oct 15, 2025
One-click install
npx skills add https://github.com/vitorsilva/saberloop --skill architecture-compliance-vitorsilva
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: architecture-compliance
Source: https://github.com/vitorsilva/saberloop/tree/main/.claude/skills/architecture-compliance
Command: npx skills add https://github.com/vitorsilva/saberloop --skill architecture-compliance-vitorsilva

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enforce Saberloop's architectural layer boundaries and dependency rules across the codebase.

Core Features & Use Cases

  • Layer-boundary validation across Views, Components, Services, API, and Core layers.
  • Dependency rule enforcement to prevent cross-layer violations and circular dependencies.
  • Visualization and analysis through dependency graphs and graph-based fixes.
  • Guidance on best practices and service-layer patterns for maintainable architecture.

Quick Start

Run the architecture-compliance workflow to audit your project and return a report of violations.

Frequently Asked Questions about architecture-compliance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce architectural layer boundaries and prevent cross-layer dependency violations?

Enforce architectural layer boundaries by validating dependencies across Views, Components, Services, API, and Core layers to prevent cross-layer violations and detect circular dependencies during module addition or refactoring.

What's the best way to detect circular dependencies when moving code across architectural layers?

Detect circular dependencies by running a validation workflow that audits dependency rules across your codebase layers, returning a detailed report of violations and graph-based analysis to pinpoint unwanted circular references.

Does dependency-cruiser work with custom service-layer design patterns for code quality validation?

Dependency-cruiser integrates with validation workflows to enforce service-layer design patterns, applying strict architectural compliance rules to maintain code quality and prevent unwanted cross-layer dependency violations.

How do I generate dependency graphs to visualize architectural compliance violations in my codebase?

Generate dependency graphs by running the architecture compliance workflow, which analyzes your codebase structure, identifies layer boundary violations, and produces visual graph outputs for architectural analysis and refactoring guidance.

Can I validate architectural layer boundaries during refactoring without breaking existing module dependencies?

Validate architectural layer boundaries during refactoring by applying dependency rule enforcement checks that ensure correct layer usage and detect violations before they break existing module dependencies or introduce circular references.

Why do I need architecture compliance checks when adding new modules to a layered codebase?

Architecture compliance checks are needed when adding new modules to ensure correct layer usage, prevent unwanted cross-layer dependencies, and maintain service-layer design patterns that keep the codebase maintainable and free of circular dependencies.