Agent skill

Django Test Parallelization

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

Safely parallelize Django and pytest-django test suites with Django --parallel, pytest-xdist, test isolation checks, randomized order detection, shared-resource sharding, locks, and load balancing.

MITAuto-check passedBackend & APIs

Install Django Test Parallelization

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

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

GitHub CLI
$ gh skill install hashgraph-online/awesome-codex-plugins django-test-parallelization --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-parallelization .claude/skills/django-test-parallelization && 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-parallelization
GitHub stars
1.2k
Token cost
~961 tokens
SKILL.md length
391 words
Files
2 (incl. references)
Skills in repo
736
Repo updated
First seen
Licence
MIT

At a glance

Safely parallelize Django and pytest-django test suites with Django --parallel, pytest-xdist, test isolation checks, randomized order detection, shared-resource sharding, locks, and load balancing.

  • Works in 6 steps: Measure serial runtime first. → Check isolation before enabling… → Enable the runner deliberately. → …
  • Enabling parallel tests
  • SKILL.md covers Readiness Workflow, Commands, Decision Rules and Common Mistakes, plus 1 more section
  • Calls python and pytest

What it does

Django Test Parallelization is an agent skill from hashgraph-online/awesome-codex-plugins. Safely parallelize Django and pytest-django test suites with Django --parallel, pytest-xdist, test isolation checks, randomized order detection, shared-resource sharding, locks, and load balancing. Use when enabling parallel tests, diagnosing failures under parallel execution, handling flaky Django tests, or making caches, files, queues, and external resources safe across workers.

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

It sits in Backend & APIs, covering Backend development, Unit testing and Database administration. 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

  • Enabling parallel tests
  • Diagnosing failures under parallel execution
  • Handling flaky Django tests
  • External resources safe across workers

Example prompts

  • “/django-test-parallelization”

Requirements

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

Workflow steps

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

  1. Measure serial runtime first.
  2. Check isolation before enabling parallelism as the default.
  3. Enable the runner deliberately.
  4. Classify failures.
  5. Make resources worker-safe.
  6. Balance work after it is correct.

What it can do on your machine

Read from SKILL.md and the folder at commit 16b4156. 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:

    • python
    • pytest

    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 Parallelization loads about 961 tokens when it runs, and up to ~1.5k if it reads all its reference files. Until then it costs about 103 tokens; SKILL.md has 391 words of instructions outside code blocks.

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

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 16b4156, republished under its MIT licence (© hashgraph-online). 391 words, ~961 tokens.

Download SKILL.mdSave it as .claude/skills/django-test-parallelization/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
django-test-parallelization
description
Safely parallelize Django and pytest-django test suites with Django --parallel, pytest-xdist, test isolation checks, randomized order detection, shared-resource sharding, locks, and load balancing. Use when enabling parallel tests, diagnosing failures under parallel execution, handling flaky Django tests, or making caches, files, queues, and external resources safe across workers.
compatibility
Codex, Claude Code, and other Agent Skills-compatible clients.
license
MIT
metadata.version
0.1.0
metadata.displayName
Django Test Parallelization
metadata.category
Django
metadata.tags
django,testing,parallelization,pytest,xdist

Django Test Parallelization

Parallel test execution is a multiplier after a suite is isolated. Treat failures under parallel execution as evidence of hidden shared state until proven otherwise.

Readiness Workflow

  1. Measure serial runtime first.

    • If the suite is already dominated by startup or database creation, parallelism may not help enough on its own.
  2. Check isolation before enabling parallelism as the default.

    • Run in reverse order.
    • Run with randomized order when reverse order is not enough.
    • Preserve random seeds so failures can be reproduced.
  3. Enable the runner deliberately.

    • Django runner: install tblib, then run python manage.py test --parallel.
    • pytest-django: install pytest-xdist, then run pytest -n auto.
  4. Classify failures.

    • Order-dependent failures usually come from mutated globals, class attributes, settings, caches, monkeypatches, or database assumptions.
    • Parallel-only failures usually come from shared resources such as files, cache keys, ports, queues, external services, or temporary directories.
  5. Make resources worker-safe.

    • Prefer sharding per process or worker.
    • Use locks only when the resource cannot be partitioned.
    • Keep lock scope narrow.
  6. Balance work after it is correct.

    • Split large test classes or modules only when measurement shows one group holds back the parallel run.

Commands

bash
python -m pip install tblib
python manage.py test --parallel
python manage.py test --parallel 1
python manage.py test --reverse

python -m pip install pytest-xdist
pytest -n auto
pytest -n auto --dist loadscope

For shared-resource patterns, read shared-resources.md.

Show full SKILL.md (193 more words)Show less

Decision Rules

  • Add parallel testing early in new projects; older serial suites often have hidden isolation assumptions.
  • Use CI reverse-order testing as a low-friction guard against order dependencies.
  • Use random order when reverse order misses a suspected dependency, and capture the seed.
  • Prefer pytest -n auto --dist loadscope for Django TestCase-heavy suites because class/module setup can be expensive.
  • Shard resources before reaching for locks.
  • Put process-specific behavior in test settings only, not production settings.
  • Split large test groups only after profiling shows an imbalance.

Common Mistakes

  • Assuming database transaction isolation protects caches, files, task queues, or external systems.
  • Mutating class attributes, globals, app settings, or cache entries without restoring them.
  • Enabling random order without preserving the seed.
  • Using a single lockfile for too much work and accidentally serializing the suite.
  • Letting pytest-xdist split related tests so finely that setup cost is duplicated.
  • Making parallelism the default before the suite passes reliably under order-isolation checks.

Verification

Before calling parallelization complete:

  • Serial run passes.
  • Reverse or random-order run passes, or known failures are fixed.
  • Parallel run passes at least twice.
  • Any shared-resource sharding lives in test configuration.
  • CI has a serial fallback command for debugging.

© 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-parallelization of hashgraph-online/awesome-codex-plugins.

  • SKILL.md
  • references/shared-resources.md

Open the folder on GitHubat commit 16b4156

Compare with similar skills

Django Test Parallelization 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 Parallelization compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Django Test Parallelization this skillhashgraph-online/awesome-codex-plugins1.2k—~961Automated safety check: PassMIT
Run And Verifyaropan/clist439—~461Automated safety check: PassApache-2.0
Python Devdoccker/cc-use-exp1.1k—~790Automated safety check: PassCustom licence
Django TDDaffaan-m/ECC274k7 repos~5.3kAutomated safety check: PassMIT
Dj Pytestdvf/opinionated-django109—~4.3kAutomated safety check: NotesMIT
Django TDDaffaan-m/ECC274k3 repos~4.9kAutomated safety check: PassMIT

Similar skills

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

    274k 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
  • Django TDD

    affaan-m/ECC

    Django 测试策略,包括 pytest-django、TDD 方法、factoryboy、模拟、覆盖率以及测试 Django REST Framework API。

    274k GitHub starsUsed in 3 repos~4.9k tokens
    Testing & QAAuto-check passed
  • Write or update Baserow backend tests for core, premium, or enterprise code using pytest, Django, DRF APIClient, and the repo's shared fixture patterns.

    6.1k GitHub stars~1.8k tokensUpdated today
    Testing & QAAuto-check passed

More from hashgraph-online/awesome-codex-plugins

All 736 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 yesterday
    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 yesterday
    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 yesterday
    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 yesterday
    Auto-check passed
  • Calle

    hashgraph-online/awesome-codex-plugins

    Use CALL-E from Codex through the calle CLI. An agent skill from hashgraph-online/awesome-codex-plugins.

    1.2k GitHub stars~2.9k tokensUpdated yesterday
    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 yesterday
    Auto-check passed

Works with

Questions about Django Test Parallelization

What does Django Test Parallelization do?

Safely parallelize Django and pytest-django test suites with Django --parallel, pytest-xdist, test isolation checks, randomized order detection, shared-resource sharding, locks, and load balancing. Django Test Parallelization is an agent skill from hashgraph-online/awesome-codex-plugins. Safely parallelize Django and pytest-django test suites with Django --parallel, pytest-xdist, test isolation checks, randomized order detection, shared-resource sharding, locks, and load balancing.

When should I use Django Test Parallelization?

Django Test Parallelization fits situations like: enabling parallel tests; diagnosing failures under parallel execution; handling flaky Django tests; external resources safe across workers.

How do I install Django Test Parallelization in Claude Code?

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

How do I install Django Test Parallelization in Codex?

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

Can I use Django Test Parallelization 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-parallelization -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-parallelization, .gemini/skills/django-test-parallelization, .github/skills/django-test-parallelization and .opencode/skills/django-test-parallelization in your project.

What does Django Test Parallelization need to run?

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

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

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

About 961 tokens (SKILL.md is roughly 3.8k 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 567 tokens, read only when the agent opens those files.

What are the alternatives to Django Test Parallelization?

Skills that share tags, products or a category with Django Test Parallelization: Run And Verify (aropan/clist, 439 stars), Python Dev (doccker/cc-use-exp, 1.1k stars), Django TDD (affaan-m/ECC, 274k stars) and Dj Pytest (dvf/opinionated-django, 109 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Django Test Parallelization?

hashgraph-online (a GitHub organization) maintains it in hashgraph-online/awesome-codex-plugins, which has 1,232 GitHub stars. The repository holds 736 skills in this directory. The repository was last updated on October 6, 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.