Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

django-drf

Skill by prowler-cloud

django-drf is an agent skill that gives an AI assistant Django REST Framework patterns for ViewSets, serializers, routers, permissions and filtersets. It is written for the Prowler API in the api/ directory.

  • Score 90
  • 15k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install django-drf

Built from the published package, never by AI.

git clone --depth 1 https://github.com/prowler-cloud/prowler /tmp/prowler && mkdir -p ~/.claude/skills && cp -r /tmp/prowler/skills/django-drf ~/.claude/skills/django-drf

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install django-drf in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The django-drf skill gives an AI assistant patterns for building Django REST Framework APIs. It covers ViewSets, serializers, routers, permissions and filtersets. The skill includes a checklist for new endpoints, plus decision trees for choosing serializers, filter base classes and base ViewSets.

The patterns are written for the Prowler API in the api/ directory and point to file locations such as api/models.py, api/v1/serializers.py and api/filters.py. The rules include separate read, create, update and include serializers, select_related and prefetch_related in get_queryset(), and UUID primary keys. For RLS and RBAC specifics, the source says to also use the prowler-api skill.

Written from the project's SKILL.md and checked against it.

What it can do

  • ViewSet implementationGuides building ViewSets that inherit from base classes such as BaseRLSViewSet.
  • Serializer designSeparates read, create, update and include serializers and explains which base class to use.
  • Filter patternsShows how to use filterset_class, base provider filters and multi-value filters.
  • PermissionsExplains required_permissions, set_required_permissions() and HasPermissions for each action.
  • Pagination and performanceCovers the default pagination class and a PaginateByPkMixin for heavy joins.
  • URL routingSets trailing_slash=False and kebab-case paths for endpoints.
  • OpenAPI schemaShows how to document endpoints with drf-spectacular decorators such as extend_schema_field.
  • Test and changelog guidancePoints to the test file locations and to the towncrier changelog fragment process.

What you need

  • Django REST Framework
  • drf-spectacular for OpenAPI schema generation

Try asking

  • Create a ViewSet and serializers for a new model in api/ using the Prowler patterns
  • Add a filterset_class with provider filters to this endpoint
  • Document this SerializerMethodField for the OpenAPI schema with extend_schema_field

Good to know

  • Written for the Prowler API layout in the api/ directory.
  • RLS and RBAC specifics are covered by the separate prowler-api skill.
  • swagger_fake_view applies only to drf-spectacular.

Security check

B
  • Allowed to use Edit, Write, Bash without limitsIn SKILL.md

Checked automatically: skills/django-drf/SKILL.md, skills/django-drf/assets/security_patterns.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: ReadEditWriteGlobGrepBashWebFetchWebSearchTask

  • SKILL.md15 KB
  • assets/security_patterns.py5 KB
  • references/file-locations.md6 KB
  • references/json-api-conventions.md3 KB

Alternatives to django-drf

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

django-drf: common questions

What does the django-drf skill help with?

It gives patterns for Django REST Framework work, including ViewSets, serializers, routers, permissions, filtersets and pagination. The source says it is aimed at the Prowler API.

Does it cover RLS and RBAC for Prowler?

Not in full. The source says to also use the prowler-api skill for Prowler API specifics such as RLS, RBAC and Providers.

Which OpenAPI tool does it assume?

The source assumes drf-spectacular. It describes swagger_fake_view and extend_schema_field as drf-spectacular features.

How do I install django-drf?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is django-drf free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is django-drf safe to use?

It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use edit, write, bash without limits). Review the code before you install. How grades work.

What are alternatives to django-drf?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

django-drf Install

Add to stack

Loading.