CtrlK
BlogDocsLog inGet started
Tessl Logo

django-models

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 models, or Protobuf — this is specifically for Django ORM models in the Sentry codebase.

80

Quality

100%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

100%Weight 40%Scale 1-3

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A tightly written, highly actionable conventions skill: it frames design as an ordered four-decision checklist, supplies a complete executable model skeleton, and delegates downstream work to sibling skills without nesting or redundancy. It earns high marks across conciseness, actionability, workflow clarity, and structure.

DimensionReasoningScore

Conciseness

The body is dense with non-obvious Sentry-specific convention (silos, FK taxonomy, __relocation_scope__, bounded fields) and avoids explaining Django basics; rationale such as 'Postgres varchar(n) storage is identical regardless of n below the TOAST threshold' is decision-relevant, not filler, so every token largely earns its place.

3 / 3

Actionability

Provides a complete, copy-paste-ready model skeleton with real imports, concrete base classes (DefaultFieldsModel, FlexibleForeignKey, HybridCloudForeignKey), specific Meta.constraints, and exact file paths, matching the 'fully executable code; copy-paste ready' anchor.

3 / 3

Workflow Clarity

Gives an explicit ordered checklist ('the four decisions…decide all four' before writing fields) and a numbered post-design sequence, and notes the runtime guard at src/sentry/db/models/base.py; model design is not a destructive/batch operation, so the missing explicit feedback loop does not cap the score.

3 / 3

Progressive Disclosure

A single well-organized file with clear section headers and one-level-deep, clearly signaled delegations to sibling skills (generate-migration, hybrid-cloud-outboxes, hybrid-cloud-rpc); no nested references and no monolithic wall of text.

3 / 3

Total

12

/

12

Passed

Description

100%Weight 40%Scale 1-3

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong, third-person description that concisely states the skill's purpose, enumerates concrete architectural actions, supplies natural trigger phrases, and sharply scopes its niche via explicit exclusions. It answers both 'what' and 'when' without padding.

DimensionReasoningScore

Specificity

Enumerates multiple concrete actions — 'silos, replication, relocation, and foreign keys' plus 'adding a new Django model', 'picking a foreign key type', and 'refactoring an existing model's silo placement' — matching the 'lists multiple specific concrete actions' anchor rather than the partial-coverage score-2 anchor.

3 / 3

Completeness

Explicitly answers both what ('Design Django ORM models for Sentry…') and when ('Use when…', 'Trigger on…') with explicit triggers, hitting the 'clearly answers both what AND when' anchor; not merely 'has what, when implied'.

3 / 3

Trigger Term Quality

Provides natural trigger phrases a user would actually say — 'add a Django model', 'create a model', 'new database table', 'store this data in the DB', 'I need to track Y' — giving good coverage rather than just 'some relevant keywords'.

3 / 3

Distinctiveness Conflict Risk

Scoped to 'Django ORM models in the Sentry codebase' with explicit exclusions ('Not for Pydantic models, dataclasses, ML models, or Protobuf'), giving it a clear niche unlikely to conflict with other skills.

3 / 3

Total

12

/

12

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
getsentry/sentry
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.