[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B4GHYHC9JGA3PTS5FYJ14Z":3,"skill-same:01M7B4GHYHC9JGA3PTS5FYJ14Z":47},{"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":28,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7B4GHYHC9JGA3PTS5FYJ14Z","frontend-craftsman",null,"Use when polishing a built page to production grade — responsive behavior, overflow control, detail quality, cross-browser checks and the pre-ship verification battery. The last mile before a page may ship.","kanishka-namdeo\u002FUnown","kanishka-namdeo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F19627131?v=4","01M7B4FN34HAKFWBECFBFK4HDA","Kanishka","01M7B4FN3YHMNJA874FRT3Q4YE",0,"MIT","https:\u002F\u002Fgithub.com\u002Fkanishka-namdeo\u002FUnown\u002Fblob\u002Fmain\u002F.unown\u002Fskills\u002Ffrontend-craftsman\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: frontend-craftsman\ndescription: Use when polishing a built page to production grade — responsive behavior, overflow control, detail quality, cross-browser checks and the pre-ship verification battery. The last mile before a page may ship.\n---\n\n# Frontend Craftsman\n\nPolish is measurable: no overflow, no off-grid spacing, no off-curve type,\nno jank, no broken states. This skill is the pre-ship battery.\n\n## The polish pass\n\n1. **Overflow hunt (mobile first):** at 390px, `document.documentElement\n   .scrollWidth - clientWidth` must be 0. Hunt the offenders:\n   unshrinkable flex children (`min-w-0` on every flex text child), fixed\n   widths, `sr-only` tables re-expanded by scoped CSS (the F17 anatomy —\n   the clip belongs on a wrapper DIV, not the table), pre\u002Fcode without\n   `overflow-x: auto`, 100vw + scrollbar math. Then 320px, 768px, 1024px,\n   1440px, 1920px.\n2. **The grid sweep:** every spacing value on the 4px grid (margin,\n   padding, gaps); line-heights on the same scale. The critic's off-grid\n   gate is ≤ 15% — optical corrections allowed, laziness is not.\n3. **Type detail pass:** the tracking curve holds at every size; tabular\n   numerals for any changing number (`font-variant-numeric:\n   tabular-nums` — a counter must not jitter its own layout); `text-wrap:\n   balance` on heads, `text-wrap: pretty` on paragraphs where supported;\n   no orphaned single words on the last line of a hero.\n4. **State completeness:** every interactive element has hover, focus,\n   active, disabled, loading (where async), and empty (where data-driven).\n   Every one of those states keeps AA contrast — the disabled state is\n   the classic violator.\n5. **Dark\u002Flight parity (if the site has both):** flip schemes on every\n   state. Unconditionally-colored panels under a flipped scheme are the\n   F18 anatomy — tokens, never literal hexes, and never an alpha'd token\n   where the background flips.\n6. **Images:** `width`\u002F`height` attributes on every `\u003Cimg>` (the IHDR\n   truth, not guesses), `loading=\"lazy\"` below the fold, `decoding=\"async\"`\n   on decorative media, alt per its decision.\n7. **Cross-browser:** Chromium + Firefox + WebKit, both schemes, one\n   desktop + one mobile viewport each. The divergence classes: scrollbar\n   styling, `backdrop-filter` (Safari prefix), view-transition support,\n   `@supports` gated effects.\n8. **The details that read as craft:** focus rings aligned to the radius;\n   `::selection` on brand; `scroll-margin-top` on anchors; `aria-current`\n   on nav state; the favicon in BOTH schemes; the 404 in the page's voice;\n   `prefers-color-scheme` honored on first paint (no flash).\n\n## The pre-ship battery (all green or it does not ship)\n\n```\nbun run typecheck && bun run lint && bun run test:unit\nbun run build                        # the production build is the artifact\nbun run test:e2e                     # where the repo ships them\nnode scripts\u002Fdesign_critic.mjs --route \u003Croute> --label ship --enforce\n```\n\nPlus the page's own gates where they exist (the landing's audit\u002Fcontrast\nlanes; an app's component suite). A gate that was never run is a claim,\nnot a gate — run them to conclusion, read the output, never cancel\nmid-flight.\n\n## The craftsman's question\n\nAt every step: \"would an elite team ship this line?\" The honest answers\nare yes, no, or \"not yet\" — and \"not yet\" means the task list is not\ndone, not that the standard bends.\n","# Frontend Craftsman\n\nPolish is measurable: no overflow, no off-grid spacing, no off-curve type,\nno jank, no broken states. This skill is the pre-ship battery.\n\n## The polish pass\n\n1. **Overflow hunt (mobile first):** at 390px, `document.documentElement\n   .scrollWidth - clientWidth` must be 0. Hunt the offenders:\n   unshrinkable flex children (`min-w-0` on every flex text child), fixed\n   widths, `sr-only` tables re-expanded by scoped CSS (the F17 anatomy —\n   the clip belongs on a wrapper DIV, not the table), pre\u002Fcode without\n   `overflow-x: auto`, 100vw + scrollbar math. Then 320px, 768px, 1024px,\n   1440px, 1920px.\n2. **The grid sweep:** every spacing value on the 4px grid (margin,\n   padding, gaps); line-heights on the same scale. The critic's off-grid\n   gate is ≤ 15% — optical corrections allowed, laziness is not.\n3. **Type detail pass:** the tracking curve holds at every size; tabular\n   numerals for any changing number (`font-variant-numeric:\n   tabular-nums` — a counter must not jitter its own layout); `text-wrap:\n   balance` on heads, `text-wrap: pretty` on paragraphs where supported;\n   no orphaned single words on the last line of a hero.\n4. **State completeness:** every interactive element has hover, focus,\n   active, disabled, loading (where async), and empty (where data-driven).\n   Every one of those states keeps AA contrast — the disabled state is\n   the classic violator.\n5. **Dark\u002Flight parity (if the site has both):** flip schemes on every\n   state. Unconditionally-colored panels under a flipped scheme are the\n   F18 anatomy — tokens, never literal hexes, and never an alpha'd token\n   where the background flips.\n6. **Images:** `width`\u002F`height` attributes on every `\u003Cimg>` (the IHDR\n   truth, not guesses), `loading=\"lazy\"` below the fold, `decoding=\"async\"`\n   on decorative media, alt per its decision.\n7. **Cross-browser:** Chromium + Firefox + WebKit, both schemes, one\n   desktop + one mobile viewport each. The divergence classes: scrollbar\n   styling, `backdrop-filter` (Safari prefix), view-transition support,\n   `@supports` gated effects.\n8. **The details that read as craft:** focus rings aligned to the radius;\n   `::selection` on brand; `scroll-margin-top` on anchors; `aria-current`\n   on nav state; the favicon in BOTH schemes; the 404 in the page's voice;\n   `prefers-color-scheme` honored on first paint (no flash).\n\n## The pre-ship battery (all green or it does not ship)\n\n```\nbun run typecheck && bun run lint && bun run test:unit\nbun run build                        # the production build is the artifact\nbun run test:e2e                     # where the repo ships them\nnode scripts\u002Fdesign_critic.mjs --route \u003Croute> --label ship --enforce\n```\n\nPlus the page's own gates where they exist (the landing's audit\u002Fcontrast\nlanes; an app's component suite). A gate that was never run is a claim,\nnot a gate — run them to conclusion, read the output, never cancel\nmid-flight.\n\n## The craftsman's question\n\nAt every step: \"would an elite team ship this line?\" The honest answers\nare yes, no, or \"not yet\" — and \"not yet\" means the task list is not\ndone, not that the standard bends.\n",{"name":5,"description":7},"main","0d1a8cf02c487497a9442ff7f70182900e67d1e4",".unown\u002Fskills\u002Ffrontend-craftsman","https:\u002F\u002Fgithub.com\u002Fkanishka-namdeo\u002FUnown","https:\u002F\u002Funown-nine.vercel.app","https:\u002F\u002Fgithub.com\u002Fkanishka-namdeo","https:\u002F\u002Fkanishkanamdeo.com\u002F","Builder. Tinkerer.","2026-11-15 05:57:17",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add kanishka-namdeo\u002FUnown --skill frontend-craftsman",{"tool":39,"command":40},"bunx","bunx skills add kanishka-namdeo\u002FUnown --skill frontend-craftsman",{"tool":42,"command":43},"pnpm","pnpm dlx skills add kanishka-namdeo\u002FUnown --skill frontend-craftsman","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkanishka-namdeo\u002FUnown\u002Fblob\u002Fmain\u002F.unown\u002Fskills\u002Ffrontend-craftsman\u002FSKILL.md",true,[],[48,55,62,69,76,82],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7B4JXRXGJ4ZARGJZC4CQJK1","valid-skill","A valid skill for testing purposes.","https:\u002F\u002Fgithub.com\u002Fkanishka-namdeo\u002FUnown\u002Fblob\u002Fmain\u002Fpi-repo\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fvalid-skill\u002FSKILL.md",[],[],{"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":19},"01M7B4JW0TE7XQJ524QSB4M0HH","unknown-field","A skill with an unknown frontmatter field.","https:\u002F\u002Fgithub.com\u002Fkanishka-namdeo\u002FUnown\u002Fblob\u002Fmain\u002Fpi-repo\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Funknown-field\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7B4JTG0HNX6CC9EDP27ZNVA","nested-child","Nested skill should be ignored.","https:\u002F\u002Fgithub.com\u002Fkanishka-namdeo\u002FUnown\u002Fblob\u002Fmain\u002Fpi-repo\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Froot-skill-preferred\u002Fnested-child\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7B4JS0TFDFMT9J33230194S","root-skill-preferred","Root skill should win.","https:\u002F\u002Fgithub.com\u002Fkanishka-namdeo\u002FUnown\u002Fblob\u002Fmain\u002Fpi-repo\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Froot-skill-preferred\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":6,"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},"01M7B4JQPZBFT59KT2GWKF61VM","no-frontmatter","https:\u002F\u002Fgithub.com\u002Fkanishka-namdeo\u002FUnown\u002Fblob\u002Fmain\u002Fpi-repo\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fno-frontmatter\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},"01M7B4JP4E475NGN7T87JD7TT9","child-skill","A nested skill in a subdirectory.","https:\u002F\u002Fgithub.com\u002Fkanishka-namdeo\u002FUnown\u002Fblob\u002Fmain\u002Fpi-repo\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fnested\u002Fchild-skill\u002FSKILL.md",[],[]]