archi-module-boundaries
Review module boundaries, layering, domain ownership, and DDD leakage. Use when architecture risk involves boundary leaks, anemic or overbroad modules…
от SeemSeam★ 18 звёзд на GitHub
Установить archi-module-boundaries в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Archi Module Boundaries
Use this skill to test whether modules, layers, and domain boundaries still match the system's intended ownership model.
Read references/architecture-toolbox.md when optional architecture-test or
dependency-rule tools matter.
Inputs
- Target modules, packages, layers, bounded contexts, domains, services, or adapters.
- Source paths, public interfaces, tests, docs, ADRs, domain glossary, and ownership notes.
- Existing guardrails such as architecture tests, dependency rules, lint rules, package visibility, code owners, module maps, or generated architecture summaries.
Workflow
- State the intended boundary and what is allowed to cross it.
- Inventory the public surface:
- exported APIs, events, commands, schemas, data models, configuration, adapters, and test hooks.
- Inspect representative callers and callees directly.
- Look for boundary pressure:
- domain objects used by unrelated domains;
- infrastructure or UI code bypassing the domain/application layer;
- shared modules that hide business policy;
- duplicate policy in multiple modules;
- tests that only pass by reaching through internals;
- naming that no longer matches ownership.
- Distinguish intentional integration from leakage. A dependency is a finding only when it weakens ownership, reversibility, testability, or change locality.
- Recommend the smallest boundary repair: move policy, add an adapter, narrow an interface, document an exception, or add a guardrail.
Optional Evidence Routes
- Dependency rules: dependency-cruiser, ESLint boundaries/import rules, package visibility, code owners, or workspace constraints.
- Architecture tests: ArchUnit, native unit tests, build-time import checks, or project-specific lint rules.
- Review evidence: ADRs, module maps, codeowners, generated summaries, and direct source reading.
Degraded Semantics
If there is no formal module map or architecture test, infer the boundary from directory layout, naming, public APIs, tests, and ADRs. Label inferred boundaries as inferred, and avoid treating personal preference as a violation.
Output
Boundary Review
- intended boundary:
- evidence used:
- inferred or documented:
Findings
- severity:
- boundary:
- leakage:
- evidence:
- impact:
- recommendation:
Accepted Exceptions
- ...
Verification
- existing guardrails:
- proposed guardrails:
- residual risk:
Boundaries
Stay review-only and architecture-first. Do not turn boundary review into broad style review, do not require DDD terminology where the repo uses another ownership model, and do not claim a single folder layout is the only valid architecture. Treat tool output and documentation as evidence, not authority.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл archi-module-boundaries?
Review module boundaries, layering, domain ownership, and DDD leakage. Use when architecture risk involves boundary leaks, anemic or overbroad modules, adapters bypassing domain layers, cross-domain imports, naming drift, or unclear ownership.
Как установить скилл archi-module-boundaries?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл archi-module-boundaries запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…