Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Angular Forms Form Validation Contracts

ASecurity

Reviews Angular form validation contracts for enterprise workflows, focusing on synchronous and async validators, cross-field rules, error presentation, and reusable validation policy.

4 stars
0 votes
0 copies
0 views
Added 10/2/2026
businesstypescriptgoangular

Security Analysis

A100/100

Scanned 10/2/2026

$npx -y skills add janpereira-dev/ngAutoPilot --skill angular--forms--form-validation-contracts --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Angular Forms Form Validation Contracts?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Angular  Forms  Form Validation Contracts
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/janpereira-dev-angular-forms-form-validation-contracts/badge)](https://www.skillsdirectory.com/skills/janpereira-dev-angular-forms-form-validation-contracts)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
id: angular.forms.form-validation-contracts
name: Angular Form Validation Contracts
description: >
  Reviews Angular form validation contracts for enterprise workflows, focusing on synchronous and async validators, cross-field rules, error presentation, and reusable validation policy.
stack:
  - Angular
  - TypeScript
category: forms
status: stable
version: 0.10.0
owner: NgAutoPilot
triggers:
  - form validation
  - angular validation
  - async validators
  - cross field validation
  - validation contract
  - error presentation
  - custom validator
  - form errors
compatibility:
  angular:
    min: "14"
    typedFormsFrom: "14"
    signalInputsFrom: "17"
    recommendedModern: "17+"
---

# Angular Form Validation Contracts

## Purpose

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:

```txt
Validation must be explicit, reusable, and user-facing.
```

## When to Use

Use this skill when:

- a form has custom business validation
- cross-field validation is needed
- async validation is required
- validation messages need a consistent policy
- enterprise forms have too much duplicated validation logic

## Do

Separate validation kinds:

```txt
required
format
cross-field
async uniqueness
server-side error mapping
```

Keep reusable validators pure where possible:

```ts
export function postalCodeValidator(
  control: AbstractControl,
): ValidationErrors | null {
  return /^\d{5}$/.test(control.value) ? null : { postalCode: true };
}
```

Expose errors consistently:

```txt
- show when touched or submitted
- prefer actionable messages
- map server errors into form state
```

Use async validators for remote checks, not for general orchestration.

## Do Not

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.

## Review Checklist

- [ ] Validation rules are explicit.
- [ ] Cross-field rules are handled correctly.
- [ ] Async validation is justified.
- [ ] Error presentation is consistent.
- [ ] Validation logic is testable in isolation.

## Expected Output

1. Identify validation rules and their scope.
2. Recommend reusable validators or policy helpers.
3. Define field, cross-field, and server error handling.
4. Clarify when async validation is appropriate.
5. Suggest validation tests and UI error behavior.

Attribution

janpereira-devjanpereira-dev
View sourceSee grades on GitHubMore from janpereira-dev →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Email Composer

Draft professional emails for various contexts including business, technical, and customer communication. Use when the user needs help writing emails or composing professional messages.

304952 votes

Solution Architect

Designs system architecture, component specifications, and technical integration strategy. Use when: designing solutions, system architecture, technology stack, or integration approaches.

192 votes

Akorchak:Venture Assessment

Generate a comprehensive VC investment assessment report for a company

72 votes

Telegram Compose

Compose rich, readable Telegram messages using HTML formatting via direct Telegram API. Use when: (1) Sending any Telegram message beyond a simple one-line reply, (2) Creating structured messages with sections, lists, or status updates, (3) Need formatting unavailable via Clawdbot's Markdown conversion (underline, spoilers, expandable blockquotes, user mentions by ID), (4) Sending alerts, reports, summaries, or notifications to Telegram, (5) Want professional, scannable message formatting wit...

6511 votes

Just Fucking Cancel

Find and cancel unwanted subscriptions by analyzing bank transactions. Detects recurring charges, calculates annual waste, and helps you cancel with direct URLs and browser automation. Use when: 'cancel subscriptions', 'audit subscriptions', 'find recurring charges', 'what am I paying for', 'save money', 'subscription cleanup', 'stop wasting money'. Supports CSV import (Apple Card, Chase, Amex, Citi, Bank of America, Capital One, Mint, Copilot) OR Plaid API for automatic transaction pull. Out...

6511 votes
View all in business →