validate-architecture

Installation
SKILL.md

validate-architecture -- Architecture Layer Violation Detection

Corresponding rule: architecture.md

Purpose

Statically detect inter-layer import rule violations and circular references in a project. If CLAUDE.md defines an architecture, use that layer definition; otherwise default to the general 3-layer model (presentation/business/data access).

Input -- Dynamic Target Resolution

Resolve target directories in this order:

  1. CLAUDE.md "Project Structure" section -- extract source code directories
  2. If CLAUDE.md is missing or has no structure info: Glob source files (**/*.{ts,tsx,js,jsx,py,java,go,rs}) -- use the top-level directory containing matched files
  3. If no source files are found: report status as SHALLOW and state the reason

Default exclusions: node_modules/, .git/, dist/, build/, coverage/ Skill-specific exclusions: *.test.*, *.spec.*, test_*, *_test.*

Mandatory Output: Target Resolution Result

Installs
1
First Seen
Jun 1, 2026
validate-architecture — ww-w-ai/marketplace