通过先写测试再实现功能的流程,验证Django模型、页面和API,涵盖测试数据生成、外部服务模拟及代码覆盖率,帮助确认功能行为与测试范围。
- 先写测试再开发Django功能
- 检查API认证和输入验证
- 准备可复用的测试数据
159 个 · 按相关度排序
通过先写测试再实现功能的流程,验证Django模型、页面和API,涵盖测试数据生成、外部服务模拟及代码覆盖率,帮助确认功能行为与测试范围。
通过项目结构、API、数据访问和缓存示例,辅助设计、实现与审查Django应用,整理不同环境的配置及业务逻辑,并减少不必要的数据库查询。
Build Django web applications and REST APIs with Django REST Framework. This skill guides data models, input validation, views, authentication, permissions, and tests, while improving how applications retrieve related records from the database.
中文简介正在准备中。当前显示英语简介。
在Django发布或提交变更提案前,依次检查环境、代码质量、数据库变更、测试、漏洞及配置,汇总各阶段是否通过和需要修复的问题。
Configure Django file storage on AWS S3 using django-storages and boto3. Separate public and private files, create temporary download or upload links, configure CloudFront delivery, and test storage behavior without accessing real S3 buckets.
中文简介正在准备中。当前显示英语简介。
帮助在Django中用Celery将邮件发送、PDF生成等工作转为后台任务,并设计定期运行、失败重试、任务串联、并行执行、监控与测试。
检查Django应用的登录、权限、输入处理和生产配置,梳理恶意查询、脚本注入及非预期请求的防护,并审查文件上传、API保护、密钥管理和安全日志。
Django web framework conventions: app layout, settings split (base/local/production), URLconf with app namespacing, CBV and DRF ViewSets, DRF serializers and permissions, form validation, signals, Django admin registration, and middleware. Activated automatically by django-plugin/stack.md. Works alongside python-foundation:python-conventions and django-plugin:django-orm-patterns. Use this skill to: - Structure a Django project with multiple apps and correct URLconf hierarchy. - Write CBVs and DRF ViewSets with appropriate permissions and serializers. - Configure settings correctly for different environments. - Use signals for decoupled event handling between apps. - Register models in Django admin with useful list_display and search_fields. Do NOT use this skill for: - Django ORM model field finalization and migration patterns — see django-plugin:django-orm-patterns. - Python language idioms (type hints, dataclasses, enums) — see python-foundation:python-conventions. - Testing patterns — see python-foundation:pytest-testing.
中文简介正在准备中。当前显示原文说明。
Django ORM patterns: model definitions, field types, model managers, custom QuerySet methods, select_related/prefetch_related for N+1 prevention, transactions, F/Q expressions, Meta indexes and constraints. For django-architect (model definitions) and django-migrations-specialist (field finalization). Activated automatically by django-plugin/stack.md. Use this skill to: - Write clean, efficient Django model definitions with proper field choices and __str__. - Use custom managers and QuerySets to encapsulate query logic. - Prevent N+1 queries with select_related and prefetch_related. - Use transactions for atomic operations. - Define Meta indexes and constraints (for django-migrations-specialist to finalize). Do NOT use this skill for: - Creating actual migrations (makemigrations) — that is django-migrations-specialist. - Web view / API patterns — see django-plugin:django-conventions. - Python idioms — see python-foundation:python-conventions.
中文简介正在准备中。当前显示原文说明。
pytest-djangoによるDjangoテスト戦略、TDD方法論、factory_boy、モック、カバレッジ、Django REST Framework APIのテスト。
中文简介正在准备中。当前显示原文说明。
Django performance code review. Use when asked to "review Django performance", "find N+1 queries", "optimize Django", "check queryset performance", "database performance", "Django ORM issues", or audit Django code for performance problems.
中文简介正在准备中。当前显示原文说明。
Use when filtering Django querysets - FilterSet, custom filters, Django REST Framework integration, explicit fields
中文简介正在准备中。当前显示原文说明。
Django performance code review. Use when asked to "review Django performance", "find N+1 queries", "optimize Django", "check queryset performance", "database performance", "Django ORM issues", or audit Django code for performance problems.
中文简介正在准备中。当前显示原文说明。
Master Django 5.x with async views, DRF, Celery, and Django Channels. Build scalable web applications with proper architecture, testing, and deployment. Use PROACTIVELY for Django development, ORM optimization, or complex Django patterns.
中文简介正在准备中。当前显示原文说明。
Django access control and IDOR security review. Use when reviewing Django views, DRF viewsets, ORM queries, or any Python/Django code handling user authorization. Trigger keywords: "IDOR", "access control", "authorization", "Django permissions", "object permissions", "tenant isolation", "broken access".
中文简介正在准备中。当前显示原文说明。
Use when integrating Celery with Django - task definition and calling, django-celery-beat scheduling, worker deployment, Flower monitoring, testing tasks, batch processing, or choosing between cron and beat
中文简介正在准备中。当前显示原文说明。
Use when theming the Django admin with django-unfold - settings and sidebar configuration, custom admin site, components and @display decorator, filters, actions, tabs, dark mode and styling, or Django 6.x compatibility
中文简介正在准备中。当前显示原文说明。
Use when implementing Django authentication - local accounts, OAuth, email verification, MFA, OIDC, django-organizations
中文简介正在准备中。当前显示原文说明。
Django access control and IDOR security review. Use when reviewing Django views, DRF viewsets, ORM queries, or any Python/Django code handling user authorization. Trigger keywords: "IDOR", "access control", "authorization", "Django permissions", "object permissions", "tenant isolation", "broken access".
中文简介正在准备中。当前显示原文说明。
Djangoアーキテクチャパターン、DRFによるREST APIデザイン、ORMベストプラクティス、キャッシュ、シグナル、ミドルウェア、プロダクショングレードのDjangoアプリ。
中文简介正在准备中。当前显示原文说明。
Master Django 5.x with async views, DRF, Celery, and Django Channels. Build scalable web applications with proper architecture, testing, and deployment. Use PROACTIVELY for Django development, ORM optimization, or complex Django patterns.
中文简介正在准备中。当前显示原文说明。
Django 测试策略,包括 pytest-django、TDD 方法、factory_boy、模拟、覆盖率以及测试 Django REST Framework API。
中文简介正在准备中。当前显示原文说明。
Django testing strategies with pytest-django, TDD methodology, factory_boy, mocking, coverage, and testing Django REST Framework APIs.
中文简介正在准备中。当前显示原文说明。
使用 pytest-django 进行 Django 测试的策略、TDD 方法论、factory_boy、Mock 模拟、测试覆盖率以及测试 Django REST Framework API。
中文简介正在准备中。当前显示原文说明。