概要
The Flask Code Architect skill transforms legacy or disorganized Flask codebases into modern, production-grade applications. It specializes in implementing the Application Factory pattern to resolve circular imports, organizing routes via Blueprints for modularity, and extracting complex business logic into dedicated Service and Repository layers. By enforcing SOLID principles and the Zen of Python, this skill helps developers eliminate 'fat' route handlers, improve database interaction with Flask-SQLAlchemy, and modernize serialization using Marshmallow, resulting in code that is easier to test, scale, and maintain.