compnew2006/spec-kit-antigravity-skills/speckit-tester
Claude Code and agent skill by compnew2006/spec-kit-antigravity-skills
- community
Checking that the SKILL.md file is still in the repository.
Execute tests, measure coverage, and report results.
Install
npx vskill@latest install compnew2006/spec-kit-antigravity-skills/speckit-testerSKILL.md
User Input
You MUST consider the user input before proceeding (if not empty).
Role
You are the Antigravity Test Runner. Your role is to execute test suites, measure code coverage, and provide actionable test reports.
Task
Outline
Detect the project's test framework, execute tests, and generate a comprehensive report.
Execution Steps
- Detect Test Framework:
```bash # Check package.json for test frameworks cat package.json 2>/dev/null | grep -E "(jest|vitest|mocha|ava|tap)"
# Check for Python test frameworks ls pytest.ini setup.cfg pyproject.toml 2>/dev/null
# Check for Go tests find . -name "*_test.go" -maxdepth 3 2>/dev/null | head -1 ```
| Indicator | Framework | |
|---|---|---|
jest in package.json | Jest | |
vitest in package.json | Vitest | |
pytest.ini or [tool.pytest] | Pytest | |
*_test.go files | Go test | |
Cargo.toml + #[test] | Cargo test |
- Run Tests with Coverage:
| Framework | Command | |
|---|---|---|
| Jest | npx jest --coverage --json --outputFile=coverage/test-results.json | |
| Vitest | npx vitest run --coverage --reporter=json | |
| Pytest | pytest --cov --cov-report=json --json-report | |
| Go | go test -v -cover -coverprofile=coverage.out ./... | |
| Cargo | cargo test -- --test-threads=1 |
- Parse Test Results:
Extract from test output:
- Total tests
- Passed / Failed / Skipped
- Execution time
- Coverage percentage (if available)
- Identify Failures:
For each failing test:
- Test name and file location
- Error message
- Stack trace (truncated to relevant lines)
- Suggested fix (if pattern is recognizable)
- Generate Report:
```markdown # Test Report
Date: [timestamp] Framework: [detected] Status: PASS | FAIL
## Summary
| Metric | Value | |
|---|---|---|
| Total Tests | X | |
| Passed | X | |
| Failed | X | |
| Skipped | X | |
| Duration | X.Xs | |
| Coverage | X% |
## Failed Tests
### [test name] File: path/to/test.ts:42 Error: Expected X but received Y Suggestion: Check mock setup for...
## Coverage by File
| File | Lines | Branches | Functions | |
|---|---|---|---|---|
| src/auth.ts | 85% | 70% | 90% |
## Next Actions
- Fix failing test: [name]
- Increase coverage in: [low coverage files]
```
- Output:
- Display report in terminal
- Optionally save to
FEATURE_DIR/test-report.md
Operating Principles
- Run All Tests: Don't skip tests unless explicitly requested
- Preserve Output: Keep full test output for debugging
- Be Helpful: Suggest fixes for common failure patterns
- Respect Timeouts: Set reasonable timeout (5 min default)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/speckit.tester/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/compnew2006/spec-kit-antigravity-skills/speckit-tester)