Use this skill whenever the user asks to refactor, split, restructure, or clean up a single-file Flask (or similar WSGI) backend — one large app.py with many @app.route definitions, module-level state, and no blueprints or package structure. Covers adding failure observability first, removing duplic
Use this skill whenever the user asks to refactor, split, restructure, or clean up a single-file Flask (or similar WSGI) backend — one large app.py with many @app.route definitions, module-level state, and no blueprints or package structure. Covers adding failure observability first, removing duplicate routes, characterization tests, extracting pure helpers and services, and converting routes to b