Build with AI

Resources to help AI coding tools understand and work with Spectrum Web Components.

Agent Skills

Section titled Agent Skills

Agent Skills are bundles of instructions and reference files that your AI coding tool can load when they are relevant to a task.

Two skills are available for Spectrum Web Components:

Gen1

Section titled Gen1

Activated when your project uses @spectrum-web-components/* packages or sp-* custom elements. Includes guides, component API references, accessibility guidance, and integration examples.

Migrate from Gen1 to Gen2

Section titled Migrate from Gen1 to Gen2

Activated when migrating sp-* elements to swc-* elements from @adobe/spectrum-wc. Includes the full coexistence walkthrough, per-component migration guides, and a CSS property mapping reference.


Run the following command and select the skills you want to install from the list:

npx skills add spectrum-web-components.adobe.com

llms.txt

Section titled llms.txt

An llms.txt file is available for this documentation site. AI tools that support the llms.txt convention can use this file to discover and load the right documentation page for a given task.