Official agent skill

Django Models

by getsentry in getsentry/sentry

Design Django ORM models for Sentry following architectural conventions for silos, replication, relocation, and foreign keys.

OfficialCustom licenceAuto-check passedBackend & APIs

Install Django Models

skills CLI
$ npx skills add getsentry/sentry --skill django-models -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install getsentry/sentry django-models --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/getsentry/sentry.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/django-models .claude/skills/django-models && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
django-models
GitHub stars
45k
Token cost
~2.6k tokens
SKILL.md length
1,140 words
Files
1
Skills in repo
29
Repo updated
First seen
Licence
Custom licence

At a glance

Design Django ORM models for Sentry following architectural conventions for silos, replication, relocation, and foreign keys.

  • Works in 4 steps: Which silo does this data live in? → Does the other silo need to see this data? → Is this data part of an organization… → …
  • Adding a new Django model
  • SKILL.md covers The four decisions that define…, Other norms worth encoding, A minimal cell-silo model… and After the model is designed
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Django Models is an agent skill from getsentry/sentry, published by the product's own GitHub organization. Design Django ORM models for Sentry following architectural conventions for silos, replication, relocation, and foreign keys. Use when adding a new Django model, designing a model for a feature, deciding where data should live, picking a foreign key type, or refactoring an existing model's silo placement. Trigger on "add a Django model", "create a model", "design a model for X", "new database table", "store this data in the DB", "I need to track Y", "model for [feature]". Not for Pydantic models, dataclasses, ML…

Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering Backend development, gRPC and Protobuf and Machine learning. It works with Django, Sentry, gRPC and Pydantic. The repository describes itself as: Developer-first error tracking and performance monitoring.

When your agent uses it

  • Adding a new Django model
  • Designing a model for a feature
  • Deciding where data should live
  • Picking a foreign key type

Example prompts

  • “s silo placement. Trigger on”
  • “create a model”
  • “design a model for X”
  • “/django-models”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Which silo does this data live in?
  2. Does the other silo need to see this data?
  3. Is this data part of an organization export (relocation)?
  4. What is the cross-silo blast radius of each foreign key?

What it can do on your machine

Read from SKILL.md and the folder at commit 87d1203. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Django Models loads about 2.6k tokens when it runs. Until then it costs about 155 tokens; SKILL.md has 1,140 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~155
When it runs · the whole SKILL.md, loaded when a task matches
~2.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,140 words (~2,567 tokens).

“This skill captures the architectural decisions that go into a Sentry model. It does not cover Django syntax, import order, or migration generation — for those:”

— opening of SKILL.md by getsentry, Custom licence
name
django-models

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/django-models of getsentry/sentry.

Open the folder on GitHubat commit 87d1203

Compare with similar skills

Django Models next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Django Models compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Django Models this skillgetsentry/sentry45k—~2.6kAutomated safety check: PassCustom licence
Sentry Go SDKgetsentry/sentry-for-ai268—~3.2kAutomated safety check: PassApache-2.0
Dj Architecturedvf/opinionated-django109—~4kAutomated safety check: NotesMIT
Framework Migration AssistantArabelaTso/Skills-4-SE253—~1.9kAutomated safety check: PassApache-2.0
Sentry Python SDKgetsentry/sentry-for-ai268—~4.1kAutomated safety check: PassApache-2.0
Djangoericrisco/rsc-harness156—~3.1kAutomated safety check: PassMIT

Similar skills

  • Sentry Go SDK

    getsentry/sentry-for-ai

    Official

    Full Sentry SDK setup for Go. An agent skill from getsentry/sentry-for-ai.

    268 GitHub stars~3.2k tokensUpdated today
    Backend & APIsAuto-check passed
  • Dj Architecture

    dvf/opinionated-django

    Implement a Django feature following the opinionated architecture — prefixed ULID IDs, repository pattern, Pydantic DTOs, svcs service locator, project-scoped django-ninja API, Celery reliable…

    109 GitHub stars~4k tokensUpdated 1 mo ago
    Backend & APIsAuto-check: notes
  • Framework Migration Assistant

    ArabelaTso/Skills-4-SE

    Automatically migrate Python web applications between frameworks (Flask → FastAPI, Django → FastAPI).

    253 GitHub stars~1.9k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Sentry Python SDK

    getsentry/sentry-for-ai

    Official

    Full Sentry SDK setup for Python. An agent skill from getsentry/sentry-for-ai.

    268 GitHub stars~4.1k tokensUpdated today
    Backend & APIsAuto-check passed
  • Django

    ericrisco/rsc-harness

    A skill your agent uses when building, reviewing, securing, testing or shipping a Django app — models, migrations, QuerySets/managers, FBV/CBV views, forms, the admin, settings split, and Django…

    156 GitHub stars~3.1k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Fastapi

    ericrisco/rsc-harness

    A skill your agent uses when building, reviewing, testing, securing or shipping a FastAPI / async Python service — routers, Pydantic v2 schemas, dependency injection, async SQLAlchemy 2.0…

    156 GitHub stars~5k tokensUpdated yesterday
    Backend & APIsAuto-check: notes

More from getsentry/sentry

All 29 skills in this repo
  • Scraps Review

    getsentry/sentry

    Official

    Filter large Sentry Scraps design-system migration PRs for review by separating mechanical import-path changes, generated baseline updates, snapshot mocks, and pure renames from substantive…

    45k GitHub stars~1.2k tokensUpdated today
    Auto-check: notes
  • Analytics

    getsentry/sentry

    Official

    Instrument and discover analytics events in Sentry's frontend UI.

    45k GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Hybrid Cloud Outboxes

    getsentry/sentry

    Official

    Guide for creating and maintaining outbox-based eventually consistent operations in Sentry.

    45k GitHub stars~4.8k tokensUpdated today
    Auto-check passed
  • Hybrid Cloud Rpc

    getsentry/sentry

    Official

    Guide for creating, updating, and deprecating hybrid cloud RPC services in Sentry.

    45k GitHub stars~4k tokensUpdated today
    Auto-check passed
  • Hybrid Cloud Test Gen

    getsentry/sentry

    Official

    Generate hybrid cloud tests for the Sentry codebase. An agent skill from getsentry/sentry.

    45k GitHub stars~2.6k tokensUpdated today
    Auto-check passed
  • Lint Fix

    getsentry/sentry

    Official

    Fix violations of an eslintPluginScraps rule across the codebase.

    45k GitHub stars~1k tokensUpdated today
    Auto-check passed

Categories

Questions about Django Models

What does Django Models do?

Design Django ORM models for Sentry following architectural conventions for silos, replication, relocation, and foreign keys. Django Models is an agent skill from getsentry/sentry, published by the product's own GitHub organization. Design Django ORM models for Sentry following architectural conventions for silos, replication, relocation, and foreign keys.

When should I use Django Models?

Django Models fits situations like: adding a new Django model; designing a model for a feature; deciding where data should live; picking a foreign key type.

How do I install Django Models in Claude Code?

Run `npx skills add getsentry/sentry --skill django-models -a claude-code`. Or copy the skill folder (.agents/skills/django-models in getsentry/sentry) into .claude/skills/django-models in your project. Claude Code loads it when a task matches its description.

How do I install Django Models in Codex?

Run `npx skills add getsentry/sentry --skill django-models -a codex`. Or copy the skill folder (.agents/skills/django-models in getsentry/sentry) into .agents/skills/django-models in your project. Codex loads it when a task matches its description.

Can I use Django Models in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add getsentry/sentry --skill django-models -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/django-models, .gemini/skills/django-models, .github/skills/django-models and .opencode/skills/django-models in your project.

What does Django Models need to run?

SKILL.md names no scripts, command-line tools or credentials: Django Models is instructions for the agent only. Our summary lists: Python 3.

Does Django Models access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Django Models safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Django Models use?

Django Models has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Django Models use?

About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Django Models?

Skills that share tags, products or a category with Django Models: Sentry Go SDK (getsentry/sentry-for-ai, 268 stars), Dj Architecture (dvf/opinionated-django, 109 stars), Framework Migration Assistant (ArabelaTso/Skills-4-SE, 253 stars) and Sentry Python SDK (getsentry/sentry-for-ai, 268 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Django Models?

getsentry (a GitHub organization, an official publisher) maintains it in getsentry/sentry, which has 45,495 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on October 7, 2026.

Source: getsentry/sentry on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.