CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

django-startup-time

Keep heavy imports off the django.setup() path that every process (web, celery, temporal, migrate, shell, CI) pays for. Use when touching AppConfig.ready(), wiring signal receivers, editing the lazy API router (posthog/api/rest_router.py or its __init__.py shim), deferring a heavy import or profiling import time (importtime, hothog), when the startup-import-budget guard fails, or when merging master into a long-lived branch that made the router lazy.

Quality

91%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

—

The risk profile of this skill

SKILL.md
Quality
Evals
Security

Quality

Content

93%Weight 40%Scale 1-5

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

An exemplarily lean overview-and-checklist skill: dense with executable, repo-specific guidance (exact paths, tools, flags, and commands), explicit validation and error-recovery checkpoints in its pre-commit traps, and a clean two-part structure that defers all detail to a single clearly signaled doc. The only weakness is that the end-to-end workflow order is implied by section arrangement rather than stated as a sequence.

DimensionReasoningScore

Conciseness

Every line carries non-obvious, repo-specific knowledge ("keep the `__init__.py` shim, port master's aggregator deltas into `rest_router.py`", "enums from `posthog.schema_enums` (cheap)") with zero padding and no explanation of concepts Claude already knows. Lean and assuming of competence — anchor 5, not 4, since nothing needs trimming.

5 / 5

Actionability

Fully concrete, executable guidance: exact paths ("posthog/test/repo_invariants/test_startup_import_budget.py", "setup_import_baseline.txt"), tools with flags ("`importtime` + `tuna`", hothog's "`1-cut@` column" and "`--compare`", "`gc.disable()`"), and commands ("`dmypy stop`", "`manage.py shell`"). As an instruction-only skill whose guidance names the exact tool, path, and condition for every case, it matches anchor 5 per the code-vs-instruction scoring note.

5 / 5

Workflow Clarity

Explicit checkpoints and recovery loops abound — "When one fails, defer the import — don't remove an entry to dodge it", "Traps to check before you commit", "re-measure after wiring", "regenerate `.ambr` ... then confirm it isn't masking a regression" — and the traps form a pre-commit checklist. Falls to anchor 4 rather than 5 only because the overall sequence (add code → run guards → defer → check traps → measure) is organized by category and left implicit, not presented as ordered steps.

4 / 5

Progressive Disclosure

The skill explicitly declares its split — "That doc is the single source of detail; this skill is the trigger and the checklist" and "One line each — the doc has the full write-up and the fix recipe for every entry" — pointing to one clearly signaled, one-level-deep reference while keeping a lean 43-line body with well-organized sections. No bundle files exist to inline; matches anchor 5 (and the under-50-lines guidance).

5 / 5

Total

19

/

20

Passed

Description

87%Weight 40%Scale 1-5

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 tight, repo-specific description that states one concrete capability and pairs it with an explicit, multi-clause 'Use when' trigger list naming exact modules, tools, and failure conditions. Trigger phrasing is what a developer on this codebase would naturally say. Only minor gap is breadth of synonyms beyond the repo-specific jargon.

DimensionReasoningScore

Specificity

"Keep heavy imports off the django.setup() path" plus concrete named actions ("deferring a heavy import or profiling import time (importtime, hothog)", "editing the lazy API router (posthog/api/rest_router.py or its __init__.py shim)") with exact file paths. Matches anchor 4 — several specific actions with minor gaps — rather than 5 because the 'what' centers on one core action and the remaining phrases are trigger contexts; clearly above anchor 3's 1-2 concrete actions.

4 / 5

Completeness

Explicitly answers both: what — "Keep heavy imports off the django.setup() path that every process (web, celery, temporal, migrate, shell, CI) pays for" — and when — "Use when touching AppConfig.ready(), wiring signal receivers, editing the lazy API router..., deferring a heavy import or profiling import time..., when the startup-import-budget guard fails, or when merging master...". Concrete trigger phrases with an explicit 'Use when' clause, matching anchor 5.

5 / 5

Trigger Term Quality

Natural, specific triggers a developer in this repo would actually say: "AppConfig.ready()", "wiring signal receivers", "startup-import-budget guard fails", "importtime", "hothog", "merging master into a long-lived branch". Good keyword coverage per anchor 4, but not anchor 5 since common variations like 'slow startup' or 'startup performance' are absent.

4 / 5

Distinctiveness Conflict Risk

Highly niche scope (Django setup import budget, posthog's rest_router.py, repo invariants test paths) with distinct, unambiguous triggers — clear niche with minimal conflict risk, matching anchor 5; nothing generic that would fire for a different skill.

5 / 5

Total

18

/

20

Passed

Validation

93%

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

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

relative_links

Relative link issues: 1 suspicious

Warning

Total

15

/

16

Passed

Repository

PostHog/posthog

Path

.agents/skills/django-startup-time/SKILL.md

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.