Run tests

From stbenjam/skillsaw · View interactive version

Run tests is an AI agent skill from the GitHub repository stbenjam/skillsaw. Execute the project test suite with coverage reporting. Use when validating a change.

How to use this skill

Skill file

Run Tests

Execute the full test suite for the current project, collect coverage

metrics, and report results in a structured format.

When to Use This Skill

Use after making code changes to verify nothing is broken, or when the

user explicitly asks to run tests.

Implementation Steps

Step 1: Detect Test Framework

Identify the test framework by checking these files in order:

  1. pyproject.toml or pytest.ini → pytest
  2. package.json with a test script → jest / vitest
  3. go.mod → go test
  4. Cargo.toml → cargo test

Step 2: Run Tests

Execute the test suite with coverage enabled:

Step 3: Parse Results

Extract from the test output:

Step 4: Report Results

Format a markdown summary:

| Metric | Value |

|--------|-------|

| Total | N |

| Passed | N |

| Failed | N |

| Coverage | N% |

If any tests failed, include the failure output with file paths and

line numbers.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.