[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6XC9XN25PPYY6MS91XWEC9N":3,"skill-same:01M6XC9XN25PPYY6MS91XWEC9N":66},{"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":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":49,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M6XC9XN25PPYY6MS91XWEC9N","acceptance-criteria",null,"Reference for writing and evaluating acceptance criteria. Use when an AC is flagged as untestable, when the spec-review agent needs to judge testability, or when deriving ACs from a vague requirement. Trigger on: acceptance criteria, AC, testability, 验收标准, how to write AC, is this AC testable, untestable criterion.","Lincyaw\u002Fworkbuddy","Lincyaw","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F53161583?v=4","01M6XC87YTNETZ3AARKMHXJYJR","Aoyang Fang","01M6XC882ZSY5XBX2W6S88AGNH",2,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FLincyaw\u002Fworkbuddy\u002Fblob\u002Fmain\u002Fdeploy\u002Fagentm\u002Fskills\u002Facceptance-criteria\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"acceptance","acceptance criteria","when","writing","ac","vague","for","judge","testability","how to","trigger","as","reference","use","write","how","review agent","spec","review","2026-11-10 10:12:30",false,"---\nname: acceptance-criteria\ndescription: >\n  Reference for writing and evaluating acceptance criteria. Use when\n  an AC is flagged as untestable, when the spec-review agent needs\n  to judge testability, or when deriving ACs from a vague requirement.\n  Trigger on: acceptance criteria, AC, testability, 验收标准,\n  how to write AC, is this AC testable, untestable criterion.\n---\n\n# Acceptance Criteria Reference\n\nAn acceptance criterion (AC) is a single, verifiable condition that\nmust hold for the implementation to be considered correct. ACs are\nthe bridge between human requirements and automated tests.\n\n## The testability test\n\nAn AC is testable if you can answer YES to all three:\n\n1. **Can you write the test function signature right now?**\n   If you can write `def test_ac3_window_expiry():` and know what\n   it should call and assert, the AC is testable.\n\n2. **Is the pass\u002Ffail deterministic?**\n   Running the test twice with the same input produces the same\n   result. No randomness, no timing sensitivity (without clock\n   injection), no dependency on external services (without mocking).\n\n3. **Does it reference concrete values?**\n   Names from the Interface section, specific inputs, specific\n   expected outputs or error types. Not \"the function\" but\n   \"`parse_config`\". Not \"an error\" but \"`FileNotFoundError`\".\n\n## Patterns\n\n### Functional behavior\n```\nAC-N: \u003Cfunction>(\u003Cspecific input>) returns \u003Cspecific output>\nAC-N: \u003Cfunction>(\u003Cinvalid input>) raises \u003Cspecific error type>\n```\n\n### State transitions\n```\nAC-N: After calling \u003Cmethod A>, calling \u003Cmethod B> returns \u003Cvalue>\nAC-N: \u003Cobject> initialized with \u003Cparams> has \u003Cproperty> = \u003Cvalue>\n```\n\n### Performance (when in scope)\n```\nAC-N: \u003Coperation> on \u003CN items> completes in \u003C \u003Cthreshold>\nAC-N: Memory usage does not exceed \u003Climit> for \u003Cworkload>\n```\nAlways specify the workload size and the threshold.\n\n### API contracts\n```\nAC-N: POST \u002Fpath with \u003Cbody> returns \u003Cstatus code> and \u003Cresponse shape>\nAC-N: GET \u002Fpath without auth returns 401\n```\n\n### Data invariants\n```\nAC-N: After \u003Coperation>, \u003Cinvariant> holds (e.g., balance >= 0)\nAC-N: \u003Ccollection> never contains duplicate \u003Ckey field>\n```\n\n## Common untestable patterns and fixes\n\n| Untestable AC | Why | Fix |\n|---|---|---|\n| \"Should be fast\" | No threshold | \"Completes in \u003C 200ms for N=1000\" |\n| \"Handles errors gracefully\" | \"Gracefully\" is subjective | \"Raises ValueError with message containing the invalid field name\" |\n| \"Works correctly\" | Tautological | Split into specific input\u002Foutput pairs |\n| \"Is well-documented\" | Subjective | \"Every public function has a docstring with parameter descriptions\" (checkable by AST) |\n| \"Is secure\" | Too broad | Split: \"Escapes HTML in user input\" + \"Rejects SQL in query params\" + \"Rate-limits login attempts\" |\n| \"Improves performance\" | No baseline or target | \"p99 latency drops from > 500ms (current) to \u003C 200ms\" |\n| \"Supports all edge cases\" | \"All\" is unbounded | Enumerate: empty input, null, max int, Unicode, concurrent |\n| \"Is backward compatible\" | Unstated contract | \"Existing callers of `old_function(a, b)` continue to work without changes\" |\n\n## Deriving ACs from vague requirements\n\nWhen the issue says \"add caching to the API\":\n\n1. **Identify the interface**: what function\u002Fendpoint gets cached?\n   → \"GET \u002Fapi\u002Fusers\u002F:id responses are cached\"\n\n2. **Define the observable behavior**: what changes for the caller?\n   → \"Second request for the same user_id returns in \u003C 5ms\"\n   → \"Response includes `X-Cache: HIT` header\"\n\n3. **Define the boundaries**: when does the cache invalidate?\n   → \"PUT \u002Fapi\u002Fusers\u002F:id invalidates the cached entry\"\n   → \"Cache entries expire after 300 seconds\"\n\n4. **Define the error cases**: what if cache is unavailable?\n   → \"If Redis is unreachable, requests fall through to the database\n     (no error returned to caller)\"\n\n5. **State assumptions**: \"Assuming cache backend is Redis. If\n   in-memory cache is preferred, AC-4 changes.\"\n\nResult:\n```\nAC-1: GET \u002Fapi\u002Fusers\u002F:id returns identical response on second call\nAC-2: Second call completes in \u003C 5ms (first call unconstrained)\nAC-3: Response includes X-Cache header (HIT or MISS)\nAC-4: PUT \u002Fapi\u002Fusers\u002F:id causes next GET to return updated data\nAC-5: Cache entries not accessed for 300s are evicted\nAC-6: If Redis is unreachable, GET still returns correct data from DB\n```\n\n## AC granularity\n\n**Too coarse**: \"AC-1: The rate limiter works correctly for all\ncases.\" This is untestable and will produce a test that either\ntests one case (incomplete) or a monster test that's hard to\ndebug when it fails.\n\n**Too fine**: \"AC-1: The constructor stores max_requests. AC-2:\nThe constructor stores window_seconds.\" This tests implementation\ndetails, not behavior. The implementation could store them\ndifferently and still be correct.\n\n**Right level**: One observable behavior per AC. \"AC-1: First N\nrequests pass. AC-2: Request N+1 is rejected.\" These test what\nthe caller sees, not how the internals work.\n\n## Numbering and traceability\n\n- Number sequentially: AC-1, AC-2, AC-3...\n- Don't renumber when removing an AC — skip the number. This\n  preserves traceability to tests named `test_ac3_...`.\n- When adding ACs during review feedback, continue from the\n  last number.\n- The test-to-AC mapping (produced by test-gen agent) is the\n  traceability record.\n","# Acceptance Criteria Reference\n\nAn acceptance criterion (AC) is a single, verifiable condition that\nmust hold for the implementation to be considered correct. ACs are\nthe bridge between human requirements and automated tests.\n\n## The testability test\n\nAn AC is testable if you can answer YES to all three:\n\n1. **Can you write the test function signature right now?**\n   If you can write `def test_ac3_window_expiry():` and know what\n   it should call and assert, the AC is testable.\n\n2. **Is the pass\u002Ffail deterministic?**\n   Running the test twice with the same input produces the same\n   result. No randomness, no timing sensitivity (without clock\n   injection), no dependency on external services (without mocking).\n\n3. **Does it reference concrete values?**\n   Names from the Interface section, specific inputs, specific\n   expected outputs or error types. Not \"the function\" but\n   \"`parse_config`\". Not \"an error\" but \"`FileNotFoundError`\".\n\n## Patterns\n\n### Functional behavior\n```\nAC-N: \u003Cfunction>(\u003Cspecific input>) returns \u003Cspecific output>\nAC-N: \u003Cfunction>(\u003Cinvalid input>) raises \u003Cspecific error type>\n```\n\n### State transitions\n```\nAC-N: After calling \u003Cmethod A>, calling \u003Cmethod B> returns \u003Cvalue>\nAC-N: \u003Cobject> initialized with \u003Cparams> has \u003Cproperty> = \u003Cvalue>\n```\n\n### Performance (when in scope)\n```\nAC-N: \u003Coperation> on \u003CN items> completes in \u003C \u003Cthreshold>\nAC-N: Memory usage does not exceed \u003Climit> for \u003Cworkload>\n```\nAlways specify the workload size and the threshold.\n\n### API contracts\n```\nAC-N: POST \u002Fpath with \u003Cbody> returns \u003Cstatus code> and \u003Cresponse shape>\nAC-N: GET \u002Fpath without auth returns 401\n```\n\n### Data invariants\n```\nAC-N: After \u003Coperation>, \u003Cinvariant> holds (e.g., balance >= 0)\nAC-N: \u003Ccollection> never contains duplicate \u003Ckey field>\n```\n\n## Common untestable patterns and fixes\n\n| Untestable AC | Why | Fix |\n|---|---|---|\n| \"Should be fast\" | No threshold | \"Completes in \u003C 200ms for N=1000\" |\n| \"Handles errors gracefully\" | \"Gracefully\" is subjective | \"Raises ValueError with message containing the invalid field name\" |\n| \"Works correctly\" | Tautological | Split into specific input\u002Foutput pairs |\n| \"Is well-documented\" | Subjective | \"Every public function has a docstring with parameter descriptions\" (checkable by AST) |\n| \"Is secure\" | Too broad | Split: \"Escapes HTML in user input\" + \"Rejects SQL in query params\" + \"Rate-limits login attempts\" |\n| \"Improves performance\" | No baseline or target | \"p99 latency drops from > 500ms (current) to \u003C 200ms\" |\n| \"Supports all edge cases\" | \"All\" is unbounded | Enumerate: empty input, null, max int, Unicode, concurrent |\n| \"Is backward compatible\" | Unstated contract | \"Existing callers of `old_function(a, b)` continue to work without changes\" |\n\n## Deriving ACs from vague requirements\n\nWhen the issue says \"add caching to the API\":\n\n1. **Identify the interface**: what function\u002Fendpoint gets cached?\n   → \"GET \u002Fapi\u002Fusers\u002F:id responses are cached\"\n\n2. **Define the observable behavior**: what changes for the caller?\n   → \"Second request for the same user_id returns in \u003C 5ms\"\n   → \"Response includes `X-Cache: HIT` header\"\n\n3. **Define the boundaries**: when does the cache invalidate?\n   → \"PUT \u002Fapi\u002Fusers\u002F:id invalidates the cached entry\"\n   → \"Cache entries expire after 300 seconds\"\n\n4. **Define the error cases**: what if cache is unavailable?\n   → \"If Redis is unreachable, requests fall through to the database\n     (no error returned to caller)\"\n\n5. **State assumptions**: \"Assuming cache backend is Redis. If\n   in-memory cache is preferred, AC-4 changes.\"\n\nResult:\n```\nAC-1: GET \u002Fapi\u002Fusers\u002F:id returns identical response on second call\nAC-2: Second call completes in \u003C 5ms (first call unconstrained)\nAC-3: Response includes X-Cache header (HIT or MISS)\nAC-4: PUT \u002Fapi\u002Fusers\u002F:id causes next GET to return updated data\nAC-5: Cache entries not accessed for 300s are evicted\nAC-6: If Redis is unreachable, GET still returns correct data from DB\n```\n\n## AC granularity\n\n**Too coarse**: \"AC-1: The rate limiter works correctly for all\ncases.\" This is untestable and will produce a test that either\ntests one case (incomplete) or a monster test that's hard to\ndebug when it fails.\n\n**Too fine**: \"AC-1: The constructor stores max_requests. AC-2:\nThe constructor stores window_seconds.\" This tests implementation\ndetails, not behavior. The implementation could store them\ndifferently and still be correct.\n\n**Right level**: One observable behavior per AC. \"AC-1: First N\nrequests pass. AC-2: Request N+1 is rejected.\" These test what\nthe caller sees, not how the internals work.\n\n## Numbering and traceability\n\n- Number sequentially: AC-1, AC-2, AC-3...\n- Don't renumber when removing an AC — skip the number. This\n  preserves traceability to tests named `test_ac3_...`.\n- When adding ACs during review feedback, continue from the\n  last number.\n- The test-to-AC mapping (produced by test-gen agent) is the\n  traceability record.\n",{"name":5,"description":7},"main","b9778c800f442939b879c9a556dfb8d6f4a40971","deploy\u002Fagentm\u002Fskills\u002Facceptance-criteria",1,"https:\u002F\u002Fgithub.com\u002FLincyaw\u002Fworkbuddy","https:\u002F\u002Fgithub.com\u002FLincyaw","http:\u002F\u002Fprofile.aoyangfang.top\u002F","Student in The Chinese University of Hong Kong, Shenzhen","2026-06-08 13:33:51",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add Lincyaw\u002Fworkbuddy --skill acceptance-criteria",{"tool":58,"command":59},"bunx","bunx skills add Lincyaw\u002Fworkbuddy --skill acceptance-criteria",{"tool":61,"command":62},"pnpm","pnpm dlx skills add Lincyaw\u002Fworkbuddy --skill acceptance-criteria","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLincyaw\u002Fworkbuddy\u002Fblob\u002Fmain\u002Fdeploy\u002Fagentm\u002Fskills\u002Facceptance-criteria\u002FSKILL.md",true,[],[67,93,118,140,159,182],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":38},"01M6XCBSW1MMEAWEF38VX9NH3E","workbuddy-guide","Explain and operate workbuddy: what it is, which command to reach for, and where to find deeper references. **Trigger whenever the user mentions 'workbuddy' in any context** — including operational requests (register\u002Fonboard a repo, add\u002Fbind a worker, 注册仓库, 加仓库, 接入新仓库, onboard repo, set up worker), explanatory questions (how to use workbuddy, workbuddy guide, teach me workbuddy, 怎么用workbuddy, 使用指南), deployment\u002Frunning\u002Foperating\u002Fdebugging workbuddy, and questions about how issues\u002Ftasks are scheduled or how dependencies between issues work (depends_on, blocked, dependency gate, 依赖, 调度, 排队, '为什么没派发'), and questions about parallel-development workflows (rollouts:N fan-out, synthesize\u002Fsynthesis reduce step, cherry-pick, '并行开发', '多个方案', 'rollout'). Invoke this skill before running workbuddy CLI commands so the documented onboarding flow (coordinator register + worker repos add) and the dependency\u002Fscheduling model aren't re-derived from scratch.","https:\u002F\u002Fgithub.com\u002FLincyaw\u002Fworkbuddy\u002Fblob\u002Fmain\u002Fplugins\u002Fworkbuddy\u002Fskills\u002Fworkbuddy-guide\u002FSKILL.md",[],[74,75,76,77,78,79,80,81,82,83,84,85,28,86,87,88,89,90,91,92],"guide","workbuddy guide","debugging","issues","SET","model","pick","up","rollouts","deeper","worker","bind","operating","coordinator","re","operate","which","scheduled","invoke",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":38},"01M6XCBM7B95PB3Q6PHZ3TCM7F","web-debug","Validate the workbuddy webui (SPA + auth + JSON API) end-to-end on the same machine workbuddy runs on, using browser-use's headless harness. Use when the user says 'verify the frontend', 'test the SPA', 'check dashboard loads', '前端验证', '验下 webui', or after merging changes that touch internal\u002Fwebui, web\u002F, or the auth\u002Fcookie path.","https:\u002F\u002Fgithub.com\u002FLincyaw\u002Fworkbuddy\u002Fblob\u002Fmain\u002Fplugins\u002Fworkbuddy\u002Fskills\u002Fweb-debug\u002FSKILL.md",[],[100,101,102,103,104,105,106,107,108,32,109,110,111,112,113,114,115,116,117,21],"web","debug","web debug","frontend","auth","browser","harness","api","check","webui","spa","end","machine","touch","loads","headless","browser-use","using browser",{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":38},"01M6XCBFR925WJSWEYVHGSTT56","setup-repo","Configure a GitHub repository for workbuddy orchestration — creates labels, the two canonical agent configs (dev + review), workflow definitions, issue templates, and config.yaml. Use when the user says 'set up repo', 'configure repo for workbuddy', 'initialize workbuddy', '配置仓库', '初始化workbuddy', or wants to onboard a new repo.","https:\u002F\u002Fgithub.com\u002FLincyaw\u002Fworkbuddy\u002Fblob\u002Fmain\u002Fplugins\u002Fworkbuddy\u002Fskills\u002Fsetup-repo\u002FSKILL.md",[],[125,126,127,37,128,129,130,131,132,78,133,134,81,135,136,137,138,25,139,21],"setup","setup repo","repo","orchestration","workflow","config","dev","repository","configure","initialize","issue","new repo","初始化","canonical","labels",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":38},"01M6XCBAEPZQTAS5FZYCPDEGAG","pipeline-monitor","Monitor the workbuddy agent pipeline, detect stuck issues, zombie processes, and missed redispatches. Works for both the 3-unit bundle (supervisor + coordinator + worker) and single-process `serve`. Use when the user says 'monitor the pipeline', 'check workbuddy status', '监工', '看看跑完了没', or asks to watch issue progress.","https:\u002F\u002Fgithub.com\u002FLincyaw\u002Fworkbuddy\u002Fblob\u002Fmain\u002Fplugins\u002Fworkbuddy\u002Fskills\u002Fpipeline-monitor\u002FSKILL.md",[],[147,148,149,150,77,151,108,32,135,152,84,153,154,155,156,87,157,25,158,21],"monitor","pipeline","pipeline monitor","status","supervisor","missed","watch","progress","detect","unit","agent pipeline","single",{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":165,"publishedAt":38},"01M6XCB5RTYNH7QK9RQ5Z4B6NK","merge-flow","Merge a batch of approved workbuddy PRs into main: order them, resolve conflicts against design intent, validate post-merge health, and report. Use when the user asks to 'merge the batch', 'merge approved PRs', 'integrate finished issues', '批量合并', '处理冲突'; or when the merge-agent is invoked.","https:\u002F\u002Fgithub.com\u002FLincyaw\u002Fworkbuddy\u002Fblob\u002Fmain\u002Fplugins\u002Fworkbuddy\u002Fskills\u002Fmerge-flow\u002FSKILL.md",[],[166,167,168,169,170,171,77,172,173,174,32,175,176,177,178,43,179,180,181,21],"merge","flow","merge flow","design","validate","report","batch","health","user","integrate","resolve conflicts","conflicts","intent","post","design intent","prs",{"skillNo":183,"name":184,"nameZh":6,"description":185,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":186,"categories":187,"keywords":188,"publishedAt":38},"01M6XCB29F96RJ02Z3BXTAVYSB","deploy","Workbuddy deployment topology guide — explains the 3-unit bundle (supervisor + coordinator + worker), the rolling-restart property, and the cutover from the legacy single-process `serve` install. Use when the user says 'how should I deploy workbuddy', 'install workbuddy as a service', 'switch to bundle', 'rolling restart', '部署 workbuddy', '升级到 bundle'.","https:\u002F\u002Fgithub.com\u002FLincyaw\u002Fworkbuddy\u002Fblob\u002Fmain\u002Fplugins\u002Fworkbuddy\u002Fskills\u002Fdeploy\u002FSKILL.md",[],[184,189,190,34,151,191,192,74,32,193,194,84,195,30,196,197,156,87,158,21],"deployment","topology","process","install","Legacy","switch","service","bundle","serve"]