[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BZD0WMHKFXXHMVFBC5RK3T":3,"skill-same:01M7BZD0WMHKFXXHMVFBC5RK3T":46},{"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":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7BZD0WMHKFXXHMVFBC5RK3T","ds-tdd",null,"Fix a bug by first writing a focused test that fails for the right reason, then making the smallest change that makes it pass. Use when the user asks for TDD or a regression test, when a bug has a cheap local test target, or for \u002Fds-tdd.","Mostafa-Taher-git\u002FGreeneek","Mostafa-Taher-git","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F178865212?v=4","01M7BZ9VH4JJ0HP475H6CEJCGJ","Mostafa Taher Ahmed","01M7BZ9VHSXZMWJSX2W9MSCMB2",0,"MIT","https:\u002F\u002Fgithub.com\u002FMostafa-Taher-git\u002FGreeneek\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fds-tdd\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: ds-tdd\ndescription: \"Fix a bug by first writing a focused test that fails for the right reason, then making the smallest change that makes it pass. Use when the user asks for TDD or a regression test, when a bug has a cheap local test target, or for \u002Fds-tdd.\"\n---\n\n\n# ds-tdd\n\nMake the bug executable before touching production code, so the fix is proven, not claimed.\n\n## Steps\n\n1. Pin down the bug: expected behavior, actual behavior, the code path, and the smallest way to reproduce it.\n2. Find the nearest existing test style for that code path. Use it. Do not build a new harness just for this.\n3. Write the smallest test that would have caught the bug. It checks intended behavior, not the current implementation.\n4. Run it. Show the output. It must fail, and fail for the bug, not for a typo or missing import. If not, fix the test first.\n5. Make the smallest production change that gives the intended behavior without breaking nearby contracts.\n6. Run the new test and the surrounding suite. Show the output.\n7. If a clean test is impractical (heavy setup, brittle mocks, production-only state), use the closest runnable check instead: a script, a repro command or a log check. Say why you skipped the test.\n\n## Stop when\n\n- The new test failed before the fix and passes after it, both shown with output, and the surrounding suite passes.\n- Or after three fix attempts the test still fails. Stop, report what you learned and run \u002Fds-unstick.\n\n## Rules\n\n- Never edit a test to match a wrong implementation.\n- Do not weaken existing assertions without a clear, stated reason.\n- No test beats a bad test: one that mostly tests mocks, depends on timing, or would be deleted right after.\n\n## Greeneek working contract\n\nThis skill is installed in the Greeneek repository. Where a step below conflicts with these rules, these rules win.\n\n- Restate the goal in one line, read the real files before editing, and work on `main` in small vertical slices. Preserve uncommitted and concurrent work; never reset, force-push, or overwrite another session's changes.\n- Evidence before \"done\": run the real check and record the exact command and its output. Never weaken a test, add a blind retry, raise a timeout without a diagnosed cause, or delete a failing assertion to get green.\n- Agent waves never commit, push, tag, or publish. No npm auto-publish on `main`; release tags are immutable and Item 8 stays last.\n- Live model lanes stay BLOCKED without `GREENEEK_API_KEY`; mocked coverage is never reported as real-CLI verification.\n- Registrations are effects, ESM everywhere, and misconfiguration fails at the earliest resolvable point.\n- Source of truth: `.agents\u002Fnotes\u002Fproposed\u002Fprocess\u002F2026-11-01-v0.3.9-master-release-plan.md`. Append evidence to its Execution ledger and keep its Resume State current in the same commit as the change.\n\n## Greeneek-specific override\n\nThe regression test must fail on the old behavior for the right reason, and that failure must be recorded before the fix. Per-file 100% coverage is the CI gate on `packages\u002F*\u002F*\u002Fsrc`, so a new branch needs a test that reaches it.\n","# ds-tdd\n\nMake the bug executable before touching production code, so the fix is proven, not claimed.\n\n## Steps\n\n1. Pin down the bug: expected behavior, actual behavior, the code path, and the smallest way to reproduce it.\n2. Find the nearest existing test style for that code path. Use it. Do not build a new harness just for this.\n3. Write the smallest test that would have caught the bug. It checks intended behavior, not the current implementation.\n4. Run it. Show the output. It must fail, and fail for the bug, not for a typo or missing import. If not, fix the test first.\n5. Make the smallest production change that gives the intended behavior without breaking nearby contracts.\n6. Run the new test and the surrounding suite. Show the output.\n7. If a clean test is impractical (heavy setup, brittle mocks, production-only state), use the closest runnable check instead: a script, a repro command or a log check. Say why you skipped the test.\n\n## Stop when\n\n- The new test failed before the fix and passes after it, both shown with output, and the surrounding suite passes.\n- Or after three fix attempts the test still fails. Stop, report what you learned and run \u002Fds-unstick.\n\n## Rules\n\n- Never edit a test to match a wrong implementation.\n- Do not weaken existing assertions without a clear, stated reason.\n- No test beats a bad test: one that mostly tests mocks, depends on timing, or would be deleted right after.\n\n## Greeneek working contract\n\nThis skill is installed in the Greeneek repository. Where a step below conflicts with these rules, these rules win.\n\n- Restate the goal in one line, read the real files before editing, and work on `main` in small vertical slices. Preserve uncommitted and concurrent work; never reset, force-push, or overwrite another session's changes.\n- Evidence before \"done\": run the real check and record the exact command and its output. Never weaken a test, add a blind retry, raise a timeout without a diagnosed cause, or delete a failing assertion to get green.\n- Agent waves never commit, push, tag, or publish. No npm auto-publish on `main`; release tags are immutable and Item 8 stays last.\n- Live model lanes stay BLOCKED without `GREENEEK_API_KEY`; mocked coverage is never reported as real-CLI verification.\n- Registrations are effects, ESM everywhere, and misconfiguration fails at the earliest resolvable point.\n- Source of truth: `.agents\u002Fnotes\u002Fproposed\u002Fprocess\u002F2026-11-01-v0.3.9-master-release-plan.md`. Append evidence to its Execution ledger and keep its Resume State current in the same commit as the change.\n\n## Greeneek-specific override\n\nThe regression test must fail on the old behavior for the right reason, and that failure must be recorded before the fix. Per-file 100% coverage is the CI gate on `packages\u002F*\u002F*\u002Fsrc`, so a new branch needs a test that reaches it.\n",{"name":5,"description":7},"main","183a0e26a183c692b6f1fc3d97039183e80c4796",".agents\u002Fskills\u002Fds-tdd","https:\u002F\u002Fgithub.com\u002FMostafa-Taher-git\u002FGreeneek","https:\u002F\u002Fgreeneek.vercel.app\u002F","https:\u002F\u002Fgithub.com\u002FMostafa-Taher-git","www.mostafa-taher.duckdns.org","2026-11-15 04:10:26",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Mostafa-Taher-git\u002FGreeneek --skill ds-tdd",{"tool":38,"command":39},"bunx","bunx skills add Mostafa-Taher-git\u002FGreeneek --skill ds-tdd",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Mostafa-Taher-git\u002FGreeneek --skill ds-tdd","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMostafa-Taher-git\u002FGreeneek\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fds-tdd\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7BZFPXJY0FHK7MWC9TFFJ6X","user-only-skill","Prove model-disabled skills stay outside the model catalog.","https:\u002F\u002Fgithub.com\u002FMostafa-Taher-git\u002FGreeneek\u002Fblob\u002Fmain\u002Fsnapshots\u002Fsession\u002Fskill-load\u002Fworkspace\u002F.gnk\u002Fskills\u002Fuser-only-skill\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7BZFM9WBCZKC1QHKJNXCGE2","snapshot-skill","Exercise project skill discovery and loading in snapshot tests.","https:\u002F\u002Fgithub.com\u002FMostafa-Taher-git\u002FGreeneek\u002Fblob\u002Fmain\u002Fsnapshots\u002Fsession\u002Fskill-load\u002Fworkspace\u002F.gnk\u002Fskills\u002Fsnapshot-skill\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7BZFK35HJX56MKCBR55BW5A","model-only-skill","Prove user-disabled skills remain available to the model.","https:\u002F\u002Fgithub.com\u002FMostafa-Taher-git\u002FGreeneek\u002Fblob\u002Fmain\u002Fsnapshots\u002Fsession\u002Fskill-load\u002Fworkspace\u002F.gnk\u002Fskills\u002Fmodel-only-skill\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7BZFFRD3339VT24M97Q52ZE","editing-cordis-compositions","Use when creating, changing, or validating a Cordis composition for this harness — writing or editing an agent preset, adding or removing a plugin row, deciding whether something belongs to the host composition or to one session, checking whether a preset you authored actually mounts, or diagnosing a row that mounted but contributed nothing.","https:\u002F\u002Fgithub.com\u002FMostafa-Taher-git\u002FGreeneek\u002Fblob\u002Fmain\u002Fpackages\u002Fpreset\u002Fagent-presets\u002Fpresets\u002Fcordis\u002Fskills\u002Fediting-cordis-compositions\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7BZFAQMT5FNWTPZ9X8JB1RW","cordis-plugin-development","Create, modify, debug, or extend dynamic Cordis Plugins, including Host Services and Events, Client Slot and theme UI, Package-private Client-to-Host calls, dynamic Tools, version updates, approval failures, and runtime diagnostics. Use this Skill to route a user request to the correct platform and Inspect Provider, then define, run, repair, or roll back the Plugin.","https:\u002F\u002Fgithub.com\u002FMostafa-Taher-git\u002FGreeneek\u002Fblob\u002Fmain\u002Fpackages\u002Fpreset\u002Fagent-presets\u002Fpresets\u002Fcordis\u002Fskills\u002Fcordis-plugin-development\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7BZF8Q58ZZ1T0Y08SVHK9XM","preview-tour","Inspect the bundled Preview workspace and its deterministic Session examples.","https:\u002F\u002Fgithub.com\u002FMostafa-Taher-git\u002FGreeneek\u002Fblob\u002Fmain\u002Fpackages\u002Fexperimental\u002Fwebworker-runtime\u002Ftests\u002Ffixtures\u002Fvfs-example\u002Fworkspace\u002F.agents\u002Fskills\u002Fpreview-tour\u002FSKILL.md",[],[]]