django-components

django-components is a skill for Claude Code from krzysztofsurdy/code-virtuoso. It costs 96 tokens per session (2,053 once invoked), scanned A, original, MIT.

A reference for Django, a Python web framework, covering its major building blocks for databases, web requests, templates, forms, authentication, caching, and testing.

In plain words
What is it for?
Use it when building or fixing Django models, database queries, migrations, views, URLs, templates, forms, admin screens, middleware, authentication, or tests.
Why use it?
It gives developers one place to find patterns for implementing, configuring, and troubleshooting Django features.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the frameworks-virtuoso plugin — 4 skills shipped together

Good fit Use it when building or fixing Django models, database queries, migrations, views, URLs, templates, forms, admin screens, middleware, authentication, or tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/krzysztofsurdy/code-virtuoso/django-components
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add krzysztofsurdy/code-virtuoso --skill django-components
Clone the repo
git clone --depth 1 https://github.com/krzysztofsurdy/code-virtuoso

Made for: Claude Code.

Or install frameworks-virtuoso, the plugin that ships this one along with the rest of its 4 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for django-components

README.md
[![agentmods](https://agentmods.dev/badge/skills/krzysztofsurdy/code-virtuoso/django-components.svg)](https://agentmods.dev/skills/krzysztofsurdy/code-virtuoso/django-components)
Your own site
<a href="https://agentmods.dev/skills/krzysztofsurdy/code-virtuoso/django-components"><img src="https://agentmods.dev/badge/skills/krzysztofsurdy/code-virtuoso/django-components.svg" alt="Measured on agentmods" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,053 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00096 $0.02053
Opus 5 $0.00048 $0.01026
Sonnet 5 $0.00019 $0.00411
Haiku 4.5 $0.00010 $0.00205

Measured 8d ago against content hash e5d5c756ccef, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

django-components scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/frameworks/django/django-components/SKILL.md · 241 lines

How it starts

The opening of the file, as written. The whole thing — 241 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Django Components

Complete reference for all 33 Django components - patterns, APIs, configuration, and best practices for Python 3.10+ and Django 6.0.

Component Index

Models & Database

  • Models - Model definition, field types, Meta options, inheritance, managers -> reference
  • QuerySets - QuerySet API, field lookups, Q objects, F expressions, aggregation -> reference
  • Migrations - Migration workflow, operations, data migrations, squashing -> reference
  • Database Functions - Database functions, conditional expressions, full-text search -> reference

Views & HTTP

  • Views - Function-based views, shortcuts (render, redirect, get_object_or_404) -> reference
  • Class-Based Views - ListView, DetailView, CreateView, UpdateView, DeleteView, mixins -> reference
  • URL Routing - URL configuration, path(), re_path(), namespaces, reverse() -> reference
  • Middleware - Middleware architecture, built-in middleware, custom middleware -> reference
  • Request & Response - HttpRequest, HttpResponse, JsonResponse, StreamingHttpResponse -> reference

Templates

  • Templates - Template language, tags, filters, inheritance, custom template tags -> reference

Forms

  • Forms - Form class, fields, widgets, ModelForm, formsets, validation -> reference

Admin

  • Admin - ModelAdmin, list_display, fieldsets, inlines, actions, customization -> reference

Authentication & Security

  • Authentication - User model, login/logout, permissions, groups, custom user models -> reference
  • Security - CSRF, XSS, clickjacking, SSL, CSP, cryptographic signing -> reference
  • Sessions - Session framework, backends, configuration -> reference

Read the full file on GitHub · 241 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 241 lines · 96 tokens per session scan A e5d5c756ccef

Subscribe to this mod's changes

django-components is a skill published in the GitHub repository krzysztofsurdy/code-virtuoso (21 stars, last pushed 3mo ago), licensed MIT. It adds 96 tokens to every session and 2,053 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

developing-kafka-python-client

Use when the user wants to build a Python Kafka producer or consumer, add Schema Registry to existing Python code, migrate from raw JSON to schema-backed serialization, or scaffold a confluent-kafka-python project for Confluent Cloud, local Docker, or WarpStream. Also use when user wants to optimize Python Kafka…

confluentinc/agent-skills · 75 tokens

python-programming-expert

Expert-level skill for Python programming (Python 3.13/3.14+). Covers type safety, generic syntax (PEP 695), async/await TaskGroups, FastAPI 0.115+, Pydantic v2, uv package manager, Ruff, and pytest in English and Indonesian.

roedyrustam/vibes-plug · 68 tokens

python-services

Python patterns for CLI tools, async concurrency, and backend services. Use when working with Python code, building CLI apps, FastAPI services, async with asyncio, background jobs, or configuring uv, ruff, ty, pytest, or pyproject.toml.

iliaal/ai-skills · 55 tokens

upstash-box-py

Work with the upstash-box Python SDK for sandboxed cloud containers with AI agents, shell, filesystem, git, cron schedules, snapshots, and a headless browser. Use when building with Upstash Box in Python, creating a sandbox or isolated environment to run untrusted or agent-generated code, running AI coding agents in…

upstash/skills · 109 tokens

django

Use when building Django applications. Covers ORM query performance, model design, migrations, Django REST Framework, security defaults, and testing.

nimadorostkar/Claude-Skills-collection · 28 tokens

fastapi

Use when building APIs with FastAPI. Covers dependency injection, Pydantic v2 validation, async database access, authentication, background tasks, and testing.

nimadorostkar/Claude-Skills-collection · 34 tokens