Agent skill

Forms

Standards for Typed Reactive Forms and Validators.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/forms-hoangnguyen0403-agent-skills-standar

Metadata

Additional technical details for this skill

labels
angular forms reactive-forms validation
triggers
{
    "files": [
        "**/*.ts",
        "**/*.html"
    ],
    "keywords": [
        "FormBuilder",
        "FormGroup",
        "FormControl",
        "Validators"
    ]
}

SKILL.md

Forms

Priority: P2 (MEDIUM)

Principles

  • Reactive Forms: Always use Reactive Forms (FormControl, FormGroup) over Template-Driven Forms for complex inputs.
  • Strict Typing: Use strictly typed forms FormGroup<LoginForm>.
  • Non-Nullable: Use nonNullable: true option to avoid null checks on form values.

Guidelines

  • Component Store integration: Sync form value changes to Signal Store/Service if needed.
  • Split Logic: Logic for validation should be in custom validator functions, not inside the component.

References

  • Typed Forms

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results