[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72TRJ4E4ZGACKZPCWXR9CWJ":3,"skill-same:01M72TRJ4E4ZGACKZPCWXR9CWJ":44},{"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":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M72TRJ4E4ZGACKZPCWXR9CWJ","ws-bdd-outline",null,"Phase 2 -- design BDD scenario steps in domain language (Given\u002FWhen\u002FThen).","vempio\u002FWhittleSpec","vempio","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F226084226?v=4","01M72TQW11B57V5ZE8MQPKJ5QY","01M72TQW22F5C4SJ317ETCWHFW",4,"MIT","https:\u002F\u002Fgithub.com\u002Fvempio\u002FWhittleSpec\u002Fblob\u002Fmain\u002Fskills\u002Fws.bdd.outline\u002FSKILL.md",[],[],"2026-11-10 22:39:42",false,"---\nname: ws-bdd-outline\ndescription: Phase 2 -- design BDD scenario steps in domain language (Given\u002FWhen\u002FThen).\n---\n# ws.bdd.outline\n\nLoad shared context: `ws.tdd._meta\u002FSKILL.md` — the sibling skill in the same skills directory this skill loaded from (resolves under any clone name, install location, or skills-root override). Also read `ws.tdd._meta\u002Fbdd-workflow.md`.\n\n## Purpose\n\nTransform BDD scenario titles from `\u002Fws.tdd.idea` into Given\u002FWhen\u002FThen scenarios. BDD counterpart of `\u002Fws.tdd.outline` -- domain language instead of AAA.\n\n**Cognitive mode: Specification, not implementation.** Every step understandable without seeing codebase.\n\n**Track guard:** Must be `.feature` files (Gherkin). Editing pytest\u002FJest\u002FCatch2 files = wrong track, use `\u002Fws.tdd.outline`.\n\n## Prerequisites\n\n- BDD scenario titles from `\u002Fws.tdd.idea` (Phase 1), reviewed and approved\n- Detected BDD framework (see `ws.tdd._meta` language detection)\n\n## Process\n\n### 1. Select Scenarios\n\nAsk: \"Which scenarios should I outline?\" (or confirm if human specified). If \"all\", proceed in logical groups.\n\n### 2. Write Given\u002FWhen\u002FThen Steps\n\nEnrich `@todo`-tagged scenario with Given\u002FWhen\u002FThen steps. `@todo` **remains** -- no step definitions yet. Steps use **domain language**, surviving into final `.feature` as user-readable spec.\n\nThree failure modes (parallel to AAA in `\u002Fws.tdd.outline`):\n1. **Implementation language** (leaks internals): `Given a user row exists in the database with id=5` -- refactoring invalidates.\n2. **Too vague**: `Then the system works correctly` -- correct how?\n3. **Domain language** (sweet spot): `Given a registered user` \u002F `When the user submits the registration form` \u002F `Then the dashboard shows a welcome message`\n\nGood-step test: survives complete rewrite of production code? Mentions database tables \u002F API endpoints \u002F variable names = coupled.\n\n```gherkin\n# BAD -- implementation language:\n@config @todo\nScenario: Daemon loads config from default path when no args provided\n  Given the file \u002Fetc\u002Fdaemon\u002Fconfig.yaml contains valid YAML with key \"sensors\"\n  When the main() function is called with an empty argv\n  Then the DaemonConfig object has sensors attribute with 3 items\n\n# BAD -- too vague:\n@config @todo\nScenario: Daemon loads config from default path when no args provided\n  Given a config file\n  When the daemon starts\n  Then it works\n\n# GOOD -- domain language:\n@config @todo\nScenario: Daemon loads config from default path when no args provided\n  # AC: R-16 - verify backward compatibility without CLI args\n  Given the daemon configuration file exists at the default path\n  And the configuration defines 3 sensors\n  When the daemon starts without command-line arguments\n  Then the daemon begins monitoring all 3 configured sensors\n```\n\n### 3. Check Step Reuse\n\nSearch existing step definitions for matching\u002Fsimilar patterns before writing new. BDD power = shared vocabulary.\n\n- **Exact match**: Reuse. Adjust scenario wording to match existing pattern.\n- **Near match**: Parameterize existing vs. create new.\n- **No match**: Write new, note it.\n\nFlag decisions: \"Reusing 'Given a registered user' from `tests\u002Fbdd\u002Fconftest.py`\" (pytest-bdd) \u002F `features\u002Fsteps\u002Fuser_steps.py` (behave).\n\n### 4. Structural Patterns\n\n- **Background**: Same Given in 3+ scenarios in same feature -> note for extraction. Don't extract prematurely.\n- **Scenario Outline**: Same step structure, different data values. Don't force when behavior differs.\n\n### 5. Challenge Assertion Precision\n\nFor each Then: User-observable? \u002F Specific enough? (\"sees error\" weaker than \"sees 'Config file not found'\") \u002F Subtly wrong implementation still satisfies?\n\n**Batch size: the Outline rate limit in `ws.tdd._meta`.** See also \"Batch Processing Flow\" there.\n\n## Output\n\n`@todo`-tagged scenarios with Given\u002FWhen\u002FThen in `.feature` files. Still no step definitions.\n\n## Behaviors\n\n- Domain language only. Class name \u002F database table \u002F API path in step = rewrite.\n- Each scenario self-contained. No shared mutable state.\n- Intent comment: what scenario validates, what it does NOT cover.\n- New idea discovered: record as `@todo`, flag to human. Don't silently expand scope.\n- **Shared setup**: Common Given patterns -> note for Background during `\u002Fws.bdd.red`.\n- **Outline desired behavior**: Scenario describes *should*, not *does*. Will go red; production code satisfies.\n\n## Anti-Patterns\n\n- Writing step definitions (Phase 3 -- `\u002Fws.bdd.red`)\n- Implementation-level \u002F internal-testing \u002F overly generic steps\n- Scenarios as unit tests with Gherkin syntax sugar (tests single function return = unit test)\n- Exceeding the Outline rate limit\n- Drifting to forest-level -- flag: \"Should we return to `\u002Fws.tdd.idea`?\"\n\n## Gate\n\nWrite scenarios to `.feature` file, summarize changes. File is deliverable -- not conversation-only.\n\nWait for review before `\u002Fws.bdd.red`. After outer red, transition to TDD inner loop. See \"Double-Loop Model\" in `ws.tdd._meta`.\n","# ws.bdd.outline\n\nLoad shared context: `ws.tdd._meta\u002FSKILL.md` — the sibling skill in the same skills directory this skill loaded from (resolves under any clone name, install location, or skills-root override). Also read `ws.tdd._meta\u002Fbdd-workflow.md`.\n\n## Purpose\n\nTransform BDD scenario titles from `\u002Fws.tdd.idea` into Given\u002FWhen\u002FThen scenarios. BDD counterpart of `\u002Fws.tdd.outline` -- domain language instead of AAA.\n\n**Cognitive mode: Specification, not implementation.** Every step understandable without seeing codebase.\n\n**Track guard:** Must be `.feature` files (Gherkin). Editing pytest\u002FJest\u002FCatch2 files = wrong track, use `\u002Fws.tdd.outline`.\n\n## Prerequisites\n\n- BDD scenario titles from `\u002Fws.tdd.idea` (Phase 1), reviewed and approved\n- Detected BDD framework (see `ws.tdd._meta` language detection)\n\n## Process\n\n### 1. Select Scenarios\n\nAsk: \"Which scenarios should I outline?\" (or confirm if human specified). If \"all\", proceed in logical groups.\n\n### 2. Write Given\u002FWhen\u002FThen Steps\n\nEnrich `@todo`-tagged scenario with Given\u002FWhen\u002FThen steps. `@todo` **remains** -- no step definitions yet. Steps use **domain language**, surviving into final `.feature` as user-readable spec.\n\nThree failure modes (parallel to AAA in `\u002Fws.tdd.outline`):\n1. **Implementation language** (leaks internals): `Given a user row exists in the database with id=5` -- refactoring invalidates.\n2. **Too vague**: `Then the system works correctly` -- correct how?\n3. **Domain language** (sweet spot): `Given a registered user` \u002F `When the user submits the registration form` \u002F `Then the dashboard shows a welcome message`\n\nGood-step test: survives complete rewrite of production code? Mentions database tables \u002F API endpoints \u002F variable names = coupled.\n\n```gherkin\n# BAD -- implementation language:\n@config @todo\nScenario: Daemon loads config from default path when no args provided\n  Given the file \u002Fetc\u002Fdaemon\u002Fconfig.yaml contains valid YAML with key \"sensors\"\n  When the main() function is called with an empty argv\n  Then the DaemonConfig object has sensors attribute with 3 items\n\n# BAD -- too vague:\n@config @todo\nScenario: Daemon loads config from default path when no args provided\n  Given a config file\n  When the daemon starts\n  Then it works\n\n# GOOD -- domain language:\n@config @todo\nScenario: Daemon loads config from default path when no args provided\n  # AC: R-16 - verify backward compatibility without CLI args\n  Given the daemon configuration file exists at the default path\n  And the configuration defines 3 sensors\n  When the daemon starts without command-line arguments\n  Then the daemon begins monitoring all 3 configured sensors\n```\n\n### 3. Check Step Reuse\n\nSearch existing step definitions for matching\u002Fsimilar patterns before writing new. BDD power = shared vocabulary.\n\n- **Exact match**: Reuse. Adjust scenario wording to match existing pattern.\n- **Near match**: Parameterize existing vs. create new.\n- **No match**: Write new, note it.\n\nFlag decisions: \"Reusing 'Given a registered user' from `tests\u002Fbdd\u002Fconftest.py`\" (pytest-bdd) \u002F `features\u002Fsteps\u002Fuser_steps.py` (behave).\n\n### 4. Structural Patterns\n\n- **Background**: Same Given in 3+ scenarios in same feature -> note for extraction. Don't extract prematurely.\n- **Scenario Outline**: Same step structure, different data values. Don't force when behavior differs.\n\n### 5. Challenge Assertion Precision\n\nFor each Then: User-observable? \u002F Specific enough? (\"sees error\" weaker than \"sees 'Config file not found'\") \u002F Subtly wrong implementation still satisfies?\n\n**Batch size: the Outline rate limit in `ws.tdd._meta`.** See also \"Batch Processing Flow\" there.\n\n## Output\n\n`@todo`-tagged scenarios with Given\u002FWhen\u002FThen in `.feature` files. Still no step definitions.\n\n## Behaviors\n\n- Domain language only. Class name \u002F database table \u002F API path in step = rewrite.\n- Each scenario self-contained. No shared mutable state.\n- Intent comment: what scenario validates, what it does NOT cover.\n- New idea discovered: record as `@todo`, flag to human. Don't silently expand scope.\n- **Shared setup**: Common Given patterns -> note for Background during `\u002Fws.bdd.red`.\n- **Outline desired behavior**: Scenario describes *should*, not *does*. Will go red; production code satisfies.\n\n## Anti-Patterns\n\n- Writing step definitions (Phase 3 -- `\u002Fws.bdd.red`)\n- Implementation-level \u002F internal-testing \u002F overly generic steps\n- Scenarios as unit tests with Gherkin syntax sugar (tests single function return = unit test)\n- Exceeding the Outline rate limit\n- Drifting to forest-level -- flag: \"Should we return to `\u002Fws.tdd.idea`?\"\n\n## Gate\n\nWrite scenarios to `.feature` file, summarize changes. File is deliverable -- not conversation-only.\n\nWait for review before `\u002Fws.bdd.red`. After outer red, transition to TDD inner loop. See \"Double-Loop Model\" in `ws.tdd._meta`.\n",{"name":5,"description":7},"main","1ad262fc695612ff484ee364ff66ab5298bdda58","skills\u002Fws.bdd.outline",0,"https:\u002F\u002Fgithub.com\u002Fvempio\u002FWhittleSpec","https:\u002F\u002Fgithub.com\u002Fvempio","2026-10-06 16:08:48",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add vempio\u002FWhittleSpec --skill ws-bdd-outline",{"tool":36,"command":37},"bunx","bunx skills add vempio\u002FWhittleSpec --skill ws-bdd-outline",{"tool":39,"command":40},"pnpm","pnpm dlx skills add vempio\u002FWhittleSpec --skill ws-bdd-outline","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvempio\u002FWhittleSpec\u002Fblob\u002Fmain\u002Fskills\u002Fws.bdd.outline\u002FSKILL.md",true,[],[45,52,59,66,73,80],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":18},"01M72TSQYBBJ3FG1MSMB9B33SZ","ws-tdd-review","Audit existing test code for quality, depth, and adherence to TDD principles.","https:\u002F\u002Fgithub.com\u002Fvempio\u002FWhittleSpec\u002Fblob\u002Fmain\u002Fskills\u002Fws.tdd.review\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M72TSN33MN2J0CW29MBY4WC4","ws-tdd-red","Phase 3 -- implement failing tests, validating assertion quality and depth.","https:\u002F\u002Fgithub.com\u002Fvempio\u002FWhittleSpec\u002Fblob\u002Fmain\u002Fskills\u002Fws.tdd.red\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"01M72TSJMTHFVC8FW2BGQ0NYD7","ws-tdd-outline","Phase 2 -- tree-level test design, examining intent and approach per test.","https:\u002F\u002Fgithub.com\u002Fvempio\u002FWhittleSpec\u002Fblob\u002Fmain\u002Fskills\u002Fws.tdd.outline\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M72TSFPHD749CY9KRV66T0RH","ws-tdd-idea","Phase 1 -- forest-level test case discovery, mapping the full problem space.","https:\u002F\u002Fgithub.com\u002Fvempio\u002FWhittleSpec\u002Fblob\u002Fmain\u002Fskills\u002Fws.tdd.idea\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M72TSD53VT09VF3EG67KA68E","ws-tdd-green","Phase 4 -- write minimal production code to make failing tests pass.","https:\u002F\u002Fgithub.com\u002Fvempio\u002FWhittleSpec\u002Fblob\u002Fmain\u002Fskills\u002Fws.tdd.green\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"01M72TS9TXQ9RHYF3VBGR87BF6","ws-tdd-meta","TDD shared context -- phased protocol, quality standards, and standing instructions for all TDD skills.","https:\u002F\u002Fgithub.com\u002Fvempio\u002FWhittleSpec\u002Fblob\u002Fmain\u002Fskills\u002Fws.tdd._meta\u002FSKILL.md",[],[]]