[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C4MJ89VVVC88PC5XT8BEM3":3,"skill-same:01M6C4MJ89VVVC88PC5XT8BEM3":57},{"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":29,"linkOnly":30,"markdownContent":31,"markdownBody":32,"frontMatter":33,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":37,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":40,"ownerDescription":41,"updatedAt":42,"install":43,"resources":56},"01M6C4MJ89VVVC88PC5XT8BEM3","principle-state-the-claim-first",null,"WHEN starting a task, fix or benchmark; NOT for read-only explanation or recording the pre-change state; records the falsifiable claim the work must support before the first change.","mintuz\u002Fskills","mintuz","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F447031?v=4","01M6BVWJYSVR4XQC9AQCEMWQRG","Adam Bulmer","01M6C4DCXKNYZB281YB3PZDJJG",35,"MIT","https:\u002F\u002Fgithub.com\u002Fmintuz\u002Fskills\u002Fblob\u002Fmain\u002Fsrc\u002Fprinciple\u002Fskills\u002Fprinciple-state-the-claim-first\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28],"state","first","principle state the claim first","support","change","benchmark","work","read","fix","only","2026-11-10 10:12:30",false,"---\nname: principle-state-the-claim-first\ndescription: \"WHEN starting a task, fix or benchmark; NOT for read-only explanation or recording the pre-change state; records the falsifiable claim the work must support before the first change.\"\n---\n\n# State the claim first\n\nWrite the claim you expect to make before you work or measure, so the checks test a sentence rather than a hope.\n\n1. Before the first edit, run or measurement, write the claim in the words you would report: the subject, the observable result, the condition or workload, and the threshold or direction. For example: \"CSV export is 30% faster at p50 on the 60k-row dataset\", or \"after a restart with an existing state file, the service starts and keeps its data\".\n2. Make it falsifiable. Name the observation that would show it false. A goal such as \"make it faster\" or \"improve stability\" is not yet a claim; turn it into one before starting, even when asked to start immediately.\n3. Keep suspected causes separate from the claim. A hunch about the mechanism is a hypothesis to test; the claim is the outcome the work must make true.\n4. Design the checks to test that sentence. Report whether the evidence supports, narrows or refutes it.\n\nDistinct from: `principle-define-done` (a checkable completion criterion for any multi-step deliverable), `principle-capture-the-baseline` (recording the pre-change state), `principle-prove-it-works` (verifying the result after the work).\n\nDone: the falsifiable claim, with its refuting observation, is recorded before the first change.\n","# State the claim first\n\nWrite the claim you expect to make before you work or measure, so the checks test a sentence rather than a hope.\n\n1. Before the first edit, run or measurement, write the claim in the words you would report: the subject, the observable result, the condition or workload, and the threshold or direction. For example: \"CSV export is 30% faster at p50 on the 60k-row dataset\", or \"after a restart with an existing state file, the service starts and keeps its data\".\n2. Make it falsifiable. Name the observation that would show it false. A goal such as \"make it faster\" or \"improve stability\" is not yet a claim; turn it into one before starting, even when asked to start immediately.\n3. Keep suspected causes separate from the claim. A hunch about the mechanism is a hypothesis to test; the claim is the outcome the work must make true.\n4. Design the checks to test that sentence. Report whether the evidence supports, narrows or refutes it.\n\nDistinct from: `principle-define-done` (a checkable completion criterion for any multi-step deliverable), `principle-capture-the-baseline` (recording the pre-change state), `principle-prove-it-works` (verifying the result after the work).\n\nDone: the falsifiable claim, with its refuting observation, is recorded before the first change.\n",{"name":5,"description":7},"main","4e0a12b5048eac78a3ace4feee657873cdd530ef","src\u002Fprinciple\u002Fskills\u002Fprinciple-state-the-claim-first",7,"https:\u002F\u002Fgithub.com\u002Fmintuz\u002Fskills","https:\u002F\u002Fgithub.com\u002Fmintuz","http:\u002F\u002Fwww.mintuz.com","Working at @monzo, Previously worked at Moonpig, @booking and @bbc","2026-11-10 23:06:05",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add mintuz\u002Fskills --skill principle-state-the-claim-first",{"tool":49,"command":50},"bunx","bunx skills add mintuz\u002Fskills --skill principle-state-the-claim-first",{"tool":52,"command":53},"pnpm","pnpm dlx skills add mintuz\u002Fskills --skill principle-state-the-claim-first","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmintuz\u002Fskills\u002Fblob\u002Fmain\u002Fsrc\u002Fprinciple\u002Fskills\u002Fprinciple-state-the-claim-first\u002FSKILL.md",true,[],[58,80,103,116,136,153],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":72,"publishedAt":29},"01M6C4PDGB6ZZWBS35N3DF7PZZ","xstate","WHEN React state changes in response to an external answer — async submit, in-flight or loading flags, retries, cancellation, polling, optimistic updates, stale responses — or to an interaction with an interruptible middle, such as a drag or a gesture; or WHEN building, reviewing, testing, or visualising XState 5 actors and @xstate\u002Freact integrations; NOT for a value one event sets completely, such as a text draft, a focus flag, or a plain open and closed toggle; models typed lifecycles and renders legal Mermaid stateDiagram-v2 charts.","https:\u002F\u002Fgithub.com\u002Fmintuz\u002Fskills\u002Fblob\u002Fmain\u002Fsrc\u002Fweb\u002Fskills\u002Fxstate\u002FSKILL.md",[64,69],{"categoryNo":65,"categoryName":66,"taxonomyType":67,"taxonomyTypeDesc":68},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",{"categoryNo":70,"categoryName":71,"taxonomyType":67,"taxonomyTypeDesc":68},"01JBSEEDCAT000000000000009","前端开发",[60,73,74,75,76,77,19,78,79],"integrations","react","text","open","Charts","mermaid","testing",{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":94,"publishedAt":29},"01M6C4PB6VVC2X19B63B7YNH0T","web-design","WHEN refining UI layout, typography, color, or polish; NOT code implementation; provides concise principles for intentional, legible design.","https:\u002F\u002Fgithub.com\u002Fmintuz\u002Fskills\u002Fblob\u002Fmain\u002Fsrc\u002Fweb\u002Fskills\u002Fweb-design\u002FSKILL.md",[86,89],{"categoryNo":87,"categoryName":88,"taxonomyType":67,"taxonomyTypeDesc":68},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":90,"categoryName":91,"taxonomyType":92,"taxonomyTypeDesc":93},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",[95,96,97,98,99,100,101,102],"design","web","web design","code","code implementation","ui","polish","typography",{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":110,"publishedAt":29},"01M6C4P8D92GJDA49V7X1CZXEV","tailwind","WHEN building design systems or component libraries with Tailwind CSS; covers design tokens, CVA patterns and dark mode.","https:\u002F\u002Fgithub.com\u002Fmintuz\u002Fskills\u002Fblob\u002Fmain\u002Fsrc\u002Fweb\u002Fskills\u002Ftailwind\u002FSKILL.md",[109],{"categoryNo":87,"categoryName":88,"taxonomyType":67,"taxonomyTypeDesc":68},[111,95,112,113,114,115],"Tailwind","css","component","libraries","design systems",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":125,"publishedAt":29},"01M6C4P5VWQ69Q32DA0634GDJY","refactoring","WHEN you need a plan to refactor, restructure, or clean up working code and the test result is known, either green or a recorded failing set; NOT for new feature delivery or any behavior change; reversible-baseline safety with prioritized improvements.","https:\u002F\u002Fgithub.com\u002Fmintuz\u002Fskills\u002Fblob\u002Fmain\u002Fsrc\u002Fweb\u002Fskills\u002Frefactoring\u002FSKILL.md",[122],{"categoryNo":123,"categoryName":124,"taxonomyType":67,"taxonomyTypeDesc":68},"01JBSEEDCAT000000000000007","代码审查",[118,126,127,128,129,130,131,132,133,23,134,98,135],"baseline","SET","plan","behavior","new feature","up","Safety","test","feature delivery","refactor",{"skillNo":137,"name":74,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":143,"publishedAt":29},"01M6C4P345APEFEX00J8T7QMXQ","WHEN building or changing React components, pages, hooks, effects, or apps, including edits to existing components; NOT for test code (react-testing) or styling (css, tailwind); enforces scalable architecture, state management, API layer, performance patterns.","https:\u002F\u002Fgithub.com\u002Fmintuz\u002Fskills\u002Fblob\u002Fmain\u002Fsrc\u002Fweb\u002Fskills\u002Freact\u002FSKILL.md",[141,142],{"categoryNo":65,"categoryName":66,"taxonomyType":67,"taxonomyTypeDesc":68},{"categoryNo":70,"categoryName":71,"taxonomyType":67,"taxonomyTypeDesc":68},[74,144,79,112,145,133,146,147,148,98,19,149,111,150,151,152],"react components","performance","components","architecture","state management","api","management","hooks","styling",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":161,"publishedAt":29},"01M6C4P0DK385QBG3B3S86TQV2","react-testing","WHEN testing React components\u002Fhooks\u002Fcontext with React Testing Library; NOT e2e; covers renderHook, providers, forms, and anti-patterns.","https:\u002F\u002Fgithub.com\u002Fmintuz\u002Fskills\u002Fblob\u002Fmain\u002Fsrc\u002Fweb\u002Fskills\u002Freact-testing\u002FSKILL.md",[159,160],{"categoryNo":65,"categoryName":66,"taxonomyType":67,"taxonomyTypeDesc":68},{"categoryNo":70,"categoryName":71,"taxonomyType":67,"taxonomyTypeDesc":68},[79,162,74,146,144,163,164,165,166,167,168,151],"react testing","testing library","library","Providers","e2e","context","anti-patterns"]