[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CS1MF6VKNM38G3XZKX2G3M":3,"skill-same:01M7CS1MF6VKNM38G3XZKX2G3M":50},{"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":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7CS1MF6VKNM38G3XZKX2G3M","bama-swift-swiftui",null,"Swift 6 and SwiftUI code rules for macOS apps, including concurrency, state, SwiftData, AppKit bridges, and fixes for common compiler errors. Use when writing, reviewing, or debugging Swift code in a Mac app, or on concurrency, Sendable, or \"not in scope\" errors.","newmindsgroup\u002Fvisual-design-kit","newmindsgroup","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F38358889?v=4","01M7CRXVBNJ0WGRTNWHWY2HVQ9","01M7CRXVC9ZXSZBAPZTP3Y39CA",2,"MIT","https:\u002F\u002Fgithub.com\u002Fnewmindsgroup\u002Fvisual-design-kit\u002Fblob\u002Fmain\u002Fextras\u002Fbama-mac-studio\u002Fskills\u002Fbama-swift-swiftui\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: bama-swift-swiftui\ndescription: Swift 6 and SwiftUI code rules for macOS apps, including concurrency, state, SwiftData, AppKit bridges, and fixes for common compiler errors. Use when writing, reviewing, or debugging Swift code in a Mac app, or on concurrency, Sendable, or \"not in scope\" errors.\n---\n\n\u003C!-- Version-Timestamp: 2026-10-27 07:36:32 AST -->\n\n## Adapted execution contract\n\nThis is the pinned, MIT-attributed BAMA capability adapted for the owned design kit. Read `ADAPTATION.md` at the BAMA package root before executing helpers. Project instructions, approved DESIGN.md and canonical tokens take precedence. Use supported Codex or Claude Code tools. Resolve this skill's sibling files relative to its installed SKILL.md; `skill_dir` is a task-local shell variable that you set to that resolved directory before running the examples in either host. Invoke a named `bama-*` skill through the host's supported skill mechanism.\n\nStage local builds by default. Installation, signing identity selection, launch, CLI linking, MCP registration, system setting changes and capture access are separate explicit operations. Existing task authorization applies; ask only for an action not already authorized. Stage or commit only when the current task or repository workflow authorizes it. Stage explicit paths and include required attribution. The helpers do not commit. Preserve the feature, story and testing workflow below using the hardened helpers. Legacy installed-app paths in examples must be replaced by the staged binary returned by `build.sh`.\n\nBefore a new scaffold exists, keep planning evidence under the selected `\u003CAppName>-planning\u002Fdocs\u002F` sibling or an existing approved planning folder. Treat docs paths below as relative to that planning folder until the fresh app is scaffolded, then copy the planning docs explicitly without replacing existing files. For an existing app, keep its current project layout.\n\nThe upstream acceptance statements describe checks to perform, never completed results. Screenshots, runtime behavior, permissions and cross-host acceptance require actual evidence. Use synthetic data and owned temporary test roots. Do not run a hosted session over real app data without project authorization.\n\n\n\n# Swift and SwiftUI\n\nThe code is right when it compiles with zero warnings in Swift 6 language\nmode and the app does what the story says. For how it should look, call the\nSkill tool with `bama-mac-design`. For copyable view code, read\n[..\u002F..\u002Fdesign\u002Fbama-mac-design\u002Fpatterns.md](..\u002Fbama-mac-design\u002Fpatterns.md).\n\n## Concurrency\n\nThe template sets main-actor default isolation: every type and function runs\non the main actor unless you say otherwise. UI code needs no annotations.\n\n| Work | Put it in |\n| --- | --- |\n| UI state, views, view models | Default (main actor) |\n| CPU-heavy pure work (parsing, image work, diffing) | A `nonisolated` function marked `@concurrent` |\n| Shared mutable state used off the main thread | An `actor` |\n| A C callback (event tap, Carbon hotkey, CoreAudio listener) | A `nonisolated` static func that hops back with `Task { @MainActor in ... }` |\n\n- Data that crosses actors is `Sendable`: structs and enums of `Sendable`\n  values, or `final class` with only `let` properties.\n- `MainActor.assumeIsolated { }` inside a callback you know runs on the main\n  thread (a main run loop `Timer`, a main queue notification).\n- `Task { }` inherits the actor. `Task.detached` only when it must not.\n- Fix a concurrency error at its type, not with `@unchecked Sendable` or\n  `nonisolated(unsafe)`. Those two are a last resort, with a comment why.\n- **Runtime trap the compiler misses.** A closure created inside a\n  `@MainActor` type and passed to an API without a `@Sendable` closure\n  parameter (`DispatchSource.setEventHandler`, `DispatchWorkItem`,\n  `addPeriodicTimeObserver`, CoreAudio listener blocks) inherits the main\n  actor. When it runs on a background queue, Swift 6 crashes the app. Write\n  it as `{ @Sendable in ... }`, and run every background path once after\n  any concurrency change.\n\n## State\n\n- `@Observable` classes for models. `@State` in the view that owns one,\n  `@Bindable` to bind to its properties, `.environment(model)` to share it.\n- `@ObservationIgnored` on caches, timers, and handles, so they never\n  trigger a redraw.\n- `@State` for view-local values. `@AppStorage` for small preferences.\n  Keychain for secrets.\n- `ForEach(items)` over values, never `ForEach($items)` for data the user\n  can delete: a row can read an index that no longer exists and crash. Get\n  a binding by looking the item up by id.\n\n## SwiftData\n\n- `@Model` classes, `.modelContainer` on the scene, `@Query` in views,\n  `@Environment(\\.modelContext)` to insert and delete.\n- Every new property has a default value, so existing stores still open.\n- Store at `~\u002FLibrary\u002FApplication Support\u002F\u003CAppName>\u002F`. Allow an override\n  (`APP_STORE`) so tests never touch the real data.\n- Give every model its own `uid: UUID`. `persistentModelID` changes on the\n  first save, so it breaks selection and lookups.\n- Undo: register the reverse of each action on the window's undo manager.\n  SwiftData's automatic undo is not reliable. Code in\n  [..\u002F..\u002Fdesign\u002Fbama-mac-design\u002Fpatterns.md](..\u002Fbama-mac-design\u002Fpatterns.md) (Undo with SwiftData).\n- Need SQL, a CLI, or several processes on one file? Use SQLite with WAL\n  through a small library target instead.\n\n## Menu commands\n\nSwiftUI `Commands` do not observe `@Observable` models, so a title or a\n`.disabled(...)` that reads the model goes stale. In testing, neither\n`@FocusedValue` (from `.focusedSceneValue`) nor an `@ObservedObject` inside\nthe commands updated reliably: the menu stayed disabled with a row\nselected. What works: mirror the selection into a small `ObservableObject`,\nobserve it in the `App`, and pass the values into the commands. The App's\nbody then rebuilds the menus when they change.\n\n```swift\n@MainActor final class MenuState: ObservableObject {\n    static let shared = MenuState()\n    @Published private(set) var selection: Set\u003CUUID> = []\n    func update(_ s: Set\u003CUUID>) { if selection != s { selection = s } }\n}\n\u002F\u002F AppModel: var selection: Set\u003CUUID> = [] { didSet { MenuState.shared.update(selection) } }\n\nstruct MyApp: App {\n    @ObservedObject private var menu = MenuState.shared\n    var body: some Scene {\n        Window(\"App\", id: \"main\") { ContentView() }\n            .commands { AppCommands(model: model, selectedIDs: menu.selection) }\n    }\n}\n```\n\nDisable items with `.disabled(selectedIDs.isEmpty)` and resolve the target\nagain when the item fires. Never ship items that stay enabled and do\nnothing. Check the menu from outside the app (`bama-test-mac-app` skill, \"Menu\ncheck\").\n\nA menu shortcut also fires while a text field has focus. Never use Delete,\nCommand-Delete, arrows, or Return as menu shortcuts. Handle them on the\nlist with `.onDeleteCommand` and `.onKeyPress`.\n\n## Names Swift already uses\n\nNever name a type `Task`, `View`, `Color`, `Image`, `Text`, `Section`,\n`Label`, `Menu`, `Group`, or `Settings`. `Task` breaks every `Task { }`.\nUse `Todo`, `TaskItem`, `NoteSection`.\n\n## AppKit bridges\n\nSwiftUI covers windows, lists, and forms. AppKit is still the answer for:\n\n- Floating panels that do not steal focus: `NSPanel` with\n  `.nonactivatingPanel` hosting a SwiftUI view (`NSHostingView`, with\n  `sizingOptions = []` for a fixed frame).\n- Text views with custom behavior: `NSViewRepresentable` around `NSTextView`.\n- Status items with custom click handling: `NSStatusItem`.\n- Key and mouse monitors: `NSEvent.addLocalMonitorForEvents`. Remove the\n  monitor when the view goes away.\n\nFor system hooks (hotkeys, Accessibility, screen capture), call the Skill\ntool with `bama-os-integrations`.\n\n## Compiler errors\n\n| Error | Fix |\n| --- | --- |\n| `cannot find 'X' in scope` right after adding a file | `swift package clean --scratch-path ~\u002FLibrary\u002FDeveloper\u002F\u003CAppName>\u002Fbuild` |\n| `Main actor-isolated ... from a nonisolated context` | Make the caller main-actor, or `await` the call |\n| `Sending 'x' risks causing data races` | Make the type `Sendable`, or keep it on one actor |\n| `The compiler is unable to type-check this expression` | Split the view into smaller subviews or `let` constants |\n| `ambiguous use of 'Task'` | A type in your code is named `Task`; rename it |\n\nFix the first error first. Later errors often come from it.\n\n## Swift 6 errors\n\nMoving an existing Swift 5 app? Read\n[..\u002F..\u002Fship\u002Fbama-build-and-verify\u002Fexisting-app.md](..\u002Fbama-build-and-verify\u002Fexisting-app.md)\nfirst: expect several build rounds, then hunt the runtime trap above.\n\n| Error | Fix |\n| --- | --- |\n| Static `let` of a non-Sendable type (formatter, `NSFont`, `CFString`) | `@MainActor` on the enclosing type, a computed `var`, or a commented `nonisolated(unsafe)` |\n| `sending 'note' risks causing data races` in a main-queue observer | Copy the Sendable parts (an id, a pid) out of the notification before `MainActor.assumeIsolated` |\n| Observer token captured before it is assigned | Keep the token in a small `@MainActor` class |\n| \"pattern that the region-based isolation checker does not understand\" in a task group | Use an array of `Task { @MainActor in ... }` and await each one |\n| Vars changed from `OperationQueue` blocks under `NSLock` | `OSAllocatedUnfairLock(initialState:)` |\n| `@objc` action on an `NSMenuItem` subclass | `@MainActor @objc func` |\n\nDone when the app builds with zero warnings in Swift 6 language mode and\nthe story's acceptance checks pass.\n","\u003C!-- Version-Timestamp: 2026-10-27 07:36:32 AST -->\n\n## Adapted execution contract\n\nThis is the pinned, MIT-attributed BAMA capability adapted for the owned design kit. Read `ADAPTATION.md` at the BAMA package root before executing helpers. Project instructions, approved DESIGN.md and canonical tokens take precedence. Use supported Codex or Claude Code tools. Resolve this skill's sibling files relative to its installed SKILL.md; `skill_dir` is a task-local shell variable that you set to that resolved directory before running the examples in either host. Invoke a named `bama-*` skill through the host's supported skill mechanism.\n\nStage local builds by default. Installation, signing identity selection, launch, CLI linking, MCP registration, system setting changes and capture access are separate explicit operations. Existing task authorization applies; ask only for an action not already authorized. Stage or commit only when the current task or repository workflow authorizes it. Stage explicit paths and include required attribution. The helpers do not commit. Preserve the feature, story and testing workflow below using the hardened helpers. Legacy installed-app paths in examples must be replaced by the staged binary returned by `build.sh`.\n\nBefore a new scaffold exists, keep planning evidence under the selected `\u003CAppName>-planning\u002Fdocs\u002F` sibling or an existing approved planning folder. Treat docs paths below as relative to that planning folder until the fresh app is scaffolded, then copy the planning docs explicitly without replacing existing files. For an existing app, keep its current project layout.\n\nThe upstream acceptance statements describe checks to perform, never completed results. Screenshots, runtime behavior, permissions and cross-host acceptance require actual evidence. Use synthetic data and owned temporary test roots. Do not run a hosted session over real app data without project authorization.\n\n\n\n# Swift and SwiftUI\n\nThe code is right when it compiles with zero warnings in Swift 6 language\nmode and the app does what the story says. For how it should look, call the\nSkill tool with `bama-mac-design`. For copyable view code, read\n[..\u002F..\u002Fdesign\u002Fbama-mac-design\u002Fpatterns.md](..\u002Fbama-mac-design\u002Fpatterns.md).\n\n## Concurrency\n\nThe template sets main-actor default isolation: every type and function runs\non the main actor unless you say otherwise. UI code needs no annotations.\n\n| Work | Put it in |\n| --- | --- |\n| UI state, views, view models | Default (main actor) |\n| CPU-heavy pure work (parsing, image work, diffing) | A `nonisolated` function marked `@concurrent` |\n| Shared mutable state used off the main thread | An `actor` |\n| A C callback (event tap, Carbon hotkey, CoreAudio listener) | A `nonisolated` static func that hops back with `Task { @MainActor in ... }` |\n\n- Data that crosses actors is `Sendable`: structs and enums of `Sendable`\n  values, or `final class` with only `let` properties.\n- `MainActor.assumeIsolated { }` inside a callback you know runs on the main\n  thread (a main run loop `Timer`, a main queue notification).\n- `Task { }` inherits the actor. `Task.detached` only when it must not.\n- Fix a concurrency error at its type, not with `@unchecked Sendable` or\n  `nonisolated(unsafe)`. Those two are a last resort, with a comment why.\n- **Runtime trap the compiler misses.** A closure created inside a\n  `@MainActor` type and passed to an API without a `@Sendable` closure\n  parameter (`DispatchSource.setEventHandler`, `DispatchWorkItem`,\n  `addPeriodicTimeObserver`, CoreAudio listener blocks) inherits the main\n  actor. When it runs on a background queue, Swift 6 crashes the app. Write\n  it as `{ @Sendable in ... }`, and run every background path once after\n  any concurrency change.\n\n## State\n\n- `@Observable` classes for models. `@State` in the view that owns one,\n  `@Bindable` to bind to its properties, `.environment(model)` to share it.\n- `@ObservationIgnored` on caches, timers, and handles, so they never\n  trigger a redraw.\n- `@State` for view-local values. `@AppStorage` for small preferences.\n  Keychain for secrets.\n- `ForEach(items)` over values, never `ForEach($items)` for data the user\n  can delete: a row can read an index that no longer exists and crash. Get\n  a binding by looking the item up by id.\n\n## SwiftData\n\n- `@Model` classes, `.modelContainer` on the scene, `@Query` in views,\n  `@Environment(\\.modelContext)` to insert and delete.\n- Every new property has a default value, so existing stores still open.\n- Store at `~\u002FLibrary\u002FApplication Support\u002F\u003CAppName>\u002F`. Allow an override\n  (`APP_STORE`) so tests never touch the real data.\n- Give every model its own `uid: UUID`. `persistentModelID` changes on the\n  first save, so it breaks selection and lookups.\n- Undo: register the reverse of each action on the window's undo manager.\n  SwiftData's automatic undo is not reliable. Code in\n  [..\u002F..\u002Fdesign\u002Fbama-mac-design\u002Fpatterns.md](..\u002Fbama-mac-design\u002Fpatterns.md) (Undo with SwiftData).\n- Need SQL, a CLI, or several processes on one file? Use SQLite with WAL\n  through a small library target instead.\n\n## Menu commands\n\nSwiftUI `Commands` do not observe `@Observable` models, so a title or a\n`.disabled(...)` that reads the model goes stale. In testing, neither\n`@FocusedValue` (from `.focusedSceneValue`) nor an `@ObservedObject` inside\nthe commands updated reliably: the menu stayed disabled with a row\nselected. What works: mirror the selection into a small `ObservableObject`,\nobserve it in the `App`, and pass the values into the commands. The App's\nbody then rebuilds the menus when they change.\n\n```swift\n@MainActor final class MenuState: ObservableObject {\n    static let shared = MenuState()\n    @Published private(set) var selection: Set\u003CUUID> = []\n    func update(_ s: Set\u003CUUID>) { if selection != s { selection = s } }\n}\n\u002F\u002F AppModel: var selection: Set\u003CUUID> = [] { didSet { MenuState.shared.update(selection) } }\n\nstruct MyApp: App {\n    @ObservedObject private var menu = MenuState.shared\n    var body: some Scene {\n        Window(\"App\", id: \"main\") { ContentView() }\n            .commands { AppCommands(model: model, selectedIDs: menu.selection) }\n    }\n}\n```\n\nDisable items with `.disabled(selectedIDs.isEmpty)` and resolve the target\nagain when the item fires. Never ship items that stay enabled and do\nnothing. Check the menu from outside the app (`bama-test-mac-app` skill, \"Menu\ncheck\").\n\nA menu shortcut also fires while a text field has focus. Never use Delete,\nCommand-Delete, arrows, or Return as menu shortcuts. Handle them on the\nlist with `.onDeleteCommand` and `.onKeyPress`.\n\n## Names Swift already uses\n\nNever name a type `Task`, `View`, `Color`, `Image`, `Text`, `Section`,\n`Label`, `Menu`, `Group`, or `Settings`. `Task` breaks every `Task { }`.\nUse `Todo`, `TaskItem`, `NoteSection`.\n\n## AppKit bridges\n\nSwiftUI covers windows, lists, and forms. AppKit is still the answer for:\n\n- Floating panels that do not steal focus: `NSPanel` with\n  `.nonactivatingPanel` hosting a SwiftUI view (`NSHostingView`, with\n  `sizingOptions = []` for a fixed frame).\n- Text views with custom behavior: `NSViewRepresentable` around `NSTextView`.\n- Status items with custom click handling: `NSStatusItem`.\n- Key and mouse monitors: `NSEvent.addLocalMonitorForEvents`. Remove the\n  monitor when the view goes away.\n\nFor system hooks (hotkeys, Accessibility, screen capture), call the Skill\ntool with `bama-os-integrations`.\n\n## Compiler errors\n\n| Error | Fix |\n| --- | --- |\n| `cannot find 'X' in scope` right after adding a file | `swift package clean --scratch-path ~\u002FLibrary\u002FDeveloper\u002F\u003CAppName>\u002Fbuild` |\n| `Main actor-isolated ... from a nonisolated context` | Make the caller main-actor, or `await` the call |\n| `Sending 'x' risks causing data races` | Make the type `Sendable`, or keep it on one actor |\n| `The compiler is unable to type-check this expression` | Split the view into smaller subviews or `let` constants |\n| `ambiguous use of 'Task'` | A type in your code is named `Task`; rename it |\n\nFix the first error first. Later errors often come from it.\n\n## Swift 6 errors\n\nMoving an existing Swift 5 app? Read\n[..\u002F..\u002Fship\u002Fbama-build-and-verify\u002Fexisting-app.md](..\u002Fbama-build-and-verify\u002Fexisting-app.md)\nfirst: expect several build rounds, then hunt the runtime trap above.\n\n| Error | Fix |\n| --- | --- |\n| Static `let` of a non-Sendable type (formatter, `NSFont`, `CFString`) | `@MainActor` on the enclosing type, a computed `var`, or a commented `nonisolated(unsafe)` |\n| `sending 'note' risks causing data races` in a main-queue observer | Copy the Sendable parts (an id, a pid) out of the notification before `MainActor.assumeIsolated` |\n| Observer token captured before it is assigned | Keep the token in a small `@MainActor` class |\n| \"pattern that the region-based isolation checker does not understand\" in a task group | Use an array of `Task { @MainActor in ... }` and await each one |\n| Vars changed from `OperationQueue` blocks under `NSLock` | `OSAllocatedUnfairLock(initialState:)` |\n| `@objc` action on an `NSMenuItem` subclass | `@MainActor @objc func` |\n\nDone when the app builds with zero warnings in Swift 6 language mode and\nthe story's acceptance checks pass.\n",{"name":5,"description":7},"main","753c596e097d0288f4f74e22d6b8457014eac8b2","extras\u002Fbama-mac-studio\u002Fskills\u002Fbama-swift-swiftui",0,"https:\u002F\u002Fgithub.com\u002Fnewmindsgroup\u002Fvisual-design-kit","https:\u002F\u002Fgithub.com\u002Fnewmindsgroup","2026-11-10 11:31:50",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add newmindsgroup\u002Fvisual-design-kit --skill bama-swift-swiftui",{"tool":36,"command":37},"bunx","bunx skills add newmindsgroup\u002Fvisual-design-kit --skill bama-swift-swiftui",{"tool":39,"command":40},"pnpm","pnpm dlx skills add newmindsgroup\u002Fvisual-design-kit --skill bama-swift-swiftui","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnewmindsgroup\u002Fvisual-design-kit\u002Fblob\u002Fmain\u002Fextras\u002Fbama-mac-studio\u002Fskills\u002Fbama-swift-swiftui\u002FSKILL.md",true,[44],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"agents\u002Fopenai.yaml","REFERENCE","参考文档",101,"https:\u002F\u002Fgithub.com\u002Fnewmindsgroup\u002Fvisual-design-kit\u002Fblob\u002Fmain\u002Fextras\u002Fbama-mac-studio\u002Fskills\u002Fbama-swift-swiftui\u002Fagents\u002Fopenai.yaml",[51,58,65,72,79,86],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M7CSR2BPCD04SARPWN7EJ5R0","web-design","Load before planning, designing, auditing or launching any website, landing page, cinematic hero, microsite or above-the-fold layout, or a prompt for Lovable, Bolt or v0 to build one, including regulated (prescription drug, health, finance), multilingual or market-specific launches. Covers page types (home, product, pricing, about, blog), conversion and ethical persuasion, responsive and fluid layouts, Core Web Vitals, SEO and structured data, localization and language-law requirements, stack and CMS choice (Astro, Next.js, WordPress, Webflow, Framer) and launch QA.","https:\u002F\u002Fgithub.com\u002Fnewmindsgroup\u002Fvisual-design-kit\u002Fblob\u002Fmain\u002Fplugins\u002Fvisual-design-studio\u002Fskills\u002Fweb-design\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M7CSQX00CVQAWP2QDHKVXFMS","ux-design","Load before designing or reviewing any flow, form, onboarding, navigation or content for real users, especially low-literacy, older, neurodivergent, child or other specific audiences. Covers research and usability tests, heuristic reviews, personas and jobs to be done, journeys and service blueprints, information architecture, UX laws, SUS, SEQ and HEART metrics, plain language and reading level, and microcopy and error messages.","https:\u002F\u002Fgithub.com\u002Fnewmindsgroup\u002Fvisual-design-kit\u002Fblob\u002Fmain\u002Fplugins\u002Fvisual-design-studio\u002Fskills\u002Fux-design\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M7CSQQE0HX6Q8YR2EA1TR6P4","ui-design","Load before designing or specifying any interface screen or component, even a quick one: forms, tables, navigation, dashboards, onboarding, auth and passkeys, pricing, checkout, search and filters, settings, empty, loading and error states, notifications, consent and age-appropriate flows, and AI chat and agent interfaces, all to WCAG 2.2 AA. Also picks React UI libraries (toasts, drawers, command menus). Gives component specs, state matrices, sizes, density and keyboard and accessibility behavior.","https:\u002F\u002Fgithub.com\u002Fnewmindsgroup\u002Fvisual-design-kit\u002Fblob\u002Fmain\u002Fplugins\u002Fvisual-design-studio\u002Fskills\u002Fui-design\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M7CSQFM0F9QKZ17S54PYN8M7","typography","Choose, pair, size and set type for brand, web, app, print, slides, signage and motion: modular scales, fluid clamp() type, measure, leading, tracking, OpenType features, font licensing and web font loading, and multiscript setting for CJK, Arabic, Hebrew, Devanagari and Thai. Use when selecting or pairing fonts, building a type scale or type tokens, fixing weak hierarchy or bad line breaks, setting long-form text or numbers, loading web fonts, or localizing type for another market.","https:\u002F\u002Fgithub.com\u002Fnewmindsgroup\u002Fvisual-design-kit\u002Fblob\u002Fmain\u002Fplugins\u002Fvisual-design-studio\u002Fskills\u002Ftypography\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7CSQ95PB7K9JBEFYZVA7226","reference-reconstruction","Reconstructs the observed interface and behavior of a supplied app, site or screenshot set using a screen index, measurements, state and command maps, reusable components and matched-condition comparisons. Use when asked to reverse engineer, clone, reproduce or match a reference product, then adapt it if requested.","https:\u002F\u002Fgithub.com\u002Fnewmindsgroup\u002Fvisual-design-kit\u002Fblob\u002Fmain\u002Fplugins\u002Fvisual-design-studio\u002Fskills\u002Freference-reconstruction\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":18},"01M7CSQ1XRH2MBXH21MSZ7PXWJ","print-packaging-social","Load before any print, packaging, label, barcode, social, out-of-home, slide-deck or email design question, even a quick one, and before making finished collateral files. Specs: bleed, safe zones, 300ppi, CMYK, PDF\u002FX preflight, dielines, barcodes, social formats with 9:16 safe areas, billboard letter heights, 16:9 decks, bulletproof email. Renders token-driven brand books, sell sheets, cards, carousels and decks to PDF and PNG with a Canva editable twin.","https:\u002F\u002Fgithub.com\u002Fnewmindsgroup\u002Fvisual-design-kit\u002Fblob\u002Fmain\u002Fplugins\u002Fvisual-design-studio\u002Fskills\u002Fprint-packaging-social\u002FSKILL.md",[],[]]