busirocket/agents-skills/busirocket-validation

Claude Code and agent skill by busirocket/agents-skills

Trust tier 2
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Applies validation strategy using Zod for schemas and guard helpers for runtime checks. Use when validating API responses, request inputs, or external data at boundaries.

Install

npx vskill@latest install busirocket/agents-skills/busirocket-validation

SKILL.md

Validation (Zod + Guards)

Consistent validation at boundaries: Zod for complex schemas, small guards for simple runtime checks.

When to Use

Use this skill when:

  • Validating API responses or external data in services
  • Validating request/input shapes at boundaries (e.g. route handlers, SDK)
  • Adding or refactoring utils/validation/ helpers
  • Defining Zod schemas alongside types in types/<area>/

Non-Negotiables (MUST)

  • Services: validate API/external data with Zod schemas (e.g.

.safeParse()).

  • Utils: keep small coercion/guard helpers under utils/validation/ (one

function per file).

  • Types: Zod schemas can live in types/<area>/; infer types with

z.infer<typeof Schema>.

  • Prefer unknown inputs at boundaries + explicit narrowing.
  • No inline validation logic inside components/hooks.

Rules

Boundaries & Placement
  • validation-boundaries - Where validation lives (services, utils, types)
Zod Schemas (Complex Validation)
  • validation-zod-schemas - Using Zod for complex validation with

.safeParse()

  • validation-zod-types - Inferring types from Zod schemas with z.infer
Guard Helpers (Simple Runtime Checks)
  • validation-guard-helpers - Creating simple guard functions with type

predicates

  • validation-guard-examples - Recommended guard helpers (isRecord,

isNonEmptyString, etc.)

Anti-Patterns
  • validation-no-inline - No inline validation logic in components/hooks

Related Skills

  • busirocket-nextjs - Validation in route handlers
  • busirocket-core-conventions - File boundaries and structure

How to Use

Read individual rule files for detailed explanations and code examples:

rules/validation-boundaries.md
rules/validation-zod-schemas.md
rules/validation-guard-helpers.md

Each rule file contains:

  • Brief explanation of why it matters
  • Code examples (correct and incorrect patterns)
  • Additional context and best practices

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Refreshed 21 Mar 2026, 8 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/busirocket/agents-skills/busirocket-validation/badge)](https://verified-skill.com/skills/busirocket/agents-skills/busirocket-validation)

Something wrong with this skill or its page? Tell us.