CtrlK
BlogDocsLog inGet started
Tessl Logo

framework-migration-assistant

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

1.24x
Quality

86%

Does it follow best practices?

Impact

93%

1.24x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Evaluation results

100%

Payment Service API Migration

Flask route and handler migration patterns

Criteria
Without context
With context

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%

80%

50%

Automate the Migration of a Flask Service to FastAPI

Migration script and git workflow execution

Criteria
Without context
With context

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%

100%

3%

Update Test Suite and Dependencies After Framework Migration

Test suite and dependency file migration

Criteria
Without context
With context

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%

Repository
ArabelaTso/Skills-4-SE
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

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.