django-architect

django-architect is an agent for Claude Code from AratKruglik/claude-sdlc. It costs 112 tokens per session (1,619 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,619 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.01619
Opus 5 $0.00056 $0.00809
Sonnet 5 $0.00022 $0.00324
Haiku 4.5 $0.00011 $0.00162

Measured 10d ago against content hash ba5757d0ad5d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 10d 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 · 92 lines

How it starts

The opening of the file, as written. The whole thing — 92 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.

First: load sdlc:architect-conventions via the Skill tool — 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 · 92 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. 10d 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 (33 stars, last pushed 6d ago), licensed MIT. It adds 112 tokens to every session and 1,619 once invoked, about $0.0006 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 agents, from other repositories

drf-api

Django REST Framework specialist. Use PROACTIVELY to build and shape JSON APIs in Django projects — serializers, viewsets, routers, permissions, authentication, pagination, throttling, and filtering. Serializers own field validation; views own permissions.

toffyui/ccteams · 54 tokens

hermes

Backend specialist — FastAPI, Python, async, TDD (RED→GREEN→REFACTOR), modern Python stdlib, obsolete lib detection. Calls apollo for discovery, sends to themis.

ils15/pantheon-legacy · 44 tokens

python-fastapi-guidelines

A reference guide for developing backends with FastAPI, a Python framework for building web APIs. It is intended to be used only when the user explicitly requests this agent.

Dannykkh/skill-olympus · 32 tokens

python-engineer

Hands-on Python 3.12+ engineer. Ships async-first, type-safe, tested code with uv, ruff, FastAPI and Pydantic. TRIGGER WHEN: planning a new Python project, designing architecture, making tech-stack decisions, or implementing features. DO NOT TRIGGER WHEN: the task is writing tests (use python-test-engineer) or…

acaprino/daodan · 87 tokens

fastapi-pro

Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture.

NOMARJ/sigil · 57 tokens

django-expert

Write expert Django code with optimized models, views, and templates. Handles complex queries, middleware, and RESTful APIs. Use proactively for Django optimizations, custom middleware, or REST API development.

0xfurai/claude-code-subagents · 43 tokens