AR

architecture-boundary-guard

Prevents architecture drift and ensures strict adherence to bounded-context integrity.

Install

mkdir -p .claude/skills/architecture-boundary-guard && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/10259" && unzip -o skill.zip -d .claude/skills/architecture-boundary-guard && rm skill.zip

Installs to .claude/skills/architecture-boundary-guard

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Enforce DDD and Hexagonal architecture boundaries for code changes. Use when implementing or reviewing any change that touches module boundaries, ports/adapters, controllers, or repositories.
191 chars✓ has a “when” trigger
Intermediate

Key capabilities

  • Validate dependency directions between modules
  • Enforce port and adapter usage rules
  • Identify forbidden cross-context imports
  • Verify controller and use-case layering
  • Check mapper and scheduler architectural rules
  • Generate findings with specific file paths

How it works

The tool loads architectural conventions and checks code changes against defined dependency and layering rules. It identifies impacted modules to flag violations of bounded-context integrity.

Inputs & outputs

You give it
Target files and diff context
You get back
Boundary compliance summary and corrective actions

When to use architecture-boundary-guard

  • Review module boundaries
  • Validate cross-context imports
  • Check controller/use-case layering

About this skill

Purpose

Prevent architecture drift and preserve bounded-context integrity.

Workflow

  1. Load and apply docs/ai/CONVENTIONS.md, especially sections 1 through 4 and section 8.
  2. Identify impacted modules and boundaries.
  3. Validate dependency direction and port usage.
  4. Flag forbidden cross-context imports.
  5. Confirm controller/use-case layering.
  6. Validate mapper, job/scheduler, and Redis rules when touched.
  7. Run npm run typecheck, then npm run test:arch when boundaries change, to verify hexagonal and cross-module boundary compliance.
  8. Produce findings with concrete file paths.

Inputs

Outputs

  • Boundary compliance summary.
  • Violations and corrective actions.

Failure and Escalation

Escalate when business intent conflicts with architecture invariants.

When not to use it

  • When business intent conflicts with architecture invariants

Prerequisites

docs/ai/CONVENTIONS.md

Limitations

  • Requires explicit architectural conventions in CONVENTIONS.md

How it compares

This tool automates the verification of architectural invariants against specific documentation rather than relying on manual code review.

Compared to similar skills

architecture-boundary-guard side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
architecture-boundary-guard (this skill)03moNo flagsIntermediate
architect-review1094moNo flagsAdvanced
solid-principles579moNo flagsIntermediate
codex322moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

architect-review

sickn33

Master software architect specializing in modern architecture patterns, clean architecture, microservices, event-driven systems, and DDD. Reviews system designs and code changes for architectural integrity, scalability, and maintainability. Use PROACTIVELY for architectural decisions.

109320

solid-principles

SmidigStorm

Enforce SOLID principles (Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion) in object-oriented design. Use when writing or reviewing classes and modules.

57236

codex

Lucklyric

Invoke Codex CLI for complex coding tasks requiring high reasoning capabilities. This skill should be invoked when users explicitly mention "Codex", request complex implementation challenges, advanced reasoning, or need high-reasoning model assistance. Automatically triggers on codex-related requests and supports session continuation for iterative development.

32238

error-handling-patterns

wshobson

Master error handling patterns across languages including exceptions, Result types, error propagation, and graceful degradation to build resilient applications. Use when implementing error handling, designing APIs, or improving application reliability.

35170

deepwiki-rs

sopaco

AI-powered Rust documentation generation engine for comprehensive codebase analysis, C4 architecture diagrams, and automated technical documentation. Use when Claude needs to analyze source code, understand software architecture, generate technical specs, or create professional documentation from any programming language.

25170

senior-fullstack

davila7

Comprehensive fullstack development skill for building complete web applications with React, Next.js, Node.js, GraphQL, and PostgreSQL. Includes project scaffolding, code quality analysis, architecture patterns, and complete tech stack guidance. Use when building new projects, analyzing code quality, implementing design patterns, or setting up development workflows.

35110

Search skills

Search the agent skills registry