code-standard

Enforce ISO 3166-1, ISO 3166-2, and ITU-T E.164 standards for country, region, and phone data.

Updated Feb 16, 2026
One-click install
npx skills add https://github.com/ASTRA-TECHNOLOGY-COMPANY-LIMITED/astra-methodology --skill code-standard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-standard
Source: https://github.com/ASTRA-TECHNOLOGY-COMPANY-LIMITED/astra-methodology/tree/main/skills/code-standard
Command: npx skills add https://github.com/ASTRA-TECHNOLOGY-COMPANY-LIMITED/astra-methodology --skill code-standard

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures that code handling international country, region, and phone number data adheres to strict, globally recognized standards, preventing data inconsistencies and improving interoperability.

Core Features & Use Cases

  • Standardized Data Handling: Enforces ISO 3166-1 (countries), ISO 3166-2 (regions), and ITU-T E.164 (phone numbers).
  • Component Support: Provides guidance and data for implementing country selectors, region selectors, and phone number inputs.
  • Use Case: When building a user registration form that requires a country and phone number, this Skill ensures that the selected country code, region code, and phone number are stored in their correct, standardized formats, making international communication and data management seamless.

Quick Start

Apply the code-standard skill to ensure phone number inputs follow E.164 format.

Frequently Asked Questions about code-standard

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate phone number inputs using E.164 format?

To validate phone number inputs using E.164 format, apply standardized reference data and implementation patterns that enforce ITU-T E.164 compliance. This ensures phone numbers are stored in their correct, globally recognized formats for seamless international communication.

What is ISO 3166-1 and ISO 3166-2 data used for in software development?

ISO 3166-1 and ISO 3166-2 data are used to standardize country and region codes in software components. Enforcing these international standards prevents data inconsistencies and improves interoperability when handling user registration forms and location selectors.

How do I build a country and region selector that maintains data integrity?

Build a country and region selector by implementing standardized data handling for ISO 3166-1 and ISO 3166-2 codes. This approach provides the necessary reference data to ensure selected locations are stored in their correct, standardized formats.

When do I need to enforce international data standards in my application?

You need to enforce international data standards when building components that handle international country, region, and phone number data, such as user registration forms. This ensures data integrity and compliance with global conventions.

What is the best way to prevent data inconsistencies with international phone numbers?

The best way to prevent data inconsistencies with international phone numbers is to enforce strict ITU-T E.164 adherence. This guarantees phone number inputs follow a standardized format, making international communication and data management seamless.