parse-dont-validate

Community

Convert validation results into typed parsing.

Authorj5ik2o
Version1.0.0
Installs0

System Documentation

What problem does it solve?

The skill helps transform the traditional validate-then-act pattern into a parse-first approach that preserves information in types, replacing checks that discard results with typed values to enforce invariants at compile time.

Core Features & Use Cases

  • Convert simple validators that return nothing or booleans into parsers that produce concrete, typed results.
  • Provide guidance and patterns for smart constructors, newtypes, and branded types across languages to prevent invalid states.
  • Use during code reviews, refactoring, or new implementations to improve type safety and reduce runtime errors.

Quick Start

Refactor validators into typed parsers that return concrete values, ensuring data carries validation results.

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: parse-dont-validate
Download link: https://github.com/j5ik2o/okite-ai/archive/main.zip#parse-dont-validate

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.