[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C4HXT3ER0Q3F24C7RG8W6M":3,"skill-same:01M6C4HXT3ER0Q3F24C7RG8W6M":54},{"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":26,"linkOnly":27,"markdownContent":28,"markdownBody":29,"frontMatter":30,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":37,"ownerDescription":38,"updatedAt":39,"install":40,"resources":53},"01M6C4HXT3ER0Q3F24C7RG8W6M","principle-clean-up-what-you-started",null,"WHEN tearing down after a run, verification or failed attempt; NOT for making reruns converge or reverting unrelated edits; releases only resources this run created and keeps the evidence.","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-clean-up-what-you-started\u002FSKILL.md",[],[19,20,21,22,23,24,25],"up","principle clean up what you started","run","verification","only","evidence","unrelated","2026-11-10 10:12:30",false,"---\nname: principle-clean-up-what-you-started\ndescription: \"WHEN tearing down after a run, verification or failed attempt; NOT for making reruns converge or reverting unrelated edits; releases only resources this run created and keeps the evidence.\"\n---\n\n# Clean Up What You Started\n\nRelease what this run created and nothing else; the proof outlives the teardown.\n\n1. Record each resource as you start it: process ID, port, container, device, account, branch or scratch path.\n2. Before releasing a resource, check it is still yours: same process ID and command, port, container or device ID. Kill what you started; never kill or delete by name or pattern. On a shared instance, clean the run's residue, not the instance; a pre-existing service, device or volume stays.\n3. Remove instances and scratch state, never the evidence. Keep proof artifacts such as screenshots, logs and result bundles at a named location, and confirm they still exist after teardown. A cleanup that deletes the proof has failed.\n4. Clean up after failure too. Release each failed attempt's residue before retrying, so broken attempts do not strand processes, ports or devices. Give a retry new output paths rather than overwriting earlier evidence.\n\nDistinct from: `principle-preserve-unrelated-work` (a diff or git action touches anything outside the request), `principle-make-operations-idempotent` (operations can repeat or resume), `principle-stay-in-scope` (an action falls outside the grant).\n\nDone: each owned resource was released after an ownership check; nothing the run did not create was touched; proof artifacts still exist at their named location.\n","# Clean Up What You Started\n\nRelease what this run created and nothing else; the proof outlives the teardown.\n\n1. Record each resource as you start it: process ID, port, container, device, account, branch or scratch path.\n2. Before releasing a resource, check it is still yours: same process ID and command, port, container or device ID. Kill what you started; never kill or delete by name or pattern. On a shared instance, clean the run's residue, not the instance; a pre-existing service, device or volume stays.\n3. Remove instances and scratch state, never the evidence. Keep proof artifacts such as screenshots, logs and result bundles at a named location, and confirm they still exist after teardown. A cleanup that deletes the proof has failed.\n4. Clean up after failure too. Release each failed attempt's residue before retrying, so broken attempts do not strand processes, ports or devices. Give a retry new output paths rather than overwriting earlier evidence.\n\nDistinct from: `principle-preserve-unrelated-work` (a diff or git action touches anything outside the request), `principle-make-operations-idempotent` (operations can repeat or resume), `principle-stay-in-scope` (an action falls outside the grant).\n\nDone: each owned resource was released after an ownership check; nothing the run did not create was touched; proof artifacts still exist at their named location.\n",{"name":5,"description":7},"main","4e0a12b5048eac78a3ace4feee657873cdd530ef","src\u002Fprinciple\u002Fskills\u002Fprinciple-clean-up-what-you-started",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":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add mintuz\u002Fskills --skill principle-clean-up-what-you-started",{"tool":46,"command":47},"bunx","bunx skills add mintuz\u002Fskills --skill principle-clean-up-what-you-started",{"tool":49,"command":50},"pnpm","pnpm dlx skills add mintuz\u002Fskills --skill principle-clean-up-what-you-started","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmintuz\u002Fskills\u002Fblob\u002Fmain\u002Fsrc\u002Fprinciple\u002Fskills\u002Fprinciple-clean-up-what-you-started\u002FSKILL.md",true,[],[55,63,86,109,122,142],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":62},"01M7B66DH3EX8C4A3JBAPB1NCY","lens-review","USE WHEN reviewing uncommitted work, a branch diff or a pull request through several installed skills, each run as its own review lens; NOT WHEN you need one cold second opinion (double-check), a verdict against a specification (acceptance-review) or the built-in fixed-lens \u002Fcode-review. Runs each lens in an isolated read-only agent, has a separate agent try to refute every finding, and returns one severity-ranked report.","https:\u002F\u002Fgithub.com\u002Fmintuz\u002Fskills\u002Fblob\u002Fmain\u002Fsrc\u002Fcore\u002Fskills\u002Flens-review\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"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":77,"publishedAt":26},"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",[69,74],{"categoryNo":70,"categoryName":71,"taxonomyType":72,"taxonomyTypeDesc":73},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",{"categoryNo":75,"categoryName":76,"taxonomyType":72,"taxonomyTypeDesc":73},"01JBSEEDCAT000000000000009","前端开发",[65,78,79,80,81,82,83,84,85],"text","state","integrations","Charts","mermaid","testing","open","react",{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":100,"publishedAt":26},"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",[92,97],{"categoryNo":93,"categoryName":94,"taxonomyType":95,"taxonomyTypeDesc":96},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",{"categoryNo":98,"categoryName":99,"taxonomyType":72,"taxonomyTypeDesc":73},"01JBSEEDCAT000000000000015","视觉设计",[101,102,103,104,105,106,107,108],"web","design","web design","polish","code implementation","ui","typography","code",{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":116,"publishedAt":26},"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",[115],{"categoryNo":98,"categoryName":99,"taxonomyType":72,"taxonomyTypeDesc":73},[117,118,119,120,102,121],"Tailwind","libraries","component","css","design systems",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":131,"publishedAt":26},"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",[128],{"categoryNo":129,"categoryName":130,"taxonomyType":72,"taxonomyTypeDesc":73},"01JBSEEDCAT000000000000007","代码审查",[124,132,133,134,135,19,108,136,137,138,139,140,141],"refactor","baseline","Safety","SET","feature delivery","test","new feature","plan","change","behavior",{"skillNo":143,"name":85,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":149,"publishedAt":26},"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",[147,148],{"categoryNo":70,"categoryName":71,"taxonomyType":72,"taxonomyTypeDesc":73},{"categoryNo":75,"categoryName":76,"taxonomyType":72,"taxonomyTypeDesc":73},[85,150,120,117,151,83,152,108,153,154,155,156,79,137,157,158],"state management","performance","hooks","components","architecture","api","react components","styling","management"]