run-tests

Run pytest, ruff, mypy, and grep audits for Python projects.

Updated Jan 25, 2026
One-click install
npx skills add https://github.com/benzwick/SlicerMouseMaster --skill run-tests-benzwick
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-tests
Source: https://github.com/benzwick/SlicerMouseMaster/tree/main/.claude/skills/run-tests
Command: npx skills add https://github.com/benzwick/SlicerMouseMaster --skill run-tests-benzwick

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill standardizes and automates the process of validating a codebase by running unit tests, linting, type checks, and code quality audits, reducing manual QA effort and catching issues early.

Core Features & Use Cases

  • Orchestrates a multi-step QA workflow by invoking pytest for unit tests, ruff for linting, mypy for type checking, and a grep-based audit for common exceptions.
  • Supports development cycles where code changes must be verified across Python modules and testing suites (e.g., MouseMaster/Testing/Python/ and MouseMaster/MouseMasterLib/).
  • Helps maintain code quality and consistency by providing clear expectations for passing results and guidance when failures occur.

Quick Start

Run the full test suite and quality checks to verify code health across the project.

Frequently Asked Questions about run-tests

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Python unit tests, linting, and type checking in one workflow?

You can automate Python unit tests, linting, and type checking by orchestrating pytest, ruff, and mypy together. This approach runs the full test suite and quality checks sequentially, catching failures early across repository folders.

What is the best way to run code quality audits for common Python exceptions?

The best way to run code quality audits for Python exceptions is using a grep-based search across repository folders. This method identifies common exception patterns directly within the codebase, supplementing standard linting and type checking.

Does this QA workflow support verifying code changes across multiple Python modules?

Yes, this QA workflow supports verifying code changes across multiple Python modules. It applies unit tests, linting, type checks, and audits across specified repository folders like testing suites and library directories.

Can I use ruff and mypy together to standardize Python codebase validation?

Yes, you can use ruff and mypy together to standardize Python codebase validation. Ruff handles linting while mypy performs static type checking, and combining them ensures both code style consistency and type safety.

Why run pytest unit tests and grep audits together during development cycles?

Running pytest unit tests and grep audits together during development cycles catches both functional failures and common code quality issues early. This combination reduces manual QA effort by verifying behavior and scanning for known exceptions.