Skip to content
Development
Skill

/fastapi

- [ ] **API Design:** Define RESTful endpoints, path parameters, and query parameters. - [ ] **Data Validation:** Plan Pydantic models for request (In) and response (Out) schemas. - [ ] **Database & ORM:** Select the async DB driver and ORM (e.g., SQLAlchemy 2.0 with async

From plugin
pudo-code-system
538 skills1 agent

Claude Code

$ npx -y skills add DongDuong2001/pudo-code-system --skill fastapi --agent claude-code

SKILL.md

fastapi.SKILL.md

Python FastAPI PUDO Checklist

1. PLAN (Architecture & Strategy)

  • [ ] **API Design:** Define RESTful endpoints, path parameters, and query parameters.
  • [ ] **Data Validation:** Plan Pydantic models for request (In) and response (Out) schemas.
  • [ ] **Database & ORM:** Select the async DB driver and ORM (e.g., SQLAlchemy 2.0 with async engine, SQLModel).
  • [ ] **Authentication:** Plan dependency injection for Auth (OAuth2, JWT tokens).

2. UNDERSTAND (Context & Auditing)

  • [ ] **Dependencies:** Review the existing dependency injection (`Depends()`) tree.
  • [ ] **Sync vs Async:** Audit for blocking I/O calls within `async def` endpoints. Ensure CPU-bound tasks use `def` or thread pools.
  • [ ] **Middleware:** Review CORS, rate limiting, and custom middleware configurations.

3. DEVELOP (Implementation)

  • [ ] **Schemas:** Implement strict Pydantic v2 models with `Field` validation constraints.
  • [ ] **Endpoints:** Create routers (`APIRouter`) to group related endpoints.
  • [ ] **Dependency Injection:** Use `Depends()` for database sessions, current user retrieval, and pagination parameters.
  • [ ] **Error Handling:** Implement custom Exception Handlers for consistent JSON error responses.

4. OPTIMIZE (Performance & Review)

  • [ ] **Concurrency:** Ensure database calls are utilizing `await` properly without deadlocks.
  • [ ] **Serialization:** Profile Pydantic serialization speeds; consider `orjson` if JSON parsing is a bottleneck.
  • [ ] **Documentation:** Enrich OpenAPI docs with endpoint descriptions, tags, and summary response models.
  • [ ] **Security:** Verify that sensitive models do not leak password hashes via `response_model` constraints.
Read more
@dongduong2001
Ships withpudo-code-system

Modular, scalable, automated development intelligence.

538 skills1 agent
Get the whole plugin

Stars on GitHub

Momentum

stars in total
5
Star history of DongDuong2001/pudo-code-system on GitHub, a chart by star-history.com

Other skills on pudo-code-system.

pudo

pudo

PUDO workflow: Plan -> Understand -> Develop -> Optimize. Use on any non-trivial coding task (features, bug fixes, refactors,…

rust

rust

- [ ] **Framework Selection:** Choose web framework (Axum, Actix-web) based on performance vs. ecosystem needs. - [ ] **Crate…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about fastapi.

Which coding agents can use fastapi?
fastapi installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.