← スキル一覧に戻る

quick-test
by DennisToma
⭐ 0🍴 0📅 2026年1月13日
SKILL.md
name: quick-test description: Run tests and analyze failures with actionable fixes. Use when user wants to run tests or debug test failures. allowed-tools: "Bash,Read,Grep" version: 1.0.0
Quick Test Runner
Run tests and provide actionable analysis of failures.
Instructions
Step 1: Detect Test Framework
Check for test configuration:
package.json→ look for jest, vitest, mochapytest.iniorpyproject.toml→ pytestCargo.toml→ cargo testgo.mod→ go test
Step 2: Run Tests
Execute the appropriate command:
| Framework | Command |
|---|---|
| Jest | npm test or npx jest |
| Vitest | npm test or npx vitest run |
| Pytest | python -m pytest -v |
| Go | go test ./... |
| Cargo | cargo test |
Step 3: Analyze Results
If tests pass:
- Report success with count
- Note any skipped tests
If tests fail:
- List each failing test
- Show the assertion error
- Identify the file and line number
Step 4: Diagnose Failures
For each failure:
- Read the test file at the failing line
- Read the source file being tested
- Identify the mismatch between expected and actual
Step 5: Suggest Fixes
Provide:
- Root cause (1 sentence)
- Specific fix with code snippet
- Whether it's a test bug or source bug
Output Format
## Test Results: X passed, Y failed, Z skipped
### Failures
#### test_name (file:line)
**Error:** assertion message
**Root cause:** Brief explanation
**Fix:**
\`\`\`language
code change here
\`\`\`
Notes
- Run tests from project root
- For large test suites, run specific test file first
- Check for missing dependencies if tests won't run
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です