[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MC3ZQ2T5X4PYF8HMQFFSGR":3,"skill-same:01M6MC3ZQ2T5X4PYF8HMQFFSGR":89},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":26,"publishedAt":48,"linkOnly":49,"markdownContent":50,"markdownBody":51,"frontMatter":52,"refName":59,"commitSha":60,"skillDirectory":61,"forksCount":62,"repositoryHtmlUrl":63,"repositoryHomepageUrl":64,"ownerHtmlUrl":65,"ownerBlogUrl":66,"ownerDescription":67,"updatedAt":68,"install":69,"resources":82},"01M6MC3ZQ2T5X4PYF8HMQFFSGR","django-test-profiling",null,"Profile and measure slow Django test suites with Django's runner, pytest-django, shell timing, py-spy, cProfile, pytest durations, and profiler visualizations. Use when a Django project has slow tests, unclear test-runtime bottlenecks, CI timing problems, startup overhead, database setup overhead, or a request to find the slowest tests before optimizing.","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fdjango-test-profiling\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47],"test","django test profiling","profiling","django","pytest","when","request","overhead","cProfile","timing","tests","runtime","project","runner","testing","use","visualizations","ci","database","code","performance","2026-11-10 10:12:30",false,"---\nname: django-test-profiling\ndescription: Profile and measure slow Django test suites with Django's runner, pytest-django, shell timing, py-spy, cProfile, pytest durations, and profiler visualizations. Use when a Django project has slow tests, unclear test-runtime bottlenecks, CI timing problems, startup overhead, database setup overhead, or a request to find the slowest tests before optimizing.\nlicense: MIT\ncompatibility: Codex, Claude Code, and other Agent Skills-compatible clients.\nmetadata:\n  version: \"0.1.0\"\n  displayName: Django Test Profiling\n  category: Django\n  tags: django,testing,profiling,pytest,performance\n---\n\n# Django Test Profiling\n\nUse this skill before changing a Django test suite for speed. Measurement decides which optimization is worth doing; otherwise it is easy to spend time on harmless settings while the real cost sits in startup, database setup, fixture construction, or a small set of slow tests.\n\n## Measurement Workflow\n\n1. Capture a full wall-clock baseline.\n   - Prefer shell timing because it includes Python startup, Django import time, test discovery, database setup, and teardown.\n   - Record the exact command, environment, and repeat count.\n\n2. Separate framework phases when possible.\n   - For Django's runner, use `--timing` to see database setup and teardown.\n   - For pytest, compare shell timing with `pytest --durations`.\n\n3. Find the slowest tests.\n   - For pytest-django, start with `pytest --durations 20`.\n   - For Django's runner, use an existing slow-test plugin or a small custom runner only when the project does not already have one.\n\n4. Profile only after you know where the time goes.\n   - Use `py-spy` first for a low-overhead whole-run view.\n   - Use `cProfile` when you need exhaustive Python call data.\n\n5. Convert the result into a ranked action list.\n   - Identify whether the expensive part is startup, database creation, repeated setup, test data, query count, I\u002FO, cache\u002Ffile\u002Fstorage access, or a specific test body.\n   - Hand off to `django-test-performance`, `django-test-data`, or `django-test-parallelization` when the next step fits those skills.\n\n## Commands\n\n```bash\ntime python manage.py test\npython manage.py test --timing\npytest --durations 20\n```\n\nFor profiling command variants and interpretation guidance, read [profiler-commands.md](references\u002Fprofiler-commands.md).\n\n## Decision Rules\n\n- Treat shell timing as the authoritative user-visible duration.\n- Use Django `--timing` when database setup or teardown may dominate.\n- Optimize the slowest measured tests first, not the tests that look suspicious.\n- Put noisy duration reports in CI logs when they distract from normal local runs.\n- Use `py-spy --subprocesses` when the test runner uses child processes.\n- Sort cProfile by cumulative time first; inspect self-time only after you understand the caller chain.\n\n## Common Mistakes\n\n- Trusting a framework's final \"ran in X seconds\" line as the complete runtime.\n- Comparing Django runner timing and pytest timing as if they measure identical phases.\n- Profiling everything before finding slow tests.\n- Reading unsorted cProfile output and chasing import internals.\n- Expecting sampling profiles to catch every short hot path.\n- Optimizing a helper without checking how often it is reached by tests.\n\n## Verification\n\nBefore reporting findings, include:\n\n- The exact baseline command and measured wall-clock time.\n- The slowest tests or slowest phases.\n- The profiler used, if any, and why it was appropriate.\n- The top 3 practical next actions, ordered by expected impact.\n","# Django Test Profiling\n\nUse this skill before changing a Django test suite for speed. Measurement decides which optimization is worth doing; otherwise it is easy to spend time on harmless settings while the real cost sits in startup, database setup, fixture construction, or a small set of slow tests.\n\n## Measurement Workflow\n\n1. Capture a full wall-clock baseline.\n   - Prefer shell timing because it includes Python startup, Django import time, test discovery, database setup, and teardown.\n   - Record the exact command, environment, and repeat count.\n\n2. Separate framework phases when possible.\n   - For Django's runner, use `--timing` to see database setup and teardown.\n   - For pytest, compare shell timing with `pytest --durations`.\n\n3. Find the slowest tests.\n   - For pytest-django, start with `pytest --durations 20`.\n   - For Django's runner, use an existing slow-test plugin or a small custom runner only when the project does not already have one.\n\n4. Profile only after you know where the time goes.\n   - Use `py-spy` first for a low-overhead whole-run view.\n   - Use `cProfile` when you need exhaustive Python call data.\n\n5. Convert the result into a ranked action list.\n   - Identify whether the expensive part is startup, database creation, repeated setup, test data, query count, I\u002FO, cache\u002Ffile\u002Fstorage access, or a specific test body.\n   - Hand off to `django-test-performance`, `django-test-data`, or `django-test-parallelization` when the next step fits those skills.\n\n## Commands\n\n```bash\ntime python manage.py test\npython manage.py test --timing\npytest --durations 20\n```\n\nFor profiling command variants and interpretation guidance, read [profiler-commands.md](references\u002Fprofiler-commands.md).\n\n## Decision Rules\n\n- Treat shell timing as the authoritative user-visible duration.\n- Use Django `--timing` when database setup or teardown may dominate.\n- Optimize the slowest measured tests first, not the tests that look suspicious.\n- Put noisy duration reports in CI logs when they distract from normal local runs.\n- Use `py-spy --subprocesses` when the test runner uses child processes.\n- Sort cProfile by cumulative time first; inspect self-time only after you understand the caller chain.\n\n## Common Mistakes\n\n- Trusting a framework's final \"ran in X seconds\" line as the complete runtime.\n- Comparing Django runner timing and pytest timing as if they measure identical phases.\n- Profiling everything before finding slow tests.\n- Reading unsorted cProfile output and chasing import internals.\n- Expecting sampling profiles to catch every short hot path.\n- Optimizing a helper without checking how often it is reached by tests.\n\n## Verification\n\nBefore reporting findings, include:\n\n- The exact baseline command and measured wall-clock time.\n- The slowest tests or slowest phases.\n- The profiler used, if any, and why it was appropriate.\n- The top 3 practical next actions, ordered by expected impact.\n",{"name":5,"license":15,"metadata":53,"description":7,"compatibility":58},{"tags":54,"version":55,"category":56,"displayName":57},"django,testing,profiling,pytest,performance","0.1.0","Django","Django Test Profiling","Codex, Claude Code, and other Agent Skills-compatible clients.","main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fdjango-test-profiling",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":70,"prompt":80,"zipAvailable":81},[71,74,77],{"tool":72,"command":73},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill django-test-profiling",{"tool":75,"command":76},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill django-test-profiling",{"tool":78,"command":79},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill django-test-profiling","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fdjango-test-profiling\u002FSKILL.md",true,[83],{"path":84,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fprofiler-commands.md","REFERENCE","参考文档",2286,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fdjango-test-profiling\u002Freferences\u002Fprofiler-commands.md",[90,99,107,115,123,131],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":94,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":98},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":103,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":98},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":111,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":98},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":119,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":98},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":127,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":98},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":135,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":98},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]