
Django Verification
This is the pre-flight checklist you run before merging Django code or deploying to production. It walks through twelve phases: environment validation, linting with ruff and black, migration safety checks, pytest with coverage targets, security scans with pip-audit and bandit, static asset builds, and configuration review to catch DEBUG mode or missing ALLOWED_HOSTS. The output template gives you a clean pass/fail breakdown across all phases. It's comprehensive to the point of being slightly tedious, but that's the point. You'll catch the embarrassing stuff like hardcoded secrets, missing migrations, or N+1 queries before they hit staging. Best used as a pre-commit hook or CI step rather than running manually every time.
- skills.sh installs
- 5.6K
- GitHub stars
- 300.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add affaan-m/ecc --skill django-verification --agent claude-codeInstalls into .claude/skills of the current project.
Files
Django Verification Loop
Run before PRs, after major changes, and pre-deploy to ensure Django application quality and security.
When to Activate
- Before opening a pull request for a Django project
- After major model changes, migration updates, or dependency upgrades
- Pre-deployment verification for staging or production
- Running full environment → lint → test → security → deploy readiness pipeline
- Validating migration safety and test coverage
Phase 1: Environment Check
# Verify Python version
python --version # Should match project requirements
# Check virtual environment
which python
pip list --outdated
# Verify environment variables
python -c "import os; import environ; print('DJANGO_SECRET_KEY set' if os.environ.get('DJANGO_SECRET_KEY') else 'MISSING: DJANGO_SECRET_KEY')"
If environment is misconfigured, stop and fix.
Phase 2: Code Quality & Formatting
# Type checking
mypy . --config-file pyproject.toml
# Linting with ruff
ruff check . --fix
# Formatting with black
black . --check
black . # Auto-fix
# Import sorting
isort . --check-only
isort . # Auto-fix
# Django-specific checks
python manage.py check --deploy
Sponsors
Details
- Repository
- github.com/affaan-m/ecc
- Categories
- Testing & QA, Security, Release Management, Python
- First seen
- Jul 14, 2026
More from affaan-m/ecc
All 263- Django Celery5.6K
- Dotnet Patterns5.6K
- Blueprint5.5K
- Ecc Guide5.5K
- Code Tour5.5K
- Nuxt4 Patterns5.5K
- Healthcare Phi Compliance5.5K
- Inventory Demand Planning5.5K
- Agentic Os5.5K
- Product Capability5.5K
- Security Bounty Hunter5.5K
- Ai First Engineering5.5K
- Prisma Patterns5.5K
- Continuous Agent Loop5.5K
- Continuous Learning5.5K
- Agent Eval5.5K
- Exa Search5.5K
- Agent Sort5.5K
- Product Lens5.5K
- Iterative Retrieval5.5K
- Skill Stocktake5.5K
- Benchmark5.5K
- Healthcare Emr Patterns5.5K
- Homelab Network Setup5.5K