Skip to content
Back to skills

Drf Patterns

ASecurity

Django REST Framework patterns for serializers, viewsets, permissions, and throttling. Load before any edit to a serializer, viewset, or API view, however small, and for DRF questions.

  • 2 stars
  • 0 votes
  • 0 copies
  • 9 views
  • Added October 5, 2026
ai-agentsgodjangoapi

Works with

  • api

Security analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add ku5ic/claude-kit --skill drf-patterns --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Drf Patterns?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Drf Patterns
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ku5ic-drf-patterns/badge)](https://www.skillsdirectory.com/skills/ku5ic-drf-patterns)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: drf-patterns
description: Django REST Framework patterns for serializers, viewsets, permissions, and throttling. Load before any edit to a serializer, viewset, or API view, however small, and for DRF questions.
---

# Django REST Framework patterns

Default assumption: DRF 3.18, per the DRF release notes. It supports Django 5.2, 6.0, and 6.1.

A row applies when the DRF, djangorestframework-simplejwt, or django-filter version the project pins, in `pyproject.toml`, a requirements file, or the lockfile, is at least the row's version.

## Reference files

Loading this skill isn't enough. Before your next edit, read the file of every row that matches it. The rules live in those files, and this one only points at them.

| Before                                                                                                                                         | Read                                                     |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------- |
| Writing DRF code, or raising the DRF, simplejwt, or django-filter version                                                                      | [reference/upgrades.md](reference/upgrades.md)           |
| Writing, changing, or reviewing DRF code                                                                                                       | [reference/anti-patterns.md](reference/anti-patterns.md) |
| Writing a serializer, a viewset, a router, permissions, authentication, throttling, pagination, filtering, versioning, a renderer, or a schema | [reference/practices.md](reference/practices.md)         |
| Configuring ruff or Django's checks for a DRF project                                                                                          | [reference/tooling.md](reference/tooling.md)             |

Files in this skill

  • SKILL.md3.1 KB
  • reference/anti-patterns.md2.3 KB
  • reference/auth.md2.1 KB
  • reference/filtering.md2.2 KB
  • reference/permissions.md2.1 KB
  • reference/serializers.md3.2 KB
  • reference/throttling-and-pagination.md2.1 KB
  • reference/versioning.md2 KB
  • reference/viewsets-and-routers.md2.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.