Django架构模式、使用DRF的REST API设计、ORM最佳实践、缓存、信号、中间件以及生产级Django应用程序。
65
48%
Does it follow best practices?
Impact
96%
1.41xAverage score across 3 eval scenarios
Advisory
Suggest reviewing before use
Optimize this skill with Tessl
npx tessl skill review --optimize ./docs/zh-CN/skills/django-patterns/SKILL.mdDjango project structure and settings layout
Config at root
0%
100%
Settings split
100%
100%
Settings inheritance
100%
100%
Apps directory
100%
100%
App file structure
50%
100%
PostgreSQL engine
0%
100%
Environment variable usage
62%
100%
Whitenoise and CORS middleware
100%
100%
DRF in INSTALLED_APPS
62%
100%
Production security settings
100%
100%
HSTS subdomains and preload
100%
100%
Debug=False in production
100%
100%
Debug=True in development
100%
100%
Django ORM model design patterns
AbstractUser extension
0%
100%
Email as USERNAME_FIELD
100%
100%
Model Meta attributes
0%
100%
SlugField configuration
100%
100%
Auto-slug in save()
100%
100%
CheckConstraint for price
100%
100%
Composite indexes
0%
100%
Custom QuerySet with as_manager()
50%
62%
select_related in QuerySet
100%
100%
prefetch_related in QuerySet
100%
100%
Service layer file
100%
100%
Atomic transaction
100%
100%
DRF serializers, ViewSets, caching, and signals
Password write-only
100%
100%
Password hashing in create()
87%
100%
Password confirm pop
0%
100%
Field-level validation
0%
100%
SerializerMethodField
0%
0%
get_serializer_class override
0%
100%
Filter backends
100%
100%
Featured @action
100%
100%
Low-level cache pattern
100%
100%
Signal with @receiver
100%
100%
Signals in AppConfig.ready()
100%
100%
default_auto_field in AppConfig
0%
100%
ae2cadd
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.