← Back to list

test
by sanity-labs
Sanity Developer Experience Suite - linting, formatting, and static analysis for Sanity projects
⭐ 3🍴 0📅 Jan 22, 2026
SKILL.md
name: test description: Run tests and report results. Use when you need to verify code changes work correctly.
Test Runner
Run the test suite and interpret results.
Usage
Just say /test to run all tests, or specify options:
/test- Run all tests once/test watch- Run tests in watch mode/test coverage- Run with coverage report/test <pattern>- Run tests matching pattern
Instructions
-
Run the appropriate test command based on user request:
- Default:
pnpm test - Watch mode:
pnpm test:watch - Coverage:
pnpm test:coverage - Pattern:
pnpm test -- --testNamePattern="<pattern>"
- Default:
-
Parse the output and report:
- Number of tests passed/failed
- Which specific tests failed
- Error messages and stack traces for failures
-
If tests fail:
- Identify the failing test file and test name
- Show the relevant assertion error
- Suggest what might need to be fixed
-
If tests pass:
- Confirm success briefly
- Show coverage summary if requested
Example Output
✓ 12 tests passed
✗ 1 test failed
FAILED: packages/groq-lint/src/rules/__tests__/join-in-filter.test.ts
× join-in-filter > invalid > nested join in filter
Expected 2 errors but got 1
Suggestion: The nested dereference case may need adjustment in the walker.
Score
Total Score
60/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon