go-validator

Community

Generate Go validators with typed errors.

Authorcristiano-pacheco
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines the creation of robust validation logic in Go applications, ensuring data integrity and adherence to business rules through a standardized, two-file pattern and typed error handling.

Core Features & Use Cases

  • Standardized Validation: Generates port interfaces and implementation structs for validators following Go modular architecture conventions.
  • Typed Error Handling: Enforces the use of module-specific typed errors for clear error reporting.
  • Use Case: Automatically create validators for user registration inputs like email format, password strength, and username uniqueness, ensuring all data meets predefined criteria before processing.

Quick Start

Use the go-validator skill to generate a new password validator for the 'auth' module.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: go-validator
Download link: https://github.com/cristiano-pacheco/ai-tools/archive/main.zip#go-validator

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 223,000+ vetted skills library on demand.