architecture-validate-architecture

Scan source files for layer-boundary and dependency violations against ARCHITECTURE.md patterns.

1|1|Updated Jul 29, 2025
One-click install
npx skills add https://github.com/M-Abdullah07/Pharmacy-Billing-App --skill architecture-validate-architecture
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: architecture-validate-architecture
Source: https://github.com/M-Abdullah07/Pharmacy-Billing-App/tree/main/.agent/skills/architecture-validate-architecture
Command: npx skills add https://github.com/M-Abdullah07/Pharmacy-Billing-App --skill architecture-validate-architecture

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Architecture validation is often inconsistent and time-consuming; this skill automates it across projects to enforce architectural rules.

Core Features & Use Cases

  • Reads ARCHITECTURE.md to determine the project's architectural pattern (Clean Architecture, Hexagonal, Layered, or MVC)
  • Scans source files for layer boundary violations and invalid dependencies
  • Reports violations with actionable remediation guidance and supports pre-commit/CI integration

Quick Start

Validate your project architecture with a single command to generate a violations report.

Frequently Asked Questions about architecture-validate-architecture

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

FAQPage Schema
How do I automate architecture validation for layer boundaries and dependency rules?

Architecture validation is automated by scanning source files to detect layer boundary violations and dependency-direction breaches. The tool reads ARCHITECTURE.md to identify your pattern and reports violations with actionable remediation guidance.

Can I validate Clean Architecture, Hexagonal, Layered, and MVC anti-patterns automatically?

Yes, Clean Architecture, Hexagonal, Layered, and MVC anti-patterns are validated automatically. The scanner reads ARCHITECTURE.md to determine the active pattern and checks source files for invalid dependencies and structural violations.

How do I integrate dependency direction checks into a CI-CD pipeline?

Dependency direction checks integrate into CI-CD pipelines through pre-commit hooks and continuous integration support. The tool outputs actionable reports detailing remediation guidance to block invalid layer dependencies during the build process.

What is the best way to enforce architecture rules and prevent dependency violations across projects?

The best way to enforce architecture rules is using an automated validator that reads ARCHITECTURE.md and scans source files. It detects dependency-direction breaches and anti-patterns, providing reports with actionable remediation guidance.