Django Rest Framework
Django REST Framework guidance for serializers, viewsets, routers, and permissions when building RESTful APIs.
- CCM score
- 40 of 100
- skills.sh installs
- 268
- GitHub stars
- 202
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers ModelSerializer patterns with read-only fields, write-only passwords, and custom field validation for base64 images and profanity checks
- Includes writable and dynamic nested serializers, with ViewSets that add publish and recent actions, filtering, search, and ordering
- Enforces permissions such as IsAuthorOrReadOnly and IsOwnerOrAdmin, with limits on who may edit or delete objects
- Designed for Django developers building authenticated REST endpoints that need custom serialization and routing
Install
$ npx -y skills add thebushidocollective/han --skill django-rest-framework -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Django REST Framework
Master Django REST Framework for building robust, scalable RESTful APIs with proper serialization and authentication.
Serializers
Build type-safe data serialization with Django REST Framework serializers.
from rest_framework import serializers
from django.contrib.auth.models import User
class UserSerializer(serializers.ModelSerializer):
post_count = serializers.IntegerField(read_only=True)
full_name = serializers.SerializerMethodField()
class Meta:
model = User
fields = ['id', 'email', 'name', 'post_count', 'full_name']
read_only_fields = ['id', 'created_at']
extra_kwargs = {
'email': {'required': True},
'password': {'write_only': True}
}
def get_full_name(self, obj):
return f"{obj.first_name} {obj.last_name}"
class PostSerializer(serializers.ModelSerializer):
author = UserSerializer(read_only=True)
author_id = serializers.IntegerField(write_only=True)
class Meta:
model = Post
fields = '__all__'
Details
- Repository
- github.com/thebushidocollective/han
- Categories
- Backend & APIs, Python
- First seen
- Jun 3, 2026
Questions
What does the django-rest-framework skill do?
The django-rest-framework skill helps an agent build RESTful APIs with Django REST Framework, covering serializers, viewsets, routers and permissions. It shows how to write ModelSerializer classes with custom validation, nested and writable relationships, and ViewSets that handle authentication and filtering.
How do I install the django-rest-framework skill?
Run npx -y skills add thebushidocollective/han --skill django-rest-framework -y in a project to install the django-rest-framework skill. Once installed, the django-rest-framework skill lets the agent write serializers, viewsets and permission classes for Django REST Framework projects.
Which category does the django-rest-framework skill belong to?
The django-rest-framework skill is listed in the Backend & APIs category on Claude Marketplaces. Its own content focuses on building Django REST Framework APIs with serializers, viewsets, routers and authentication.
Who should use the django-rest-framework skill?
The django-rest-framework skill suits Python developers building RESTful APIs on Django. It covers creating serializers with custom fields, nested relationships, and permissions that restrict edits to authors or owners.
More from thebushidocollective/han
All 14- Cpp Modern Features247
- Tailwind Responsive Design235
- Bdd Patterns213
- Storybook Component Documentation167
- Reactflow Fundamentals140
- Android Jetpack Compose2.3K
- Fastapi Async Patterns965
- Atomic Design Fundamentals794
- Storybook Story Writing682
- Solid Principles620
- Docker Compose Production489
- Angular Rxjs Patterns294
- PHP Security Patterns279
Similar to Django Rest Framework
More Backend & APIsrest-api-djangoSkillmindrally/skills764 installsOpinionated Django REST Framework guidelines covering project layout, serializers, JWT auth, N+1 prevention, and error responses.
django-rest-api-developmentSkillmindrally/skills932 installsComprehensive Django REST API guidelines covering app structure, authentication, and query performance.
django-drfSkillprowler-cloud/prowler484 installsOpinionated Django REST Framework patterns for ViewSets, serializers, filters, permissions, and routing in Prowler's API.
jutsu-djangoPluginTheBushidoCollective/han201 starsAdvanced Django skills for ORM, class-based views, and REST framework.
wp-rest-apiSkillwordpress/agent-skills7K installsDeveloper guide for building, extending, and debugging WordPress REST API routes, controllers, and schema validation.
django-expertSkilljeffallan/claude-skills4.7K installsDjango and DRF specialist that builds indexed models, optimized ORM queries, serializers, viewsets, and JWT auth.