[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CSA8X8ZJ1CAKPJ0JNW4A9A":3,"skill-same:01M7CSA8X8ZJ1CAKPJ0JNW4A9A":49},{"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":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":31,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M7CSA8X8ZJ1CAKPJ0JNW4A9A","acceptance-criteria-gwt",null,"Use when writing acceptance criteria for a task - express each as an observable Given\u002FWhen\u002FThen that QA can execute, including negative cases","makifbaysal\u002Ftasktrooper","makifbaysal","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F25031940?v=4","01M7CRG3ZCSYZSSEVDMW3DEYC8","Mehmet Akif Baysal","01M7CRG401FJ8YAXH5ER730XYV",122,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fproduct-manager\u002Fskills\u002Facceptance-criteria-gwt\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: acceptance-criteria-gwt\ncategory: pm\ndescription: Use when writing acceptance criteria for a task - express each as an observable Given\u002FWhen\u002FThen that QA can execute, including negative cases\nsource: cucumber\u002Fdocs better-gherkin.md (MIT), adapted\n---\n# Acceptance Criteria (Given\u002FWhen\u002FThen)\n\n## Overview\n\nAcceptance criteria are the contract QA tests the product against and the PM verifies at UAT. If a criterion isn't executable, it can't be verified — and unverifiable criteria are where defects hide.\n\n**Core principle:** Every criterion is an observable behavior QA can execute with a command or a click path. No aspirational adjectives.\n\n## The shape\n\n`Given [precondition], When [action], Then [measurable result].`\n\n## Where they go\n\nCriteria live in the board task's own `acceptance_criteria` field — an array of strings, one criterion per item, passed to `create_board_task` (or `update_board_task` to replace the whole list). Each item becomes a checkbox the implementer ticks with `set_criterion_completed`, and that QA (in ready_for_qa\u002Fin_qa) then rules on independently with `review_criterion`. The tick is the implementer's claim — QA never calls `set_criterion_completed`; its verdict is `review_criterion`.\n\nNever write them into `description`. A criteria block pasted as markdown leaves the task's checklist empty: nothing to tick, nothing the move guard can check, and the prose copy goes stale the moment the real criteria are edited.\n\n## Testability gate\n\nFor each criterion, before you save it, write down:\n- **who executes it** — QA in in_qa, with browser or mobile tools (or `http_request` against the task's own preview when the surface is an API, not a screen);\n- **the action** — a click path, a URL, or a request;\n- **the exact observable** — text, a count, an element state, or a file.\n\nIf the behaviour is user-facing, the Then must be visible in the UI — not a status code standing in for what the user sees. If nobody outside the code can observe it, it belongs in `technical_description`, not in a criterion.\n\n## Declarative When, concrete Then\n\nWrite the When as what happens, not the click-by-click path — the cucumber test: \"Will this wording need to change if the implementation changes?\" If yes, it's too imperative. One behaviour per criterion. Put exact copy strings in quotes in the Then; \"an error appears\" is not testable, \"'Title must be at most 200 characters' appears under the field\" is.\n\n## Never a criterion: board actions\n\nA criterion states what the finished WORK is, never what the board does around\nit. These are not criteria and the tools drop them:\n\n| Not a criterion | Why | Write instead |\n|---|---|---|\n| \"Task moved to ready_for_qa \u002F analiz_review \u002F done\" | a column move is workflow; the agent's role already tells it where the card goes | the behaviour that makes the task ready |\n| \"Implementation tasks are created\" | they are opened AFTER this task is approved — a criterion nobody can tick before the hand-off keeps the card out of done forever | what the plan those tasks come from must contain |\n| \"Spec attached with add_task_document\" \u002F \"questions asked with add_task_comment\" | naming the tool describes the mechanics, and an attached document is not a good one | what the document must say |\n| \"Presented for human approval\" \u002F \"assigned to the developer\" | hand-offs are the flow's job | nothing — the flow does it |\n\nThe test: could a reviewer check it by looking only at the product and the\ndocuments, without opening the board's history? If not, it is not a criterion.\n\n## Rules\n\n- **Observable + measurable.** \"Then a 422 with message 'title too long'\" — not \"Then it handles it gracefully.\"\n- **At least one negative criterion where the feature accepts input or has permissions:** invalid input, unauthorized access, empty state. Not required for a pure copy or styling change.\n- **3–7 criteria is typical; the feature decides, not the count.** A long list is a reason to check that the task does not bundle two roles, two repositories or two unrelated features — split those. One feature for one role in one repository stays one task even with 10–12 criteria: every extra task is another agent run, review and release. Drop criteria that restate each other before you split anything.\n- **No 'fast'\u002F'user-friendly'\u002F'robust'** — replace with a number or a concrete behavior.\n\n## Mid-flight edits\n\n`update_board_task(acceptance_criteria=…)` replaces the whole array and resets every tick on it — use it only before work starts, or when the human explicitly asked for the change. To drop one criterion from a task already in progress (descoped, superseded, covered elsewhere), use `cancel_criterion` with a reason instead of rewriting the list.\n\n## Worked Example\n\nFeature: reject task titles over 200 chars, in the New Task dialog.\n\n```\n❌ Given a create-task form, When I submit a 201-char title, Then I get 422.\n   (status code stands in for what the user sees — fine for an API-only task, not for a dialog)\n\n✅ AC1 (happy)    Given the New Task dialog,\n                  When I enter a 200-character title and press Create,\n                  Then the dialog closes and a card with that title appears on the board.\n\n✅ AC2 (boundary\u002Fnegative)\n                  Given the New Task dialog,\n                  When I enter a 201-character title and press Create,\n                  Then the dialog stays open, shows \"Title must be at most 200 characters\"\n                  under the field, and no card is added to the board.\n\n✅ AC3 (auth\u002Fnegative)\n                  Given a user without write access to the project,\n                  When they open the board,\n                  Then the \"New Task\" button is not shown.\n```\n\nKeep one API-surface example only when the API itself is the product (usually a `task_type: \"technical\"` task):\n\n```\nGiven a member of the project, When they GET \u002Fapi\u002Fv1\u002Fprojects\u002F:id\u002Ftasks\u002Fexport,\nThen they get 200 + text\u002Fcsv with header \"id,title,status,created_at\"\n```\n\n## Common Mistakes\n\n- A board action as a criterion (see above) — the most common one is \"the task is moved to X\".\n- An HTTP status as the only Then on a user-facing task — say what the user sees, not the wire protocol underneath it.\n- Aspirational wording (\"intuitive\", \"fast\").\n- Only happy-path criteria, no negative, on a task with input or permissions.\n- A \"Then\" with no exact text, count or state — \"an error appears\" instead of the exact copy.\n- 12 criteria covering two features or two roles on one task → split it along that boundary.\n- One feature cut into several tasks just to keep each checklist short.\n- Criteria pasted into `description` as a markdown list instead of passed as `acceptance_criteria`.\n- Rewriting `acceptance_criteria` on a task already in progress instead of `cancel_criterion`.\n\n## Red Flags\n\n- QA asks \"how do I test this?\" → the AC isn't executable; run it through the testability gate again.\n- No negative\u002Fauth criterion on a task that takes input or checks permission.\n- An adjective in a \"Then\".\n- A criterion that names a board tool or a column the card must reach.\n","# Acceptance Criteria (Given\u002FWhen\u002FThen)\n\n## Overview\n\nAcceptance criteria are the contract QA tests the product against and the PM verifies at UAT. If a criterion isn't executable, it can't be verified — and unverifiable criteria are where defects hide.\n\n**Core principle:** Every criterion is an observable behavior QA can execute with a command or a click path. No aspirational adjectives.\n\n## The shape\n\n`Given [precondition], When [action], Then [measurable result].`\n\n## Where they go\n\nCriteria live in the board task's own `acceptance_criteria` field — an array of strings, one criterion per item, passed to `create_board_task` (or `update_board_task` to replace the whole list). Each item becomes a checkbox the implementer ticks with `set_criterion_completed`, and that QA (in ready_for_qa\u002Fin_qa) then rules on independently with `review_criterion`. The tick is the implementer's claim — QA never calls `set_criterion_completed`; its verdict is `review_criterion`.\n\nNever write them into `description`. A criteria block pasted as markdown leaves the task's checklist empty: nothing to tick, nothing the move guard can check, and the prose copy goes stale the moment the real criteria are edited.\n\n## Testability gate\n\nFor each criterion, before you save it, write down:\n- **who executes it** — QA in in_qa, with browser or mobile tools (or `http_request` against the task's own preview when the surface is an API, not a screen);\n- **the action** — a click path, a URL, or a request;\n- **the exact observable** — text, a count, an element state, or a file.\n\nIf the behaviour is user-facing, the Then must be visible in the UI — not a status code standing in for what the user sees. If nobody outside the code can observe it, it belongs in `technical_description`, not in a criterion.\n\n## Declarative When, concrete Then\n\nWrite the When as what happens, not the click-by-click path — the cucumber test: \"Will this wording need to change if the implementation changes?\" If yes, it's too imperative. One behaviour per criterion. Put exact copy strings in quotes in the Then; \"an error appears\" is not testable, \"'Title must be at most 200 characters' appears under the field\" is.\n\n## Never a criterion: board actions\n\nA criterion states what the finished WORK is, never what the board does around\nit. These are not criteria and the tools drop them:\n\n| Not a criterion | Why | Write instead |\n|---|---|---|\n| \"Task moved to ready_for_qa \u002F analiz_review \u002F done\" | a column move is workflow; the agent's role already tells it where the card goes | the behaviour that makes the task ready |\n| \"Implementation tasks are created\" | they are opened AFTER this task is approved — a criterion nobody can tick before the hand-off keeps the card out of done forever | what the plan those tasks come from must contain |\n| \"Spec attached with add_task_document\" \u002F \"questions asked with add_task_comment\" | naming the tool describes the mechanics, and an attached document is not a good one | what the document must say |\n| \"Presented for human approval\" \u002F \"assigned to the developer\" | hand-offs are the flow's job | nothing — the flow does it |\n\nThe test: could a reviewer check it by looking only at the product and the\ndocuments, without opening the board's history? If not, it is not a criterion.\n\n## Rules\n\n- **Observable + measurable.** \"Then a 422 with message 'title too long'\" — not \"Then it handles it gracefully.\"\n- **At least one negative criterion where the feature accepts input or has permissions:** invalid input, unauthorized access, empty state. Not required for a pure copy or styling change.\n- **3–7 criteria is typical; the feature decides, not the count.** A long list is a reason to check that the task does not bundle two roles, two repositories or two unrelated features — split those. One feature for one role in one repository stays one task even with 10–12 criteria: every extra task is another agent run, review and release. Drop criteria that restate each other before you split anything.\n- **No 'fast'\u002F'user-friendly'\u002F'robust'** — replace with a number or a concrete behavior.\n\n## Mid-flight edits\n\n`update_board_task(acceptance_criteria=…)` replaces the whole array and resets every tick on it — use it only before work starts, or when the human explicitly asked for the change. To drop one criterion from a task already in progress (descoped, superseded, covered elsewhere), use `cancel_criterion` with a reason instead of rewriting the list.\n\n## Worked Example\n\nFeature: reject task titles over 200 chars, in the New Task dialog.\n\n```\n❌ Given a create-task form, When I submit a 201-char title, Then I get 422.\n   (status code stands in for what the user sees — fine for an API-only task, not for a dialog)\n\n✅ AC1 (happy)    Given the New Task dialog,\n                  When I enter a 200-character title and press Create,\n                  Then the dialog closes and a card with that title appears on the board.\n\n✅ AC2 (boundary\u002Fnegative)\n                  Given the New Task dialog,\n                  When I enter a 201-character title and press Create,\n                  Then the dialog stays open, shows \"Title must be at most 200 characters\"\n                  under the field, and no card is added to the board.\n\n✅ AC3 (auth\u002Fnegative)\n                  Given a user without write access to the project,\n                  When they open the board,\n                  Then the \"New Task\" button is not shown.\n```\n\nKeep one API-surface example only when the API itself is the product (usually a `task_type: \"technical\"` task):\n\n```\nGiven a member of the project, When they GET \u002Fapi\u002Fv1\u002Fprojects\u002F:id\u002Ftasks\u002Fexport,\nThen they get 200 + text\u002Fcsv with header \"id,title,status,created_at\"\n```\n\n## Common Mistakes\n\n- A board action as a criterion (see above) — the most common one is \"the task is moved to X\".\n- An HTTP status as the only Then on a user-facing task — say what the user sees, not the wire protocol underneath it.\n- Aspirational wording (\"intuitive\", \"fast\").\n- Only happy-path criteria, no negative, on a task with input or permissions.\n- A \"Then\" with no exact text, count or state — \"an error appears\" instead of the exact copy.\n- 12 criteria covering two features or two roles on one task → split it along that boundary.\n- One feature cut into several tasks just to keep each checklist short.\n- Criteria pasted into `description` as a markdown list instead of passed as `acceptance_criteria`.\n- Rewriting `acceptance_criteria` on a task already in progress instead of `cancel_criterion`.\n\n## Red Flags\n\n- QA asks \"how do I test this?\" → the AC isn't executable; run it through the testability gate again.\n- No negative\u002Fauth criterion on a task that takes input or checks permission.\n- An adjective in a \"Then\".\n- A criterion that names a board tool or a column the card must reach.\n",{"name":5,"source":24,"category":25,"description":7},"cucumber\u002Fdocs better-gherkin.md (MIT), adapted","pm","main","910394a0b6db9fc8c9a8f36328ec421d3ebd8b38","catalog\u002Fagents\u002Fproduct-manager\u002Fskills\u002Facceptance-criteria-gwt",18,"https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper","https:\u002F\u002Ftasktrooper.ai","https:\u002F\u002Fgithub.com\u002Fmakifbaysal","Senior Software Developer","2026-11-15 04:50:29",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add makifbaysal\u002Ftasktrooper --skill acceptance-criteria-gwt",{"tool":41,"command":42},"bunx","bunx skills add makifbaysal\u002Ftasktrooper --skill acceptance-criteria-gwt",{"tool":44,"command":45},"pnpm","pnpm dlx skills add makifbaysal\u002Ftasktrooper --skill acceptance-criteria-gwt","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fproduct-manager\u002Fskills\u002Facceptance-criteria-gwt\u002FSKILL.md",true,[],[50,56,63,70,77,84],{"skillNo":51,"name":52,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M7CSVEPQW6J6TD6CS2T5FPNZ","visual-craft","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fvisual-craft\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7CSVAQG91ETHQ0HBNZDG5FR","ux-copy","Use when you write any words a user reads in a mockup or a hand-off - content language and voice, buttons, labels, errors, empty states, confirmations, numbers and dates, and the longest-string check","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fux-copy\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7CSV6H0J38659NDXHJQ8396","screen-mockup-html","Use when you draw screens as the design task's HTML mockup - ONE canvas document holding every screen and every variant side by side, the sanitizer-safe recipe, phone and wide frames, the states grid, static control states, and the loopback self-check with screenshots at 375, 768 and 1440 attached to the task","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fscreen-mockup-html\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7CSV3JFRF3BM3XK52M7YEYR","performance-awareness","How the performance score moves for your role. Use when the score context shows a declining trend, or before handing off work you have not self-checked against every criterion.","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fperformance-awareness\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7CSTZDH00YRF5SCT7BRT9QD","design-variants","Use when a screen design needs variants - how many, variants as side-by-side rows on the one canvas, what makes two variants genuinely different, recommending one, how the human's choice is read, and narrowing to the chosen one in revision","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fdesign-variants\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7CSTV6P3SM3PAE28DB0RF77","design-system-authoring","Use when you derive, change or extend a design system - where tokens live per stack, the DTCG token tree, role-based names for both themes, base vs layer vs drift, the DESIGN.md section order, the inventory format, the contrast check and the lint every proposal returns","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fdesign-system-authoring\u002FSKILL.md",[],[]]