Skip to content
Back to skills

Find Related Tests

ASecurity

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

  • 7,278 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 13, 2026
securitygobashsqlgit

Security analysis

A100/100

Scanned November 13, 2026

npx -y skills add fleetdm/fleet --skill find-related-tests --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Find Related Tests?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Find Related Tests
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fleetdm-find-related-tests/badge)](https://www.skillsdirectory.com/skills/fleetdm-find-related-tests)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.