[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6D2DYAX2CJ2BP7QPDGY8J08":3,"skill-same:01M6D2DYAX2CJ2BP7QPDGY8J08":72},{"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":30,"linkOnly":31,"markdownContent":32,"markdownBody":33,"frontMatter":34,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":40,"ownerHtmlUrl":41,"ownerBlogUrl":40,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M6D2DYAX2CJ2BP7QPDGY8J08","ui-part-menus",null,"Menus and dropdowns of actions: when to use one and what instead, the trigger and its name, item anatomy and groups, destructive and checkable items, the APG menu button keyboard pattern, placement that stays inside the window, context menus, bottom sheets on phones, and the libraries to use. Read before building a menu, a dropdown or a row's more-actions button.","enowdev\u002Fenowxcli","enowdev","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F179420349?v=4","01M6D1MVX2KC0X3Z9NESE7P22K","Enow Dev.","01M6D1MW1FMZGBDKWAJY4GQX81",67,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-part-menus\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29],"ui","ui part menus","context menus","libraries","actions","before building","read","context","use","pattern","anatomy","2026-11-10 10:12:30",false,"---\nname: ui-part-menus\ndescription: \"Menus and dropdowns of actions: when to use one and what instead, the trigger and its name, item anatomy and groups, destructive and checkable items, the APG menu button keyboard pattern, placement that stays inside the window, context menus, bottom sheets on phones, and the libraries to use. Read before building a menu, a dropdown or a row's more-actions button.\"\n---\n\n# Menus and dropdowns\n\nThe generated version: a three-dot button with no name, opening on hover a\nlist of links and actions mixed together, clipped by the edge of the\nscreen, Delete in red at the top beside Edit, and nothing the keyboard can\nreach. A menu is a short list of actions on one thing, opened by a button,\ndriven by the arrow keys, and placed where it fits. The principles are in\nthe `ui` skill, the measures in `ui-layout`, the motion in\n`motion-interface` (section 2).\n\n## 1. When a menu, and when not\n\n- Use one for three or more secondary actions on one object (a row's\n  \"More actions\", a file's options), for an account menu, and for toolbar\n  actions that no longer fit.\n- Not for:\n  - the primary action, or one or two actions: show them as buttons. A\n    menu with one item is a button hidden behind a click.\n  - a site's navigation: a header dropdown is a disclosure of links, not\n    `role=\"menu\"` (`ui-part-navigation`).\n  - choosing a value in a form: a select, radio group or combobox\n    (`ui-part-choices`).\n  - searching many commands: a command palette (`ui-part-command-palette`).\n- An app's account menu may mix links (Profile, Settings) with actions\n  (Sign out): render the links as menu items that are real `\u003Ca>` elements\n  (Radix's `asChild`), so they open in a new tab like any link.\n\n## 2. Anatomy and measures\n\n- **Trigger**: a `button` with `aria-haspopup=\"menu\"` and `aria-expanded`.\n  Either a visible label with a chevron (\"Actions\", \"Sort: Newest\"), or an\n  icon button (32 to 36px, 44px on touch) whose `aria-label` names the\n  object: \"Actions for invoice 0192\".\n- **Panel**: at least 180px or the trigger's width, at most 320px, 4 to 6px\n  of padding, the overlay radius, `--surface` with a 1px border and a soft\n  shadow (it sits above the page), 4 to 8px from the trigger.\n- **Items**: 32 to 36px tall on desktop, 44px on touch; 8 to 12px of side\n  padding; 14px text in sentence case; 16px icons at the start only when\n  they speed up scanning, and then on every item of that group; shortcuts\n  right-aligned in the muted colour, in `\u003Ckbd>`, only when they work; a\n  chevron for a submenu.\n- **Groups**: a separator (1px, 4px of margin) between groups; a small muted\n  group label only when the grouping is not obvious.\n- **Order**: the most used first; destructive items last, after a\n  separator, in the danger colour, with a confirmation or an undo.\n- Items that need more input before they act end with an ellipsis (\"Move\n  to…\", \"Delete…\"); items that act at once do not.\n- **Checkable items**: `menuitemcheckbox` with `aria-checked`, or\n  `menuitemradio` in a group, with a check mark. Keep the menu open after\n  a checkbox item when people usually toggle several.\n- **Length**: the height of the space available with 8px to spare, the list\n  scrolling inside; past about ten items, labelled groups, a filter field,\n  or a different control.\n\n## 3. States\n\n- **Highlighted item**: a surface step (`--surface-2`), one at a time,\n  following the pointer and the keyboard alike.\n- **Focus**: the highlighted item holds focus; the trigger shows its ring\n  when focus comes back.\n- **Open trigger**: `aria-expanded=\"true\"` and a pressed look.\n- **Disabled item**: muted, `aria-disabled=\"true\"`, with the reason when it\n  is not obvious (\"Archive (owners only)\"); removed when it never applies\n  here.\n- **Loading**: the menu opens at once with what is known; an item waiting\n  for data shows a small spinner. Never a menu that opens empty.\n\n## 4. Keyboard and ARIA (the APG menu button)\n\n- On the trigger: Enter, Space or Down Arrow opens the menu on the first\n  item; Up Arrow opens it on the last.\n- In the menu: Down and Up move (wrapping), Home and End jump to the ends,\n  typing a letter moves to the next item starting with it, Enter or Space\n  activates and closes, Escape closes and returns focus to the trigger, Tab\n  closes it and moves on.\n- Submenus: Right Arrow opens one on its first item, Left Arrow or Escape\n  closes it back to its parent item.\n- Markup: `role=\"menu\"` on the list; `menuitem`, `menuitemcheckbox` or\n  `menuitemradio` on items; `role=\"separator\"`; `role=\"group\"` with\n  `aria-labelledby` for labelled groups; one Tab stop (roving `tabindex`).\n- Pointer: a click or tap opens it, never hover alone; a click outside, an\n  item chosen or Escape closes it. A submenu may open on hover after 100 to\n  150ms, with a safe triangle toward it.\n- Use a library that has done this: Radix `DropdownMenu` and `ContextMenu`\n  (shadcn\u002Fui), React Aria `MenuTrigger` and `Menu`, Headless UI `Menu`, Ark\n  UI `Menu`, Bits UI or Melt UI in Svelte. In plain HTML the Popover API\n  (`popover`, `popovertarget`) handles opening, light dismiss and the top\n  layer but not the arrow keys: add them, or use Web Awesome's dropdown.\n- A confirmation opened from an item is rendered outside the menu and\n  opened from state set in the item's `onSelect`, so the menu closes first\n  and focus returns to the trigger when the dialog closes.\n\n## 5. Placement\n\n- Below the trigger, aligned to its start edge; to its end edge when the\n  trigger sits at the right of a row or a toolbar.\n- The menu stays inside the window: it flips above when there is no room\n  below, shifts sideways with 8px to spare, and never widens the page.\n  Floating UI (`offset`, `flip`, `shift`, `size`, with `autoUpdate`), or\n  the library's collision handling (Radix `collisionPadding`, and\n  `--radix-dropdown-menu-content-available-height` for the max height).\n  CSS anchor positioning (`position-anchor`, `position-try-fallbacks`)\n  does the same where supported.\n- In the top layer or a portal, so a parent with `overflow: hidden` or a\n  table's scroll container cannot clip it; above the sticky header, below\n  dialogs.\n\n## 6. Context menus\n\n- A right-click menu (a long press on touch, Shift+F10 or the Menu key from\n  the keyboard) is a shortcut, never the only way: each action in it is\n  also behind a visible \"More actions\" button or elsewhere on screen.\n- The same items in the same order as the visible menu, so people learn\n  one.\n\n## 7. Phones and touch\n\n- A short menu stays anchored to its trigger, with 44px items.\n- A long one (more than about six items, or with submenus) opens as a\n  bottom sheet (`ui-part-drawers`): the object's name as its title, 48px\n  rows, a Cancel button, and submenus as a second screen with Back\n  instead of flyouts.\n- Nothing on hover only; the trigger is at least 44px.\n\n## 8. Themes and motion\n\n- The panel is one surface step above the page, with a hairline border on\n  dark, where a shadow barely shows (`ui-themes`).\n- In: a fade with `scale(0.96)` from the trigger's side, 160 to 240ms. Out:\n  a fade, 120 to 160ms. The highlight moves instantly. A fade only under\n  reduced motion (`motion-interface`, section 2).\n\n## 9. A sketch (shadcn\u002Fui, Radix underneath)\n\n```tsx\nconst [confirming, setConfirming] = useState(false);\n\n\u003CDropdownMenu>\n  \u003CDropdownMenuTrigger asChild>\n    \u003CButton variant=\"ghost\" size=\"icon\" aria-label={`Actions for invoice ${invoice.number}`}>\n      \u003CDotsVerticalIcon aria-hidden \u002F>\n    \u003C\u002FButton>\n  \u003C\u002FDropdownMenuTrigger>\n  \u003CDropdownMenuContent align=\"end\" collisionPadding={8}>\n    \u003CDropdownMenuItem onSelect={() => duplicateInvoice(invoice.id)}>Duplicate\u003C\u002FDropdownMenuItem>\n    \u003CDropdownMenuItem asChild>\n      \u003Ca href={`\u002Finvoices\u002F${invoice.id}\u002Fpdf`}>Download PDF\u003C\u002Fa>\n    \u003C\u002FDropdownMenuItem>\n    \u003CDropdownMenuSeparator \u002F>\n    \u003CDropdownMenuItem className=\"text-destructive\" onSelect={() => setConfirming(true)}>\n      Delete…\n    \u003C\u002FDropdownMenuItem>\n  \u003C\u002FDropdownMenuContent>\n\u003C\u002FDropdownMenu>\n\u003CConfirmDeleteDialog open={confirming} onOpenChange={setConfirming} invoice={invoice} \u002F>\n```\n\n## Check it\n\n- Keyboard only: Tab to the trigger; Enter opens on the first item; the\n  arrows, Home, End and a letter move; Escape closes with focus back on the\n  trigger; Tab leaves.\n- A screen reader announces the trigger's name and \"menu button,\n  collapsed\", then the menu and each item's name and state.\n- Open every menu at 360px near the right and bottom edges: it flips or\n  shifts, nothing is clipped, the page never widens.\n- `preview`: \"controls without a name\" catches unnamed icon triggers,\n  \"touch targets under 44px\" small ones on phones. `ui_check`:\n  `empty-handler` finds items that do nothing.\n\n## Avoid\n\nMenus that open on hover only; a menu with one item; a three-dot trigger\nwith no name; Delete first, or beside Edit without a separator;\ndestructive items that act without a confirmation or an undo;\n`role=\"menu\"` on site navigation; a menu clipped by a scroll container or\nthe window; icons on some items and not others; shortcuts that do not\nwork; a hand-built menu with no arrow keys; a context menu as the only way\nto an action.\n","# Menus and dropdowns\n\nThe generated version: a three-dot button with no name, opening on hover a\nlist of links and actions mixed together, clipped by the edge of the\nscreen, Delete in red at the top beside Edit, and nothing the keyboard can\nreach. A menu is a short list of actions on one thing, opened by a button,\ndriven by the arrow keys, and placed where it fits. The principles are in\nthe `ui` skill, the measures in `ui-layout`, the motion in\n`motion-interface` (section 2).\n\n## 1. When a menu, and when not\n\n- Use one for three or more secondary actions on one object (a row's\n  \"More actions\", a file's options), for an account menu, and for toolbar\n  actions that no longer fit.\n- Not for:\n  - the primary action, or one or two actions: show them as buttons. A\n    menu with one item is a button hidden behind a click.\n  - a site's navigation: a header dropdown is a disclosure of links, not\n    `role=\"menu\"` (`ui-part-navigation`).\n  - choosing a value in a form: a select, radio group or combobox\n    (`ui-part-choices`).\n  - searching many commands: a command palette (`ui-part-command-palette`).\n- An app's account menu may mix links (Profile, Settings) with actions\n  (Sign out): render the links as menu items that are real `\u003Ca>` elements\n  (Radix's `asChild`), so they open in a new tab like any link.\n\n## 2. Anatomy and measures\n\n- **Trigger**: a `button` with `aria-haspopup=\"menu\"` and `aria-expanded`.\n  Either a visible label with a chevron (\"Actions\", \"Sort: Newest\"), or an\n  icon button (32 to 36px, 44px on touch) whose `aria-label` names the\n  object: \"Actions for invoice 0192\".\n- **Panel**: at least 180px or the trigger's width, at most 320px, 4 to 6px\n  of padding, the overlay radius, `--surface` with a 1px border and a soft\n  shadow (it sits above the page), 4 to 8px from the trigger.\n- **Items**: 32 to 36px tall on desktop, 44px on touch; 8 to 12px of side\n  padding; 14px text in sentence case; 16px icons at the start only when\n  they speed up scanning, and then on every item of that group; shortcuts\n  right-aligned in the muted colour, in `\u003Ckbd>`, only when they work; a\n  chevron for a submenu.\n- **Groups**: a separator (1px, 4px of margin) between groups; a small muted\n  group label only when the grouping is not obvious.\n- **Order**: the most used first; destructive items last, after a\n  separator, in the danger colour, with a confirmation or an undo.\n- Items that need more input before they act end with an ellipsis (\"Move\n  to…\", \"Delete…\"); items that act at once do not.\n- **Checkable items**: `menuitemcheckbox` with `aria-checked`, or\n  `menuitemradio` in a group, with a check mark. Keep the menu open after\n  a checkbox item when people usually toggle several.\n- **Length**: the height of the space available with 8px to spare, the list\n  scrolling inside; past about ten items, labelled groups, a filter field,\n  or a different control.\n\n## 3. States\n\n- **Highlighted item**: a surface step (`--surface-2`), one at a time,\n  following the pointer and the keyboard alike.\n- **Focus**: the highlighted item holds focus; the trigger shows its ring\n  when focus comes back.\n- **Open trigger**: `aria-expanded=\"true\"` and a pressed look.\n- **Disabled item**: muted, `aria-disabled=\"true\"`, with the reason when it\n  is not obvious (\"Archive (owners only)\"); removed when it never applies\n  here.\n- **Loading**: the menu opens at once with what is known; an item waiting\n  for data shows a small spinner. Never a menu that opens empty.\n\n## 4. Keyboard and ARIA (the APG menu button)\n\n- On the trigger: Enter, Space or Down Arrow opens the menu on the first\n  item; Up Arrow opens it on the last.\n- In the menu: Down and Up move (wrapping), Home and End jump to the ends,\n  typing a letter moves to the next item starting with it, Enter or Space\n  activates and closes, Escape closes and returns focus to the trigger, Tab\n  closes it and moves on.\n- Submenus: Right Arrow opens one on its first item, Left Arrow or Escape\n  closes it back to its parent item.\n- Markup: `role=\"menu\"` on the list; `menuitem`, `menuitemcheckbox` or\n  `menuitemradio` on items; `role=\"separator\"`; `role=\"group\"` with\n  `aria-labelledby` for labelled groups; one Tab stop (roving `tabindex`).\n- Pointer: a click or tap opens it, never hover alone; a click outside, an\n  item chosen or Escape closes it. A submenu may open on hover after 100 to\n  150ms, with a safe triangle toward it.\n- Use a library that has done this: Radix `DropdownMenu` and `ContextMenu`\n  (shadcn\u002Fui), React Aria `MenuTrigger` and `Menu`, Headless UI `Menu`, Ark\n  UI `Menu`, Bits UI or Melt UI in Svelte. In plain HTML the Popover API\n  (`popover`, `popovertarget`) handles opening, light dismiss and the top\n  layer but not the arrow keys: add them, or use Web Awesome's dropdown.\n- A confirmation opened from an item is rendered outside the menu and\n  opened from state set in the item's `onSelect`, so the menu closes first\n  and focus returns to the trigger when the dialog closes.\n\n## 5. Placement\n\n- Below the trigger, aligned to its start edge; to its end edge when the\n  trigger sits at the right of a row or a toolbar.\n- The menu stays inside the window: it flips above when there is no room\n  below, shifts sideways with 8px to spare, and never widens the page.\n  Floating UI (`offset`, `flip`, `shift`, `size`, with `autoUpdate`), or\n  the library's collision handling (Radix `collisionPadding`, and\n  `--radix-dropdown-menu-content-available-height` for the max height).\n  CSS anchor positioning (`position-anchor`, `position-try-fallbacks`)\n  does the same where supported.\n- In the top layer or a portal, so a parent with `overflow: hidden` or a\n  table's scroll container cannot clip it; above the sticky header, below\n  dialogs.\n\n## 6. Context menus\n\n- A right-click menu (a long press on touch, Shift+F10 or the Menu key from\n  the keyboard) is a shortcut, never the only way: each action in it is\n  also behind a visible \"More actions\" button or elsewhere on screen.\n- The same items in the same order as the visible menu, so people learn\n  one.\n\n## 7. Phones and touch\n\n- A short menu stays anchored to its trigger, with 44px items.\n- A long one (more than about six items, or with submenus) opens as a\n  bottom sheet (`ui-part-drawers`): the object's name as its title, 48px\n  rows, a Cancel button, and submenus as a second screen with Back\n  instead of flyouts.\n- Nothing on hover only; the trigger is at least 44px.\n\n## 8. Themes and motion\n\n- The panel is one surface step above the page, with a hairline border on\n  dark, where a shadow barely shows (`ui-themes`).\n- In: a fade with `scale(0.96)` from the trigger's side, 160 to 240ms. Out:\n  a fade, 120 to 160ms. The highlight moves instantly. A fade only under\n  reduced motion (`motion-interface`, section 2).\n\n## 9. A sketch (shadcn\u002Fui, Radix underneath)\n\n```tsx\nconst [confirming, setConfirming] = useState(false);\n\n\u003CDropdownMenu>\n  \u003CDropdownMenuTrigger asChild>\n    \u003CButton variant=\"ghost\" size=\"icon\" aria-label={`Actions for invoice ${invoice.number}`}>\n      \u003CDotsVerticalIcon aria-hidden \u002F>\n    \u003C\u002FButton>\n  \u003C\u002FDropdownMenuTrigger>\n  \u003CDropdownMenuContent align=\"end\" collisionPadding={8}>\n    \u003CDropdownMenuItem onSelect={() => duplicateInvoice(invoice.id)}>Duplicate\u003C\u002FDropdownMenuItem>\n    \u003CDropdownMenuItem asChild>\n      \u003Ca href={`\u002Finvoices\u002F${invoice.id}\u002Fpdf`}>Download PDF\u003C\u002Fa>\n    \u003C\u002FDropdownMenuItem>\n    \u003CDropdownMenuSeparator \u002F>\n    \u003CDropdownMenuItem className=\"text-destructive\" onSelect={() => setConfirming(true)}>\n      Delete…\n    \u003C\u002FDropdownMenuItem>\n  \u003C\u002FDropdownMenuContent>\n\u003C\u002FDropdownMenu>\n\u003CConfirmDeleteDialog open={confirming} onOpenChange={setConfirming} invoice={invoice} \u002F>\n```\n\n## Check it\n\n- Keyboard only: Tab to the trigger; Enter opens on the first item; the\n  arrows, Home, End and a letter move; Escape closes with focus back on the\n  trigger; Tab leaves.\n- A screen reader announces the trigger's name and \"menu button,\n  collapsed\", then the menu and each item's name and state.\n- Open every menu at 360px near the right and bottom edges: it flips or\n  shifts, nothing is clipped, the page never widens.\n- `preview`: \"controls without a name\" catches unnamed icon triggers,\n  \"touch targets under 44px\" small ones on phones. `ui_check`:\n  `empty-handler` finds items that do nothing.\n\n## Avoid\n\nMenus that open on hover only; a menu with one item; a three-dot trigger\nwith no name; Delete first, or beside Edit without a separator;\ndestructive items that act without a confirmation or an undo;\n`role=\"menu\"` on site navigation; a menu clipped by a scroll container or\nthe window; icons on some items and not others; shortcuts that do not\nwork; a hand-built menu with no arrow keys; a context menu as the only way\nto an action.\n",{"name":5,"description":7},"main","38293fe1b096e6bf3646c7344c38786ed688f464","crates\u002Fenowx-core\u002Fskills\u002Fui-part-menus",21,"https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli","https:\u002F\u002Fenowx.ai","https:\u002F\u002Fgithub.com\u002Fenowdev","Pretending to be a Developer","2026-10-06 02:05:35",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add enowdev\u002Fenowxcli --skill ui-part-menus",{"tool":50,"command":51},"bunx","bunx skills add enowdev\u002Fenowxcli --skill ui-part-menus",{"tool":53,"command":54},"pnpm","pnpm dlx skills add enowdev\u002Fenowxcli --skill ui-part-menus","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-part-menus\u002FSKILL.md",true,[58,64,68],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fapis-operations.md","REFERENCE","参考文档",3940,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fplugins\u002Fazure-sdk-dotnet\u002Fskills\u002Fazure-mgmt-apimanagement-dotnet\u002Freferences\u002Fapis-operations.md",{"path":65,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fproducts-subscriptions.md",4116,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fplugins\u002Fazure-sdk-dotnet\u002Fskills\u002Fazure-mgmt-apimanagement-dotnet\u002Freferences\u002Fproducts-subscriptions.md",{"path":69,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fservice-management.md",4031,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fplugins\u002Fazure-sdk-dotnet\u002Fskills\u002Fazure-mgmt-apimanagement-dotnet\u002Freferences\u002Fservice-management.md",[73,84,101,112,133,151],{"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":30},"01M6D2HQYSQD9N7MTNDT4A7CBM","demo-skill","Project-scope demo skill for tests.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fworkspace\u002F.agents\u002Fskills\u002Fdemo-skill\u002FSKILL.md",[],[80,81,82,83,25],"demo skill","demo","tests","project",{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":30},"01M6D2HM0GCPM0TM2HPG9HHR2R","writing","Writing words people read: the specific thing instead of claims, words to drop, sentences, interface copy (buttons, labels, errors, empty states, confirmations), page copy, notifications and emails, alt text and link text, numbers and dates, words that translate well, documentation and voice. Read before writing a page's copy, an interface's text or a document.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fwriting\u002FSKILL.md",[],[86,91,92,93,94,95,25,96,97,98,99,100],"text","emails","empty","drop","document","page","voice","notifications","documentation","translate",{"skillNo":102,"name":19,"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":30},"01M6D2HG07YS49NM196Q0R3AZ8","Designing or restyling an interface: direction, layout, type, colour, icons, components, states, responsive behaviour. Read before building a page, a screen or a set of components.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui\u002FSKILL.md",[],[19,107,108,109,110,96,111,25,24],"icons","components","SET","responsive","layout",{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":30},"01M6D2HB59HZHWG1RYZDV4SJ91","ui-themes","Light and dark themes, and colour that holds in both: tokens with a value per theme, and what each kind of content needs to stay visible (icons, SVG drawings and line art, logos, photos, screenshots, charts, code, maps, borders, shadows, focus, form controls), switching without a flash, and checking both. Read before building a second theme or a theme toggle, and before any drawing, logo or chart on a page that has two themes.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-themes\u002FSKILL.md",[],[19,119,120,121,122,123,124,125,126,25,24,127,96,128,129,130,107,131,132],"ui themes","switching","photos","tokens","drawing","focus","maps","Art","flash","code","Charts","content","screenshots","logo",{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":30},"01M6D2H5R5KRAE524C8QX0T7Q0","ui-structure","Structure before styling: the blueprint written before any interface code (the screen's job, the regions its kind of page needs, their order and why, the layout skeleton in numbers, the components and their states), the anatomy and order of a homepage, a dashboard, a list, a detail page, settings, a form, sign-in, pricing, docs, an article and a checkout, and how to turn the blueprint into code (tokens, layout primitives, components, sections, page). Read first, before building or rebuilding any page or screen.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-structure\u002FSKILL.md",[],[140,19,141,108,142,143,128,144,145,29,111,122,146,147,148,25,24,96,149,150],"structure","ui structure","pricing","dashboard","Blueprint","article","styling","primitives","list","why","how",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":30},"01M6D2H0ZZBJG77MBGPZHA6MWD","ui-stack-vue","Building interfaces in Vue 3 and Nuxt: project layout, script setup with typed defineProps, defineEmits and defineModel, attribute fallthrough, slots and scoped slots, template refs, ref, reactive and computed, watch versus watchEffect, composables and VueUse, provide and inject, Pinia, keyed v-for, transitions, Nuxt 4 (app directory, pages, layouts, useFetch and useAsyncData keys, $fetch in handlers, server routes, runtime config, useSeoMeta, NuxtImg, middleware), VeeValidate forms, Reka UI and Nuxt UI, testing, vue-tsc, and the traps. Read when the project uses Vue or Nuxt.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-stack-vue\u002FSKILL.md",[],[19,158,159,160,161,162,163,164,111,83,165,166,25,167,168,169,170,171,172,173],"vue","stack","ui stack vue","forms","pages","watch","runtime","transitions","fetch","pinia","nuxt","template","server","config","directory","testing"]