canopy-forms-sort-code

Official

Best practices for UK sort-code handling in Angular

AuthorLegal-and-General
Version1.0.0
Installs0

System Documentation

What problem does it solve?

The Canopy Sort Code best-practices guide helps developers reliably capture and validate UK bank sort codes in Angular forms, ensuring consistent formatting and correct validation behavior.

Core Features & Use Cases

  • Clear guidance for using the lgSortCode directive with lgInput and exact hint text to enforce correct input formats.
  • Automatic formatting to 00-00-00 on blur for user-entered sort codes and robust validation of allowable patterns (000000, 00 00 00, 00-00-00).
  • Designed to work with Canopy reactive forms in real-world forms such as checkout or user registration to prevent invalid entries.
  • Guidance on error messaging and integration with the forms-validation skill for showing validation feedback.

Quick Start

Use the Canopy sort-code directive on your input field and bind it to a reactive form control with the exact hint text.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: canopy-forms-sort-code
Download link: https://github.com/Legal-and-General/canopy/archive/main.zip#canopy-forms-sort-code

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.