Skip to content
Agentmart
Submit a tool

test-selection

Selects the smallest relevant test set for a code change.

Skill by X-McKay

IndexedApache-2.0
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/x-mckay-test-selection

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Selects the smallest relevant test set for a code change. Use when an agent modifies files and needs to decide which tests to run before reporting completion.

Use cases: testing, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/test-selection

What's inside

Skill name
test-selection
Description
Selects the smallest relevant test set for a code change. Use when an agent modifies files and needs to decide which tests to run before reporting completion.
License
Apache-2.0
Instructions
18 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (3)

  • SKILL.md
  • pytest-layout.md · references/
  • select_tests.py · scripts/

SKILL.md (first lines)

# Test Selection

When files change, inspect imports, nearby tests, package boundaries, and prior
failure history. Prefer targeted tests first, then broader suites if the change
touches shared infrastructure.

Heuristics:

- For a changed module `pkg/foo.py`, run `tests/test_foo.py` and any test file
  importing `pkg.foo` first.
- If the change touches a shared utility imported widely, escalate to the full
  suite.
- Always finish with the project's fast smoke command if one exists.

Run `scripts/select_tests.py --diff <diff-file>` to get a suggested ordering
from a unified diff.

From X-McKay/bakudo, Apache-2.0.

Signals

Stars
0
Forks
0
Open issues
10
Last commit (this folder)
Aug 17, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from X-McKay

Cite this page

test-selection skill. Agent Mart. https://agentmart.dev/skills/x-mckay-test-selection (last updated 2026-10-24)