django-verification/SKILL.md
Verification loop for Django projects: migrations, linting, tests with coverage, security scans, and deployment readiness checks before release or PR.
npx skillsauth add lidge-jun/cli-jaw-skills django-verificationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run a structured verification pipeline before PRs, after major changes, or pre-deploy. Catches migration, quality, security, and config issues.
python --version
which python
python manage.py check
Verify the project's Python version requirement is met and the virtualenv is active. If misconfigured, stop and fix before proceeding.
Run the project's configured linter, formatter, and type checker. Use whatever tools the project already has (e.g., ruff, flake8, black, mypy, isort). The key commands:
# Lint + format (use project's configured tools)
python manage.py check --deploy
Adapt to the project's pyproject.toml / setup.cfg — do not assume specific tools are installed.
python manage.py showmigrations
python manage.py makemigrations --check
python manage.py migrate --plan
Report:
If conflicts exist: python manage.py makemigrations --merge
# Use the project's test runner (pytest or manage.py test)
python manage.py test # or: pytest --cov
Report:
Coverage targets (adjust per project):
| Component | Target | |-----------|--------| | Models | 90%+ | | Views | 80%+ | | Services | 90%+ | | Overall | 80%+ |
python manage.py check --deploy
pip-audit # or: safety check
Optional (if installed): bandit -r ., gitleaks detect --source .
Report:
python manage.py collectstatic --noinput
python manage.py check --database default
If the project uses a frontend build step, run it before collectstatic.
git diff --stat
git diff | grep -iE "todo|fixme|hack|print\(|pdb|breakpoint|DEBUG\s*=\s*True"
Checklist:
DJANGO VERIFICATION REPORT
==========================
Phase 1: Environment ✓/✗
Phase 2: Code Quality ✓/✗ (N issues)
Phase 3: Migrations ✓/✗ (N pending)
Phase 4: Tests X passed, Y failed, Z skipped — Coverage: XX%
Phase 5: Security ✓/✗ (N vulnerabilities)
Phase 6: Assets ✓/✗
Phase 7: Diff Review ✓/✗
RECOMMENDATION: [pass / fix X before deploying]
| Check | Command |
|-------|---------|
| Django check | python manage.py check --deploy |
| Migrations | python manage.py makemigrations --check |
| Tests | python manage.py test or pytest --cov |
| Security | pip-audit |
| Static | python manage.py collectstatic --noinput |
| Diff | git diff --stat |
python manage.py test as fallback if pytest is not configured.tools
Use only on the Codex CLI for native image generation or image editing without an API key. Save final PNG files under ~/.cli-jaw/uploads, report web-ready absolute-path markdown, and send to Telegram or Discord only when explicitly requested.
tools
Ranked repository structure map via `cli-jaw map`. Use for codebase overview, structure map, symbol overview, unfamiliar codebase exploration, architecture orientation. Triggers: repo map, structure map, codebase overview, 와꾸, project structure, unfamiliar code.
tools
cli-jaw Design workspace: create, preview, run, and export design pages from the right sidebar. Covers panel UX, direct-write workflow, artifact lifecycle, wireframe generation, design system, and Open Design adapter.
development
MUST USE for infrastructure and delivery work — container builds, deploy pipelines, Kubernetes, Infrastructure as Code, SRE foundations, edge/serverless, ML infrastructure. Triggers: Dockerfile, K8s manifests, CI/CD pipeline, Terraform/IaC, release/deploy, devops/infra/deploy or release_cd task_tags.