Analyze this darts-scores codebase and apply a final production polish pass. Use for codebase audit, maintainability refactors, cleanup, UX/release checks, deployment/config review, README/test updates, and release-readiness verification.
Use this skill when the goal is to give the repository a final cleanup and release-ready polish pass without changing the overall Flask + vanilla JS architecture.
Trigger this skill for requests like:
This repository is a single-app Flask project:
app.pytemplates/static/js/script.jsstatic/css/style.csstests/test_app.py and tests/test_gui_selenium.pyImportant conventions to preserve:
{"error": "..."}app.py rather than scattering logic across routesAudit the current structure
app.py, static/js/script.js, README.md, and the relevant testsChoose safe refactors
Polish the backend
app.py55 by 5 and English Cricket rules unchanged unless the user requested behavior changesPolish the frontend and UX
static/js/script.jsReview deployment and configuration safety
docker-compose.yml, Dockerfile, env-var usage, and data-persistence assumptions when relevantStrengthen coverage and diagnostics
Refresh docs and instructions
README.md if UI behavior, setup notes, API payloads, or extension guidance are now stale.github/copilot-instructions.md and any user-facing guidance aligned with the current conventionsUse this as a final pass when the request is explicitly about production readiness:
When using this skill, finish with:
Verify before finishing Run the relevant checks and cite the fresh output:
/Users/lee/vscode_projects/darts-scores/.venv/bin/python -m pytest tests/test_app.py -q
/Users/lee/vscode_projects/darts-scores/.venv/bin/python -m pytest tests/test_gui_selenium.py -q
Also check changed-file diagnostics with the editor error tools when code or docs were updated.
If the change is broad, also run:
/Users/lee/vscode_projects/darts-scores/.venv/bin/python -m pytest -q