forge-validation
CommunityValidate every trust-boundary input.
Software Engineering#input validation#zod#schema validation#security boundaries#env validation#API error handling#file upload safety
Authorf4rkh4d
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents bugs and security issues caused by treating untrusted inputs as trusted data, by enforcing schema-based validation at every boundary before business logic uses values.
Core Features & Use Cases
- Schema-first validation at trust boundaries: Parse and validate HTTP bodies, query params, queue payloads, env vars at startup, file uploads, and third-party API responses.
- Typed guarantees from schemas: Derive types directly from the schema so the code can trust validated shapes.
- Structured field-level errors: Return stable, client-actionable error details (including per-field paths and codes) instead of generic failures.
- Resource and format safety: Enforce size limits, avoid hand-rolled regex, and validate file types by sniffing bytes rather than trusting headers.
Quick Start
Use forge-validation when implementing a new HTTP endpoint or message/queue handler so every external value is schema-parsed at the entry point and returns structured 400 responses on failure.
Dependency Matrix
Required Modules
None requiredComponents
assets
💻 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: forge-validation Download link: https://github.com/f4rkh4d/forge-skill/archive/main.zip#forge-validation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.