django-verification

Automate Django project verification for code quality, migrations, security, and deployment readiness.

3|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/rlagycks/oh-my-forge --skill django-verification-rlagycks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: django-verification
Source: https://github.com/rlagycks/oh-my-forge/tree/main/skills/django-verification
Command: npx skills add https://github.com/rlagycks/oh-my-forge --skill django-verification-rlagycks

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pytest, pytest-django, bandit, pip-audit, mypy, ruff, black, isort, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of verifying Django applications, detecting issues related to code quality, migrations, security, and deployment readiness.

Core Features & Use Cases

  • Automated Environment Validation: Checks Python version, environment variables, and virtual environment setup.
  • Code Quality Assurance: Performs type checking, linting, formatting, and static analysis to maintain clean code.
  • Migration Management: Detects pending migrations, conflicts, and missing migration files.
  • Testing & Coverage: Runs tests with coverage reports, ensuring comprehensive test suites.
  • Security Assessment: Conducts vulnerability scans, secret detection, and security configuration validation.
  • Deployment Preparation: Validates static assets, database integrity, logging, and environment settings.
  • Performance & Static Assets: Checks for N+1 queries, missing indexes, and static file management.
  • Documentation & Diff Review: Generates API schemas, reviews code differences, and enforces best practices.

Quick Start

Run python manage.py check and review the output to verify your application's health before deploying.

Frequently Asked Questions about django-verification

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

FAQPage Schema
How do I run pre-deployment security checks and code quality verification for a Django project?

Django deployment verification requires running management commands, security scans via bandit and pip-audit, and code analysis using mypy and ruff. This process validates environment setup, checks migration conflicts, executes tests with coverage, and ensures deployment readiness before releasing to staging or production environments.

What is the best way to detect pending migrations and missing migration files in Django?

Django migration management automates detection of pending migrations, conflicts, and missing migration files. Run `python manage.py check` to validate application health, identify migration issues, and ensure database schema integrity before deployment to staging or production environments.

Do I need pytest and pytest-django to run comprehensive Django project verification?

Yes, pytest and pytest-django are required dependencies for Django project verification. The testing framework executes test suites with coverage reports, while additional tools like bandit, pip-audit, mypy, ruff, black, and isort handle security scanning, type checking, linting, and formatting.

How does automated security assessment work for Django applications before production deployment?

Django security assessment conducts vulnerability scans using pip-audit, secret detection, and security configuration validation. Bandit performs static analysis on code, while the verification process checks environment variables, validates logging settings, and ensures secure static asset management for production readiness.

Can I check for N+1 queries and missing database indexes during Django deployment preparation?

Yes, Django deployment preparation includes performance checks for N+1 queries, missing indexes, and static file management. The verification process validates database integrity, reviews code differences, generates API schemas, and enforces best practices alongside standard code quality and migration checks.

Why does Django project verification fail when environment variables or virtual environment setup is incorrect?

Django verification fails on environment validation because incorrect Python versions, missing environment variables, or improper virtual environment setup prevent reliable execution of management commands, security scans, and code analysis tools required for comprehensive pre-deployment quality and security checks.