# Find Related Tests

> Find Related Tests is an Agent Skill for testing & quality published in the fleetdm/fleet repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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

- Skill name: `find-related-tests`
- Category: [Testing & Quality](https://www.openparable.com/skill/testing-quality/1)
- Source: https://github.com/fleetdm/fleet/blob/HEAD/.claude/skills/find-related-tests/SKILL.md
- Repository: fleetdm/fleet (6,583 GitHub stars when collected)

## SKILL.md

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.).

---

Source: https://www.openparable.com/skill/testing-quality/find-related-tests (OpenParable). Cite the canonical URL above.
