What does this skill do?

The Django Skill Project Verification automates a comprehensive set of checks covering code quality, migrations, tests with code coverage, security scans, and deployment configuration verification. It runs before opening a pull request or deploying to production, returning a structured report with a final recommendation of APPROVED, WARNING, or BLOCKED.

Before Submitting a Pull Request
Check migrations, linting, and tests before merging code into a Django project.
Pre-deployment to production
Check DEBUG=False, ALLOWED_HOSTS, secrets, and vulnerable dependencies before releasing.
Security Audit
Run pip-audit, safety, and bandit to detect vulnerabilities in dependencies and code.
CI/CD Pipeline
Standardize quality checks in continuous integration for the entire team.

Usage examples

🔀 Before a PR
Run a full check of my Django project before opening the pull request.
🚀 Pre-deployment
Check that my Django project is ready for production: migrations, tests, security, and configuration.
🔒 Security Only
Run a security scan using pip-audit, safety, and bandit on my Django code.
📊 Tests and Coverage
Run pytest with code coverage and verify that it exceeds 80% in my Django project.

Features

Linting and Formatting Run ruff, black, isort, and mypy to ensure the code is styled correctly and properly typed.
Verification of Migrations Check for pending migrations and detect changes in unmigrated models using `makemigrations --check`.
Tests with coverage Run pytest with code coverage and verify that it exceeds the configured 80% threshold.
Security Scan Detect vulnerabilities in dependencies and insecure code using pip-audit, safety, and bandit.
Structured Report Returns a phased report with success or failure indicators and a final recommendation.

Frequently asked questions

The skill uses ruff, black, isort, mypy, pytest, pytest-cov, pip-audit, safety, and bandit. These must be available in the Django project's virtual environment.
Yes, as long as the project uses Django with `manage.py`. The validation commands are compatible with Django 3.2+.
The report marks the security status with ✗ and issues a BLOCKED or WARNING recommendation depending on the severity, detailing the steps to resolve the issues.
Yes. By default, 80% is required, but you can change that value in the skill's settings before running it.
Django Project Verification — Quality and Security with Claude AI

¿Prefieres escuchar el contenido? Genera la narración de audio con un clic.