Agent Skills: Test Command Detection

>

UncategorizedID: aiskillstore/marketplace/running-tests

Install this agent skill to your local

pnpm dlx add-skill https://github.com/aiskillstore/marketplace/tree/HEAD/skills/1gy/running-tests

Skill Files

Browse the full folder contents for running-tests.

Download Skill

Loading file tree…

skills/1gy/running-tests/SKILL.md

Skill Metadata

Name
running-tests
Description
>

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 ./... |

  1. 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 |

  1. Re-run tests after fix
  2. Confirm all tests pass

Completion Report

  • Test result (pass/fail)
  • Test count
  • Fixes applied (if any)
  • Additional commits (if any)