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.
Packaged view
This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.
Install command
npx @skill-hub/cli install snakeo-claude-debug-and-refactor-skills-plugin-refactor-fastapi
Repository
Skill path: plugins/debug-and-refactor/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.
Open repositoryBest for
Primary workflow: Ship Full Stack.
Technical facets: Full Stack.
Target audience: Development teams looking for install-ready agent workflows..
License: Unknown.
Original source
Catalog source: SkillHub Club.
Repository owner: snakeo.
This is still a mirrored public skill entry. Review the repository before installing into production workflows.
What it helps with
- Install refactor:fastapi into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
- Review https://github.com/snakeo/claude-debug-and-refactor-skills-plugin before adding refactor:fastapi to shared team environments
- Use refactor:fastapi for development workflows
Works across
Favorites: 0.
Sub-skills: 0.
Aggregator: No.