[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BVNMRCS0BAV1NZ3Y2V0V2W":3,"skill-same:01M7BVNMRCS0BAV1NZ3Y2V0V2W":44},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7BVNMRCS0BAV1NZ3Y2V0V2W","principle-test-against-real-shapes",null,"Apply when writing a test, a seed, a fixture, or a migration, or when checking a change before it ships. Exercise the data shapes production actually holds (old rows, missing settings, several tenants, large numbers, rows another client wrote), not only the clean fixture the change was written against.","quotegoat-ux\u002Fbleat","quotegoat-ux","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F279744457?v=4","01M7BVHCY3V27VFM64ZVC9RRKG","Justin Alvarado","01M7BVHCYQ0A0KV5BE406H99D7",0,"MIT","https:\u002F\u002Fgithub.com\u002Fquotegoat-ux\u002Fbleat\u002Fblob\u002Fmain\u002Fplugins\u002Fbleat\u002Fskills\u002Fprinciple-test-against-real-shapes\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: principle-test-against-real-shapes\ndescription: \"Apply when writing a test, a seed, a fixture, or a migration, or when checking a change before it ships. Exercise the data shapes production actually holds (old rows, missing settings, several tenants, large numbers, rows another client wrote), not only the clean fixture the change was written against.\"\nuser-invocable: false\n---\n\n# Test Against Real Shapes\n\nA change written against a clean fixture passes against that fixture. Production holds rows the fixture never had: records made before a column existed, an account with no settings, two tenants sharing a catalog, numbers in the millions, duplicates an old bug left behind, rows written by another client. Most bugs that reach a shared environment live in those shapes.\n\n**Why:** a green test on the happy fixture proves the change works on data nobody has. The failure shows up only where real data lives, after the merge.\n\n**The pattern:**\n- **Seed the odd shapes on purpose.** Keep a fixture that carries the shapes production has: missing optional settings, several tenants or subsidiaries, records made through every write path (UI, API, agents, imports), very large and very small values, one empty parent, and more rows than one page of every list the change reads. A picker, filter, export or count built from the first page is wrong for every account past that page.\n- **Run a migration against data that already breaks it.** A new constraint, unique index, or NOT NULL column meets existing rows. Seed a violating row, and make the migration clean, backfill, or refuse with a clear message before it adds the constraint.\n- **Run a new rule under every mode the domain names.** When a change adds a rule to shared logic, list the variants and modes its inputs can take: each value of an enum, each override tier, each kind of parent or child, and the record that lacks the part the rule assumes. Test the rule's definition under each one, with the expected value taken from the domain's own definition. A rule that is right for the case it was written for and wrong for a mode nobody listed is the most common cross-feature bug.\n- **Check a number everywhere it shows.** When a change touches a value that several screens, exports, or documents display, assert the same value in each place for the same record.\n- **Ask where the data came from.** Before calling a bug \"can't reproduce\", find out which client wrote the record and reproduce with a record written the same way.\n\n**The tests:**\n- \"Which rows in production would this change see that my fixture does not have?\" Name them, then add them.\n- \"Would this migration succeed on yesterday's data, not just an empty database?\"\n- \"Which modes and variants of these inputs did I not run the new rule under?\"\n\nDistinct from [Test Behavior, Not Implementation](..\u002Fprinciple-test-behavior-not-implementation\u002FSKILL.md), which is about what a test asserts. This one is about the data it runs on.\n","# Test Against Real Shapes\n\nA change written against a clean fixture passes against that fixture. Production holds rows the fixture never had: records made before a column existed, an account with no settings, two tenants sharing a catalog, numbers in the millions, duplicates an old bug left behind, rows written by another client. Most bugs that reach a shared environment live in those shapes.\n\n**Why:** a green test on the happy fixture proves the change works on data nobody has. The failure shows up only where real data lives, after the merge.\n\n**The pattern:**\n- **Seed the odd shapes on purpose.** Keep a fixture that carries the shapes production has: missing optional settings, several tenants or subsidiaries, records made through every write path (UI, API, agents, imports), very large and very small values, one empty parent, and more rows than one page of every list the change reads. A picker, filter, export or count built from the first page is wrong for every account past that page.\n- **Run a migration against data that already breaks it.** A new constraint, unique index, or NOT NULL column meets existing rows. Seed a violating row, and make the migration clean, backfill, or refuse with a clear message before it adds the constraint.\n- **Run a new rule under every mode the domain names.** When a change adds a rule to shared logic, list the variants and modes its inputs can take: each value of an enum, each override tier, each kind of parent or child, and the record that lacks the part the rule assumes. Test the rule's definition under each one, with the expected value taken from the domain's own definition. A rule that is right for the case it was written for and wrong for a mode nobody listed is the most common cross-feature bug.\n- **Check a number everywhere it shows.** When a change touches a value that several screens, exports, or documents display, assert the same value in each place for the same record.\n- **Ask where the data came from.** Before calling a bug \"can't reproduce\", find out which client wrote the record and reproduce with a record written the same way.\n\n**The tests:**\n- \"Which rows in production would this change see that my fixture does not have?\" Name them, then add them.\n- \"Would this migration succeed on yesterday's data, not just an empty database?\"\n- \"Which modes and variants of these inputs did I not run the new rule under?\"\n\nDistinct from [Test Behavior, Not Implementation](..\u002Fprinciple-test-behavior-not-implementation\u002FSKILL.md), which is about what a test asserts. This one is about the data it runs on.\n",{"name":5,"description":7,"user-invocable":20},"main","f499b102d6b17c905e2c9e27992b2670bf2a2ee0","plugins\u002Fbleat\u002Fskills\u002Fprinciple-test-against-real-shapes","https:\u002F\u002Fgithub.com\u002Fquotegoat-ux\u002Fbleat","https:\u002F\u002Fgithub.com\u002Fquotegoat-ux","2026-11-11 05:16:43",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add quotegoat-ux\u002Fbleat --skill principle-test-against-real-shapes",{"tool":36,"command":37},"bunx","bunx skills add quotegoat-ux\u002Fbleat --skill principle-test-against-real-shapes",{"tool":39,"command":40},"pnpm","pnpm dlx skills add quotegoat-ux\u002Fbleat --skill principle-test-against-real-shapes","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fquotegoat-ux\u002Fbleat\u002Fblob\u002Fmain\u002Fplugins\u002Fbleat\u002Fskills\u002Fprinciple-test-against-real-shapes\u002FSKILL.md",true,[],[45,52,59,66,73,80],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":19},"01M7BVQ7YDABHNMZJXDTPEASX5","why","Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available MCPs and queries each evidence category (source control, issue tracker, long-form docs, real-time chat, infrastructure observability, error tracking, product analytics warehouse) in parallel, then returns a cited read on decisions and tradeoffs. Use how for runtime behavior.","https:\u002F\u002Fgithub.com\u002Fquotegoat-ux\u002Fbleat\u002Fblob\u002Fmain\u002Fplugins\u002Fbleat\u002Fskills\u002Fwhy\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7BVQ652PNKM7P3GJNNGAGZT","what-did-i-get-done","Summarize authored commits over a user-specified time period into a concise update","https:\u002F\u002Fgithub.com\u002Fquotegoat-ux\u002Fbleat\u002Fblob\u002Fmain\u002Fplugins\u002Fbleat\u002Fskills\u002Fwhat-did-i-get-done\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7BVQ4T0C5BVKRFD8KFKQMEY","unslop","Cut AI tells from any writing.","https:\u002F\u002Fgithub.com\u002Fquotegoat-ux\u002Fbleat\u002Fblob\u002Fmain\u002Fplugins\u002Fbleat\u002Fskills\u002Funslop\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7BVQ324D14NMF7K9H9WAVXF","typescript-best-practices","TypeScript best practices. Use when reading or editing any .ts or .tsx file.","https:\u002F\u002Fgithub.com\u002Fquotegoat-ux\u002Fbleat\u002Fblob\u002Fmain\u002Fplugins\u002Fbleat\u002Fskills\u002Ftypescript-best-practices\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7BVQ0041D0YMD9DBCRAW18C","thermo-nuclear-code-quality-review","Run an extremely strict maintainability review for abstraction quality, giant files, and spaghetti-condition growth. Use for a thermo-nuclear code quality review, thermonuclear review, deep code quality audit, or especially harsh maintainability review.","https:\u002F\u002Fgithub.com\u002Fquotegoat-ux\u002Fbleat\u002Fblob\u002Fmain\u002Fplugins\u002Fbleat\u002Fskills\u002Fthermo-nuclear-code-quality-review\u002FSKILL.md",[],[],{"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":86,"publishedAt":19},"01M7BVPWB83H4QB9DDBE3NJKKH","technical-writing","Layered technical-writing standard: Diátaxis structure, Google developer style sentences, STE instruction rules, Global English syntax. Use for \u002Ftechnical-writing or when writing or reviewing docs, RFCs, readmes, PR descriptions, or commit messages.","https:\u002F\u002Fgithub.com\u002Fquotegoat-ux\u002Fbleat\u002Fblob\u002Fmain\u002Fplugins\u002Fbleat\u002Fskills\u002Ftechnical-writing\u002FSKILL.md",[],[]]