django-verification

Validates Django applications' readiness and safety before deployment.

1|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/xxih/ai-harness-zh --skill django-verification-xxih
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: django-verification
Source: https://github.com/xxih/ai-harness-zh/tree/main/references/translations/everything-claude-code/docs/zh-CN/skills/django-verification
Command: npx skills add https://github.com/xxih/ai-harness-zh --skill django-verification-xxih

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ensures a Django application is ready, secure, and high-quality before merging, releasing, or deploying by automating environment validation, code quality checks, migration safety, test coverage measurement, and security scanning.

Core Features & Use Cases

  • Environment validation: Confirm Python version, virtualenv, and critical environment variables.
  • Code quality and formatting: Run type checks, linters, formatters, and Django-specific deployment checks.
  • Migration safety: Detect unapplied or conflicting migrations and simulate migration plans.
  • Testing and coverage: Execute pytest with coverage, generate reports, and enforce coverage targets per component.
  • Security and dependency scans: Run pip-audit, safety, bandit, and secret scanning.
  • Operational checks: Run Django management commands, static asset builds, logging and cache verification, and API schema validation.
  • CI integration: Produce structured reports and a GitHub Actions example to run the full verification pipeline in CI.
  • Use cases: Run on pull requests, before major model changes, during dependency upgrades, and as a pre-deploy gate in CI.

Quick Start

Run the Django verification pipeline to check environment, lint and type-check code, run migrations and tests with coverage, perform security scans, and generate a deployment readiness report.

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-deploy checks for a Django application in CI?

Django pre-deploy checks validate environment configurations, run linting and typing, verify migration safety, execute pytest coverage, and perform security scanning to output a structured CI readiness report.

What is the best way to check for conflicting Django migrations before merging?

Migration safety checks detect unapplied or conflicting migrations and simulate migration plans, ensuring database schema integrity before merging or deploying Django repository changes.

How can I automate pytest coverage and security scanning for Django on pull requests?

Automate pytest coverage and security scanning by running pip-audit, safety, and bandit during pull requests to measure coverage targets and identify vulnerabilities in Django dependencies.

Does this Django verification pipeline include static asset builds and configuration audits?

Yes, the Django verification pipeline includes operational checks that run Django management commands, verify static asset builds, validate logging and cache configurations, and perform API schema validation.

Can I enforce per-component coverage targets during Django deployment readiness checks?

Yes, you can enforce per-component coverage targets by executing pytest with coverage generation as part of the Django deployment readiness checks to ensure code quality standards are met.

Why do I need environment validation before running Django management checks?

Environment validation confirms the Python version, virtualenv, and critical environment variables before running Django management checks to prevent deployment failures caused by misconfigured runtime environments.