.claude/skills/test/SKILL.md
Run tests for Terrae components
npx skillsauth add alamenai/terrae testInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run tests for Terrae components.
Run All Tests
npm run test:run
This runs vitest in single-run mode.
Run Tests in Watch Mode If the user wants to develop with live feedback:
npm run test
Note: This runs in watch mode and won't exit automatically.
Run Specific Tests To run tests for a specific component:
npx vitest run {component-name}
Example: npx vitest run marker
Report Results
Handle Failures If tests fail:
Test File Location Tests are typically located at:
src/registry/map/__tests__/{component}.test.tsx{component}.test.tsxdevelopment
Review code changes implemented in the current session before committing
development
Prepare a Terrae component for release by running all checks and builds
tools
Commit, push, and open a pull request on GitHub
testing
Audit component performance and identify optimization opportunities with actionable fixes