django-verification
运行完整的 Django 验证循环——环境检查、mypy/ruff/black 代码检查、迁移安全性、带覆盖率目标的 pytest、pip-audit 和 bandit 安全扫描、设置与日志审查,以及差异审查——在发布或 PR 之前生成分阶段的通过/失败报告。在准备 Django 拉取请求、验证迁移或覆盖率,或运行部署前就绪检查时使用。
机器翻译查看英文原文
Run the full Django verification loop — environment check, mypy/ruff/black linting, migration safety, pytest with coverage targets, pip-audit and bandit security scans, settings and logging review, and diff review — producing a phased pass/fail report before release or PR. Use when preparing a Django pull request, validating migrations or coverage, or running pre-deploy readiness checks.
适用对象:云服务、运维与安全。自动收录 · 待核查。
原作者说明节选
从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。
查看英文原文
原文涵盖的主题
- Django Verification Loop
- When to Activate
- Phase 1: Environment Check
- Phase 2: Code Quality & Formatting
- Phase 3: Migrations
- Phase 4: Tests + Coverage
- Phase 5: Security Scan
- Phase 6: Django Management Commands
Run before PRs, after major changes, and pre-deploy to ensure Django application quality and security. Before opening a pull request for a Django project After major model changes, migration updates, or dependency upgrades Pre-deployment verification for staging or production Running full environment → lint → test → security → deploy readiness pipeline Validating migration safety and test coverage If environment is misconfigured, stop and fix. Common issues: Missing type hints on public functions PEP 8 formatting violations Unsorted imports Debug settings left in production configuration Report: Number of pending migrations Any migration conflicts Model changes without migrations Report: Total tests: X passed, Y failed, Z skipped Overall coverage: XX% Per-app coverage breakdown Coverage targets: | Component | Target | |-----------|--------| | Models | 90%+ | | Serializers | 85%+ | | Views | 80%+ | | Services | 90%+ | | Overall | 80%+ | Report: Vulnerable dependencies found Security configuration issues Hardcoded secrets detected DEBUG mode status (should be False in production) Report: Number of queries per page (should be < 50 for typical pages) Missing database indexes Duplicate
这里只展示节选,请以完整原文和当前要求为准。
- 来源仓库
- affaan-m/ECC
- 源文件
- pi/core/skills/django-verification/SKILL.md
- 固定版本
- d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
来源与内容状态
本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。
原作者:affaan-m/ECC · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T15:01:42.975Z。
分类由名称、说明与路径规则生成,分类不代表已核实适配。
许可与权利归属
MIT。第三方内容及版权归原作者,使用条件以原文为准。
许可原文 ↗本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。
限制与注意事项
- 元数据收录不代表本站已经安装、适配、实测或进行安全审查。