Skip to main content

find-related-tests

Find test files and functions related to recent git changes. Suggests exact go test commands with correct env vars.

Jump to install

Source facts

Repository
fleetdm/fleet
Last source activity
April 6, 2026 at 23:48
Detected SKILL.md language
English
Stars
6,865
Forks
1,019

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
find-related-tests
description
Find test files and functions related to recent git changes. Suggests exact go test commands with correct env vars.
allowed-tools
Bash(git *), Read, Grep, Glob
effort
low
Look at my recent git changes (`git diff` and `git diff --cached`) and find all related test files. For each modified file, find: 1. The `_test.go` file in the same package 2. Integration tests that exercise the modified code (check `server/service/integration_*_test.go` files) 3. Any test helpers or fixtures that may need updating List the test files and suggest specific test functions to run with the exact `go test` commands, including the right env vars (MYSQL_TEST, REDIS_TEST, etc.).
View on GitHub