Retour au catalogue
Annoté par modèleDéveloppement

Dossier du skill

fastapi-expert

Déclaration de la source

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 description originale de l'auteur, conservée en anglais. Elle décrit l'intention, pas des performances vérifiées.

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

Le contenu de recherche de ce site est publié en anglais et en chinois ; il est affiché ici en anglais.

Résumé de la recherche

Annoté par modèle

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.

Portée de l'examen

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.

Capacités 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.

Limites et portée

  • 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.

Pertinent pour

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

Ce que contient le skill

L'inventaire des fichiers provient de la source collectée au commit consigné. Les chemins et les tailles sont des observations structurelles, pas une mesure de qualité.

fichiers
7
Fichiers Markdown
7
scripts
0
références
6
Taille
54 KB
Complexité structurelle
Faible

Inventaire des fichiers

CheminTypeOctets
skills/fastapi-expert/references/async-sqlalchemy.mdRéférence4 KB
skills/fastapi-expert/references/authentication.mdRéférence4,3 KB
skills/fastapi-expert/references/endpoints-routing.mdRéférence4 KB
skills/fastapi-expert/references/migration-from-django.mdRéférence27 KB
skills/fastapi-expert/references/pydantic-v2.mdRéférence3,3 KB
skills/fastapi-expert/references/testing-async.mdRéférence4,5 KB
skills/fastapi-expert/SKILL.mdInstruction6,9 KB

Frontmatter du 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"
  }
}

Une lecture de la séquence de fonctionnement

Ce workflow reconstitue la séquence apparente à partir du matériel source. Sauf si une évaluation contrôlée est explicitement consignée, il est provisoire et non une trace observée.

  1. 01
    Entrée

    Analyze requirements

    Identify endpoints, data models and authentication needs.

  2. 02
    Action

    Design schemas and implement

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

  3. 03
    Décision

    Checkpoint each step

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

  4. 04
    Sortie

    Deliver schemas and routers

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

Surfaces de risque potentielles

Les constats statiques signalent les points à examiner avant l'installation. Ils n'établissent pas qu'un skill est sûr, malveillant ou efficace.

Attention recommandée

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.

Accès réseauObservé
Écritures de fichiersObservé
Utilisation d'identifiantsObservé
Élevé

Credential or secret material is referenced

15 occurrences

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.

Note

File modification is described or implemented

58 occurrences

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.

Moyen

Network access is mentioned

9 occurrences

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.

Note de sécurité éditoriale

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

Où le contexte peut être consommé

Les couches de découverte, d'activation et de ressources n'ont pas la même signification. Les valeurs exactes n'apparaissent que si la méthode officielle de comptage a été exécutée avec un modèle nommé.

Comptage exact des tokens indisponible

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

Aucune mesure de tokens n'a été consignée selon la méthode officielle requise. Ce dossier ne la remplace ni par un nombre de caractères, ni par une taille de fichier, ni par une estimation.

Évaluation contrôlée

Aucune évaluation contrôlée

Ce skill ne dispose que des preuves identifiées ci-dessus. Aucun taux de réussite, gain d'efficience en tokens, latence ou avantage de qualité n'est affirmé.

Non testé

Utiliser en gardant la source en vue

Commande d'installation
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.
Vérifier l'installation

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

Prérequis

  • 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.

Exemples de prompts

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.

Une conclusion, avec ses limites

Points forts

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

Points d'attention

  • Example imports in the snippet should be checked against the installed Pydantic version.
  • Mandating async everywhere may not suit existing sync codebases.
Conclusion de recherche

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

Traçable par construction

Le dossier est une lecture datée d'un artefact public, pas une approbation. Utilisez le lien source pour examiner le contenu amont exact.

Jeffallanclaude-skillsskills/fastapi-expert
Type de source
Communauté
Commit
67c1961b180dc92cf08983344627109e983e8f51
Collecté
20 nov. 2026
Dernière vérification
20 nov. 2026
Licence amont
MIT
Étoiles du dépôt
12 469
Base du contenu

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.