Agent Skills: refactor:fastapi

Refactor FastAPI/Python code to improve maintainability, readability, and adherence to best practices. This skill transforms working code into exemplary code following FastAPI patterns, Pydantic v2, and SOLID principles. It addresses fat route handlers, blocking I/O in async routes, code duplication, deep nesting, missing type hints, and improper dependency injection. Apply when you notice business logic in routes, Pydantic v1 patterns, or code violating PEP 8 conventions.

ID: snakeo/claude-debug-and-refactor-skills-plugin/refactor:fastapi

Install this agent skill to your local

npx skills add snakeo/claude-debug-and-refactor-skills-plugin --skill refactor:fastapi

Skill Files

The files that make up refactor:fastapi.

Download Skill

More agent skills