django-verification

Runs a multi-phase verification pipeline for Django projects covering migrations, tests, security, and deployment readiness.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/freedom909/real-estate-saas --skill django-verification-freedom909
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: django-verification
Source: https://github.com/freedom909/real-estate-saas/tree/main/.trae/skills/django-verification
Command: npx skills add https://github.com/freedom909/real-estate-saas --skill django-verification-freedom909

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Django teams often ship pull requests or deployments without systematically checking migrations, test coverage, security vulnerabilities, and production settings, leading to broken releases and exposed configurations. ## Core Features & Use Cases - Twelve-Phase Verification Pipeline: Sequentially checks environment, code quality (mypy, ruff, black, isort), migrations, tests with coverage targets, security scans (pip-audit, bandit, safety), performance, static assets, configuration, logging, API schema, and diff review. - Structured Reporting: Produces a standardized verification report with pass/fail status per phase, coverage breakdowns, and a final deploy recommendation. - CI Integration: Includes a ready-to-adapt GitHub Actions workflow that runs linting, security scans, and pytest with coverage on every push or pull request. - Use Case: Before merging a feature branch with new Django models, run the verification loop to confirm migrations exist, coverage stays above 80%, no vulnerable dependencies were introduced, and DEBUG is disabled in production settings. ## Quick Start Run the Django verification loop on this project and report any failing phases before I open a pull request.

Frequently Asked Questions about django-verification

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify a Django project before deployment?▼

Run a phased verification covering environment checks, linting with ruff and black, migration validation with manage.py makemigrations --check, pytest with coverage, and security scans via pip-audit and bandit. Finish with manage.py check --deploy to confirm production settings.

How to check test coverage in a Django project with pytest?▼

Use pytest with the pytest-cov plugin: pytest --cov=apps --cov-report=html --cov-report=term-missing. This generates terminal and HTML reports showing per-app coverage, with typical targets of 80% overall and 90% for models and services.

What tools scan Django dependencies for security vulnerabilities?▼

pip-audit and safety check scan installed Python packages against known vulnerability databases, while bandit performs static analysis of Django source code for common security issues. gitleaks can additionally detect hardcoded secrets in the repository.

Does this verification workflow integrate with GitHub Actions?▼

Yes, the skill includes a GitHub Actions workflow that sets up Python, caches pip dependencies, runs ruff, black, isort, and mypy checks, executes bandit, safety, and pip-audit scans, and runs pytest with coverage against a PostgreSQL service container.

Why does Django migration verification fail before a pull request?▼

Failures usually come from model changes without generated migrations, unapplied migrations, or conflicting migration branches. Use manage.py makemigrations --check to detect missing migrations and manage.py makemigrations --merge to resolve conflicts.

What are the limitations of automated Django verification?▼

Automated checks catch common issues like lint violations, low coverage, and vulnerable dependencies, but they do not replace manual code review or staging environment testing. Business logic errors and integration issues still require human validation.