s2-docs
Installation
SKILL.md
Spectrum 2 Docs
Deprecated. This skill and
@adobe/s2-docs-mcpare superseded by@adobe/design-data-mcp. If that server is available, prefer itsdesign-data-component-searchanddesign-data-componenttools. The commands below still work and use current data.
Fetch canonical S2 docs before suggesting any Spectrum component or pattern. This prevents common vibe-coding mistakes: wrong variant, hard-coded sizes, divider-first layouts, missing required props.
Lookup commands
Get a specific component (use before writing any RSP/SWC code):
node ${CLAUDE_SKILL_DIR}/scripts/lookup.js get <component-name>