Skip to content

aiskillstore/marketplace / skills/1gy/running-tests

running-tests

Verified

Runs tests and handles failures. Triggered when: test execution, verification, test failures, CI checks.

FileKindSize
SKILL.mdskill md1.1 KB
skill-report.jsonconfig18.5 KB
---
name: running-tests
description: >
  Runs tests and handles failures.
  Triggered when: test execution, verification, test failures, CI checks.
allowed-tools: Read, Bash, Glob, Grep
---

# Test Command Detection

1. Check CLAUDE.md for project-specific test command
2. Auto-detect if not specified:

| File | Command |
|------|---------|
| `package.json` | `npm test` |
| `Cargo.toml` | `cargo test` |
| `justfile` | `just test` |
| `Makefile` | `make test` |
| `pyproject.toml` | `pytest` |
| `go.mod` | `go test ./...` |

3. Ask user if not found

# Test Execution

Run the detected command and report:
- Pass/Fail status
- Failed test names (if any)
- Error messages (if any)

# Failure Handling

1. Analyze failure cause
2. Determine root cause:

| Cause | Action |
|-------|--------|
| Implementation bug | Fix and commit |
| Test bug | Fix test and commit |
| Environment issue | Report to manager |

3. Re-run tests after fix
4. Confirm all tests pass

# Completion Report

- Test result (pass/fail)
- Test count
- Fixes applied (if any)
- Additional commits (if any)
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 323kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 323kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 323kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall