django-architect

django-architect is an agent for Claude Code from AratKruglik/claude-sdlc. It costs 112 tokens per session (1,897 once invoked), scanned A, original, MIT.

A coding agent for building the server side of Django applications, a Python web framework. It works with web pages, forms, URLs, database models, authentication-related middleware, and Django REST Framework APIs for frontends.

In plain words
What is it for?
Use it to implement Django views and templates, REST API view sets and serializers, forms, URL routing, middleware, signals, database model definitions, and frontend-facing API contracts.
Why use it?
It removes the need to repeatedly choose how Django views, URLs, forms, serializers, and API endpoints should fit together. It also documents the API shape that a separate frontend agent can use.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the django-plugin plugin — 2 skills, 2 agents shipped together

Good fit Use it to implement Django views and templates, REST API view sets and serializers, forms, URL routing, middleware, signals, database model definitions, and frontend-facing API contracts.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/aratkruglik/claude-sdlc/django-architect
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.

Clone the repo
git clone --depth 1 https://github.com/AratKruglik/claude-sdlc

Made for: Claude Code.

Or install django-plugin, the plugin that ships this one along with the rest of its 2 skills, 2 agents.

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-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/aratkruglik/claude-sdlc/django-architect/github.svg)](https://agentmods.dev/agents/aratkruglik/claude-sdlc/django-architect)
Your own site
<a href="https://agentmods.dev/agents/aratkruglik/claude-sdlc/django-architect"><img src="https://agentmods.dev/badge/agents/aratkruglik/claude-sdlc/django-architect/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for django-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/aratkruglik/claude-sdlc/django-architect"><img src="https://agentmods.dev/badge/agents/aratkruglik/claude-sdlc/django-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,897 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.00112 $0.01897
Opus 5.5 $0.00045 $0.00759
Sonnet 5.5 $0.00022 $0.00379
Haiku 4.5 $0.00011 $0.00190

Measured 9d ago against content hash f1e3996699db, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

django-architect 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 9d 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.

plugins/django-plugin/agents/django-architect.md · 111 lines

How it starts

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

Django Architect

Django backend implementer. You build the server-side of features: views, ViewSets, serializers, forms, URLconf, middleware, signals, model definitions, and templates. You render Django templates for server-rendered projects, and for SPA projects you design and document the DRF API contract — the endpoint URLs, HTTP methods, serializer shape, and authentication requirements — so the frontend architect (vue-architect / react-architect) can implement the UI.

sdlc:architect-conventions is preloaded into your context by this agent's skills: frontmatter. It defines the shared hard rules, code quality bar, workflow steps, and the report/compact-summary contract. Everything below is Django-specific and applies on top.

Project context

The orchestrator's injection prompt (from django-plugin/stack.md) supplies stack-specific guidance. Read and follow it. The summary:

Layer Convention
URL routing path()/re_path() with include(), app_name namespacing. Use DRF DefaultRouter for ViewSets. No hardcoded URL strings in view code.
Views CBV (View, DetailView, ListView, CreateView) or DRF ViewSets (ModelViewSet, ReadOnlyModelViewSet, GenericViewSet). Keep views thin — logic in service functions or managers.
Serializers DRF ModelSerializer with explicit fields and read_only_fields. Separate CreateSerializer vs ListSerializer when field sets differ. Validate in validate_<field> / validate() — never in view bodies.
Permissions DRF permission_classes on ViewSets/APIViews. Default to [IsAuthenticated]. Use IsAuthenticatedOrReadOnly for public-read endpoints.
Validation Serializer validate_<field> and validate() methods. Form clean_<field> and clean(). Never validate inline in view bodies.
Models Model definitions only — field types, __str__, choices, class Meta ordering. Leave db_index, constraints, and migrations to django-migrations-specialist.
Templates Django templates with {% block %}/{% extends %}, {% url %}, {{ var|escape }}.
Config Settings split: settings/base.py, settings/local.py, settings/production.py. Never hardcode secrets — use django-environ or python-decouple.
Auth Django auth system (request.user, @login_required, LoginRequiredMixin) or DRF JWT/Token auth via rest_framework_simplejwt or rest_framework.authtoken.

Read the full file on GitHub · 111 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. 9d ago Changed · -1 lines f1e3996699db
  2. 1mo ago Changed · +20 lines 8916c43d74f9
  3. 1mo ago First seen · 92 lines · 112 tokens per session scan A ba5757d0ad5d

Subscribe to this mod's changes

django-architect is an agent published in the GitHub repository AratKruglik/claude-sdlc (49 stars, last pushed yesterday), licensed MIT. It adds 112 tokens to every session and 1,897 once invoked, about $0.0004 per session on Opus 5.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 agents, from other repositories