[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C9MXZ65CDD83BPYZK2M88T":3,"skill-same:01M7C9MXZ65CDD83BPYZK2M88T":50},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":28,"updatedAt":29,"install":30,"resources":43},"01M7C9MXZ65CDD83BPYZK2M88T","principle-worst-case-data",null,"NickDabizaz\u002Fskills","NickDabizaz","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F94162428?v=4","01M7C9GBYFDJ5SPS3HTM528ATS","Nick","01M7C9GBZ2NQ6YYQN9TJB9E1ZG",0,"MIT","https:\u002F\u002Fgithub.com\u002FNickDabizaz\u002Fskills\u002Fblob\u002Fmaster\u002Fskills\u002Fprinciple-worst-case-data\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: principle-worst-case-data\ndescription: Test UI against the realistic worst case of every value it renders: long names, unbreakable strings, missing fields, counts of one, empty and huge lists, long labels, non-Latin text, emoji. Use when stress-testing a component or hunting edge cases.\n---\n\n# Worst-Case Data\n\nDemo data is chosen to make the design look good: names that fit, counts that never need separators, every optional field filled. Undo that choice, one field at a time.\n\n## Rules\n\n- **Plausible or schema-backed, never random.** Each value is a realistic example or the actual limit from the validation schema, database column, or API contract. `\"aaaa...\"` proves nothing and gets dismissed. If you find no limit, say \"unbounded\" and test something believable.\n- **Change the data, not the component.** Enter the worst case through the same boundary the demo data does: the fixture, the mock, the props, the API stub. Never hand-edit markup to force a break.\n- **One dataset, many failures.** A single worst-case dataset should hit every applicable row at once; spread different failures across the first rows since that is what is on screen.\n- **Cover more than one dataset.** Empty (zero items), one (and every count exactly 1), and huge (the realistic upper bound, 1,000+ rows if unpaginated).\n- **Report before fixing.** Some breaks are design decisions. List them all with a proposed fix, then stop.\n\n## What to check\n\nAt the component's real container width, then at 320px and the widest layout; with browser zoom at 200%; in dark mode and RTL if supported.\n\n## Failure signatures\n\n| What you see | Cause | Fix |\n| --- | --- | --- |\n| Avatar squished to an oval | Flex child shrinking | `flex-shrink: 0` on fixed-size boxes |\n| Text overflows instead of wrapping | Flex\u002Fgrid child `min-width: auto` | `min-width: 0` on the text column |\n| Email or URL runs past the edge | No break opportunities | `overflow-wrap: anywhere` |\n| Trailing action pushed off-screen | Middle content took the space | `min-width: 0` on the middle, `flex-shrink: 0` on the action |\n| Badge wraps to two lines | Badge allowed to shrink | `white-space: nowrap; flex-shrink: 0` |\n| Wrong initials, broken emoji initial | Naive `split(' ')[0][0]` | Grapheme-aware initials, first plus last word, fallback icon |\n| Orphaned dash or empty line | Placeholder for a missing field | Omit the line or reserve its height |\n| \"1 members\", \"0 member\" | Hardcoded plural | `Intl.PluralRules` |\n| Numbers jitter, columns misalign | Proportional figures | `font-variant-numeric: tabular-nums` |\n| `NaNs`, raw digits | Raw number rendered | `Intl.NumberFormat`, guard null |\n| Diacritics or tall scripts clipped | Tight line-height with overflow hidden | Looser line-height or no clipping |\n| Broken-image icon | No `onError` fallback | Fall back to initials |\n| Long translated label overflows | Fixed-width control | Width from content with a `min-width` |\n| 1,000 rows stutter | Every row rendered | Virtualize or paginate |\n\n## Truncate, wrap, or clamp\n\nDecide per field, not globally:\n\n- **Wrap** what identifies something: names, titles in a detail view.\n- **Truncate at the end** for secondary metadata: role, description, preview. Pair with a way to see the full value.\n- **Truncate in the middle** when items differ at the end: file names, emails sharing a domain, paths, hashes.\n- **Clamp** multi-line previews.\n- **Never truncate** numbers, amounts, or dates the user compares.\n","# Worst-Case Data\n\nDemo data is chosen to make the design look good: names that fit, counts that never need separators, every optional field filled. Undo that choice, one field at a time.\n\n## Rules\n\n- **Plausible or schema-backed, never random.** Each value is a realistic example or the actual limit from the validation schema, database column, or API contract. `\"aaaa...\"` proves nothing and gets dismissed. If you find no limit, say \"unbounded\" and test something believable.\n- **Change the data, not the component.** Enter the worst case through the same boundary the demo data does: the fixture, the mock, the props, the API stub. Never hand-edit markup to force a break.\n- **One dataset, many failures.** A single worst-case dataset should hit every applicable row at once; spread different failures across the first rows since that is what is on screen.\n- **Cover more than one dataset.** Empty (zero items), one (and every count exactly 1), and huge (the realistic upper bound, 1,000+ rows if unpaginated).\n- **Report before fixing.** Some breaks are design decisions. List them all with a proposed fix, then stop.\n\n## What to check\n\nAt the component's real container width, then at 320px and the widest layout; with browser zoom at 200%; in dark mode and RTL if supported.\n\n## Failure signatures\n\n| What you see | Cause | Fix |\n| --- | --- | --- |\n| Avatar squished to an oval | Flex child shrinking | `flex-shrink: 0` on fixed-size boxes |\n| Text overflows instead of wrapping | Flex\u002Fgrid child `min-width: auto` | `min-width: 0` on the text column |\n| Email or URL runs past the edge | No break opportunities | `overflow-wrap: anywhere` |\n| Trailing action pushed off-screen | Middle content took the space | `min-width: 0` on the middle, `flex-shrink: 0` on the action |\n| Badge wraps to two lines | Badge allowed to shrink | `white-space: nowrap; flex-shrink: 0` |\n| Wrong initials, broken emoji initial | Naive `split(' ')[0][0]` | Grapheme-aware initials, first plus last word, fallback icon |\n| Orphaned dash or empty line | Placeholder for a missing field | Omit the line or reserve its height |\n| \"1 members\", \"0 member\" | Hardcoded plural | `Intl.PluralRules` |\n| Numbers jitter, columns misalign | Proportional figures | `font-variant-numeric: tabular-nums` |\n| `NaNs`, raw digits | Raw number rendered | `Intl.NumberFormat`, guard null |\n| Diacritics or tall scripts clipped | Tight line-height with overflow hidden | Looser line-height or no clipping |\n| Broken-image icon | No `onError` fallback | Fall back to initials |\n| Long translated label overflows | Fixed-width control | Width from content with a `min-width` |\n| 1,000 rows stutter | Every row rendered | Virtualize or paginate |\n\n## Truncate, wrap, or clamp\n\nDecide per field, not globally:\n\n- **Wrap** what identifies something: names, titles in a detail view.\n- **Truncate at the end** for secondary metadata: role, description, preview. Pair with a way to see the full value.\n- **Truncate in the middle** when items differ at the end: file names, emails sharing a domain, paths, hashes.\n- **Clamp** multi-line previews.\n- **Never truncate** numbers, amounts, or dates the user compares.\n",{},"master","51ae6656d3d7922a9936dbec1141eabbaebd95ba","skills\u002Fprinciple-worst-case-data","https:\u002F\u002Fgithub.com\u002FNickDabizaz\u002Fskills","https:\u002F\u002Fgithub.com\u002FNickDabizaz","Software Engineer","2026-10-11 18:38:24",{"source":7,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add NickDabizaz\u002Fskills --skill principle-worst-case-data",{"tool":36,"command":37},"bunx","bunx skills add NickDabizaz\u002Fskills --skill principle-worst-case-data",{"tool":39,"command":40},"pnpm","pnpm dlx skills add NickDabizaz\u002Fskills --skill principle-worst-case-data","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FNickDabizaz\u002Fskills\u002Fblob\u002Fmaster\u002Fskills\u002Fprinciple-worst-case-data\u002FSKILL.md",true,[44],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"agents\u002Fopenai.yaml","REFERENCE","参考文档",216,"https:\u002F\u002Fgithub.com\u002FNickDabizaz\u002Fskills\u002Fblob\u002Fmaster\u002Fskills\u002Fprinciple-worst-case-data\u002Fagents\u002Fopenai.yaml",[51,58,65,72,79,86],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M7C9R9N4GN60KJVQQ31WPST7","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002FNickDabizaz\u002Fskills\u002Fblob\u002Fmaster\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M7C9R63ZKDQXGV52K28SPDN2","wizard","Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.","https:\u002F\u002Fgithub.com\u002FNickDabizaz\u002Fskills\u002Fblob\u002Fmaster\u002Fskills\u002Fwizard\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M7C9R12DH4ME1R65C2Y2MDJY","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\u002FNickDabizaz\u002Fskills\u002Fblob\u002Fmaster\u002Fskills\u002Fwhy\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M7C9QY62QQB3EBC8RSPMD8QF","wayfinder","Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.","https:\u002F\u002Fgithub.com\u002FNickDabizaz\u002Fskills\u002Fblob\u002Fmaster\u002Fskills\u002Fwayfinder\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7C9QW7VA5BEN6DFK2ZBKPEK","unslop","Cut AI tells from any writing. Must always apply.","https:\u002F\u002Fgithub.com\u002FNickDabizaz\u002Fskills\u002Fblob\u002Fmaster\u002Fskills\u002Funslop\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":18},"01M7C9QPDH4FGSMFTFN3P9BQ2M","triage","Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.","https:\u002F\u002Fgithub.com\u002FNickDabizaz\u002Fskills\u002Fblob\u002Fmaster\u002Fskills\u002Ftriage\u002FSKILL.md",[],[]]