domain-check

Detect cross-domain violations in code changes and generate a structured report.

35|5|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/TheodoreGalanos/aec-bench --skill domain-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: domain-check
Source: https://github.com/TheodoreGalanos/aec-bench/tree/main/src/aec_bench/init/skill_data/domain-check
Command: npx skills add https://github.com/TheodoreGalanos/aec-bench --skill domain-check

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Verify that code changes respect aec-bench's architectural invariants and domain boundaries before they land, preventing cross-domain contract violations and leakage of holdout assumptions.

Core Features & Use Cases

  • Enforces mapping of changed files to defined domains and checks against contract boundaries.
  • Flags cross-domain violations (e.g., a change in one domain influencing another) and provides actionable fixes.
  • Generates a structured report suitable for review and integration into CI checks.
  • Use Case: When reviewing multi-domain PRs, ensure data never crosses boundaries without a contract.

Quick Start

Run the domain check after making changes to ensure architectural boundaries are preserved across domains.

Frequently Asked Questions about domain-check

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

FAQPage Schema
How do I check for cross-domain boundary violations in code changes?

Checking architectural boundaries involves mapping modified files to defined domains and verifying dependency directions against established contracts. This identifies unauthorized cross-domain influences and reports them in a structured domain-check report to preserve invariants.

What are architectural invariants and when do I need to verify them?

Architectural invariants are rules preserving domain boundaries and contract integrity. You need to verify them when modifying files, adding modules, changing data shapes, or before committing multi-domain changes to prevent contract violations and assumption leakage.

How do I prevent contract violations when reviewing multi-domain pull requests?

Preventing contract violations in multi-domain pull requests requires verifying that data never crosses domain boundaries without an explicit contract. Mapping changed files to domains and checking dependency directions ensures data routing respects architectural boundaries.

Can I integrate domain boundary checks into CI pipelines?

Yes, you can integrate domain boundary checks into CI pipelines. The check generates a structured domain-check report suitable for review and integration into CI checks, verifying architectural invariants are respected before code lands.

What is the best way to enforce domain routing and dependency direction rules?

The best way to enforce domain routing and dependency direction rules is to run an automated domain check after making code changes. This verifies modifications respect defined contract boundaries and flags cross-domain violations with actionable fixes.