[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ABFRWSHCWXWR83N9VQVEM8":3,"skill-same:01M7ABFRWSHCWXWR83N9VQVEM8":64},{"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":6,"updatedAt":31,"install":32,"resources":45},"01M7ABFRWSHCWXWR83N9VQVEM8","css-craft",null,"CSS mechanics — use when a declaration silently does nothing (var() not resolving, shorthand wiping the longhands it omits, an unregistered custom property refusing to interpolate, a logical property flipping under RTL while its border-radius does not), or when writing custom properties, fluid clamp() values, shorthand, intrinsic layout and centering, container queries, @layer, or value functions like calc-size()\u002Fcolor-mix(). Not motion — duration, easing, and whether to animate are motion-craft; not review — css-audit.","j0hanz\u002Fj0hanz-marketplace","j0hanz","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F159924955?v=4","01M7ABFK415CKHXYV9GZRJ16T7","Linus Johansson","01M7ABFK52FCPP2PNBH1YR7ZPA",0,"MIT","https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fcss\u002Fskills\u002Fcss-craft\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: css-craft\ndescription: CSS mechanics — use when a declaration silently does nothing (var() not resolving, shorthand wiping the longhands it omits, an unregistered custom property refusing to interpolate, a logical property flipping under RTL while its border-radius does not), or when writing custom properties, fluid clamp() values, shorthand, intrinsic layout and centering, container queries, @layer, or value functions like calc-size()\u002Fcolor-mix(). Not motion — duration, easing, and whether to animate are motion-craft; not review — css-audit.\n---\n\n# CSS Craft\n\nHow CSS actually behave, in place it behave surprising. Several of below checked rather than remembered — per-edit hook refuse a write carrying one, css-audit re-run same table over whole file.\n\n## Reference bodies\n\n- Writing or debugging a custom property → [`PROPERTIES.md`](PROPERTIES.md): scope and cascade, `@property` typing and animation, fallback rules, the computation gotchas behind \"why is my value missing\", re-pointing values per media query, fluid `clamp()` recipes, theming, JS read and write.\n- Writing a shorthand, or a longhand sitting near one → [`SHORTHAND.md`](SHORTHAND.md): the reset trap in full, value counts for sides (TRBL) and corners, the logical box-side twins and the `border-radius` corners that do not follow them, value order per shorthand.\n- Building layout, or about to write a media query → [`LAYOUT.md`](LAYOUT.md): intrinsic grid, grid-area stacking, sidebar, sticky footer, centering; container and style queries; one-line upgrades retiring old hacks; `:where()` \u002F `:is()` \u002F `:has()` \u002F `@layer` \u002F owl spacing.\n- Picking a value function, or feature-detecting one → [`FUNCTIONS.md`](FUNCTIONS.md): `calc-size()`, `progress()`, `color-mix()`, `contrast-color()`, `if()`, `image-set()`, `linear()`, the shape functions behind `clip-path` \u002F `offset-path`, each with the support trap it still carries; `@supports` and `CSS.supports()` syntax; fallback ordering.\n\n## What bites\n\nBefore a declaration ships, confirm none of these apply to it.\n\n**Shorthand resets what it omits.** `background: red` clears `background-image`, `background-position`, rest. Longhand set _before_ its shorthand is discarded — move it after. Per-property detail in [`SHORTHAND.md`](SHORTHAND.md).\n\n**Invalid `var()` cannot fall back to earlier declaration.** `color: blue; color: var(--broken)` gives inherited colour, not blue. Give every `var()` a fallback of the right type — it rescues the _missing_ token only, and `var(--foo, red, blue)` is one fallback of `red, blue`, everything after first comma. Gotchas in [`PROPERTIES.md`](PROPERTIES.md).\n\n**Untyped custom property cannot be interpolated.** Plain `--stop: red` snaps between values; same property registered with `@property` and `syntax: '\u003Ccolor>'` transitions smooth. Register anything you put in `transition` or `@keyframes` — with one exemption: component API prop meant to stay _undefined_ keeps `var(--button-bg, var(--color-primary))` fallthrough only while unregistered, because registration fills `initial-value`.\n\n**Computed values frozen on inheritance.** `--size-lg: calc(2 * var(--size))` on `:root` computes once; redefining `--size` on descendant won't recompute it. Do arithmetic where value consumed.\n\n**Unlayered styles beat every layer.** One stray rule outside `@layer` outranks your whole layered design system, and `!important` inverts the order on top of that. Full ordering in [`LAYOUT.md`](LAYOUT.md).\n\n**`minmax(20ch, 1fr)` overflows.** The memorised intrinsic-grid line needs the inner `min()`, else any container narrower than `20ch` overflows. Recipe in [`LAYOUT.md`](LAYOUT.md).\n\n**Logical edge, physical corner.** `border-inline-start` flips under `direction: rtl`; `border-radius: 0 1em 1em 0` does not, so the rail and the square corners end up on opposite sides. Per-corner logical longhands (`border-start-end-radius`) in [`SHORTHAND.md`](SHORTHAND.md).\n\n**`@supports` cannot detect at-rules cross-engine.** `@supports at-rule(@container)` is Chromium 148+ only; probe API presence from JS — `window.CSSContainerRule` for `@container`, `window.CSSLayerBlockRule` for `@layer`. And a pass proves only the form you tested — partial implementations accept the function name and fail the call, so test the exact call you ship.\n","# CSS Craft\n\nHow CSS actually behave, in place it behave surprising. Several of below checked rather than remembered — per-edit hook refuse a write carrying one, css-audit re-run same table over whole file.\n\n## Reference bodies\n\n- Writing or debugging a custom property → [`PROPERTIES.md`](PROPERTIES.md): scope and cascade, `@property` typing and animation, fallback rules, the computation gotchas behind \"why is my value missing\", re-pointing values per media query, fluid `clamp()` recipes, theming, JS read and write.\n- Writing a shorthand, or a longhand sitting near one → [`SHORTHAND.md`](SHORTHAND.md): the reset trap in full, value counts for sides (TRBL) and corners, the logical box-side twins and the `border-radius` corners that do not follow them, value order per shorthand.\n- Building layout, or about to write a media query → [`LAYOUT.md`](LAYOUT.md): intrinsic grid, grid-area stacking, sidebar, sticky footer, centering; container and style queries; one-line upgrades retiring old hacks; `:where()` \u002F `:is()` \u002F `:has()` \u002F `@layer` \u002F owl spacing.\n- Picking a value function, or feature-detecting one → [`FUNCTIONS.md`](FUNCTIONS.md): `calc-size()`, `progress()`, `color-mix()`, `contrast-color()`, `if()`, `image-set()`, `linear()`, the shape functions behind `clip-path` \u002F `offset-path`, each with the support trap it still carries; `@supports` and `CSS.supports()` syntax; fallback ordering.\n\n## What bites\n\nBefore a declaration ships, confirm none of these apply to it.\n\n**Shorthand resets what it omits.** `background: red` clears `background-image`, `background-position`, rest. Longhand set _before_ its shorthand is discarded — move it after. Per-property detail in [`SHORTHAND.md`](SHORTHAND.md).\n\n**Invalid `var()` cannot fall back to earlier declaration.** `color: blue; color: var(--broken)` gives inherited colour, not blue. Give every `var()` a fallback of the right type — it rescues the _missing_ token only, and `var(--foo, red, blue)` is one fallback of `red, blue`, everything after first comma. Gotchas in [`PROPERTIES.md`](PROPERTIES.md).\n\n**Untyped custom property cannot be interpolated.** Plain `--stop: red` snaps between values; same property registered with `@property` and `syntax: '\u003Ccolor>'` transitions smooth. Register anything you put in `transition` or `@keyframes` — with one exemption: component API prop meant to stay _undefined_ keeps `var(--button-bg, var(--color-primary))` fallthrough only while unregistered, because registration fills `initial-value`.\n\n**Computed values frozen on inheritance.** `--size-lg: calc(2 * var(--size))` on `:root` computes once; redefining `--size` on descendant won't recompute it. Do arithmetic where value consumed.\n\n**Unlayered styles beat every layer.** One stray rule outside `@layer` outranks your whole layered design system, and `!important` inverts the order on top of that. Full ordering in [`LAYOUT.md`](LAYOUT.md).\n\n**`minmax(20ch, 1fr)` overflows.** The memorised intrinsic-grid line needs the inner `min()`, else any container narrower than `20ch` overflows. Recipe in [`LAYOUT.md`](LAYOUT.md).\n\n**Logical edge, physical corner.** `border-inline-start` flips under `direction: rtl`; `border-radius: 0 1em 1em 0` does not, so the rail and the square corners end up on opposite sides. Per-corner logical longhands (`border-start-end-radius`) in [`SHORTHAND.md`](SHORTHAND.md).\n\n**`@supports` cannot detect at-rules cross-engine.** `@supports at-rule(@container)` is Chromium 148+ only; probe API presence from JS — `window.CSSContainerRule` for `@container`, `window.CSSLayerBlockRule` for `@layer`. And a pass proves only the form you tested — partial implementations accept the function name and fail the call, so test the exact call you ship.\n",{"name":5,"description":7},"main","534498267dccbe415f22f31fceac9da6771c195f","plugins\u002Fcss\u002Fskills\u002Fcss-craft","https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace","https:\u002F\u002Fj0hanz-marketplace.vercel.app","https:\u002F\u002Fgithub.com\u002Fj0hanz","linus-johansson-cv-d308be9b73e1.herokuapp.com","2026-11-15 02:42:07",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add j0hanz\u002Fj0hanz-marketplace --skill css-craft",{"tool":38,"command":39},"bunx","bunx skills add j0hanz\u002Fj0hanz-marketplace --skill css-craft",{"tool":41,"command":42},"pnpm","pnpm dlx skills add j0hanz\u002Fj0hanz-marketplace --skill css-craft","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fcss\u002Fskills\u002Fcss-craft\u002FSKILL.md",true,[46,52,56,60],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"FUNCTIONS.md","REFERENCE","参考文档",4869,"https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fcss\u002Fskills\u002Fcss-craft\u002FFUNCTIONS.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"LAYOUT.md",6436,"https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fcss\u002Fskills\u002Fcss-craft\u002FLAYOUT.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"PROPERTIES.md",7234,"https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fcss\u002Fskills\u002Fcss-craft\u002FPROPERTIES.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"SHORTHAND.md",10072,"https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fcss\u002Fskills\u002Fcss-craft\u002FSHORTHAND.md",[65,72,79,86,93,100],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7ABP78JFYBMCXJ9GMETCYZM","unslop","Use when writing or editing prose a person will read, or when text sounds AI-generated.","https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fwriteup\u002Fskills\u002Funslop\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7ABP52BNV7NRPNBR6PCNZWC","show-me","Use when asked to show, diagram, or walk through how code fits together or what a change does, or before explaining a multi-file flow in prose.","https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fwriteup\u002Fskills\u002Fshow-me\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7ABP3EPN4KFB4HPJNMY31NR","pr","Use when writing or updating a pull request description, or before running `gh pr create`.","https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fwriteup\u002Fskills\u002Fpr\u002FSKILL.md",[],[],{"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":92,"publishedAt":19},"01M7ABP08MXTHPZYTG4HKEP7WQ","commit","Use when writing a commit message, or before running `git commit`.","https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fwriteup\u002Fskills\u002Fcommit\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7ABNV9J7DN1AFRBGDBHVBY2","write-specs","Spec a feature's observable behavior. Use when asked for requirements, when a request says what the system should do but not how, or to capture what a built system already guarantees. Not for how to build it (write-plan).","https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fworkbench\u002Fskills\u002Fwrite-specs\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M7ABNPK2GVG8EB3SSEAMK4FZ","write-skills","Write, fix, or audit a skill's frontmatter, trigger description, and body. Use when a skill is asked for, never fires, or fires at the wrong moment. Not for a hook (write-hooks) or the plugin manifest and catalog.","https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fworkbench\u002Fskills\u002Fwrite-skills\u002FSKILL.md",[],[]]