Skip to content
affaan-m avatar

Django Verification

Comprehensive Django pre-release pipeline covering environment, linting, migrations, tests with coverage, and security scans.

CCM score
63 of 100
skills.sh installs
12.6K
GitHub stars
312.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Runs phased checks: environment, mypy/ruff/black/isort linting, migration safety, pytest coverage, and pip-audit/bandit scans
  • Includes a manage.py check --deploy pass, settings and logging review, and a git diff review for leftover debug code
  • Sets coverage targets by component: 90% for models and services, 85% for serializers, 80% for views and overall
  • Produces a phased pass/fail report to run before a pull request, after major model or dependency changes, or pre-deploy

Install

$ npx -y skills add affaan-m/ecc --skill django-verification -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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

Details

Repository
github.com/affaan-m/ecc
Categories
Python, Testing & QA, Security
First seen
Jul 14, 2026

Questions

What does the django-verification skill do?

It runs a full verification loop for Django projects, covering environment checks, mypy, ruff and black linting, migration safety, pytest with coverage targets, and pip-audit and bandit security scans. It finishes with settings review and a diff review, producing a phased pass or fail report before a release or pull request.

When should I use the django-verification skill?

Use it before opening a Django pull request, after major model changes or dependency upgrades, and before a staging or production deployment. It is also useful for validating migrations, checking test coverage, and running pre-deploy readiness checks.

How do I install the django-verification skill?

Run npx -y skills add affaan-m/ecc --skill django-verification -y in your project. Once installed, the agent can walk through each verification phase and report results for your Django app.

Where does django-verification rank among Python skills?

It sits in the Python category on Claude Marketplaces and ranks in the top 25 on the Python category page. Its verification focus on migrations, coverage and security scans sets it apart from skills centered on performance, design patterns or packaging.

More from affaan-m/ecc

All 257

Similar to Django Verification

More Python