Audits Nx monorepo tagging and dependency constraints to enforce bounded context separation for Angular shared UI, domain, and data-access libraries.
Ships in ngautopilot-angular. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill to design or audit Nx bounded context tags and dependency constraints for Angular monorepos.
This skill ties together shared UI, shared domain, and shared data-access contracts so the repository has explicit and enforceable architecture rules. The goal is not just to prevent bad imports, but to make the intended layering visible in tags, lint rules, and project metadata.
The core rule is simple:
UI renders and emits intent.
Domain defines meaning and rules.
Data-access fetches and persists.
Features orchestrate across the boundary.
Nx tags enforce that contract.
Use this skill when:
type:* and domain:* tags@nx/enforce-module-boundaries is missing, incomplete, or too permissiveshared/ui, shared/domain, and shared/data-access are present but not coordinatedUse stable tag dimensions:
type:app
type:feature
type:ui
type:domain
type:data-access
type:util
domain:shared
domain:catalog
domain:billing
domain:claims
Keep project metadata aligned:
{
"name": "shared-ui",
"projectType": "library",
"root": "libs/shared/ui",
"sourceRoot": "libs/shared/ui/src",
"tags": ["type:ui", "domain:shared"]
}
Use a single ESLint policy to make the boundaries enforceable:
{
files: ['*.ts', '*.tsx', '*.js', '*.jsx'],
rules: {
'@nx/enforce-module-boundaries': [
'error',
{
allow: [],
depConstraints: [
{
sourceTag: 'type:app',
onlyDependOnLibsWithTags: ['type:feature', 'type:ui', 'type:domain', 'type:data-access', 'type:util']
},
{
sourceTag: 'type:feature',
onlyDependOnLibsWithTags: ['type:ui', 'type:domain', 'type:data-access', 'type:util']
},
{
sourceTag: 'type:ui',
onlyDependOnLibsWithTags: ['type:ui', 'type:util', 'domain:shared']
},
{
sourceTag: 'type:domain',
onlyDependOnLibsWithTags: ['type:domain', 'type:util']
},
{
sourceTag: 'type:data-access',
onlyDependOnLibsWithTags: ['type:domain', 'type:util']
}
]
}
]
}
}
Make the triad explicit in documentation and code reviews:
shared/ui -> renders domain-agnostic views
shared/domain -> owns business meaning
shared/data-access -> owns transport and persistence
Avoid vague or missing tags:
misc
common
shared
Avoid a permissive boundary setup that lets UI import data-access or domain import Angular components.
Avoid putting feature-specific exceptions into the global rule unless they are documented, rare, and intentional.
type:* tags.domain:* tag where relevant.@nx/enforce-module-boundaries is enabled.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/ngautopilot-angular:angular--architecture--nx-bounded-context-contractfrom ngautopilot-angular
npx claudepluginhub janpereira-dev/ngautopilot --plugin ngautopilot-angular350 skills in this plugin
/angular--ai--angular-v22-agent-skills-integrationAngular v22 Agent Skills IntegrationUse official Angular Agent Skills as reference material without copying them blindly or replacing NgAutoPilot routing. For Angular 22 projects and 21-to-22 upgrade planning.
/angular--ai--angular-v22-ai-tutor-safe-usageAngular v22 AI Tutor Safe UsageUse AI tutor workflows to teach Angular concepts without allowing unsafe code or secret exposure. For Angular 22 projects and 21-to-22 upgrade planning.
/angular--ai--angular-v22-angular-mcp-agent-workflowAngular v22 Angular MCP Agent WorkflowReview the workspace boundary, permissions, and runtime evidence of an Angular MCP integration. For Angular 22 projects and 21-to-22 upgrade planning.
Other plugins' skills for the same job