[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C4JFHGX9AF97KWT7ZBJSE0":3,"skill-same:01M6C4JFHGX9AF97KWT7ZBJSE0":53},{"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":25,"linkOnly":26,"markdownContent":27,"markdownBody":28,"frontMatter":29,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":36,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M6C4JFHGX9AF97KWT7ZBJSE0","principle-fix-the-bar-first",null,"WHEN comparing, racing, iterating on or reviewing candidates, existing or new; NOT for a gate that has already failed or for choosing which checks to run; records the selection criteria before evaluation and holds them after results.","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-fix-the-bar-first\u002FSKILL.md",[],[19,20,21,22,23,24],"first","fix","principle fix the bar first","run","Evaluation","results","2026-11-10 10:12:30",false,"---\nname: principle-fix-the-bar-first\ndescription: \"WHEN comparing, racing, iterating on or reviewing candidates, existing or new; NOT for a gate that has already failed or for choosing which checks to run; records the selection criteria before evaluation and holds them after results.\"\n---\n\n# Fix the bar first\n\nDecide how candidates will be judged before you see how any of them perform.\n\n1. Before generating, comparing, racing, iterating on or reviewing candidates, record the bar: a few concrete, gradeable criteria for success on this task, any thresholds, and the selection rule (first pass, rank all or best-of).\n2. Derive the criteria from the request, requirements or a supplied reference, never from a candidate. A draft, diff or proposal cannot define the bar it is judged against: when no independent bar exists, withhold the verdict and ask for one.\n3. Do not change criteria, weights, thresholds or the selection rule after seeing results. A preference that appears after results is a candidate for a future bar, recorded before the next evaluation runs, not a reason to re-score finished ones.\n4. When results were seen before any bar existed, ground the bar in sources written independently of the results and state that limitation in the verdict.\n\nDistinct from: `principle-never-weaken-a-check` (an existing gate fails), `principle-judge-with-fresh-eyes` (who gives the verdict), `principle-exhaust-the-design-space` (whether to generate alternatives), `principle-define-done` (a completion criterion for one deliverable).\n\nDone: criteria were recorded before evaluation began and were not altered after results.\n","# Fix the bar first\n\nDecide how candidates will be judged before you see how any of them perform.\n\n1. Before generating, comparing, racing, iterating on or reviewing candidates, record the bar: a few concrete, gradeable criteria for success on this task, any thresholds, and the selection rule (first pass, rank all or best-of).\n2. Derive the criteria from the request, requirements or a supplied reference, never from a candidate. A draft, diff or proposal cannot define the bar it is judged against: when no independent bar exists, withhold the verdict and ask for one.\n3. Do not change criteria, weights, thresholds or the selection rule after seeing results. A preference that appears after results is a candidate for a future bar, recorded before the next evaluation runs, not a reason to re-score finished ones.\n4. When results were seen before any bar existed, ground the bar in sources written independently of the results and state that limitation in the verdict.\n\nDistinct from: `principle-never-weaken-a-check` (an existing gate fails), `principle-judge-with-fresh-eyes` (who gives the verdict), `principle-exhaust-the-design-space` (whether to generate alternatives), `principle-define-done` (a completion criterion for one deliverable).\n\nDone: criteria were recorded before evaluation began and were not altered after results.\n",{"name":5,"description":7},"main","4e0a12b5048eac78a3ace4feee657873cdd530ef","src\u002Fprinciple\u002Fskills\u002Fprinciple-fix-the-bar-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-13 19:21:11",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add mintuz\u002Fskills --skill principle-fix-the-bar-first",{"tool":45,"command":46},"bunx","bunx skills add mintuz\u002Fskills --skill principle-fix-the-bar-first",{"tool":48,"command":49},"pnpm","pnpm dlx skills add mintuz\u002Fskills --skill principle-fix-the-bar-first","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmintuz\u002Fskills\u002Fblob\u002Fmain\u002Fsrc\u002Fprinciple\u002Fskills\u002Fprinciple-fix-the-bar-first\u002FSKILL.md",true,[],[54,77,100,113,134,151],{"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":68,"publishedAt":25},"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",[60,65],{"categoryNo":61,"categoryName":62,"taxonomyType":63,"taxonomyTypeDesc":64},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",{"categoryNo":66,"categoryName":67,"taxonomyType":63,"taxonomyTypeDesc":64},"01JBSEEDCAT000000000000009","前端开发",[56,69,70,71,72,73,74,75,76],"react","text","state","integrations","Charts","mermaid","testing","open",{"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":91,"publishedAt":25},"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",[83,88],{"categoryNo":84,"categoryName":85,"taxonomyType":86,"taxonomyTypeDesc":87},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",{"categoryNo":89,"categoryName":90,"taxonomyType":63,"taxonomyTypeDesc":64},"01JBSEEDCAT000000000000015","视觉设计",[92,93,94,95,96,97,98,99],"web","design","web design","code implementation","polish","ui","typography","code",{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":107,"publishedAt":25},"01M6C4P8D92GJDA49V7X1CZXEV","tailwind","USE WHEN writing, fixing or reviewing styling in a project that uses Tailwind CSS, even a one-class change or a request that does not name Tailwind: colours, focus rings, spacing, class names chosen by a prop, map or CVA variants, theme tokens and dark mode in the Tailwind stylesheet or tailwind.config, setup or upgrades (if unsure whether the project uses Tailwind, check package.json or the main stylesheet first); NOT WHEN writing plain CSS or Sass in a project without Tailwind; produces class names Tailwind can find, syntax for the installed major version, visible focus indicators, and no unrequested dependency or invented brand value.","https:\u002F\u002Fgithub.com\u002Fmintuz\u002Fskills\u002Fblob\u002Fmain\u002Fsrc\u002Fweb\u002Fskills\u002Ftailwind\u002FSKILL.md",[106],{"categoryNo":89,"categoryName":90,"taxonomyType":63,"taxonomyTypeDesc":64},[108,109,110,111,93,112],"Tailwind","libraries","component","css","design systems",{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":122,"publishedAt":25},"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",[119],{"categoryNo":120,"categoryName":121,"taxonomyType":63,"taxonomyTypeDesc":64},"01JBSEEDCAT000000000000007","代码审查",[115,123,124,125,126,127,128,129,130,131,99,132,133],"Safety","baseline","refactor","behavior","change","plan","new feature","SET","up","feature delivery","test",{"skillNo":135,"name":69,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":141,"publishedAt":25},"01M6C4P345APEFEX00J8T7QMXQ","USE WHEN changing the logic, data, props, state, Effects or rendered text of a React component, hook or page, even a one-line change; NOT WHEN the request is styling only (class names, Tailwind, CSS, dark mode, spacing, shadows) or tests only, or when it models submit, in-flight, loading, retry or failure states, even for a named React form (xstate covers that, including its React wiring); applies React 19 composition, state, Effect, structure, API and performance rules with only the project's installed libraries.","https:\u002F\u002Fgithub.com\u002Fmintuz\u002Fskills\u002Fblob\u002Fmain\u002Fsrc\u002Fweb\u002Fskills\u002Freact\u002FSKILL.md",[139,140],{"categoryNo":61,"categoryName":62,"taxonomyType":63,"taxonomyTypeDesc":64},{"categoryNo":66,"categoryName":67,"taxonomyType":63,"taxonomyTypeDesc":64},[69,99,111,108,142,75,143,144,145,146,147,71,133,148,149,150],"performance","hooks","components","architecture","api","react components","state management","styling","management",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":159,"publishedAt":25},"01M6C4P0DK385QBG3B3S86TQV2","react-testing","USE WHEN writing, fixing or reviewing a React Testing Library test for a component, hook or context provider, even one small test, or when asked for an end-to-end journey inside a Vitest or React Testing Library suite; NOT WHEN changing the component itself (react), testing XState actors or @xstate\u002Freact (xstate), or writing a Playwright or Cypress test; covers renderHook, providers, async results, forms and false-pass anti-patterns, and declines end-to-end journeys with the testable slices.","https:\u002F\u002Fgithub.com\u002Fmintuz\u002Fskills\u002Fblob\u002Fmain\u002Fsrc\u002Fweb\u002Fskills\u002Freact-testing\u002FSKILL.md",[157,158],{"categoryNo":61,"categoryName":62,"taxonomyType":63,"taxonomyTypeDesc":64},{"categoryNo":66,"categoryName":67,"taxonomyType":63,"taxonomyTypeDesc":64},[160,75,69,161,143,162,163,164,144,165,166,147],"react testing","anti-patterns","e2e","library","testing library","Providers","context"]