[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75B3NXNVRF8RRK5771619D6":3,"skill-same:01M75B3NXNVRF8RRK5771619D6":55},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"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":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M75B3NXNVRF8RRK5771619D6","figma-swiftui",null,"SwiftUI ↔ Figma translation. Use whenever the user mentions Swift, SwiftUI, iOS, iPhone, or iPad — in EITHER direction — translating a Figma design into SwiftUI (design → code), or pushing SwiftUI views \u002F screens \u002F tokens back into a Figma file (code → design). Triggers on phrases like 'implement this Figma design in SwiftUI', 'build this screen in Swift', 'push this SwiftUI view to Figma', 'mirror my Swift code in a Figma file', or whenever a Figma URL appears alongside `.swift` files \u002F an `.xcodeproj`. Routes to a direction-specific reference doc; loads alongside `figma-use` for the code → design path.","sure-scale\u002Fdoc-haus","sure-scale","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F282511471?v=4","01M75B01D5K1FE0HVC061PM46S","01M75B01E8V6PACDS15PW1JQK0",82,"GPL-3.0","https:\u002F\u002Fgithub.com\u002Fsure-scale\u002Fdoc-haus\u002Fblob\u002Fdochaus\u002Fpackages\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-swiftui\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: figma-swiftui\ndescription: \"SwiftUI ↔ Figma translation. Use whenever the user mentions Swift, SwiftUI, iOS, iPhone, or iPad — in EITHER direction — translating a Figma design into SwiftUI (design → code), or pushing SwiftUI views \u002F screens \u002F tokens back into a Figma file (code → design). Triggers on phrases like 'implement this Figma design in SwiftUI', 'build this screen in Swift', 'push this SwiftUI view to Figma', 'mirror my Swift code in a Figma file', or whenever a Figma URL appears alongside `.swift` files \u002F an `.xcodeproj`. Routes to a direction-specific reference doc; loads alongside `figma-use` for the code → design path.\"\ndisable-model-invocation: false\n---\n\n# Figma ↔ SwiftUI\n\nTranslation between Figma designs and SwiftUI code, both directions. This file is a router — actual guidance lives in the references below.\n\n## Pick the direction\n\n| Direction | Trigger | Reference |\n|---|---|---|\n| **Design → code** | User wants SwiftUI in their iOS project from a Figma file\u002Fframe | [references\u002Fdesign-to-code.md](references\u002Fdesign-to-code.md) |\n| **Code → design** | User wants to push SwiftUI views \u002F screens \u002F tokens into a Figma file | [references\u002Fcode-to-design.md](references\u002Fcode-to-design.md) |\n\nIf the request is ambiguous — a Figma URL and `.swift` files both present, no verb makes it clear — ask the user which direction before loading a reference.\n\n## Shared context (applies to both directions)\n\nThese points hold regardless of direction; the direction-specific references assume them.\n\n1. **`get_design_context` is the read tool for Figma.** Pass `clientLanguages: \"swift\"` and `clientFrameworks: \"swiftui\"` so the response is framed as Swift. URL → tool args: `figma.com\u002Fdesign\u002F:fileKey\u002F:fileName?node-id=:nodeId` → use `fileKey`, replace `-` with `:` in `nodeId`. For `figma.com\u002Fdesign\u002F:fileKey\u002Fbranch\u002F:branchKey\u002F:fileName`, use `branchKey` as `fileKey`.\n2. **The React+Tailwind in `get_design_context` output is a structural reference, not a literal source.** It approximates the visual. Never transliterate `position: absolute` \u002F pixel frames \u002F `mix-blend-mode` stacks into SwiftUI or into Figma — the screenshot is the source of truth in both directions.\n3. **iOS HIG semantic colors are tokens, not hex.** `var(--backgrounds\u002Fprimary, …)`, `var(--labels\u002Fsecondary, …)`, `var(--separators\u002Fnon-opaque, …)` etc. map to `Color(.systemBackground)`, `Color.secondary`, `Color(.separator)` in SwiftUI, and to variables in a semantic collection in Figma. Keep the mapping; drop the literal RGBA.\n4. **SF Symbols round-trip by name in both directions — never by codepoint.** Design → code: `get_design_context` substitutes Figma's SF Symbol glyph runs back into `\u003CSFSymbol>{Image(systemName: \"...\")}\u003C\u002FSFSymbol>` wrappers in the response. Use those names verbatim. Code → design: call `figma.util.getSfSymbolCharacter(name)` inside `use_figma` to convert a symbol name to the matching character — never look up codepoints by hand.\n5. **Recognize the underlying iOS pattern, not the literal node \u002F view name.** The same patterns recur in both directions: large title + back chevron + trailing action = `NavigationStack` chrome; bottom row of icon+label pairs = `TabView`; repeating same-height rows with leading\u002Ftrailing chrome = `List`. Match those system patterns rather than rebuilding them from primitives.\n6. **For code → design, `use_figma` is the API.** Always load [`figma-use`](..\u002Ffigma-use\u002FSKILL.md) before any `use_figma` call. If the task involves building a full screen, also load [`figma-generate-design`](..\u002Ffigma-generate-design\u002FSKILL.md); if it involves building components or a design system, also load [`figma-generate-library`](..\u002Ffigma-generate-library\u002FSKILL.md).\n\n## References\n\n| Doc | When to load |\n|---|---|\n| [references\u002Fdesign-to-code.md](references\u002Fdesign-to-code.md) | Translating a Figma design \u002F frame into SwiftUI |\n| [references\u002Fcode-to-design.md](references\u002Fcode-to-design.md) | Pushing SwiftUI views \u002F screens \u002F tokens into Figma |\n","# Figma ↔ SwiftUI\n\nTranslation between Figma designs and SwiftUI code, both directions. This file is a router — actual guidance lives in the references below.\n\n## Pick the direction\n\n| Direction | Trigger | Reference |\n|---|---|---|\n| **Design → code** | User wants SwiftUI in their iOS project from a Figma file\u002Fframe | [references\u002Fdesign-to-code.md](references\u002Fdesign-to-code.md) |\n| **Code → design** | User wants to push SwiftUI views \u002F screens \u002F tokens into a Figma file | [references\u002Fcode-to-design.md](references\u002Fcode-to-design.md) |\n\nIf the request is ambiguous — a Figma URL and `.swift` files both present, no verb makes it clear — ask the user which direction before loading a reference.\n\n## Shared context (applies to both directions)\n\nThese points hold regardless of direction; the direction-specific references assume them.\n\n1. **`get_design_context` is the read tool for Figma.** Pass `clientLanguages: \"swift\"` and `clientFrameworks: \"swiftui\"` so the response is framed as Swift. URL → tool args: `figma.com\u002Fdesign\u002F:fileKey\u002F:fileName?node-id=:nodeId` → use `fileKey`, replace `-` with `:` in `nodeId`. For `figma.com\u002Fdesign\u002F:fileKey\u002Fbranch\u002F:branchKey\u002F:fileName`, use `branchKey` as `fileKey`.\n2. **The React+Tailwind in `get_design_context` output is a structural reference, not a literal source.** It approximates the visual. Never transliterate `position: absolute` \u002F pixel frames \u002F `mix-blend-mode` stacks into SwiftUI or into Figma — the screenshot is the source of truth in both directions.\n3. **iOS HIG semantic colors are tokens, not hex.** `var(--backgrounds\u002Fprimary, …)`, `var(--labels\u002Fsecondary, …)`, `var(--separators\u002Fnon-opaque, …)` etc. map to `Color(.systemBackground)`, `Color.secondary`, `Color(.separator)` in SwiftUI, and to variables in a semantic collection in Figma. Keep the mapping; drop the literal RGBA.\n4. **SF Symbols round-trip by name in both directions — never by codepoint.** Design → code: `get_design_context` substitutes Figma's SF Symbol glyph runs back into `\u003CSFSymbol>{Image(systemName: \"...\")}\u003C\u002FSFSymbol>` wrappers in the response. Use those names verbatim. Code → design: call `figma.util.getSfSymbolCharacter(name)` inside `use_figma` to convert a symbol name to the matching character — never look up codepoints by hand.\n5. **Recognize the underlying iOS pattern, not the literal node \u002F view name.** The same patterns recur in both directions: large title + back chevron + trailing action = `NavigationStack` chrome; bottom row of icon+label pairs = `TabView`; repeating same-height rows with leading\u002Ftrailing chrome = `List`. Match those system patterns rather than rebuilding them from primitives.\n6. **For code → design, `use_figma` is the API.** Always load [`figma-use`](..\u002Ffigma-use\u002FSKILL.md) before any `use_figma` call. If the task involves building a full screen, also load [`figma-generate-design`](..\u002Ffigma-generate-design\u002FSKILL.md); if it involves building components or a design system, also load [`figma-generate-library`](..\u002Ffigma-generate-library\u002FSKILL.md).\n\n## References\n\n| Doc | When to load |\n|---|---|\n| [references\u002Fdesign-to-code.md](references\u002Fdesign-to-code.md) | Translating a Figma design \u002F frame into SwiftUI |\n| [references\u002Fcode-to-design.md](references\u002Fcode-to-design.md) | Pushing SwiftUI views \u002F screens \u002F tokens into Figma |\n",{"name":5,"description":7,"disable-model-invocation":19},"dochaus","4fa71c1afaa510e46a51760c035a6be7350a4bfe","packages\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-swiftui",23,"https:\u002F\u002Fgithub.com\u002Fsure-scale\u002Fdoc-haus","https:\u002F\u002Fdoc.haus","https:\u002F\u002Fgithub.com\u002Fsure-scale","2026-11-14 21:10:36",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add sure-scale\u002Fdoc-haus --skill figma-swiftui",{"tool":37,"command":38},"bunx","bunx skills add sure-scale\u002Fdoc-haus --skill figma-swiftui",{"tool":40,"command":41},"pnpm","pnpm dlx skills add sure-scale\u002Fdoc-haus --skill figma-swiftui","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsure-scale\u002Fdoc-haus\u002Fblob\u002Fdochaus\u002Fpackages\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-swiftui\u002FSKILL.md",true,[45,51],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"references\u002Fcode-to-design.md","REFERENCE","参考文档",18991,"https:\u002F\u002Fgithub.com\u002Fsure-scale\u002Fdoc-haus\u002Fblob\u002Fdochaus\u002Fpackages\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-swiftui\u002Freferences\u002Fcode-to-design.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fdesign-to-code.md",37329,"https:\u002F\u002Fgithub.com\u002Fsure-scale\u002Fdoc-haus\u002Fblob\u002Fdochaus\u002Fpackages\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-swiftui\u002Freferences\u002Fdesign-to-code.md",[56,63,70,77,84,91],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":18},"01M75B44S57BSW28BPNSY32KM3","figma-use","**MANDATORY prerequisite** — you MUST invoke this skill BEFORE every `use_figma` tool call. NEVER call `use_figma` directly without loading this skill first. Skipping it causes common, hard-to-debug failures. Trigger whenever the user wants to perform a write action or a unique read action that requires JavaScript execution in the Figma file context — e.g. create\u002Fedit\u002Fdelete nodes, set up variables or tokens, build components and variants, modify auto-layout or fills, bind variables to properties, or inspect file structure programmatically.","https:\u002F\u002Fgithub.com\u002Fsure-scale\u002Fdoc-haus\u002Fblob\u002Fdochaus\u002Fpackages\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-use\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M75B41F6YZ7GGZR11247RWP4","figma-use-slides","This skill helps agents use Figma's use_figma MCP tool in the Slides context. Can be used alongside figma-use which has foundational context for using the use_figma tool.","https:\u002F\u002Fgithub.com\u002Fsure-scale\u002Fdoc-haus\u002Fblob\u002Fdochaus\u002Fpackages\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-use-slides\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M75B3XJZ4RQEVMRB8KJEZCXW","figma-use-motion","Motion \u002F animation context for the `use_figma` MCP tool — animating Figma nodes via manual keyframes, animation styles, easing, and timeline duration. Load alongside figma-use whenever a task involves adding, editing, or inspecting animation on a node.","https:\u002F\u002Fgithub.com\u002Fsure-scale\u002Fdoc-haus\u002Fblob\u002Fdochaus\u002Fpackages\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-use-motion\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M75B3TSPBY2M1V5RJGDYMP60","figma-use-figjam","This skill helps agents use Figma's use_figma MCP tool in the FigJam context. Can be used alongside figma-use which has foundational context for using the use_figma tool.","https:\u002F\u002Fgithub.com\u002Fsure-scale\u002Fdoc-haus\u002Fblob\u002Fdochaus\u002Fpackages\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-use-figjam\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M75B3K427PFQTYE8TKXW6NST","figma-shaders","**MANDATORY prerequisite** — load this skill before calling `create_shader` or `update_shader`. Use when the user asks to create, author, change, fix, or iterate on a shader effect, shader fill, custom effect, custom fill, or procedural shader in Figma.","https:\u002F\u002Fgithub.com\u002Fsure-scale\u002Fdoc-haus\u002Fblob\u002Fdochaus\u002Fpackages\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-shaders\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":18},"01M75B3EXNG0J87H7BPNT36AZH","figma-implement-motion","Translates Figma motion and animations into production-ready application code. Use when implementing animation\u002Fmotion from a Figma design — user mentions \"implement this motion\", \"add animation from Figma\", \"animate this component\", provides a Figma URL whose node is animated, or when `get_design_context` returns motion data or instructs you to call `get_motion_context`.","https:\u002F\u002Fgithub.com\u002Fsure-scale\u002Fdoc-haus\u002Fblob\u002Fdochaus\u002Fpackages\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-implement-motion\u002FSKILL.md",[],[]]