Back to Skills

django-verification

Verification loop for Django projects: migrations, linting, tests with coverage, security scans, and deployment readiness checks before release or PR.

176,164stars27,258forksUpdated 5/9/2026

Security Assessment

Safe(90/100)

Detected risks:

Sensitive File Access([SKILL.md] .env)
Security Score90/100

About django-verification

The django-verification skill provides a comprehensive verification loop designed for Django projects, ensuring code quality, security, and deployment readiness. It addresses the common challenges developers face in maintaining high standards across multiple aspects of a Django application, including migrations, linting, testing with coverage, and security scanning. By automating these checks before pull requests, after significant code changes, or prior to deployment, this skill helps prevent runtime errors, security vulnerabilities, and misconfigurations in production environments.

Key features of django-verification include environment validation to ensure correct Python versions and virtual environment setups, code quality and formatting checks using tools like mypy, ruff, black, and isort, as well as Django-specific management command verifications. It supports migration integrity checks, comprehensive test execution with coverage reporting, and detailed security scans covering dependencies, configuration issues, hardcoded secrets, and debug mode status. Additional phases include Django management command checks, static file collection, superuser creation for tests, database integrity verification, cache testing, and performance monitoring to detect potential inefficiencies such as N+1 queries.

This skill is particularly useful for Django developers, DevOps engineers, and QA teams seeking to maintain reliable and secure applications. It is suited for projects of all sizes where automated verification before code integration or deployment can save time and reduce errors. Use cases include pre-PR checks to catch code issues early, post-migration validations, pre-deployment readiness assessments, and maintaining consistent testing and security standards across development teams.

FAQ

When should I run the django-verification skill?

It is recommended to run it before opening a pull request, after major model or dependency changes, and prior to deploying to staging or production environments.

Does django-verification handle test coverage reporting?

Yes, it runs all tests using pytest, generates coverage reports per app, and allows filtering by markers or specific tests.

Which Python and Django versions are compatible?

The skill verifies that the Python version matches the project requirements and assumes a standard Django project structure. Exact version compatibility depends on the project's configuration.

Can django-verification detect security issues?

Yes, it includes dependency vulnerability scans, Django security checks, bandit analysis, secret scanning, and verification that DEBUG mode is disabled in production.

Are there any limitations in performance checks?

Performance verification is manual and primarily focuses on identifying N+1 queries via tools like Django Debug Toolbar, requiring development mode access and inspection of pages.

Install django-verification

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill