Skip to content
Agent Orchestration
Skill

/input-validation

Validate and constrain untrusted input at the boundary. Use on any handler that accepts external data.

BOOST
From plugin
loopkit
75553 skills1 agent4 commands2 MCP
Install
$ npx -y skills add Archive228/loopkit --skill input-validation --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/input-validation

Context preview

The summary Claude sees to decide when to auto-load this skill.

Validate and constrain untrusted input at the boundary. Use on any handler that accepts external data.

SKILL.md

input-validation.SKILL.md
name: input-validation
description: Validate and constrain untrusted input at the boundary. Use on any handler that accepts external data.
when_to_use: request bodies, query params, file uploads, webhook payloads, form data

Input Validation

Validate at the edge, before the data touches logic or storage.

  • **Schema** — type, required fields, allowed values. Reject unknown fields rather than ignoring them.
  • **Bounds** — string length, number ranges, array size. An unbounded input is a DoS and a memory bomb.
  • **Format** — emails, UUIDs, dates parsed and re-validated, not trusted as strings.
  • **Files** — size limit, type allowlist (check content, not just extension), no path traversal in names.
  • Reject with a clear 4xx and a message that says what's wrong — without leaking internals.

Never trust "it comes from our own frontend". The request can come from anywhere.

Ships withloopkit

33 battle-tested skills + minimal .claude harness for any coding agent (Claude Code, Cursor, Codex, Gemini CLI).

Get the whole plugin

Other skills on loopkit.