django-verification

Verify Django applications through migrations, code quality, security, and deployment checks.

1|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/Michae2xl/claude-skills-michael --skill django-verification-michae2xl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: django-verification
Source: https://github.com/Michae2xl/claude-skills-michael/tree/main/skills/django-verification
Command: npx skills add https://github.com/Michae2xl/claude-skills-michael --skill django-verification-michae2xl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires mypy, ruff, black, isort, pytest, pytest-cov, bandit, safety, pip-audit, gitleaks, django-debug-toolbar, django-debug-sqlshell, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides a comprehensive verification loop for Django projects, addressing migrations, code quality, tests, security, and deployment readiness before release or PR.

Core Features & Use Cases

  • Migrations and Migrations: Checks for unapplied migrations, creates missing migrations, and performs dry-run migration applications.
  • Code Quality and Formatting: Runs type checking, linting, formatting, and import sorting to ensure code quality.
  • Tests and Coverage: Executes all tests with coverage reporting and specific app tests with markers.
  • Security Scan: Checks for dependency vulnerabilities, Django-specific security checks, and secret scanning.
  • Django Management Commands: Runs critical Django management commands like check, collectstatic, create superuser, and database integrity checks.
  • Performance Checks: Identifies N+1 queries, missing indexes, and query count analysis.
  • Static Assets: Checks npm dependencies and builds static files if using webpack/vite.
  • Configuration Review: Verifies critical settings such as DEBUG, SECRET_KEY, ALLOWED_HOSTS, and HTTPS.
  • Logging Configuration: Tests logging output and checks log files if configured.
  • API Documentation (if DRF): Generates and validates API documentation if using Django REST Framework.
  • Diff Review: Provides diff statistics, actual changes, changed files, and checks for common issues like debug statements and hardcoded secrets.

Quick Start

Activate the django-verification skill before opening a pull request for a Django project.

Frequently Asked Questions about django-verification

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

FAQPage Schema
How do I run a Django security scan and code quality check before a pull request?

Django pre-PR verification combines dependency vulnerability checks using bandit and safety, linting via ruff, and static analysis to ensure code quality and security before release.

Does Django verification cover database migration checks and dry runs?

Django migration verification checks for unapplied migrations, creates missing migration files, and performs dry-run migration applications to validate database schema changes safely.

What is the best way to check Django deployment readiness and configuration settings?

Deployment readiness checks verify critical Django settings including DEBUG, SECRET_KEY, ALLOWED_HOSTS, and HTTPS configurations to ensure production environment security and compliance.

Can I detect N+1 queries and analyze query counts in Django applications?

Django performance testing identifies N+1 queries, detects missing indexes, and executes query count analysis using django-debug-toolbar to optimize database interactions.

Do I need pytest and mypy to run Django verification workflows?

Yes, Django verification requires pytest and pytest-cov for test coverage reporting, mypy for static type checking, alongside ruff, black, and isort for code formatting.

How do I scan for hardcoded secrets in Django code changes during a diff review?

Diff review verification uses gitleaks secret scanning to detect hardcoded secrets, debug statements, and provides diff statistics on changed files before merging code.