django-verification

Orchestrate Django migrations, code quality, tests, and security scans.

1.8k|303|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/xu-xiang/everything-claude-code-zh --skill django-verification-xu-xiang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: django-verification
Source: https://github.com/xu-xiang/everything-claude-code-zh/tree/main/skills/django-verification
Command: npx skills add https://github.com/xu-xiang/everything-claude-code-zh --skill django-verification-xu-xiang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the end-to-end verification loop for Django projects, ensuring migrations, code quality, test coverage, and security checks are completed before PRs or deployments, thereby improving reliability and safety of releases.

Core Features & Use Cases

  • Environment and code quality checks: validates Python version, virtual environment status, and runs type checking (mypy), linting (ruff), formatting (black), and import sorting (isort).
  • Migrations, tests, and deployment readiness: detects unapplied migrations, creates missing migrations, runs tests with coverage, and checks Django deployment readiness.
  • Security and configuration review: performs dependency security scans (pip-audit, safety, bandit) and validates critical Django settings for production readiness. Use Case: Before merging a PR that adds a new model, the loop ensures migrations exist and run, new tests cover the model, code quality gates pass, and no security issues are present.

Quick Start

  • Integrate the verification loop into your CI to automatically run on every PR and pre-deploy.
  • Run locally by invoking the Skill’s verification workflow and review the generated report for migrations, tests, and security findings.

Frequently Asked Questions about django-verification

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

FAQPage Schema
How do I automate Django migration checks and test coverage before a PR?

To automate Django verification before a PR, you can orchestrate migration checks, test coverage, code quality, and security scans together. This ensures unapplied migrations are detected and missing model tests are validated before deployment.

How do I run Django deployment readiness checks and security scans locally?

You can run Django deployment readiness checks and security scans locally by invoking a verification workflow that uses pip-audit, safety, and bandit to review dependencies, while validating critical production settings and generating a findings report.

What is the best way to check Django code quality using mypy, ruff, and black?

The best way to check Django code quality is running an integrated verification loop that executes mypy for type checking, ruff for linting, black for formatting, and isort for import sorting to enforce gates before merging changes.

Does this Django verification workflow require specific Python tooling to run?

Yes, this Django verification workflow requires standard Python tooling including mypy, ruff, black, isort, and pytest, alongside standard Django management commands to execute migrations, checks, and tests properly.

Can I integrate Django migrations and security checks into my CI pipeline?

Yes, you can integrate the Django verification loop into your CI to automatically run on every PR and pre-deploy, validating migrations, tests, code quality, and security configurations to improve release safety.

Why should I run a full verification loop instead of just Django tests?

Running a full verification loop instead of just Django tests ensures migrations exist and run, code quality gates pass, test coverage is met, and no dependency security issues are present before merging a PR.