test-and-lint-runner

Discover and run the smallest useful validation command for code changes.

3|1|Updated Dec 25, 2025
One-click install
npx skills add https://github.com/hairpin01/repo-MCUB-fork --skill test-and-lint-runner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-and-lint-runner
Source: https://github.com/hairpin01/repo-MCUB-fork/tree/main/OpenAgent/skills/test-and-lint-runner
Command: npx skills add https://github.com/hairpin01/repo-MCUB-fork --skill test-and-lint-runner

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you validate code changes quickly without guessing which checks to run, so you can catch regressions with the smallest useful command.

Core Features & Use Cases

  • Check Discovery: Reads project docs and config to find the right validation commands.
  • Focused Validation: Prefers targeted tests, linting, type checks, syntax checks, and builds before running broader suites.
  • Safe Failure Handling: Reports exact failing commands, preserves relevant errors, and avoids chasing unrelated issues.
  • Use Case: When a Python module changes, it can run a focused syntax or test check first instead of a full repository-wide validation.

Quick Start

Use the test-and-lint-runner skill to inspect the project and run the smallest useful validation command for the files you changed.

Frequently Asked Questions about test-and-lint-runner

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

FAQPage Schema
How do I run focused tests and linting checks only for changed code files?

Focused tests and linting checks are executed by discovering the project's validation commands and running the smallest useful command for your changed files. This avoids triggering full, broad repository-wide validation suites unnecessarily.

What is the best way to validate Python and TypeScript syntax without running interactive prompts?

Non-interactive syntax checks for Python and TypeScript are performed by applying timeout-aware validation. The system executes targeted builds or checks and reports failures clearly without requiring any interactive user prompts during the process.

Can I use automated linting and type checking for MCUB workflows?

Yes, automated linting, type checking, and build validation are supported for MCUB workflows. The system inspects project configurations to find and execute the appropriate validation commands for these specific environments.

How do I find the right validation commands for my software project configuration?

Project validation commands are found through check discovery, which reads your project docs and config files. This discovery process ensures the correct tests and linting commands are selected before executing focused validation.

How are failing tests and linting errors reported to avoid chasing unrelated issues?

Failing tests and linting errors are reported through safe failure handling, which preserves the exact failing commands and relevant errors. This approach prevents the validation process from chasing unrelated issues across the project.

Does the test-and-lint-runner work with JavaScript and Python projects?

The test-and-lint-runner works with Python, JavaScript, TypeScript, and MCUB workflows. It selects and runs the smallest useful validation command for code changes across these supported non-interactive software projects.