geographic_validator

Validate geographic data fields using regex patterns and predefined province lists.

Updated Apr 23, 2026
One-click install
npx skills add https://github.com/TrevorMann/AIDataCleansing --skill geographic-validator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: geographic_validator
Source: https://github.com/TrevorMann/AIDataCleansing/tree/main/skills/real_estate/geographic_validator
Command: npx skills add https://github.com/TrevorMann/AIDataCleansing --skill geographic-validator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Geographic Validator Skill helps ensure the accuracy and consistency of geographic information in records, including addresses, postal codes, municipalities, provinces, and countries.

Core Features & Use Cases

  • Geographic Coherence Validation: Checks if address, postal code, and administrative divisions are consistent.
  • Postal Code Format Verification: Validates the postal code format specific to different countries.
  • Province/State Verification: Confirms if the provided province or state exists for a given country.
  • Use Case: Use this skill after resolving the municipality to verify if the provided geographic data for a real estate record is correct and coherent.

Quick Start

Run the 'geographic_validator' skill on the input record with the following command: validate_geographic_data(record).

Frequently Asked Questions about geographic_validator

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

FAQPage Schema
How do I validate address and postal code consistency in my records?

To validate address and postal code consistency, the skill checks records for coherence across country, state_province, postal_code, and municipality fields using regex patterns and predefined province lists.

What is geographic data coherence validation?

Geographic data coherence validation verifies that address, postal code, and administrative divisions like provinces or municipalities are mutually consistent and correctly formatted for specific countries.

Can I verify province and state accuracy for specific countries?

Yes, you can verify province and state accuracy by checking the provided administrative division against predefined province lists to confirm if the state exists for the given country.

What fields do I need to include to validate geographic data accuracy?

To validate geographic data accuracy, your input records must include four specific fields: country, state_province, postal_code, and municipality.

Does postal code format verification work for different countries?

Yes, postal code format verification works for different countries by applying regex patterns to validate the postal code format specific to the country provided in the record.

When should I run geographic validation on real estate records?

You should run geographic validation on real estate records after resolving the municipality to verify if the provided geographic data for the record is correct and coherent.