# Runtime Validation Planner

> Use this when the system needs explicit runtime validation for API inputs, config, queue messages, webhook payloads, file metadata, or external provider responses in TypeScript, JavaScript, Python, or mixed systems.

- Skill: `saranskumar/runtime-validation-planner` (Agent Skill)
- Install (CLI): `npx skillmds@latest add saranskumar/runtime-validation-planner`
- Raw SKILL.md: https://api.skillmd.com/api/skills/saranskumar/runtime-validation-planner/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: saranskumar (https://skillmd.com/u/saranskumar)
- Updated: 2026-08-19
- Page: https://skillmd.com/skills/saranskumar/runtime-validation-planner

---


# Goal
Make runtime validation explicit wherever untrusted or externally sourced data enters the system.

# When to Use
- Compile-time typing exists but runtime safety is still needed.
- The system ingests external or cross-boundary data.
- Config, payload, or schema validation strategy is unclear.

# Instructions
1. Identify the trust boundaries where data enters.
2. Decide what must be validated and normalized.
3. Choose where validation lives and what happens on failure.
4. Align validation with error handling and observability.

# Constraints
- Do not trust types alone.
- Do not let invalid external data leak into domain logic.
- Keep validation close to boundary entrypoints.

# Output Format
- validation boundary map
- payload/config validation plan
- failure behavior
- implementation notes

# Examples
- "Plan runtime validation for this TS API."
- "Where should webhook and env validation happen?"

