Skip to main content
skill CX Codex

cdrf-expert — Claude Code skill: what it does, how to install

Guides Django REST Framework class-based view design using cdrf.co inspection. It traces method resolution orders and selects the narrowest hooks to override.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add vintasoftware/django-ai-plugins --skill cdrf-expert -a claude-code
Open on GitHub

What cdrf-expert does

The skill navigates DRF class-based view hierarchies using reference data from cdrf.co. It inspects method resolution order across mixins, traces how a request flows through the view lifecycle, and identifies whether an endpoint needs APIView, GenericAPIView, or a full ModelViewSet.

The override strategy focuses on minimal intervention. It prioritizes narrow hooks like perform_create or perform_destroy instead of rewriting full dispatchers such as create or destroy. It also accounts for behavioral shifts across DRF versions and verifies that permission checks remain intact.

Do not load this for function-based views or FastAPI endpoints, because it strictly targets DRF class internals. If cdrf.co is unreachable, the skill falls back to local source files and official framework documentation.

What it helps with

  • choose the right view class between APIView and ModelViewSet
  • trace method resolution order across complex DRF mixins
  • identify the correct override hook for custom save logic
  • detect behavioral differences across DRF version updates

Example prompts for the agent

  • Should I override create or perform_create to inject the current user into this serializer?
  • Help me trace where get_queryset is coming from in this custom ViewSet mixin chain
  • Which generic view should I inherit from for a read-only list with filtering in DRF 3.16?

How to install cdrf-expert

1Skills CLI (Vercel)

npx skills add vintasoftware/django-ai-plugins --skill cdrf-expert -a claude-code

2Manually: put the files in place

~/.claude/skills/cdrf-expert/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/cdrf-expert/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about cdrf-expert

How do I install cdrf-expert in Claude Code?

Run npx skills add vintasoftware/django-ai-plugins --skill cdrf-expert -a claude-code.

What does cdrf-expert do?

It guides DRF class-based view development by checking method origins, tracing MRO, and recommending minimal override points like perform_update or get_serializer_class.

What architectures are unsupported?

It does not handle function-based views, GraphQL schemas, or backend frameworks like FastAPI and Flask.

Similar skills

All skills for Backend and APIs →

From the same set3

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor