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-validateSKILL.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
- Check for Pydantic v1 patterns:
.dict(),.json(),.parse_obj(),.parse_raw(),.__fields__@validator,@root_validatorclass Config:withorm_modeconint,constr,confloatconstrained typesfrom pydantic import BaseSettings(moved topydantic-settings)
- Check for async anti-patterns:
requests.*inasync defendpointstime.sleep()inasync defendpointsopen()file I/O inasync defendpoints- Sync database drivers (psycopg2, PyMySQL) with async engine
- Missing
awaiton async calls - CPU-heavy code without
run_in_executor
- Check for missing response models:
- Endpoints without
response_modelparameter - Response models that expose sensitive fields (password, hashed_password, secret_key)
- Check for database issues:
- Sessions not using dependency injection (manual creation without cleanup)
- Missing
expire_on_commit=Falseon async sessions - Lazy loading without eager load options (causes N+1 or MissingGreenlet)
- Missing
pool_pre_ping=Trueon engine
- Check for security issues:
- Hardcoded secrets
- Missing authentication on protected endpoints
- CORS with
allow_origins=["*"]in production Exceptioncaught and details exposed to client- File uploads without size/type validation
- Missing rate limiting on public endpoints
- Check for deprecated patterns:
@app.on_event("startup"/"shutdown")(use lifespan)- Inline
Depends()instead ofAnnotated
- 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
- SKILL.md in the repositoryCheckingskills/fastapi-validate/SKILL.md
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
[](https://verified-skill.com/skills/roninforge/roninforge-fastapi/fastapi-validate)