input-validation

Validate untrusted input against schemas and constraints for API handlers and file uploads.

746|130|Updated Jun 30, 2026
One-click install
npx skills add https://github.com/Archive228/loopkit --skill input-validation-archive228
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: input-validation
Source: https://github.com/Archive228/loopkit/tree/main/skills/input-validation
Command: npx skills add https://github.com/Archive228/loopkit --skill input-validation-archive228

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The input-validation Skill helps prevent security breaches and system malfunctions caused by untrusted or malformed input data.

Core Features & Use Cases

  • Data Validation: Checks the structure and constraints of input data like requests, query params, and file uploads.
  • Format and Bounds Verification: Validates formats, bounds, and limits such as string lengths and number ranges.
  • Security Enhancements: Ensures no sensitive data is leaked and unauthorized changes are not made to the system.

Quick Start

Run the 'input-validation' command to validate an external input against a defined schema and constraints.

Frequently Asked Questions about input-validation

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

FAQPage Schema
How do I validate untrusted API request bodies against a schema?

You validate API request bodies by running the input-validation command to check external data against a defined schema, ensuring strict adherence to structural constraints and bounds for secure data acceptance.

What is the best way to prevent malformed input from causing security breaches?

Preventing security breaches from malformed input requires validating untrusted data formats and bounds, such as string lengths and number ranges, to safeguard systems against unauthorized access and system malfunctions.

When do I need strict data validation for file upload interfaces?

You need strict data validation for file upload interfaces when accepting external files, applying schema and constraints to verify formats and limits to protect against unauthorized system changes and sensitive data leaks.

Does input validation work for both API handlers and query parameters?

Input validation applies to API handlers and query parameters by checking the structure, formats, and bounds of request data to ensure that no unauthorized changes are made to the system.

What are the limitations of schema-based input validation?

Schema-based input validation requires strict adherence to defined constraints for data acceptance, meaning any input failing the format, bounds, or limit checks is rejected to protect system integrity.