What problem does it solve?
Django projects suffer from undetected configuration issues, failing migrations, and insufficient tests or insecure deployments. This Skill provides a structured verification loop to validate environment, code quality, migrations, tests, security, configuration, and readiness before release.
Core Features & Use Cases
- Phase 1 Environment checks verify Python version, virtual environment, and required env vars.
- Phase 2 Code quality checks (mypy, ruff, black, isort, Django deploy checks).
- Phase 3 Migrations verification: showmigrations, makemigrations --check, migrate plan, and apply migrations.
- Phase 4 Tests & Coverage: run pytest with coverage reports and per-app stats.
- Phase 5 Security scans: pip-audit, safety, bandit, and gitleaks where applicable.
- Phase 6 Django management commands: collectstatic, create superuser, and integrity checks.
- Phase 7 Performance checks: identify N+1 queries and verify indexes.
- Phase 8 Static assets: npm audit and static asset validation.
- Phase 9 Configuration review: validate DEBUG, SECRET_KEY, ALLOWED_HOSTS, HTTPS settings.
- Phase 10 Logging: verify logging configuration and log outputs.
- Phase 11 API documentation: generate and validate OpenAPI schema / Swagger UI.
- Phase 12 Diff review: inspect diffs for common issues before merge.
Quick Start
Run the Django verification loop in your project to automatically perform environment checks, migrations, tests, and security scans before deploying.