0xzahed/antigravity-skills/backend-validation

Claude Code and agent skill by 0xzahed/antigravity-skills

Trust tier 3
  • community
Source check pending

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

Validate backend input thoroughly. Use when implementing input

Install

npx vskill@latest install 0xzahed/antigravity-skills/backend-validation

SKILL.md

The same SKILL.md was published earlier as 0xzahed/antigravity-skills/backend-validation.

Backend Validation

Use this skill when

  • Validating request payloads and query params
  • Defining validation schemas server-side
  • Returning structured validation errors

Do not use this skill when

  • Client-side validation only
  • Validating internal trusted data

Instructions

  1. Validate all external input: body, query, path, headers, files.
  2. Use a schema library (Zod, Joi, class-validator, Pydantic).
  3. Sanitize and coerce types at the boundary.
  4. Return structured field-level errors (field, message, code).
  5. Distinguish validation errors (4xx) from logic errors (5xx).
  6. Set explicit limits: length, ranges, allowed values.
  7. Validate at the API boundary, not only in services.

Checklist

  • Every endpoint validates input
  • Errors are structured, not free text

Output Format

  • Endpoint | schema | limits | error codes

Common Mistakes

  • Trusting client-side validation
  • Only validating happy-path fields
  • 500 on malformed input instead of 400

Security

  • Security scanPassed, 90 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
5

Not refreshed yet.

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/0xzahed/antigravity-skills/backend-validation/badge)](https://verified-skill.com/skills/0xzahed/antigravity-skills/backend-validation)

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