OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add nvidia/elements --skill authoring-tests
Write and run automated tests for Elements components including unit, accessibility, visual, SSR, and lighthouse tests. Use this skill whenever the user wants to write, create, update, or debug test files (.test.ts, .test.axe.ts, .test.visual.ts, .test.ssr.ts, .test.lighthouse.ts). Also trigger when the user asks about createFixture, removeFixture, elementIsStable, emulateClick, untilEvent, runAxe, visual baselines, theme testing, or test structure patterns like describe block naming.
npx skills add nvidia/elements --skill authoring-tests
You MUST review @projects/site/src/docs/internal/guidelines/testing.md before making any testing changes.
.test.ts, .test.axe.ts, .test.visual.ts, .test.ssr.ts, .test.lighthouse.ts)@internals/testingRead the specific guideline based on the test type you're working with:
.test.ts): Read testing-unit.md - covers createFixture, elementIsStable, event testing.test.axe.ts): Read testing-accessibility.md - covers axe-core usage, WCAG compliance.test.visual.ts): Read testing-visual.md - covers Playwright screenshots, theme testing.test.ssr.ts): Read testing-ssr.md - covers server-side rendering compatibility.test.lighthouse.ts): Read testing-lighthouse.md - covers performance, accessibility scorescreateFixture and removeFixtureelementIsStable() before making assertions on Lit componentsemulateClick and untilEvent for realistic event testing