Enforces practical Angular architecture boundaries between UI, feature logic, state, services, data access, and core concerns to prevent responsibility leaks and unsafe module/standalone organization.
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 analyze, design, or refactor Angular applications using explicit boundaries between UI, feature or application logic, state, services, data access, and core or platform concerns.
The goal is not to force one folder structure. The goal is to prevent responsibility leaks, circular dependencies, smart shared components, duplicated business logic, and architecture that only looks clean in diagrams.
Use this skill when:
Detect the active architecture style before recommending changes:
Angular version
Workspace type
Module-first, standalone-first, or hybrid
Feature boundaries
State strategy
Data-access pattern
Shared UI libraries
Quality gates
Use the layers as a decision model, not as mandatory folder names:
UI -> renders and emits user intent
Feature/Application -> orchestrates a use case
State -> owns transitions and derived state
Services/Domain -> owns business rules and policies
Data Access -> owns transport, DTOs, repositories, and mapping
Core/Platform -> owns app-wide infrastructure
Apply clear placement rules:
Component calls HttpClient directly -> move to data access
Shared UI injects a domain service -> move logic to feature/container
API service formats labels for the template -> move to mapper or view-model adapter
Feature imports another feature internals -> expose a public contract
State service handles routing, API, notifications, and formatting -> split responsibilities
Core contains feature business logic -> move to the owning feature or domain layer
Prefer minimal, reversible corrections:
Keep Angular compatibility explicit:
Standalone components are the modern default in current Angular.
NgModules still matter in legacy and hybrid applications.
Do not recommend unsupported APIs for the detected Angular version.
Do not use module boundaries as a substitute for real responsibility boundaries.
Use practical inventories when reviewing an existing codebase:
UI:
Feature/Application:
State:
Services/Domain:
Data Access:
Core/Platform:
Shared:
Testing/Quality:
Example bad boundary:
@Component({
selector: 'app-user-card',
templateUrl: './user-card.component.html',
})
export class UserCardComponent {
private readonly http = inject(HttpClient);
readonly user$ = this.http.get<UserDto>('/api/users/me');
}
Better direction:
data-access/user-api.service.ts
data-access/user.mapper.ts
feature/user-profile.facade.ts
ui/user-card.component.ts
Do not treat this as a poster skill or a generic high-level overview.
Do not present feature modules as the only modern Angular organization model.
Do not force standalone-first patterns into legacy module-first codebases without checking version and project constraints.
Do not put feature-specific business logic into core or reusable declarations into shared if they are actually domain-specific.
Do not let shared UI inject routers, stores, facades, API clients, or domain services.
Do not store raw backend DTOs everywhere when the UI needs a different model.
Do not add NgRx, Signals, facades, or extra libraries by default when local state or a narrower change is enough.
Do not recommend broad folder reshuffles when a small boundary fix solves the real issue.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/ngautopilot-angular:angular--architecture--layered-architecture-boundariesfrom 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.
Other plugins' skills for the same job
/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.