[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MC21ATEQCCSJZQN97YBY7J":3,"skill-same:01M6MC21ATEQCCSJZQN97YBY7J":97},{"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},"01M6MC21ATEQCCSJZQN97YBY7J","django-outside-in-tdd",null,"Drive Django features with outside-in and double-loop TDD: user story, Selenium or functional test, focused Django unit\u002Fintegration tests, minimal implementation, and refactor. Use when starting or changing Django behavior with tests-first workflow, red\u002Fgreen\u002Frefactor, working-state-to-working-state refactors, or deciding which layer should own the next test.","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-outside-in-tdd\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],"tdd","django outside in tdd","django","when","testing","features","layer","which","unit-tests","functional","unit","green","next","minimal","user story","loop","refactor","selenium","code","integration tests","workflow","2026-11-10 10:12:30",false,"---\nname: django-outside-in-tdd\ndescription: \"Drive Django features with outside-in and double-loop TDD: user story, Selenium or functional test, focused Django unit\u002Fintegration tests, minimal implementation, and refactor. Use when starting or changing Django behavior with tests-first workflow, red\u002Fgreen\u002Frefactor, working-state-to-working-state refactors, or deciding which layer should own the next test.\"\nlicense: MIT\ncompatibility: Codex, Claude Code, and other Agent Skills-compatible clients.\nmetadata:\n  version: \"0.1.0\"\n  displayName: Django Outside-In TDD\n  category: Django\n  tags: django,tdd,testing,functional-tests,unit-tests\n---\n\n# Django Outside-In TDD\n\nUse this skill when a Django feature should be grown from observable user behavior down into views, forms, models, and helpers. Keep the outer test broad enough to prove user value and the inner tests small enough to keep the red\u002Fgreen loop fast.\n\n## Source Traceability\n\nPrimary source: Harry Percival, *Test-Driven Development with Python*, 3rd ed. Guidance is transformed and paraphrased from chapters 1-7, chapter 24, and Appendix A, especially the user-story-to-functional-test flow, double-loop TDD, working-state-to-working-state refactoring, and outside-in development.\n\n## Workflow\n\n1. Start from the user-visible behavior.\n   - Write a short user story or acceptance note.\n   - Choose one functional test only when the behavior crosses browser, routing, template, persistence, or integration boundaries.\n\n2. Run the outer test and make the failure useful.\n   - Confirm the failure is expected and points to the next missing behavior.\n   - Improve failure messages before implementation if the failure is vague.\n\n3. Drop into the inner loop.\n   - Add the smallest Django test for the next missing component: URL, view, template context, form, model, or helper.\n   - Use Django's test client, `RequestFactory`, form instances, or model tests at the narrowest useful boundary.\n\n4. Make the inner test pass with minimal code.\n   - Avoid speculative data models, URLs, fields, and abstractions.\n   - Keep a scratchpad of next ideas instead of implementing them early.\n\n5. Refactor only on green.\n   - Refactor production code first, then test code.\n   - Preserve behavior through the existing tests.\n   - Return to the outer test to choose the next slice.\n\nRead [patterns.md](references\u002Fpatterns.md) for layer choices, refactoring rules, and failure-handling patterns.\n\n## Layer Choice\n\n| Signal | Next Test |\n| --- | --- |\n| User workflow not proven | Functional test |\n| URL or redirect missing | URL\u002Fview test |\n| Template output changed | View\u002Ftemplate integration test or HTML parser assertion |\n| Validation rule unclear | Form or model test |\n| Domain helper emerging | Plain Python unit test |\n| Refactor crosses wiring | One integration test plus focused unit tests |\n\n## Guardrails\n\n- Do not write production code before a failing proof unless the task is pure cleanup.\n- Do not keep adding Selenium coverage for every branch; promote detailed cases to faster tests.\n- Do not test constants or implementation details unless they are the public contract.\n- Prefer working state to working state over large rewrites.\n- Use existing green tests as a refactoring safety net before changing structure.\n\n## Verification\n\nBefore finishing, report:\n\n- Outer behavior covered or intentionally not needed.\n- Inner tests added, updated, or reused.\n- Red failure or characterization observed before implementation when behavior changed.\n- Focused Django test command and result.\n- Any deliberate no-test exception with replacement verification.\n","# Django Outside-In TDD\n\nUse this skill when a Django feature should be grown from observable user behavior down into views, forms, models, and helpers. Keep the outer test broad enough to prove user value and the inner tests small enough to keep the red\u002Fgreen loop fast.\n\n## Source Traceability\n\nPrimary source: Harry Percival, *Test-Driven Development with Python*, 3rd ed. Guidance is transformed and paraphrased from chapters 1-7, chapter 24, and Appendix A, especially the user-story-to-functional-test flow, double-loop TDD, working-state-to-working-state refactoring, and outside-in development.\n\n## Workflow\n\n1. Start from the user-visible behavior.\n   - Write a short user story or acceptance note.\n   - Choose one functional test only when the behavior crosses browser, routing, template, persistence, or integration boundaries.\n\n2. Run the outer test and make the failure useful.\n   - Confirm the failure is expected and points to the next missing behavior.\n   - Improve failure messages before implementation if the failure is vague.\n\n3. Drop into the inner loop.\n   - Add the smallest Django test for the next missing component: URL, view, template context, form, model, or helper.\n   - Use Django's test client, `RequestFactory`, form instances, or model tests at the narrowest useful boundary.\n\n4. Make the inner test pass with minimal code.\n   - Avoid speculative data models, URLs, fields, and abstractions.\n   - Keep a scratchpad of next ideas instead of implementing them early.\n\n5. Refactor only on green.\n   - Refactor production code first, then test code.\n   - Preserve behavior through the existing tests.\n   - Return to the outer test to choose the next slice.\n\nRead [patterns.md](references\u002Fpatterns.md) for layer choices, refactoring rules, and failure-handling patterns.\n\n## Layer Choice\n\n| Signal | Next Test |\n| --- | --- |\n| User workflow not proven | Functional test |\n| URL or redirect missing | URL\u002Fview test |\n| Template output changed | View\u002Ftemplate integration test or HTML parser assertion |\n| Validation rule unclear | Form or model test |\n| Domain helper emerging | Plain Python unit test |\n| Refactor crosses wiring | One integration test plus focused unit tests |\n\n## Guardrails\n\n- Do not write production code before a failing proof unless the task is pure cleanup.\n- Do not keep adding Selenium coverage for every branch; promote detailed cases to faster tests.\n- Do not test constants or implementation details unless they are the public contract.\n- Prefer working state to working state over large rewrites.\n- Use existing green tests as a refactoring safety net before changing structure.\n\n## Verification\n\nBefore finishing, report:\n\n- Outer behavior covered or intentionally not needed.\n- Inner tests added, updated, or reused.\n- Red failure or characterization observed before implementation when behavior changed.\n- Focused Django test command and result.\n- Any deliberate no-test exception with replacement verification.\n",{"name":5,"license":15,"metadata":53,"description":7,"compatibility":58},{"tags":54,"version":55,"category":56,"displayName":57},"django,tdd,testing,functional-tests,unit-tests","0.1.0","Django","Django Outside-In TDD","Codex, Claude Code, and other Agent Skills-compatible clients.","main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fdjango-outside-in-tdd",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-outside-in-tdd",{"tool":75,"command":76},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill django-outside-in-tdd",{"tool":78,"command":79},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill django-outside-in-tdd","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fdjango-outside-in-tdd\u002FSKILL.md",true,[83,89,93],{"path":84,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":87,"sourceHtmlUrl":88},"agents\u002Fopenai.yaml","REFERENCE","参考文档",235,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fdjango-outside-in-tdd\u002Fagents\u002Fopenai.yaml",{"path":90,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":91,"sourceHtmlUrl":92},"evals\u002Fevals.json",926,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fdjango-outside-in-tdd\u002Fevals\u002Fevals.json",{"path":94,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002Fpatterns.md",2561,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fdjango-outside-in-tdd\u002Freferences\u002Fpatterns.md",[98,107,115,123,131,139],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":102,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":106},"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":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":106},"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":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":106},"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":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":106},"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":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":106},"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":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":143,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":106},"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",[],[]]