Agent skill

Django Test Performance

by hashgraph-online in hashgraph-online/awesome-codex-plugins

Improve slow Django test suites through measured profiling, safe test settings, database and migration tuning, parallel execution, test-data cleanup, and CI workflow changes.

MITAuto-check passedBackend & APIs

Install Django Test Performance

skills CLI
$ npx skills add hashgraph-online/awesome-codex-plugins --skill django-test-performance -a claude-code

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

GitHub CLI
$ gh skill install hashgraph-online/awesome-codex-plugins django-test-performance --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/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/LVTD-LLC/skills/skills/django-test-performance .claude/skills/django-test-performance && 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-test-performance
GitHub stars
1.2k
Token cost
~1.1k tokens
SKILL.md length
453 words
Files
2 (incl. references)
Skills in repo
686
Repo updated
First seen
Licence
MIT

At a glance

Improve slow Django test suites through measured profiling, safe test settings, database and migration tuning, parallel execution, test-data cleanup, and CI workflow changes.

  • Works in 7 steps: Establish a baseline. → Classify the dominant cost. → Apply low-risk wins first. → …
  • Pytest-django tests are slow
  • SKILL.md covers Core Workflow, Default Commands, Decision Rules and Handoff Map, plus 1 more section
  • Calls pytest and python

What it does

Django Test Performance is an agent skill from hashgraph-online/awesome-codex-plugins. Improve slow Django test suites through measured profiling, safe test settings, database and migration tuning, parallel execution, test-data cleanup, and CI workflow changes. Use when Django or pytest-django tests are slow, CI test jobs take too long, database setup dominates runtime, or a user asks for a prioritized speedup plan rather than isolated test fixes.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/speed-wins.md`). Compatibility notes: Codex, Claude Code, and other Agent Skills-compatible clients.

It sits in Backend & APIs, covering Backend development, Test generation and Test data and fixtures. It works with Django and pytest. The repository describes itself as: A curated list of awesome OpenAI Codex / ChatGPT plugins, skills, and resources. The 1 Codex Marketplace. See live plugins at: https://hol.org/plugins/best-codex-plugins. The licence is MIT.

When your agent uses it

  • Pytest-django tests are slow
  • CI test jobs take too long
  • Database setup dominates runtime
  • A user asks for a prioritized speedup plan rather than isolated test fixes

Example prompts

  • “/django-test-performance”

Requirements

  • Python 3
  • Compatibility (from SKILL.md): Codex, Claude Code, and other Agent Skills-compatible clients.

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Establish a baseline.
  2. Classify the dominant cost.
  3. Apply low-risk wins first.
  4. Improve data and structure.
  5. Improve migrations and database setup.
  6. Parallelize only when safe.
  7. Re-measure with the original baseline command.

What it can do on your machine

Read from SKILL.md and the folder at commit 78497e5. 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

    Shell commands in SKILL.md call:

    • pytest
    • 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.

  • Compatibility

    Codex, Claude Code, and other Agent Skills-compatible clients.

    From compatibility in the SKILL.md frontmatter.

Context cost

Django Test Performance loads about 1.1k tokens when it runs, and up to ~1.7k if it reads all its reference files. Until then it costs about 97 tokens; SKILL.md has 453 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~97
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.7k

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

The full file from hashgraph-online/awesome-codex-plugins at commit 78497e5, republished under its MIT licence (© hashgraph-online). 453 words, ~1,122 tokens.

Download SKILL.mdSave it as .claude/skills/django-test-performance/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
django-test-performance
description
Improve slow Django test suites through measured profiling, safe test settings, database and migration tuning, parallel execution, test-data cleanup, and CI workflow changes. Use when Django or pytest-django tests are slow, CI test jobs take too long, database setup dominates runtime, or a user asks for a prioritized speedup plan rather than isolated test fixes.
compatibility
Codex, Claude Code, and other Agent Skills-compatible clients.
license
MIT
metadata.version
0.1.0
metadata.displayName
Django Test Performance
metadata.category
Django
metadata.tags
django,testing,performance,pytest,ci

Django Test Performance

Use this as the orchestration skill for speeding up a Django test suite. Do not start by changing settings blindly; first measure the suite and then pick the smallest safe optimization with a repeatable verification command.

Core Workflow

  1. Establish a baseline.

    • Run the same command developers or CI use.
    • Capture wall-clock time, runner, settings module, database backend, worker count, and branch.
    • If the cause is unclear, use django-test-profiling before changing behavior.
  2. Classify the dominant cost.

    • Startup/import/discovery: reduce collection scope and expensive app initialization.
    • Database creation/migrations: reuse DB locally, squash migration history, or improve database storage.
    • Per-test setup: reduce fixture data, use factories, and use setUpTestData.
    • External backends: replace file storage, cache, task queues, and instrumentation with test-safe backends.
    • Long tail of tests: parallelize after isolation checks.
  3. Apply low-risk wins first.

    • Fast password hasher.
    • DEBUG = False in tests.
    • Disable database serialization when serialized rollback is not needed.
    • Disable debug toolbar, Sentry/Rollbar/APM initialization, and other instrumentation.
    • In-memory or local test backends for storage, cache, and task queues.
    • See speed-wins.md.
  4. Improve data and structure.

    • Use django-test-data for factory, fixture, setUpTestData, TestCase, and integration-vs-unit decisions.
  5. Improve migrations and database setup.

    • Use --keepdb or --reuse-db for local repeat runs.
    • Force rebuilds when migration history changes.
    • Prefer squashing migrations over disabling migrations globally.
    • Keep the test database backend close to production unless the project is database-agnostic.
  6. Parallelize only when safe.

    • Use django-test-parallelization for order isolation, shared resources, and worker configuration.
  7. Re-measure with the original baseline command.

    • Report before/after runtime and the changed risk surface.
    • Keep or revert each optimization based on measured impact and behavioral fidelity.

Default Commands

bash
time python manage.py test
python manage.py test --timing
python manage.py test --keepdb

time pytest
pytest --durations 20
pytest --reuse-db
pytest --create-db
Show full SKILL.md (181 more words)Show less

Decision Rules

  • If you cannot name the bottleneck, profile first.
  • If a setting changes production-like behavior, keep the override narrow and document why tests remain representative.
  • Avoid broad TESTING = True branches in application code; use explicit settings and test helpers.
  • Do not swap PostgreSQL/MySQL/MariaDB projects to SQLite just for speed unless production is SQLite or the project intentionally supports many backends.
  • Do not disable migrations as the normal path. If a legacy project insists, run real migrations in CI.
  • Keep local speed shortcuts from hiding CI coverage. CI should run slow tests and migration-realistic paths somewhere.

Handoff Map

SituationUse
Need timings, slow-test lists, flame graphs, or cProfile outputdjango-test-profiling
Enabling --parallel, pytest-xdist, or debugging random failuresdjango-test-parallelization
Fixture bloat, factories, setUpTestData, TestCase class choicesdjango-test-data
Mocking settings, HTTP, time, output, or command input safelydjango-targeted-mocking
CI cache, split jobs, slow markers, runner scaledjango-ci-test-optimization

Verification

Before finishing, provide:

  • Baseline and final runtime from the same command.
  • A ranked list of changes made or recommended.
  • Risks introduced by each test-only override.
  • Commands the project should keep for local and CI verification.

© hashgraph-online, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in plugins/LVTD-LLC/skills/skills/django-test-performance of hashgraph-online/awesome-codex-plugins.

  • SKILL.md
  • references/speed-wins.md

Open the folder on GitHubat commit 78497e5

Compare with similar skills

Django Test Performance 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 Test Performance compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Django Test Performance this skillhashgraph-online/awesome-codex-plugins1.2k—~1.1kAutomated safety check: PassMIT
Maintaining Python TestsPostHog/posthog40k—~2.5kAutomated safety check: PassCustom licence
Run Testsnetboxlabs/netbox-branching155—~1.2kAutomated safety check: PassCustom licence
Run And Verifyaropan/clist439—~461Automated safety check: PassApache-2.0
Python Devdoccker/cc-use-exp1.1k—~790Automated safety check: PassCustom licence
Django TDDaffaan-m/ECC275k7 repos~5.3kAutomated safety check: PassMIT

Similar skills

  • Official

    Maintains existing pytest and Django test suites without weakening correctness.

    40k GitHub stars~2.5k tokensUpdated today
    Testing & QAAuto-check passed
  • Run Tests

    netboxlabs/netbox-branching

    Run the netboxbranching plugin's Django test suite against a local NetBox checkout.

    155 GitHub stars~1.2k tokensUpdated today
    Backend & APIsAuto-check passed
  • Run And Verify

    aropan/clist

    Choose and run focused checks after changing CLIST Python code: Django tests, standalone pytest tests, offline parser fixtures, Ruff, or a relevant management-command check.

    439 GitHub stars~461 tokensUpdated 3 days ago
    Backend & APIsAuto-check passed
  • Python Dev

    doccker/cc-use-exp

    Python 开发规范。当用户操作 .py、pyproject.toml、requirements.txt、setup.py 文件, 或涉及 FastAPI、Django、Flask、pytest、asyncio 开发时触发。

    1.1k GitHub stars~790 tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Django TDD

    affaan-m/ECC

    Django testing strategies with pytest-django, TDD methodology, factoryboy, mocking, coverage, and testing Django REST Framework APIs.

    275k GitHub starsUsed in 7 repos~5.3k tokens
    Testing & QAAuto-check passed
  • Dj Pytest

    dvf/opinionated-django

    Set up and write pytest tests for an op-django project — pytest-django configuration, two-sided Celery testing (patched dispatch sites + plain-function task bodies, never eager mode), freezegun for…

    109 GitHub stars~4.3k tokensUpdated 1 mo ago
    Testing & QAAuto-check: notes

More from hashgraph-online/awesome-codex-plugins

All 686 skills in this repo
  • Anime Reaction Gif

    hashgraph-online/awesome-codex-plugins

    Create original anime-style reaction stickers as looping GIFs and MP4 previews, using generated character pose sheets and timed key poses.

    1.2k GitHub stars~922 tokensUpdated today
    Auto-check passed
  • Calibredb

    hashgraph-online/awesome-codex-plugins

    Manage and query Calibre libraries with the calibredb CLI (local paths or Calibre Content server URLs).

    1.2k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Rust API Test Harness

    hashgraph-online/awesome-codex-plugins

    A skill your agent uses when adding, changing, testing, or debugging Rust HTTP APIs and services, especially when Codex needs black-box integration tests, random-port app startup, real database test…

    1.2k GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Art

    hashgraph-online/awesome-codex-plugins

    Make a studio's game look like something at build time — a cover from a real frame of the game (free), painted covers, backdrops, textures and character plates from image models through the…

    1.2k GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Game Balance Economy

    hashgraph-online/awesome-codex-plugins

    Balance game difficulty, resources, rewards, probability, progression, economies, and dominant strategies.

    1.2k GitHub stars~618 tokensUpdated today
    Auto-check passed
  • Manuscript Engagement Analytics

    hashgraph-online/awesome-codex-plugins

    Analyze nonfiction manuscripts for reader engagement signals, including heading-level word counts, slow starts, long slogs, weak takeaway titles, value pacing, beta-reader comment dropoff, and…

    1.2k GitHub stars~875 tokensUpdated today
    Auto-check passed

Works with

Questions about Django Test Performance

What does Django Test Performance do?

Improve slow Django test suites through measured profiling, safe test settings, database and migration tuning, parallel execution, test-data cleanup, and CI workflow changes. Django Test Performance is an agent skill from hashgraph-online/awesome-codex-plugins. Improve slow Django test suites through measured profiling, safe test settings, database and migration tuning, parallel execution, test-data cleanup, and CI workflow changes.

When should I use Django Test Performance?

Django Test Performance fits situations like: pytest-django tests are slow; CI test jobs take too long; database setup dominates runtime; A user asks for a prioritized speedup plan rather than isolated test fixes.

How do I install Django Test Performance in Claude Code?

Run `npx skills add hashgraph-online/awesome-codex-plugins --skill django-test-performance -a claude-code`. Or copy the skill folder (plugins/LVTD-LLC/skills/skills/django-test-performance in hashgraph-online/awesome-codex-plugins) into .claude/skills/django-test-performance in your project. Claude Code loads it when a task matches its description.

How do I install Django Test Performance in Codex?

Run `npx skills add hashgraph-online/awesome-codex-plugins --skill django-test-performance -a codex`. Or copy the skill folder (plugins/LVTD-LLC/skills/skills/django-test-performance in hashgraph-online/awesome-codex-plugins) into .agents/skills/django-test-performance in your project. Codex loads it when a task matches its description.

Can I use Django Test Performance 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 hashgraph-online/awesome-codex-plugins --skill django-test-performance -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-test-performance, .gemini/skills/django-test-performance, .github/skills/django-test-performance and .opencode/skills/django-test-performance in your project.

What does Django Test Performance need to run?

Going by SKILL.md and its folder, Django Test Performance needs the command-line tools its instructions call (pytest and python). Our summary lists: Python 3. Compatibility (from SKILL.md): Codex, Claude Code, and other Agent Skills-compatible clients..

Does Django Test Performance 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 Test Performance 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 Test Performance use?

Django Test Performance is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Django Test Performance use?

About 1.1k tokens (SKILL.md is roughly 4.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 559 tokens, read only when the agent opens those files.

What are the alternatives to Django Test Performance?

Skills that share tags, products or a category with Django Test Performance: Maintaining Python Tests (PostHog/posthog, 40k stars), Run Tests (netboxlabs/netbox-branching, 155 stars), Run And Verify (aropan/clist, 439 stars) and Python Dev (doccker/cc-use-exp, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Django Test Performance?

hashgraph-online (a GitHub organization) maintains it in hashgraph-online/awesome-codex-plugins, which has 1,242 GitHub stars. The repository holds 686 skills in this directory. The repository was last updated on October 8, 2026.

Source: hashgraph-online/awesome-codex-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.