Volver al catálogo
Curado por modeloDesarrollo

Dosier de la skill

fastapi-expert

Declaración de origen

Use when building high-performance async Python APIs with FastAPI and Pydantic V2. Invoke to create REST endpoints, define Pydantic models, implement authentication flows, set up async SQLAlchemy database operations, add JWT authentication, build WebSocket endpoints, or generate OpenAPI documentation. Trigger terms: FastAPI, Pydantic, async Python, Python API, REST API Python, SQLAlchemy async, JWT authentication, OpenAPI, Swagger Python.

La descripción original del autor, conservada en inglés. Describe la intención, no un rendimiento verificado.

Use when building high-performance async Python APIs with FastAPI and Pydantic V2. Invoke to create REST endpoints, define Pydantic models, implement authentication flows, set up async SQLAlchemy database operations, add JWT authentication, build WebSocket endpoints, or generate OpenAPI documentation. Trigger terms: FastAPI, Pydantic, async Python, Python API, REST API Python, SQLAlchemy async, JWT authentication, OpenAPI, Swagger Python.

developmentreferences

El contenido de investigación de este sitio está publicado en inglés y chino, y aquí se muestra en inglés.

Resumen de la investigación

Curado por modelo

Skill Atlas model curation · model-curated-1.0.0

A backend Skill for async Python APIs with FastAPI and Pydantic V2, covering schemas, async SQLAlchemy, JWT authentication and pytest-based checks with an OpenAPI review.

Alcance de la revisión

Deterministic static analysis of collected SKILL.md and supporting text/code. Machine-assisted candidates and findings are static-analysis candidates; no dynamic behavior or effect is assessed.

Capacidades observables

  • Designs Pydantic V2 schemas using field_validator and model_config.
  • Writes async endpoints with Annotated dependency injection and async SQLAlchemy CRUD.
  • Adds JWT and OAuth2 authentication, authorization and rate limiting.
  • Runs pytest with httpx after each endpoint group and verifies the OpenAPI docs at /docs.

Limitaciones y alcance

  • Specific to FastAPI and Pydantic V2; Pydantic V1 syntax is explicitly disallowed.
  • The inline JWT snippet uses a placeholder secret that must come from configuration in real code.
  • Generated endpoints and tests have not been run here.

Relevante para

  • Python developers building async REST APIs
  • Teams migrating from Django or DRF to FastAPI

Qué incluye la skill

El inventario de archivos procede del código fuente recopilado en el commit registrado. Las rutas y los tamaños son observaciones estructurales, no una medida de calidad.

archivos
7
Archivos Markdown
7
scripts
0
referencias
6
Tamaño
54 KB
Complejidad estructural
Baja

Inventario de archivos

RutaTipoBytes
skills/fastapi-expert/references/async-sqlalchemy.mdReferencia4 KB
skills/fastapi-expert/references/authentication.mdReferencia4,3 KB
skills/fastapi-expert/references/endpoints-routing.mdReferencia4 KB
skills/fastapi-expert/references/migration-from-django.mdReferencia27 KB
skills/fastapi-expert/references/pydantic-v2.mdReferencia3,3 KB
skills/fastapi-expert/references/testing-async.mdReferencia4,5 KB
skills/fastapi-expert/SKILL.mdInstrucción6,9 KB

Frontmatter de SKILL.md

{
  "name": "fastapi-expert",
  "description": "Use when building high-performance async Python APIs with FastAPI and Pydantic V2. Invoke to create REST endpoints, define Pydantic models, implement authentication flows, set up async SQLAlchemy database operations, add JWT authentication, build WebSocket endpoints, or generate OpenAPI documentation. Trigger terms: FastAPI, Pydantic, async Python, Python API, REST API Python, SQLAlchemy async, JWT authentication, OpenAPI, Swagger Python.",
  "license": "MIT",
  "metadata": {
    "author": "https://github.com/Jeffallan",
    "company": "https://synergetic.solutions",
    "version": "1.1.0",
    "domain": "backend",
    "triggers": "FastAPI, Pydantic, async Python, Python API, REST API Python, SQLAlchemy async, JWT authentication, OpenAPI, Swagger Python",
    "role": "specialist",
    "scope": "implementation",
    "output-format": "code",
    "related-skills": "fullstack-guardian, django-expert, test-master"
  }
}

Una lectura de la secuencia de funcionamiento

Este flujo de trabajo reconstruye la secuencia aparente a partir del material de origen. A menos que se registre explícitamente una evaluación controlada, es provisional y no un seguimiento observado.

  1. 01
    Entrada

    Analyze requirements

    Identify endpoints, data models and authentication needs.

  2. 02
    Acción

    Design schemas and implement

    Create Pydantic V2 models and write async endpoints with dependency injection.

  3. 03
    Decisión

    Checkpoint each step

    Confirm schemas validate, endpoints return the expected status codes and /docs reflects the intended API before proceeding.

  4. 04
    Salida

    Deliver schemas and routers

    Provide the schema file, router file, CRUD operations if needed and a brief explanation of key decisions.

Posibles superficies de riesgo

Los hallazgos estáticos señalan puntos que conviene revisar antes de instalar. No establecen que una skill sea segura, maliciosa ni eficaz.

Se recomienda atención

82 deterministic lexical finding(s) require review across the collected text. Findings can occur in documentation and do not prove execution or exploitability; binary-only files were not scanned.

Acceso a la redObservado
Escrituras de archivosObservado
Uso de credencialesObservado
Alta

Credential or secret material is referenced

15 ocurrencias

This line resembles a credential literal or reads a sensitive environment value. Do not expose its contents; verify whether it is a placeholder, required secret, or accidentally committed material. This rule matched 15 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Nota

File modification is described or implemented

58 ocurrencias

This line contains a possible file-write or redirection operation. Check destination paths and overwrite behavior; the static review did not write any file. This rule matched 58 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Media

Network access is mentioned

9 ocurrencias

A URL or network client appears in this source line. Review destinations, data sent, and trust boundaries; static text cannot establish actual network activity. This rule matched 9 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Nota de seguridad editorial

Confirm the JWT secret and any configuration values come from the environment and that passwords are hashed before use.

Dónde puede consumirse el contexto

Las capas de descubrimiento, activación y recursos tienen significados distintos. Los valores exactos solo aparecen cuando el método oficial de recuento se ejecutó con un modelo identificado.

Recuento exacto de tokens no disponible

All token values, including per-file inventory, are null until the pipeline performs an official exact count with an explicit model.

No se registró ninguna medición de tokens con el método oficial requerido. Este dosier no la sustituye por recuentos de caracteres, tamaños de archivo ni estimaciones.

Evaluación controlada

Sin evaluación controlada

Esta skill solo cuenta con las evidencias indicadas arriba. No se afirma ninguna tasa de éxito, eficiencia de tokens, latencia ni ventaja de calidad.

Sin probar

Úsala con el código fuente a la vista

Comando de instalación
git clone https://github.com/Jeffallan/claude-skills.git cd claude-skills # Copy this skill directory into one of: # ~/.claude/skills/fastapi-expert # .claude/skills/fastapi-expert
  1. Open the pinned source at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/fastapi-expert/SKILL.md.
  2. Review the license, prerequisites and all bundled reference files.
  3. Copy the skill directory into a personal or project-level Claude Code skills directory.
  4. Restart or refresh Claude Code so the skill can be discovered.
Verificar la instalación

Ask Claude Code to add one endpoint and confirm it runs pytest and checks the /docs page.

Requisitos previos

  • Specific to FastAPI and Pydantic V2; Pydantic V1 syntax is explicitly disallowed.
  • The inline JWT snippet uses a placeholder secret that must come from configuration in real code.
  • Generated endpoints and tests have not been run here.

Prompts de ejemplo

Representative task

Use the fastapi-expert skill to add a POST /users endpoint with a Pydantic V2 UserCreate schema, async SQLAlchemy persistence, a 409 on duplicate email, and pytest tests using httpx.

Inspect before use

Read the fastapi-expert skill at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/fastapi-expert/SKILL.md. Explain its workflow, required tools, permissions and the main risks before I decide whether to install it.

Una decisión, con sus límites

Fortalezas

  • Adds a checkpoint after each step covering schemas, status codes and /docs.
  • Rules are explicit about async I/O, Annotated dependencies and password handling.

Aspectos a considerar

  • Example imports in the snippet should be checked against the installed Pydantic version.
  • Mandating async everywhere may not suit existing sync codebases.
Conclusión de la investigación

A tidy, checkpoint-driven guide for new FastAPI services that follows current Pydantic V2 conventions.

Trazable por construcción

El dosier es una lectura acotada en el tiempo de un artefacto público, no un respaldo. Usa el enlace al código fuente para inspeccionar el material original exacto.

Jeffallanclaude-skillsskills/fastapi-expert
Tipo de origen
Comunidad
Commit
67c1961b180dc92cf08983344627109e983e8f51
Recopilado
20 nov 2026
Última comprobación
20 nov 2026
Licencia original
MIT
Estrellas del repositorio
12.469
Base del contenido

Deterministic lexical parsing, YAML frontmatter validation, file inventory, source-described workflow extraction, and heuristic provisional classification of the supplied files only. Generated by machine; no LLM, execution, or dynamic testing.