[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75957KTZYSFVJRMHENTYKGV":3,"skill-same:01M75957KTZYSFVJRMHENTYKGV":60},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"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":24,"commitSha":25,"skillDirectory":26,"forksCount":13,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M75957KTZYSFVJRMHENTYKGV","test-driven-development",null,"Use a red-green-refactor TDD cycle for a requested feature, bug fix, refactor, or test change; gate each stage on a local test result.","JackSmack1971\u002Ffreeforge-chat","JackSmack1971","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128181597?v=4","01M6KS1FH32N6WNWZ68JC9FFDJ","01M7593JRZ0MV9B0VVTRGWZ0WC",0,"MIT","https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Ffreeforge-chat\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: test-driven-development\ndescription: Use a red-green-refactor TDD cycle for a requested feature, bug fix, refactor, or test change; gate each stage on a local test result.\ncompatibility: Requires Python 3.11+ and the project's existing test runner.\n---\n\n# Test-Driven Development\n\nWrite one behavior test first, run it, and require a genuine failure (`FAIL_CORRECT`) before implementation. Then implement the smallest change, run the target and full suite (`ALL_PASS`), refactor only under green, and run the full suite again. A passing red test or a test-runner error stops the cycle.\n\nRun the portable verifier from this directory:\n\n```text\npython scripts\u002Frun_tdd_cycle.py --test-path \u003Cpath> --stage red|green|refactor\n```\n\nThe helper detects pytest, npm test, Vitest, or Jest from the current project. It emits one JSON result and never invokes a shell command through `eval`. Do not invent a test path or claim completion without all three stage results.\n\n","# Test-Driven Development\n\nWrite one behavior test first, run it, and require a genuine failure (`FAIL_CORRECT`) before implementation. Then implement the smallest change, run the target and full suite (`ALL_PASS`), refactor only under green, and run the full suite again. A passing red test or a test-runner error stops the cycle.\n\nRun the portable verifier from this directory:\n\n```text\npython scripts\u002Frun_tdd_cycle.py --test-path \u003Cpath> --stage red|green|refactor\n```\n\nThe helper detects pytest, npm test, Vitest, or Jest from the current project. It emits one JSON result and never invokes a shell command through `eval`. Do not invent a test path or claim completion without all three stage results.\n\n",{"name":5,"description":7,"compatibility":23},"Requires Python 3.11+ and the project's existing test runner.","main","a5bed13dcca926e006d2681d548e722fffa499ab",".agents\u002Fskills\u002Ftest-driven-development","https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Ffreeforge-chat","https:\u002F\u002Fgithub.com\u002FJackSmack1971","2026-10-02 05:58:57",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add JackSmack1971\u002Ffreeforge-chat --skill test-driven-development",{"tool":36,"command":37},"bunx","bunx skills add JackSmack1971\u002Ffreeforge-chat --skill test-driven-development",{"tool":39,"command":40},"pnpm","pnpm dlx skills add JackSmack1971\u002Ffreeforge-chat --skill test-driven-development","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Ffreeforge-chat\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",true,[44,50,56],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"references\u002Ftesting-anti-patterns.md","REFERENCE","参考文档",431,"https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Ffreeforge-chat\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftest-driven-development\u002Freferences\u002Ftesting-anti-patterns.md",{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"scripts\u002Frun_tdd_cycle.py","SCRIPT","脚本",2634,"https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Ffreeforge-chat\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftest-driven-development\u002Fscripts\u002Frun_tdd_cycle.py",{"path":57,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":58,"sourceHtmlUrl":59},"VERIFICATION.md",257,"https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Ffreeforge-chat\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftest-driven-development\u002FVERIFICATION.md",[61,68,74,79,84,89],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M7596K2F59EBMTV0GEA7G1DF","sample","Fixture skill.","https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Ffreeforge-chat\u002Fblob\u002Fmain\u002Ftests\u002Fcontrol-plane\u002Ffixtures\u002Fsnapshot-good\u002F.agents\u002Fskills\u002Fsample\u002FSKILL.md",[],[],{"skillNo":69,"name":63,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M7596HMJGJCK6C1BBBP6YFWM","A minimal fixture skill used only to exercise the verifier.","https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Ffreeforge-chat\u002Fblob\u002Fmain\u002Ftests\u002Fcontrol-plane\u002Ffixtures\u002Fmalformed\u002Fwriter-configured-read-only\u002F.agents\u002Fskills\u002Fsample\u002FSKILL.md",[],[],{"skillNo":75,"name":63,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M7596FVEYPJ99D4XJZZ07HB1","https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Ffreeforge-chat\u002Fblob\u002Fmain\u002Ftests\u002Fcontrol-plane\u002Ffixtures\u002Fmalformed\u002Fstale-identifier-under-codex\u002F.agents\u002Fskills\u002Fsample\u002FSKILL.md",[],[],{"skillNo":80,"name":63,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M7596ECKJNJE0G09SFTENYTW","https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Ffreeforge-chat\u002Fblob\u002Fmain\u002Ftests\u002Fcontrol-plane\u002Ffixtures\u002Fmalformed\u002Freviewer-configured-write-enabled\u002F.agents\u002Fskills\u002Fsample\u002FSKILL.md",[],[],{"skillNo":85,"name":63,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M7596BMRAMMD4P3MW4N25ZAV","https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Ffreeforge-chat\u002Fblob\u002Fmain\u002Ftests\u002Fcontrol-plane\u002Ffixtures\u002Fmalformed\u002Fno-rules-dir\u002F.agents\u002Fskills\u002Fsample\u002FSKILL.md",[],[],{"skillNo":90,"name":63,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":18},"01M759695BRBKRSK4KDY4VCFR4","https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Ffreeforge-chat\u002Fblob\u002Fmain\u002Ftests\u002Fcontrol-plane\u002Ffixtures\u002Fmalformed\u002Fmissing-skill-md\u002F.agents\u002Fskills\u002Fsample\u002FSKILL.md",[],[]]