ln-642-layer-ownership-boundary-auditor
Checks layer, resource ownership, and orchestration boundaries. Use when auditing architecture boundary enforcement.
npx skills add majiayu000/claude-skill-registry --skill ln-642-layer-ownership-boundary-auditor --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
> **Paths:** File paths (`references/`, `../ln-*`) are relative to this skill directory. # Layer & Ownership 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 **Out of Scope:** - Blocking I/O in async functions (sync open/read in async def) - Fire-and-forget tasks (create_task without error handler) ## Input ``` - 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) - domain_mode: "global" | "domain-aware" # Default: "global" - current_domain: string # e.g., "users", "billing" (only if domain-aware) - scan_
- Purpose & Scope
- Input
- Workflow
- Phase 1: Discover Architecture
- Phase 2: Detect Layer Violations
- Phase 3: Cross-Layer Consistency Checks
- Phase 4: Check Pattern Coverage
- Phase 5: Calculate Score
- Phase 6: Write Report
- Phase 7: Return Summary
- Critical Rules
- Definition of Done
- Reference Files
What does the ln-642-layer-ownership-boundary-auditor skill do?
Checks layer, resource ownership, and orchestration boundaries. Use when auditing architecture boundary enforcement.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill ln-642-layer-ownership-boundary-auditor --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
