[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77SPDFK79Y2Y0MVHJFC6BBY":3,"skill-same:01M77SPDFK79Y2Y0MVHJFC6BBY":55},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":13,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M77SPDFK79Y2Y0MVHJFC6BBY","django-test-performance",null,"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.","ConcertoNotes\u002Fcodex-plugins","ConcertoNotes","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F249301288?v=4","01M77NJ0BK2KN5YW0D8RHD99TB","01M77NJ0CCEDPATAY3JTXEWNK5",0,"MIT","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcommunity\u002Flvtd-skills\u002Fskills\u002Fdjango-test-performance\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: django-test-performance\ndescription: 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.\nlicense: MIT\ncompatibility: Codex, Claude Code, and other Agent Skills-compatible clients.\nmetadata:\n  version: \"0.1.0\"\n  displayName: Django Test Performance\n  category: Django\n  tags: django,testing,performance,pytest,ci\n---\n\n# Django Test Performance\n\nUse 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.\n\n## Core Workflow\n\n1. Establish a baseline.\n   - Run the same command developers or CI use.\n   - Capture wall-clock time, runner, settings module, database backend, worker count, and branch.\n   - If the cause is unclear, use `django-test-profiling` before changing behavior.\n\n2. Classify the dominant cost.\n   - Startup\u002Fimport\u002Fdiscovery: reduce collection scope and expensive app initialization.\n   - Database creation\u002Fmigrations: reuse DB locally, squash migration history, or improve database storage.\n   - Per-test setup: reduce fixture data, use factories, and use `setUpTestData`.\n   - External backends: replace file storage, cache, task queues, and instrumentation with test-safe backends.\n   - Long tail of tests: parallelize after isolation checks.\n\n3. Apply low-risk wins first.\n   - Fast password hasher.\n   - `DEBUG = False` in tests.\n   - Disable database serialization when serialized rollback is not needed.\n   - Disable debug toolbar, Sentry\u002FRollbar\u002FAPM initialization, and other instrumentation.\n   - In-memory or local test backends for storage, cache, and task queues.\n   - See [speed-wins.md](references\u002Fspeed-wins.md).\n\n4. Improve data and structure.\n   - Use `django-test-data` for factory, fixture, `setUpTestData`, `TestCase`, and integration-vs-unit decisions.\n\n5. Improve migrations and database setup.\n   - Use `--keepdb` or `--reuse-db` for local repeat runs.\n   - Force rebuilds when migration history changes.\n   - Prefer squashing migrations over disabling migrations globally.\n   - Keep the test database backend close to production unless the project is database-agnostic.\n\n6. Parallelize only when safe.\n   - Use `django-test-parallelization` for order isolation, shared resources, and worker configuration.\n\n7. Re-measure with the original baseline command.\n   - Report before\u002Fafter runtime and the changed risk surface.\n   - Keep or revert each optimization based on measured impact and behavioral fidelity.\n\n## Default Commands\n\n```bash\ntime python manage.py test\npython manage.py test --timing\npython manage.py test --keepdb\n\ntime pytest\npytest --durations 20\npytest --reuse-db\npytest --create-db\n```\n\n## Decision Rules\n\n- If you cannot name the bottleneck, profile first.\n- If a setting changes production-like behavior, keep the override narrow and document why tests remain representative.\n- Avoid broad `TESTING = True` branches in application code; use explicit settings and test helpers.\n- Do not swap PostgreSQL\u002FMySQL\u002FMariaDB projects to SQLite just for speed unless production is SQLite or the project intentionally supports many backends.\n- Do not disable migrations as the normal path. If a legacy project insists, run real migrations in CI.\n- Keep local speed shortcuts from hiding CI coverage. CI should run slow tests and migration-realistic paths somewhere.\n\n## Handoff Map\n\n| Situation | Use |\n|-----------|-----|\n| Need timings, slow-test lists, flame graphs, or cProfile output | `django-test-profiling` |\n| Enabling `--parallel`, `pytest-xdist`, or debugging random failures | `django-test-parallelization` |\n| Fixture bloat, factories, `setUpTestData`, `TestCase` class choices | `django-test-data` |\n| Mocking settings, HTTP, time, output, or command input safely | `django-targeted-mocking` |\n| CI cache, split jobs, slow markers, runner scale | `django-ci-test-optimization` |\n\n## Verification\n\nBefore finishing, provide:\n\n- Baseline and final runtime from the same command.\n- A ranked list of changes made or recommended.\n- Risks introduced by each test-only override.\n- Commands the project should keep for local and CI verification.\n","# Django Test Performance\n\nUse 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.\n\n## Core Workflow\n\n1. Establish a baseline.\n   - Run the same command developers or CI use.\n   - Capture wall-clock time, runner, settings module, database backend, worker count, and branch.\n   - If the cause is unclear, use `django-test-profiling` before changing behavior.\n\n2. Classify the dominant cost.\n   - Startup\u002Fimport\u002Fdiscovery: reduce collection scope and expensive app initialization.\n   - Database creation\u002Fmigrations: reuse DB locally, squash migration history, or improve database storage.\n   - Per-test setup: reduce fixture data, use factories, and use `setUpTestData`.\n   - External backends: replace file storage, cache, task queues, and instrumentation with test-safe backends.\n   - Long tail of tests: parallelize after isolation checks.\n\n3. Apply low-risk wins first.\n   - Fast password hasher.\n   - `DEBUG = False` in tests.\n   - Disable database serialization when serialized rollback is not needed.\n   - Disable debug toolbar, Sentry\u002FRollbar\u002FAPM initialization, and other instrumentation.\n   - In-memory or local test backends for storage, cache, and task queues.\n   - See [speed-wins.md](references\u002Fspeed-wins.md).\n\n4. Improve data and structure.\n   - Use `django-test-data` for factory, fixture, `setUpTestData`, `TestCase`, and integration-vs-unit decisions.\n\n5. Improve migrations and database setup.\n   - Use `--keepdb` or `--reuse-db` for local repeat runs.\n   - Force rebuilds when migration history changes.\n   - Prefer squashing migrations over disabling migrations globally.\n   - Keep the test database backend close to production unless the project is database-agnostic.\n\n6. Parallelize only when safe.\n   - Use `django-test-parallelization` for order isolation, shared resources, and worker configuration.\n\n7. Re-measure with the original baseline command.\n   - Report before\u002Fafter runtime and the changed risk surface.\n   - Keep or revert each optimization based on measured impact and behavioral fidelity.\n\n## Default Commands\n\n```bash\ntime python manage.py test\npython manage.py test --timing\npython manage.py test --keepdb\n\ntime pytest\npytest --durations 20\npytest --reuse-db\npytest --create-db\n```\n\n## Decision Rules\n\n- If you cannot name the bottleneck, profile first.\n- If a setting changes production-like behavior, keep the override narrow and document why tests remain representative.\n- Avoid broad `TESTING = True` branches in application code; use explicit settings and test helpers.\n- Do not swap PostgreSQL\u002FMySQL\u002FMariaDB projects to SQLite just for speed unless production is SQLite or the project intentionally supports many backends.\n- Do not disable migrations as the normal path. If a legacy project insists, run real migrations in CI.\n- Keep local speed shortcuts from hiding CI coverage. CI should run slow tests and migration-realistic paths somewhere.\n\n## Handoff Map\n\n| Situation | Use |\n|-----------|-----|\n| Need timings, slow-test lists, flame graphs, or cProfile output | `django-test-profiling` |\n| Enabling `--parallel`, `pytest-xdist`, or debugging random failures | `django-test-parallelization` |\n| Fixture bloat, factories, `setUpTestData`, `TestCase` class choices | `django-test-data` |\n| Mocking settings, HTTP, time, output, or command input safely | `django-targeted-mocking` |\n| CI cache, split jobs, slow markers, runner scale | `django-ci-test-optimization` |\n\n## Verification\n\nBefore finishing, provide:\n\n- Baseline and final runtime from the same command.\n- A ranked list of changes made or recommended.\n- Risks introduced by each test-only override.\n- Commands the project should keep for local and CI verification.\n",{"name":5,"license":14,"metadata":23,"description":7,"compatibility":28},{"tags":24,"version":25,"category":26,"displayName":27},"django,testing,performance,pytest,ci","0.1.0","Django","Django Test Performance","Codex, Claude Code, and other Agent Skills-compatible clients.","main","9ba3c9fadff1092395837bf1502e1b8a7f98b1e1","plugins\u002Fcommunity\u002Flvtd-skills\u002Fskills\u002Fdjango-test-performance","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins","https:\u002F\u002Fgithub.com\u002FConcertoNotes","2026-06-26 10:13:54",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add ConcertoNotes\u002Fcodex-plugins --skill django-test-performance",{"tool":41,"command":42},"bunx","bunx skills add ConcertoNotes\u002Fcodex-plugins --skill django-test-performance",{"tool":44,"command":45},"pnpm","pnpm dlx skills add ConcertoNotes\u002Fcodex-plugins --skill django-test-performance","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcommunity\u002Flvtd-skills\u002Fskills\u002Fdjango-test-performance\u002FSKILL.md",true,[49],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fspeed-wins.md","REFERENCE","参考文档",2234,"https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcommunity\u002Flvtd-skills\u002Fskills\u002Fdjango-test-performance\u002Freferences\u002Fspeed-wins.md",[56,65,72,80,87,94],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":60,"licenseFileUrl":61,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M77YB7WW36DS9AERTWP673E0","android-emulator-qa","Use when validating Android feature flows in an emulator with adb-driven launch, input, UI-tree inspection, screenshots, and logcat capture.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fofficial\u002Ftest-android-apps\u002Fskills\u002Fandroid-emulator-qa\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fofficial\u002Ftest-android-apps\u002Fskills\u002Fandroid-emulator-qa\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M77Y7AA8N45G6NM0WJSS2W9C","supabase-postgres-best-practices","Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fofficial\u002Fsupabase\u002Fskills\u002Fsupabase-postgres-best-practices\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":60,"licenseFileUrl":76,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M77Y2W5H5YGSW7MYWEJ8HYXD","sentry","Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fofficial\u002Fsentry\u002Fskills\u002Fsentry\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fofficial\u002Fsentry\u002Fskills\u002Fsentry\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"01M77Y06GV1DAME7PN9KBFHWRX","render-workflows","Sets up, develops, tests, and deploys Render Workflows. Covers first-time scaffolding (via CLI or manual), SDK installation (Python or TypeScript), task patterns (retries, subtasks, fan-out), local development, Dashboard deployment, and troubleshooting. Use when a user wants to set up Render Workflows for the first time, scaffold a workflow service, add or modify workflow tasks, test workflows locally, or deploy workflows to Render.","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fofficial\u002Frender\u002Fskills\u002Frender-workflows\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":18},"01M77Y01A6RJA8VYT7CZ2TVETF","render-web-services","Configures Render web services—port binding, TLS, health checks, custom domains, auto-deploy, PR previews, persistent disks, and deploy lifecycle. Use when the user needs to set up a web service, fix health check failures, add a custom domain, configure zero-downtime deploys, or troubleshoot port binding issues.","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fofficial\u002Frender\u002Fskills\u002Frender-web-services\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":18},"01M77XZW1AZ6B6NZTWWFVY72T3","render-static-sites","Deploys and configures static sites on Render's global CDN—build commands, publish paths, SPA routing, redirects, custom headers, and PR previews. Use when the user needs to deploy a static site, set up a React\u002FVue\u002FHugo\u002FGatsby frontend, configure SPA fallback routing, add redirect rules, customize response headers, or choose between a static site and a web service for their frontend. Trigger terms: static site, CDN, SPA, single-page app, React deploy, Vue deploy, Hugo, Gatsby, Docusaurus, Jekyll, staticPublishPath.","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fofficial\u002Frender\u002Fskills\u002Frender-static-sites\u002FSKILL.md",[],[]]