ln-642-layer-boundary-auditor

Solid

Checks layer boundary violations, transaction boundaries, session ownership, cross-layer consistency. Use when auditing architecture layers.

AI & Automation 479 stars 67 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
89
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

> **Paths:** File paths (`shared/`, `references/`, `../ln-*`) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root. If `shared/` is missing, fetch files via WebFetch from `https://raw.githubusercontent.com/levnikolaevich/claude-code-skills/master/skills/{path}`. # Layer Boundary Auditor **Type:** L3 Worker L3 Worker that audits architectural layer boundaries and detects violations. ## Purpose & Scope - Read architecture.md to discover project's layer structure - Detect layer violations (I/O code outside infrastructure layer) - **Detect cross-layer consistency issues:** - Transaction boundaries (commit/rollback ownership) - Session ownership (DI vs local) - Check pattern coverage (all HTTP calls use client abstraction) - Detect error handling duplication - Return violations list to coordinator **Out of Scope** (owned by ln-628-concurrency-auditor): - Blocking I/O in async functions (sync open/read in async def) - Fire-and-forget tasks (create_task without error handler) ## Input (from ln-640) ``` - architecture_path: string # Path to docs/architecture.md - codebase_root: string # Root directory to scan - skip_violations: string[] # Files to skip (legacy) - output_dir: string # e.g., ".hex-skills/runtime-artifacts/runs/{run_id}/audit-report" # Domain-aware (optional, from coordinator) - domain_mode: "global" | "domain-aware" # Default: "global" - current_domain: string ...

Details

Author
levnikolaevich
Repository
levnikolaevich/claude-code-skills
Created
7 months ago
Last Updated
yesterday
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category