Agent skill · Backend & API

api-request-validation

A skill for implementing robust API request validation in Python web frameworks like FastAPI using Pydantic. Covers Pydantic models, custom validators (email, password), field-level and cross-field validation, query/file validation, and structured error responses. Use when you need to validate incoming API requests.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill api-request-validation-mumerrazzaq-fast-next-todo --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 2 KB
Bundled scripts: none
Path: skills/api/api-request-validation-mumerrazzaq-fast-next-todo/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# API Request Validation Skill ## Overview This skill provides guidance and reusable components for implementing robust API request validation in Python, primarily using FastAPI and Pydantic. It covers: - Basic validation with Pydantic models. - Custom validation logic for specific fields. - Advanced validation scenarios like cross-field validation and query parameters. - Standardized error handling for validation failures. ## Getting Started The most common validation tasks are broken down into reference files. Start with the one that best fits your needs. - **Basic Validation**: If you're new to Pydantic or need to validate a simple data structure, see `references/pydantic-models.md`. - **Custom Rules**: For validating specific formats like emails or password strength, see `references/custom-validators.md`. - **Complex Scenarios**: For validating query parameters, file uploads, or dependencies between fields, see `references/advanced-validation.md`. - **Error Responses**: To customize how validation errors are returned to the client, see `references/error-handling.md`. ## Resources ### `references/` - **`pydantic-models.md`**: Guide to creating basic Pydantic models for request b

What's inside
Steps it walks through
  1. Overview
  2. Getting Started
  3. Resources
  4. references/
  5. scripts/
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the api-request-validation skill do?

A skill for implementing robust API request validation in Python web frameworks like FastAPI using Pydantic. Covers Pydantic models, custom validators (email, password), field-level and cross-field validation, query/file validation, and structured error responses. Use when you need to validate incoming API requests.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill api-request-validation-mumerrazzaq-fast-next-todo --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going