django-project-setup

django-project-setup is a skill for Claude Code from jpoutrin/product-forge. It costs 51 tokens per session (8,262 once invoked), scanned C, original, MIT.

A setup guide for starting a Django 6.0 project with Python, PostgreSQL, Docker Compose, authentication, APIs, testing, type checking, and linting.

In plain words
What is it for?
Use it to create a new Django project with a custom user model, environment management, HTMX pages, OAuth, API schemas, pytest tests, Mypy, Ruff, and local PostgreSQL.
Why use it?
It gathers the initial project structure and development tools in one repeatable setup.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: agent in frontmatter; mentions CLAUDE.md; names the AskUserQuestion tool.

Part of the python-experts plugin — 11 skills, 5 agents shipped together

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.

agentmods
npx agentmods add skills/jpoutrin/product-forge/django-project-setup
Any agent
npx skills add jpoutrin/product-forge --skill django-project-setup
Clone the repo
git clone --depth 1 https://github.com/jpoutrin/product-forge

Made for: Claude Code.

Or install python-experts, the plugin that ships this one along with the rest of its 11 skills, 5 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-project-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/jpoutrin/product-forge/django-project-setup.svg)](https://agentmods.dev/skills/jpoutrin/product-forge/django-project-setup)
Your own site
<a href="https://agentmods.dev/skills/jpoutrin/product-forge/django-project-setup"><img src="https://agentmods.dev/badge/skills/jpoutrin/product-forge/django-project-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,262 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
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.00051 $0.08262
Opus 5 $0.00026 $0.04131
Sonnet 5 $0.00010 $0.01652
Haiku 4.5 $0.00005 $0.00826

Measured 2d ago against content hash 3f9ad6934d29, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade C, and why

django-project-setup scanned grade C with 2 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 2d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

which uv || curl -LsSf https://astral.sh/uv/install.sh | sh

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

which uv || curl -LsSf https://astral.sh/uv/install.sh | sh
plugins/python-experts/skills/django-project-setup/SKILL.md · 1,259 lines

How it starts

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

Django 6.0 Project Setup

Automated setup for production-ready Django 6.0 projects with modern tooling.

What This Skill Does

Creates a complete Django 6.0 project with:

Modern Stack (2026)

  • uv - Fast package manager (no pip/venv needed)
  • Django 6.0 - Latest version with Python 3.12+ support
  • PostgreSQL - Docker Compose + Supabase support
  • Custom User Model - UUID primary keys from day 1
  • direnv - Automatic environment management
  • HTMX - Modern frontend interactivity
  • OAuth - Authentication ready (django-oauth-toolkit)
  • DRF + Pydantic - Type-safe API schemas
  • pytest + factory_boy - Modern testing infrastructure
  • mypy + ruff - Type checking and linting
  • Docker Compose - Local PostgreSQL container
  • Makefile - Common development commands
  • Full Type Annotations - AI tooling optimized (Copilot, Cursor, Cody)

AI Tooling Compatibility

This project template is optimized for AI coding assistants:

  • Full Type Coverage: All generated code has comprehensive type annotations
  • Strict mypy: disallow_untyped_defs = true enforced from day 1
  • Better Completions: AI tools understand code context and relationships
  • Fewer Errors: Type checking catches issues before runtime
  • Improved Refactoring: AI can suggest safer, type-aware refactorings
  • Self-Documenting: Type hints serve as inline documentation

Compatible with: GitHub Copilot, Cursor, Cody, Continue, Tabnine, and other AI coding assistants.

Why This Matters

When you provide full type annotations:

  • AI assistants give more accurate code completions
  • Auto-import suggestions are more precise
  • Refactoring suggestions are type-safe
  • Error detection happens as you type
  • Generated documentation is more comprehensive

Directory Structure

{project_name}/
├── config/              # Settings and core config
│   ├── settings/
│   │   ├── __init__.py
│   │   ├── base.py      # Core settings
│   │   ├── dev.py       # Development
│   │   └── prod.py      # Production
│   ├── urls.py
│   ├── asgi.py
│   └── wsgi.py
├── apps/                # Django apps
│   ├── __init__.py
│   └── core/            # Shared utilities
│       ├── models.py    # UUIDModel base class
│       └── ...
├── templates/           # Global templates
├── static/              # Global static files
├── pyproject.toml       # uv dependencies
├── pytest.ini           # Test configuration
├── conftest.py          # Test fixtures
├── docker-compose.yml   # PostgreSQL container
├── Makefile             # Development commands
├── .envrc               # Environment config
├── .env.example         # Environment template
├── manage.py
└── CLAUDE.md            # Project instructions

Read the full file on GitHub · 1,259 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. 2d ago First seen · 1,259 lines · 51 tokens per session scan C 3f9ad6934d29

Subscribe to this mod's changes

django-project-setup is a skill published in the GitHub repository jpoutrin/product-forge (15 stars, last pushed 6mo ago), licensed MIT. It adds 51 tokens to every session and 8,262 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

deploy-docker-compose

Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…

omnigent-ai/omnigent · 84 tokens

compute-env-setup

Set up a reproducible Feynman compute environment for research jobs. Use when a task needs Python/R packages, GPU libraries, containers, Modal, SSH, caches, or managed model runtime setup.

companion-inc/feynman · 45 tokens

securing-kubernetes-on-cloud

This skill covers hardening managed Kubernetes clusters on EKS, AKS, and GKE by implementing Pod Security Standards, network policies, workload identity, RBAC scoping, image admission controls, and runtime security monitoring. It addresses cloud-specific security features including IRSA for EKS, Workload Identity for…

xalgorix/xalgorix · 80 tokens

detecting-privilege-escalation-in-kubernetes-pods

Detect and prevent privilege escalation in Kubernetes pods by monitoring security contexts, capabilities, and syscall patterns with Falco and OPA policies.

xalgorix/xalgorix · 40 tokens

implementing-rbac-hardening-for-kubernetes

Harden Kubernetes Role-Based Access Control by implementing least-privilege policies, auditing role bindings, eliminating cluster-admin sprawl, and integrating external identity providers.

xalgorix/xalgorix · 41 tokens

docker-socket-mount

Docker / containerd socket mounted into a container → host RCE. Common in CI runners, GitOps controllers (ArgoCD, Flux), and 'Docker-in-Docker' setups. Single-command escape via docker run --rm --privileged -v /:/host alpine chroot /host.

PurpleAILAB/Decepticon · 67 tokens