CtrlK
BlogDocsLog inGet started
Tessl Logo

django-patterns

Django架构模式、使用DRF的REST API设计、ORM最佳实践、缓存、信号、中间件以及生产级Django应用程序。

65

1.41x
Quality

48%

Does it follow best practices?

Impact

96%

1.41x

Average score across 3 eval scenarios

SecuritybySnyk

Advisory

Suggest reviewing before use

Optimize this skill with Tessl

npx tessl skill review --optimize ./docs/zh-CN/skills/django-patterns/SKILL.md
SKILL.md
Quality
Evals
Security

Evaluation results

100%

26%

New SaaS Platform Project Scaffold

Django project structure and settings layout

Criteria
Without context
With context

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%

97%

26%

E-Commerce Product Catalog Models

Django ORM model design patterns

Criteria
Without context
With context

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%

92%

33%

Product API with User Profiles and Caching

DRF serializers, ViewSets, caching, and signals

Criteria
Without context
With context

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%

Repository
haniakrim21/everything-claude-code
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

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.