Skip to content
Back to skills

Running Tests

ASecurity

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

  • 416 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added February 7, 2026
testinggobash

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add aiskillstore/marketplace --skill running-tests --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Running Tests?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Running Tests
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aiskillstore-running-tests/badge)](https://www.skillsdirectory.com/skills/aiskillstore-running-tests)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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)

Files in this skill

  • SKILL.md1.1 KB
  • skill-report.json8.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…