Convert validated playground templates or HTML compositions into reusable pattern files (*.examples.ts) in the pattern library. Use this skill whenever the user wants to save, persist, store, or catalog a template, prototype, composition, or playground result as a reusable pattern. Trigger on phrases like "save as pattern," "create pattern," "add to pattern library," "persist this template," "convert to examples.ts," or when the user has validated HTML and wants it stored in projects/internals/patterns/src/.
$npx -y skills add nvidia/elements --skill pattern-creationInstalls into the current project.
Run `npx skills use "https://github.com/nvidia/elements" --skill "nvidia/elements/pattern-creation"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/nvidia/elements" that are relevant to the current task. Run `npx skills add "https://github.com/nvidia/elements"` and select the relevant skills, then follow their instructions.