Reviews Angular form validation contracts for enterprise workflows, focusing on synchronous and async validators, cross-field rules, error presentation, and reusable validation policy.
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 define validation contracts for Angular forms in enterprise applications.
Validation is part of the business contract. This skill helps define what should be validated, where the logic belongs, and how errors are exposed to the user and tests.
The core rule is simple:
Validation must be explicit, reusable, and user-facing.
Use this skill when:
Separate validation kinds:
required
format
cross-field
async uniqueness
server-side error mapping
Keep reusable validators pure where possible:
export function postalCodeValidator(
control: AbstractControl,
): ValidationErrors | null {
return /^\d{5}$/.test(control.value) ? null : { postalCode: true };
}
Expose errors consistently:
- show when touched or submitted
- prefer actionable messages
- map server errors into form state
Use async validators for remote checks, not for general orchestration.
Avoid hidden validation in submit handlers only.
Avoid business rules that exist only in template error blocks.
Avoid mixing transport errors and field errors without a mapping policy.
Avoid validators with side effects.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/ngautopilot-angular:angular--forms--form-validation-contractsfrom 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