[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DETYVQNPNGXC094DT0PTDF":3,"skill-same:01M7DETYVQNPNGXC094DT0PTDF":46},{"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":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7DETYVQNPNGXC094DT0PTDF","web-design",null,"Use when designing or building web UI, frontends, or styling — covers personal web design preferences, fluid layout, and Alpine.js","kejadlen\u002Fdotfiles","kejadlen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F8639?v=4","01M7DEPV4SN2WBW50SBF2KG7D1","Alpha Chen","01M7DEPV5FBX0YWCBKEVHKT8E2",10,"MIT","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fweb-design\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: web-design\ndescription: Use when designing or building web UI, frontends, or styling — covers personal web design preferences, fluid layout, and Alpine.js\n---\n\n# Web design\n\nThese are personal defaults for building web interfaces. When a project\nhas its own design system, component library, or established conventions,\nfollow those instead.\n\nFor semantic markup, browser support, accessibility, and validation,\nuse `web-standards`.\n\n## CSS\n\nmatklad's [CSS: the unavoidable bad\nparts](https:\u002F\u002Fmatklad.github.io\u002F2026\u002F06\u002F04\u002Fcss-unavoidable-bad-parts.html)\ncovers more ground — classless CSS, resets, flexbox, and gotchas like\nmargin collapsing. Worth reading and weighing case by case, not adopting\nwholesale.\n\n## Fluid layout with Utopia\n\nPrefer fluid type and space scales over fixed breakpoint jumps. Sizes\ninterpolate continuously between a minimum and maximum viewport with CSS\n`clamp()`, so layouts scale smoothly instead of snapping at media-query\nboundaries.\n\nWhy fluid over breakpoints:\n\n- Type and spacing stay proportional at every viewport width, not just\n  the handful you picked.\n- Fewer media queries to write and maintain.\n- One coherent scale ties heading sizes, body text, and spacing\n  together.\n\nGenerate the scales with the [Utopia](https:\u002F\u002Futopia.fyi) calculators\nrather than hand-writing `clamp()` values:\n\n- Type scale: \u003Chttps:\u002F\u002Futopia.fyi\u002Ftype\u002Fcalculator>\n- Space scale: \u003Chttps:\u002F\u002Futopia.fyi\u002Fspace\u002Fcalculator>\n\nExpose each step as a CSS custom property (`--step-0`, `--step-1`,\n`--space-s`, `--space-m`, and so on) and reference the properties\nthroughout, so the scale lives in one place.\n\n## Interactivity with Alpine.js\n\nPrefer [Alpine.js](https:\u002F\u002Falpinejs.dev) for interactivity on\nserver-rendered pages. Alpine adds behavior through HTML attributes\n(`x-data`, `x-show`, `x-on`) with no build step, which suits sites where\nthe markup already comes from the server and only needs light, local\ninteractivity.\n\nReach for Alpine when:\n\n- The page is server-rendered and needs sprinkles of behavior\n  (dropdowns, toggles, tabs, small stateful widgets).\n- A full SPA framework would be more machinery than the problem\n  warrants.\n- You want behavior to live next to the markup it controls.\n\nPrefer a heavier framework when the UI is genuinely\napplication-shaped — substantial client-side state, routing, or complex\ncomponent trees that Alpine's directive model would strain.\n\nReferences:\n\n- Docs and directives: \u003Chttps:\u002F\u002Falpinejs.dev\u002Fstart-here>\n- Plugins (persist, focus, mask, etc.): \u003Chttps:\u002F\u002Falpinejs.dev\u002Fplugins>\n\n---\n\n*This is a self-improving skill. If you used it and it came up short — a missing command, flag, gotcha, or workflow — invoke the `self-improving-skills` skill and follow it before you finish.*\n","# Web design\n\nThese are personal defaults for building web interfaces. When a project\nhas its own design system, component library, or established conventions,\nfollow those instead.\n\nFor semantic markup, browser support, accessibility, and validation,\nuse `web-standards`.\n\n## CSS\n\nmatklad's [CSS: the unavoidable bad\nparts](https:\u002F\u002Fmatklad.github.io\u002F2026\u002F06\u002F04\u002Fcss-unavoidable-bad-parts.html)\ncovers more ground — classless CSS, resets, flexbox, and gotchas like\nmargin collapsing. Worth reading and weighing case by case, not adopting\nwholesale.\n\n## Fluid layout with Utopia\n\nPrefer fluid type and space scales over fixed breakpoint jumps. Sizes\ninterpolate continuously between a minimum and maximum viewport with CSS\n`clamp()`, so layouts scale smoothly instead of snapping at media-query\nboundaries.\n\nWhy fluid over breakpoints:\n\n- Type and spacing stay proportional at every viewport width, not just\n  the handful you picked.\n- Fewer media queries to write and maintain.\n- One coherent scale ties heading sizes, body text, and spacing\n  together.\n\nGenerate the scales with the [Utopia](https:\u002F\u002Futopia.fyi) calculators\nrather than hand-writing `clamp()` values:\n\n- Type scale: \u003Chttps:\u002F\u002Futopia.fyi\u002Ftype\u002Fcalculator>\n- Space scale: \u003Chttps:\u002F\u002Futopia.fyi\u002Fspace\u002Fcalculator>\n\nExpose each step as a CSS custom property (`--step-0`, `--step-1`,\n`--space-s`, `--space-m`, and so on) and reference the properties\nthroughout, so the scale lives in one place.\n\n## Interactivity with Alpine.js\n\nPrefer [Alpine.js](https:\u002F\u002Falpinejs.dev) for interactivity on\nserver-rendered pages. Alpine adds behavior through HTML attributes\n(`x-data`, `x-show`, `x-on`) with no build step, which suits sites where\nthe markup already comes from the server and only needs light, local\ninteractivity.\n\nReach for Alpine when:\n\n- The page is server-rendered and needs sprinkles of behavior\n  (dropdowns, toggles, tabs, small stateful widgets).\n- A full SPA framework would be more machinery than the problem\n  warrants.\n- You want behavior to live next to the markup it controls.\n\nPrefer a heavier framework when the UI is genuinely\napplication-shaped — substantial client-side state, routing, or complex\ncomponent trees that Alpine's directive model would strain.\n\nReferences:\n\n- Docs and directives: \u003Chttps:\u002F\u002Falpinejs.dev\u002Fstart-here>\n- Plugins (persist, focus, mask, etc.): \u003Chttps:\u002F\u002Falpinejs.dev\u002Fplugins>\n\n---\n\n*This is a self-improving skill. If you used it and it came up short — a missing command, flag, gotcha, or workflow — invoke the `self-improving-skills` skill and follow it before you finish.*\n",{"name":5,"description":7},"main","54400d2fb3ebb925baf35311c647aaa31e7a5222","ai\u002Fskills\u002Fweb-design",0,"https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles","https:\u002F\u002Fgithub.com\u002Fkejadlen","https:\u002F\u002Fkejadlen.dev","2026-11-14 03:39:37",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add kejadlen\u002Fdotfiles --skill web-design",{"tool":38,"command":39},"bunx","bunx skills add kejadlen\u002Fdotfiles --skill web-design",{"tool":41,"command":42},"pnpm","pnpm dlx skills add kejadlen\u002Fdotfiles --skill web-design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fweb-design\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7DEVM19CB8GSCZV56PHA594","zoekt","Use when searching code across repositories — prefer zoekt over grep\u002Fripgrep for indexed code search. Covers indexing repos, search syntax, and query patterns.","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fzoekt\u002FSKILL.md",[],[],{"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":60,"publishedAt":19},"01M7DEVF10JKR56RSX30PZ8BNH","writing-for-accessibility","Use when writing documentation, alt text, diagrams, or any content that should be accessible to people with disabilities. Covers alt text, color contrast, inclusive language, and accessible visuals. Also use when reviewing documents for accessibility.","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fwriting-for-accessibility\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7DEVA0Q63VMQWG32VN18XYB","writing-error-messages","Use when writing, reviewing, or improving error messages in code, CLI tools, APIs, or UIs. Covers identifying the cause, explaining the fix, and setting the right tone. Also use when error messages are vague, unactionable, or confusing.","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fwriting-error-messages\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7DEV6GGF2H3FW3YCPWXRRT6","working-in-the-open","Use when making design decisions during implementation — routes rationale to the right venue (commits, task comments, code comments, or documentation) based on how durable the context needs to be","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fworking-in-the-open\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7DEV2XTM37B9S0QV8X9SNSW","web-standards","Use when writing or reviewing HTML, CSS, or browser JavaScript — covers semantic markup, native platform features over libraries, Baseline browser support, accessibility and APCA contrast, and optional validation with vnu, axe, and Lighthouse","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fweb-standards\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7DETTRHEG9X12J3N7Q45XVE","warm-handoff","Use when the user asks to \"warm handoff\", \"\u002Fwarm-handoff\", \"hand off this thread\", or \"redirect this to\". Reads a Slack thread and proposes a warm handoff message for the target channel.","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fwarm-handoff\u002FSKILL.md",[],[]]