[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78D046F02F2BGV8SBX4Y3MR":3,"skill-same:01M78D046F02F2BGV8SBX4Y3MR":52},{"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":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":35,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":37,"install":38,"resources":51},"01M78D046F02F2BGV8SBX4Y3MR","design-acquire",null,"Resolve a design handoff into something measurable: parse a handoff prompt, unpack an exported HTML\u002Fzip, pull tokens from a design-system source, or record an honest degraded mode for screenshots-only input. NOT for the implementation workflow itself (that's design-build) and NOT for measuring a diff (that's design-verify).","atretyak1985\u002Fswarmery","atretyak1985","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1436737?v=4","01M78CTSX57YH0EYY9YGH0TWKX","Andrii Tretiak","01M78CTSXRPJPYQ7GNPMP45TYX",8,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Fplugins\u002Fdesign-pack\u002Fskills\u002Fdesign-acquire\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: design-acquire\ndescription: \"Resolve a design handoff into something measurable: parse a handoff prompt, unpack an exported HTML\u002Fzip, pull tokens from a design-system source, or record an honest degraded mode for screenshots-only input. NOT for the implementation workflow itself (that's design-build) and NOT for measuring a diff (that's design-verify).\"\nversion: \"0.1.0\"\nowner: \"swarmery-core\"\ndocs:\n  status: reviewed\n  source_sha: be52051a970c\n  updated: 2026-08-06\n---\n\n# Purpose\n\nPhase 1 of `design-build`. Four input shapes arrive in practice, and they do not promise\nthe same thing: only a self-contained HTML export is ground truth for geometry. This skill\nturns whatever arrived into a path plus an honest statement of what that path can support, and\nhands both back. It does not extract tokens (Phase 2) and it does not measure anything\n(`design-verify`).\n\n# The export route in Claude Design\n\nThis is the part operators do not find on their own — reproduce it for them exactly:\n\n> In Claude Design (claude.ai\u002Fdesign) open the project → the **Share** menu in the top right\n> corner → the **Export** section → then either\n> **Claude Code — \"Implement this design in code\" → Send** (sends the handoff prompt into the\n> Claude Code session), or\n> **Project HTML → Download** (downloads a `.zip` with self-contained HTML\u002FCSS).\n> Pixel work needs **Project HTML** specifically: the handoff prompt describes intent, while\n> the `.zip` contains what actually renders.\n\n# Input shape 1 — a handoff prompt\n\nThe operator pasted a design tool's handoff prompt (or it arrived through **Send**).\n\n1. Parse it. Look for a reference to a file or a URL carrying the actual markup.\n2. If the prompt leads to HTML — fetch it and continue with shape 2. The prompt's prose is\n   context, not a substitute.\n3. If it does not — ask for `Project HTML` and show the route above. A handoff prompt on its\n   own describes intent: it states what the screen means, not the computed values it renders\n   at, so nothing downstream can be measured against it.\n\n**Promises:** intent and structure. Not geometry, not exact values.\n\n# Input shape 2 — a `.zip` or `.html` export\n\n1. Unpack into the working directory: `.design-verify\u002Fsource\u002F\u003Cslug>\u002F`.\n2. Find the entry document (the top-level `index.html`, or the single `.html` at the root of\n   the archive; if several are plausible, list them and let the operator pick — do not guess\n   which screen is meant).\n3. Check self-containment: scan for external network resources (remote stylesheets, webfonts,\n   images, script tags pointing off-host). Record every one of them. They change what renders,\n   so they change the measurement — a font fetched from the network that fails to load in the\n   headless run silently reshapes every text block.\n4. Pass the entry document's path forward.\n\n**Promises:** full ground truth. This is the shape the rest of the pack is designed around.\n\n# Input shape 3 — DesignSync or a design-system project\n\nPull tokens and components through whichever tool is available for that source.\n\nRecord the split honestly: **the tokens are trustworthy; the geometry of a specific screen is\nnot.** A design system says what a button is; it does not say where this screen puts it, how\nmuch space is above it, or which of its variants this layout uses. If the goal is a pixel match\nfor a screen, an HTML export is still required — route above.\n\n**Promises:** the token layer (colours, type, spacing, radii). Not screen layout.\n\n# Input shape 4 — screenshots only\n\nState this in full, as its own paragraph, before any work starts:\n\n> Pixel accuracy cannot be guaranteed from images. Exact type size and tracking are not\n> recoverable, real colour values are not recoverable after compression, and states (hover,\n> focus, active, disabled) are not present at all. Ask for an HTML export instead — the route\n> is above.\n\nIf the operator insists, continue — but:\n\n- record the mode as `degraded: screenshots` in the Phase 4 plan **and** in the final report;\n- never claim a pixel match, at any point, in any wording;\n- in Phase 6 the implementation is compared against the screenshot as an **approximate**\n  reference, and the result is reported as an approximation, with that word in it.\n\n**Promises:** an approximation, labelled as one.\n\n# Working directory\n\nEverything this skill writes goes under `.design-verify\u002F` in the project root — sources in\n`.design-verify\u002Fsource\u002F\u003Cslug>\u002F`, later phases add their own subdirectories.\n\nCheck the project's `.gitignore` for `.design-verify\u002F` and remind the operator to add it if it\nis missing. These are large, regenerable, machine-produced artefacts; they do not belong in the\nhistory.\n\n# Output back to `design-build`\n\n- the design path (entry document, or the screenshot set);\n- the input shape and the mode (`degraded: …` when applicable);\n- external network resources found in shape 2;\n- for shape 3, an explicit note that screen geometry was not acquired.\n\n# How to use\n\n## What it does\n\nYou have a design handoff — a pasted prompt, a downloaded `.zip`, a design-system link, or just screenshots — and you need to know what it can actually support before anyone writes code. This skill resolves that input into a concrete path on disk plus an honest statement of what that path promises: full geometry, tokens only, or an approximation. It stops the common failure where a screenshot gets treated as ground truth and a \"pixel match\" is claimed over something unmeasurable.\n\n## When to use it\n\n- An operator handed you a design export and you need to unpack it and find the entry document before implementation starts.\n- Someone pasted a design tool's handoff prompt and you have to work out whether it leads to real markup.\n- You have only screenshots and need the degraded mode written down before anyone promises accuracy.\n- The design lives in a design-system source and you need the token layer pulled without over-claiming screen layout.\n\n## When not to use it\n\n- You want the full implementation workflow end to end — use `design-build`, which calls this skill as its first phase.\n- You already have a built screen and want it measured against the design — use `design-verify`.\n- You are checking UI behaviour with no reference design at all — use `browser-verification` in core.\n\n## How to invoke\n\n```\nSkill(skill: \"design-pack:design-acquire\")\n```\n\nInvoke it with the handoff you received — a file path, an archive, a URL, or a description of what arrived. It reads the input, picks the matching shape, and does the unpacking or the asking from there.\n\n## Inputs\n\n- **The handoff itself** — a `.zip` or `.html` path, a URL, a pasted handoff prompt, a design-system reference, or a set of screenshots — required.\n- **A screen or slug hint** — which screen is meant, when an archive contains several plausible entry documents — optional; you get asked if it is ambiguous and cannot be inferred.\n\n## What you get back\n\nSources unpacked under `.design-verify\u002Fsource\u002F\u003Cslug>\u002F` in the project root, and a short handoff back to the caller containing: the design path (entry document or screenshot set), the input shape and mode (`degraded: screenshots` when applicable), any external network resources found in an export, and — for a design-system source — an explicit note that screen geometry was not acquired. You also get a reminder to add `.design-verify\u002F` to `.gitignore` if it is missing.\n\n## Worked example\n\n```\nSkill(skill: \"design-pack:design-acquire\")\n> input: ~\u002FDownloads\u002Fproject-html-export.zip, screen \"orders\u002Fline-items\"\n```\n\nThe archive is unpacked to `.design-verify\u002Fsource\u002Forders-line-items\u002F`, the entry\n`index.html` is identified, and a scan finds one remote webfont. You get back the\nentry path, shape \"HTML export — full ground truth\", and the webfont flagged as a\nresource that will reshape text if it fails to load in the headless run.\n\n## Related\n\n- `design-build` — the whole workflow; start there unless you only need the input resolved.\n- `design-verify` — measures a built screen against the design once implementation exists.\n- `browser-verification` — behavioural UI checks when there is no design to measure against.\n","# Purpose\n\nPhase 1 of `design-build`. Four input shapes arrive in practice, and they do not promise\nthe same thing: only a self-contained HTML export is ground truth for geometry. This skill\nturns whatever arrived into a path plus an honest statement of what that path can support, and\nhands both back. It does not extract tokens (Phase 2) and it does not measure anything\n(`design-verify`).\n\n# The export route in Claude Design\n\nThis is the part operators do not find on their own — reproduce it for them exactly:\n\n> In Claude Design (claude.ai\u002Fdesign) open the project → the **Share** menu in the top right\n> corner → the **Export** section → then either\n> **Claude Code — \"Implement this design in code\" → Send** (sends the handoff prompt into the\n> Claude Code session), or\n> **Project HTML → Download** (downloads a `.zip` with self-contained HTML\u002FCSS).\n> Pixel work needs **Project HTML** specifically: the handoff prompt describes intent, while\n> the `.zip` contains what actually renders.\n\n# Input shape 1 — a handoff prompt\n\nThe operator pasted a design tool's handoff prompt (or it arrived through **Send**).\n\n1. Parse it. Look for a reference to a file or a URL carrying the actual markup.\n2. If the prompt leads to HTML — fetch it and continue with shape 2. The prompt's prose is\n   context, not a substitute.\n3. If it does not — ask for `Project HTML` and show the route above. A handoff prompt on its\n   own describes intent: it states what the screen means, not the computed values it renders\n   at, so nothing downstream can be measured against it.\n\n**Promises:** intent and structure. Not geometry, not exact values.\n\n# Input shape 2 — a `.zip` or `.html` export\n\n1. Unpack into the working directory: `.design-verify\u002Fsource\u002F\u003Cslug>\u002F`.\n2. Find the entry document (the top-level `index.html`, or the single `.html` at the root of\n   the archive; if several are plausible, list them and let the operator pick — do not guess\n   which screen is meant).\n3. Check self-containment: scan for external network resources (remote stylesheets, webfonts,\n   images, script tags pointing off-host). Record every one of them. They change what renders,\n   so they change the measurement — a font fetched from the network that fails to load in the\n   headless run silently reshapes every text block.\n4. Pass the entry document's path forward.\n\n**Promises:** full ground truth. This is the shape the rest of the pack is designed around.\n\n# Input shape 3 — DesignSync or a design-system project\n\nPull tokens and components through whichever tool is available for that source.\n\nRecord the split honestly: **the tokens are trustworthy; the geometry of a specific screen is\nnot.** A design system says what a button is; it does not say where this screen puts it, how\nmuch space is above it, or which of its variants this layout uses. If the goal is a pixel match\nfor a screen, an HTML export is still required — route above.\n\n**Promises:** the token layer (colours, type, spacing, radii). Not screen layout.\n\n# Input shape 4 — screenshots only\n\nState this in full, as its own paragraph, before any work starts:\n\n> Pixel accuracy cannot be guaranteed from images. Exact type size and tracking are not\n> recoverable, real colour values are not recoverable after compression, and states (hover,\n> focus, active, disabled) are not present at all. Ask for an HTML export instead — the route\n> is above.\n\nIf the operator insists, continue — but:\n\n- record the mode as `degraded: screenshots` in the Phase 4 plan **and** in the final report;\n- never claim a pixel match, at any point, in any wording;\n- in Phase 6 the implementation is compared against the screenshot as an **approximate**\n  reference, and the result is reported as an approximation, with that word in it.\n\n**Promises:** an approximation, labelled as one.\n\n# Working directory\n\nEverything this skill writes goes under `.design-verify\u002F` in the project root — sources in\n`.design-verify\u002Fsource\u002F\u003Cslug>\u002F`, later phases add their own subdirectories.\n\nCheck the project's `.gitignore` for `.design-verify\u002F` and remind the operator to add it if it\nis missing. These are large, regenerable, machine-produced artefacts; they do not belong in the\nhistory.\n\n# Output back to `design-build`\n\n- the design path (entry document, or the screenshot set);\n- the input shape and the mode (`degraded: …` when applicable);\n- external network resources found in shape 2;\n- for shape 3, an explicit note that screen geometry was not acquired.\n\n# How to use\n\n## What it does\n\nYou have a design handoff — a pasted prompt, a downloaded `.zip`, a design-system link, or just screenshots — and you need to know what it can actually support before anyone writes code. This skill resolves that input into a concrete path on disk plus an honest statement of what that path promises: full geometry, tokens only, or an approximation. It stops the common failure where a screenshot gets treated as ground truth and a \"pixel match\" is claimed over something unmeasurable.\n\n## When to use it\n\n- An operator handed you a design export and you need to unpack it and find the entry document before implementation starts.\n- Someone pasted a design tool's handoff prompt and you have to work out whether it leads to real markup.\n- You have only screenshots and need the degraded mode written down before anyone promises accuracy.\n- The design lives in a design-system source and you need the token layer pulled without over-claiming screen layout.\n\n## When not to use it\n\n- You want the full implementation workflow end to end — use `design-build`, which calls this skill as its first phase.\n- You already have a built screen and want it measured against the design — use `design-verify`.\n- You are checking UI behaviour with no reference design at all — use `browser-verification` in core.\n\n## How to invoke\n\n```\nSkill(skill: \"design-pack:design-acquire\")\n```\n\nInvoke it with the handoff you received — a file path, an archive, a URL, or a description of what arrived. It reads the input, picks the matching shape, and does the unpacking or the asking from there.\n\n## Inputs\n\n- **The handoff itself** — a `.zip` or `.html` path, a URL, a pasted handoff prompt, a design-system reference, or a set of screenshots — required.\n- **A screen or slug hint** — which screen is meant, when an archive contains several plausible entry documents — optional; you get asked if it is ambiguous and cannot be inferred.\n\n## What you get back\n\nSources unpacked under `.design-verify\u002Fsource\u002F\u003Cslug>\u002F` in the project root, and a short handoff back to the caller containing: the design path (entry document or screenshot set), the input shape and mode (`degraded: screenshots` when applicable), any external network resources found in an export, and — for a design-system source — an explicit note that screen geometry was not acquired. You also get a reminder to add `.design-verify\u002F` to `.gitignore` if it is missing.\n\n## Worked example\n\n```\nSkill(skill: \"design-pack:design-acquire\")\n> input: ~\u002FDownloads\u002Fproject-html-export.zip, screen \"orders\u002Fline-items\"\n```\n\nThe archive is unpacked to `.design-verify\u002Fsource\u002Forders-line-items\u002F`, the entry\n`index.html` is identified, and a scan finds one remote webfont. You get back the\nentry path, shape \"HTML export — full ground truth\", and the webfont flagged as a\nresource that will reshape text if it fails to load in the headless run.\n\n## Related\n\n- `design-build` — the whole workflow; start there unless you only need the input resolved.\n- `design-verify` — measures a built screen against the design once implementation exists.\n- `browser-verification` — behavioural UI checks when there is no design to measure against.\n",{"docs":24,"name":5,"owner":28,"version":29,"description":7},{"status":25,"updated":26,"source_sha":27},"reviewed",1785974400000,"be52051a970c","swarmery-core","0.1.0","main","2d9e918cc79c9b17b59356780ff0a3da38a3e98a","plugins\u002Fdesign-pack\u002Fskills\u002Fdesign-acquire",5,"https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery","https:\u002F\u002Fatretyak1985.github.io\u002Fswarmery\u002F","https:\u002F\u002Fgithub.com\u002Fatretyak1985","2026-11-11 04:29:12",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add atretyak1985\u002Fswarmery --skill design-acquire",{"tool":44,"command":45},"bunx","bunx skills add atretyak1985\u002Fswarmery --skill design-acquire",{"tool":47,"command":48},"pnpm","pnpm dlx skills add atretyak1985\u002Fswarmery --skill design-acquire","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Fplugins\u002Fdesign-pack\u002Fskills\u002Fdesign-acquire\u002FSKILL.md",true,[],[53,60,66,73,80,87],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M78D4T1FFWFW19Z44AHH5BSY","short-desc","Too short.","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Ftools\u002Fswarmery\u002Ftestdata\u002Fsysconfig\u002Fclaude\u002Fskills\u002Fshort-desc\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"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":63,"categories":64,"keywords":65,"publishedAt":19},"01M78D4S0TWT42WXFJHC1DBN0R","no-frontmatter","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Ftools\u002Fswarmery\u002Ftestdata\u002Fsysconfig\u002Fclaude\u002Fskills\u002Fno-frontmatter\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},"01M78D4Q14P8DJ4W78N62F3EG2","global-skill","Fixture global skill (minimal user-scope shape, format doc §2.3).","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Ftools\u002Fswarmery\u002Ftestdata\u002Fsysconfig\u002Fclaude\u002Fskills\u002Fglobal-skill\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},"01M78D4N1JHGQJQ7EZ43KY5SV3","documented-skill","Fixture skill whose usage guide deliberately omits the Worked example subsection.","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Ftools\u002Fswarmery\u002Ftestdata\u002Fsysconfig\u002Fclaude\u002Fskills\u002Fdocumented-skill\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},"01M78D4KVNZ03GBKGDFJZWW5FJ","z","NOT auto-discovered — only skills\u002F is scanned for plugins (§2.2).","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Ftools\u002Fswarmery\u002Ftestdata\u002Fsysconfig\u002Fclaude\u002Fplugins\u002Fcache\u002Fmkt\u002Ftoolpack\u002F1.0.0\u002Fworkflow-skills\u002Fz\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M78D4JMBRZWK51HFE5RZJGHC","y","Plugin skill y from toolpack — stored as \"toolpack:y\".","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Ftools\u002Fswarmery\u002Ftestdata\u002Fsysconfig\u002Fclaude\u002Fplugins\u002Fcache\u002Fmkt\u002Ftoolpack\u002F1.0.0\u002Fskills\u002Fy\u002FSKILL.md",[],[]]