Introduces or reviews Angular facades that provide a focused feature API over data access, state, permissions, navigation, and orchestration to reduce coupling and simplify tests.
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 introduce a focused feature API between components and lower-level services. The goal is to reduce coupling, simplify tests, and keep orchestration out of UI components.
Use this skill when:
Expose a narrow feature contract:
@Injectable()
export class UserFacade {
readonly users$ = this.userState.users$;
readonly loading$ = this.userState.loading$;
readonly error$ = this.userState.error$;
constructor(
private readonly userApi: UserApiService,
private readonly userState: UserStateService,
) {}
loadUsers(): void {
this.userState.setLoading(true);
this.userApi
.getUsers()
.pipe(finalize(() => this.userState.setLoading(false)))
.subscribe({
next: (users) => this.userState.setUsers(users),
error: (error) => this.userState.setError(error),
});
}
}
Keep the component simple:
readonly users$ = this.userFacade.users$;
readonly loading$ = this.userFacade.loading$;
ngOnInit(): void {
this.userFacade.loadUsers();
}
Use a structure that reveals boundaries:
users/
data-access/
user-api.service.ts
user-state.service.ts
facade/
user.facade.ts
feature/
users-page.component.ts
ui/
user-list.component.ts
models/
user.model.ts
Avoid a facade that becomes a god service:
UserFacade
- users
- auth
- payments
- notifications
- export
- analytics
Avoid adding a facade for a trivial component if it only forwards one method and adds no stable boundary.
Avoid hiding bad domain boundaries behind a nicer class name.
Avoid mixing UI formatting, API calls, permissions, and unrelated business domains in the same facade.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/ngautopilot-angular:angular--architecture--facade-patternfrom 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.