Automatically migrate Python web applications between frameworks (Flask → FastAPI, Django → FastAPI). Use when you need to migrate an existing web application to a modern framework while preserving functionality. The skill analyzes the codebase, updates routes, handlers, configuration, dependency injection patterns, and tests. Creates git commits for each migration phase and generates a comprehensive summary of all changes. Supports automatic dependency updates, code transformations, and test adaptations.
89
86%
Does it follow best practices?
Impact
93%
1.24xAverage score across 3 eval scenarios
Passed
No known issues
Flask route and handler migration patterns
HTTP method decorators
100%
100%
Path parameter syntax
100%
100%
Async route handlers
100%
100%
Pydantic request body
100%
100%
Query param type hints
100%
100%
No jsonify
100%
100%
HTTPException for errors
100%
100%
Dependency injection
100%
100%
Middleware pattern
100%
100%
No Flask imports
100%
100%
Migration script and git workflow execution
Migration branch name
0%
0%
Multiple phase commits
100%
100%
MIGRATION_SUMMARY.json exists
0%
100%
Summary source_framework field
0%
100%
Summary target_framework field
0%
100%
Summary files_modified field
0%
100%
Summary next_steps field
0%
100%
fastapi in requirements
100%
100%
uvicorn in requirements
100%
100%
Config uses Pydantic Settings
0%
0%
Test suite and dependency file migration
TestClient import
100%
100%
TestClient usage
100%
100%
No test_client() calls
100%
100%
.json() response method
100%
100%
No get_json() calls
100%
100%
fastapi in requirements
100%
100%
uvicorn in requirements
100%
100%
flask removed from requirements
100%
100%
werkzeug removed from requirements
100%
100%
fastapi-cors replacing flask-cors
40%
100%
0f00a4f
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.