guidance-api-design
Component API design patterns following Elements conventions for properties, attributes, CSS custom properties, slots, and events. Use this skill whenever the user is designing or deciding on a component API, choosing between properties vs attributes vs slots, naming CSS custom properties, designing events, avoiding impossible states, deciding…
Full publisher description
Component API design patterns following Elements conventions for properties, attributes, CSS custom properties, slots, and events. Use this skill whenever the user is designing or deciding on a component API, choosing between properties vs attributes vs slots, naming CSS custom properties, designing events, avoiding impossible states, deciding whether to reflect to an attribute, using CSS Parts, implementing the DataElement interface, or applying the internal-host pattern. Also trigger when the user asks about shorthand vs granular CSS properties or event naming conventions.
Source details
Read SKILL.md ↗ · Browse skill folder ↗
NVIDIA/elements
.agents/skills/guidance-api-design/SKILL.mdPinned revision 2049e8233d776c49b66b507dcd8ee8585fb6a215
Source checked
Reviewed licence: Apache-2.0
repository
Reviewed publisher revision ↗ · 2026-11-22
This indexed source has a different revision. Verify its applicable terms before use.
This skill page is available in English. Publisher instructions stay in their original language.