一键导入
test
Run tests for Terrae components
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run tests for Terrae components
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Read a GitHub issue, summarize it, and create a branch for it
Commit, push, and open a pull request on GitHub
Verify all outputs exist after creating a new component and fix any issues
Create standardized git commits following Terrae's conventions
Generate or update documentation for Terrae components
Systematically fix issues found by /review or reported by the user
| name | test |
| description | Run tests for Terrae components |
| argument-hint | ["component-name"] |
| allowed-tools | Bash(npm run test*), Bash(npx vitest *) |
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.tsx