pydantic-api-endpoint

Community

Create full FastAPI CRUD endpoints with Pydantic

AuthorhamzaPixl
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill eliminates the manual effort of writing Pydantic models, route handlers, repository layers, and tests when adding a new entity to a FastAPI service.

Core Features & Use Cases

  • Automatic Schema Generation: Generates request and response Pydantic models for create, update, filter, detail, list, and summary.
  • Repository Stubs: Creates repository interface and implementation when a repository layer exists, including pagination and filtering.
  • CRUD Route Scaffold: Adds FastAPI CRUD endpoints with dependency injection, authentication hooks, and OpenAPI metadata.
  • Test Suite: Generates unit tests for each endpoint to ensure correctness.

Use case: When a developer needs to expose a new resource, such as a "Project" entity, they can invoke this skill to scaffold all necessary code in seconds.

Quick Start

Create a full CRUD API for a new Project entity in my FastAPI service.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pydantic-api-endpoint
Download link: https://github.com/hamzaPixl/pixl-ai/archive/main.zip#pydantic-api-endpoint

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.