roninforge/roninforge-fastapi/fastapi-validate

Claude Code and agent skill by roninforge/roninforge-fastapi

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Scan a FastAPI project for Pydantic v1 leftovers, async anti-patterns, missing response models, database session issues, and security gaps.

Install

npx vskill@latest install roninforge/roninforge-fastapi/fastapi-validate

SKILL.md

The same SKILL.md was published earlier as roninforge/roninforge-fastapi/fastapi-validate.

Validate FastAPI Project

When to Use

Use this skill when auditing a FastAPI project for quality, performance, or security issues.

Instructions

  1. Check for Pydantic v1 patterns:
  • .dict(), .json(), .parse_obj(), .parse_raw(), .__fields__
  • @validator, @root_validator
  • class Config: with orm_mode
  • conint, constr, confloat constrained types
  • from pydantic import BaseSettings (moved to pydantic-settings)
  1. Check for async anti-patterns:
  • requests.* in async def endpoints
  • time.sleep() in async def endpoints
  • open() file I/O in async def endpoints
  • Sync database drivers (psycopg2, PyMySQL) with async engine
  • Missing await on async calls
  • CPU-heavy code without run_in_executor
  1. Check for missing response models:
  • Endpoints without response_model parameter
  • Response models that expose sensitive fields (password, hashed_password, secret_key)
  1. Check for database issues:
  • Sessions not using dependency injection (manual creation without cleanup)
  • Missing expire_on_commit=False on async sessions
  • Lazy loading without eager load options (causes N+1 or MissingGreenlet)
  • Missing pool_pre_ping=True on engine
  1. Check for security issues:
  • Hardcoded secrets
  • Missing authentication on protected endpoints
  • CORS with allow_origins=["*"] in production
  • Exception caught and details exposed to client
  • File uploads without size/type validation
  • Missing rate limiting on public endpoints
  1. Check for deprecated patterns:
  • @app.on_event("startup"/"shutdown") (use lifespan)
  • Inline Depends() instead of Annotated
  1. Produce a summary report with issue count, severity, file locations, and fixes.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/roninforge/roninforge-fastapi/fastapi-validate/badge)](https://verified-skill.com/skills/roninforge/roninforge-fastapi/fastapi-validate)

Something wrong with this skill or its page? Tell us.