Skip to content

Commit f5ea8d6

Browse files
committed
chore: let the frontmatter of design-system and native-overlays skills parse
A colon in their descriptions read as a nested mapping, and `skills add` skipped both.
1 parent 8c03a7e commit f5ea8d6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎skills/design-system/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: design-system
3-
description: How to build and keep a design system as a source of its own, apart from the app's code — the book (principles, content rules, visual foundations), tokens by role, a page per component, patterns, accessibility, a decision log, and screens drawn per state on canonical data — and the rules that keep it small and coherent: minimal variety on every axis, one role one component, established names, balanced spacing and geometry, contrast, research before a new design, and a check of every change. Apply when creating or changing a design system, its tokens, components, patterns or screens, when designing a new feature on it, or when building the app finds a rule the design should change, even if the request only says "design" or "mockup".
3+
description: How to build and keep a design system as a source of its own, apart from the app's code — the book (principles, content rules, visual foundations), tokens by role, a page per component, patterns, accessibility, a decision log, and screens drawn per state on canonical data — and the rules that keep it small and coherent (minimal variety on every axis, one role one component, established names, balanced spacing and geometry, contrast, research before a new design, and a check of every change). Apply when creating or changing a design system, its tokens, components, patterns or screens, when designing a new feature on it, or when building the app finds a rule the design should change, even if the request only says "design" or "mockup".
44
license: MIT
55
compatibility:
66
- Claude Code

‎skills/native-overlays/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: native-overlays
3-
description: How to build dialogs, sheets, popovers, menus and tooltips on the platform's own top layer — `<dialog>` with `showModal()` and the Popover API instead of portals and z-index — and the traps met on the way: what a modal makes inert, Chrome's close watcher letting the third Escape through, a dialog that animates out while still modal, where focus goes on opening and after closing, light dismiss when the focused control disappears, placement where CSS anchor positioning is missing, scroll lock with the scrollbar's width, sheets that outlive their bar, a menu's keyboard and a tooltip that names nothing. Apply when building or changing any dialog, sheet, menu, popover, picker, combobox list or tooltip, or when one fails to close, closes too soon, loses focus or traps the page.
3+
description: How to build dialogs, sheets, popovers, menus and tooltips on the platform's own top layer — `<dialog>` with `showModal()` and the Popover API instead of portals and z-index — and the traps met on the way (what a modal makes inert, Chrome's close watcher letting the third Escape through, a dialog that animates out while still modal, where focus goes on opening and after closing, light dismiss when the focused control disappears, placement where CSS anchor positioning is missing, scroll lock with the scrollbar's width, sheets that outlive their bar, a menu's keyboard and a tooltip that names nothing). Apply when building or changing any dialog, sheet, menu, popover, picker, combobox list or tooltip, or when one fails to close, closes too soon, loses focus or traps the page.
44
license: MIT
55
compatibility:
66
- Claude Code

0 commit comments

Comments
 (0)