SkillHub

validator

v3.0.1

Validate emails, URLs, phones, dates, and custom patterns. Use when sanitizing input, verifying form fields, checking formats, or enforcing rules.

Sourced from ClawHub, Authored by bytesagain4

Installation

Please help me install the skill `validator` from SkillHub official store. npx skills add xueyetianya/validator

validator

Input validator.

Commands

email

Validate email format

scripts/script.sh email <address>

url

Validate URL (+ HTTP check if curl available)

scripts/script.sh url <url>

ip

Validate IPv4/IPv6 address

scripts/script.sh ip <address>

phone

Validate phone number (7-15 digits)

scripts/script.sh phone <number>

date

Validate and parse date string

scripts/script.sh date <string>

domain

Validate domain (+ DNS lookup if dig available)

scripts/script.sh domain <name>

credit-card

Luhn algorithm check + card type detection

scripts/script.sh credit-card <number>

json

Validate JSON syntax

scripts/script.sh json <file>

yaml

Validate YAML syntax

scripts/script.sh yaml <file>

csv

Validate CSV structure (column consistency)

scripts/script.sh csv <file>

Requirements

  • python3
  • curl
  • dig (optional)

Powered by BytesAgain | bytesagain.com | [email protected]