AGENT SKILL

test-impact-selection

Select the minimal useful tests to run based on changed files, impacted components, and repository conventions.

License 许可
MIT
所属仓库
aydabd/runspec
最近更新
2026-06-06
Stars
★ 0
Forks
0

01 前言 Front Matter

name
test-impact-selection
license
MIT
description
Select the minimal useful tests to run based on changed files, impacted components, and repository conventions.

03 SKILL.md 正文

Purpose

Select the minimal useful tests to run based on changed files, impacted components, and repository conventions.

Review focus

  • changed files to test commands
  • targeted Gradle/Maven/npm/go/pytest commands
  • fast confidence path

Method

  1. Inspect changed files and diff hunks relevant to this skill.
  2. Use repository-native tools when available.
  3. Prefer exact evidence from changed code.
  4. Emit findings using the shared JSONL finding contract.
  5. Avoid style-only comments unless they create maintainability or correctness risk.

Output

{
  "commands": ["<targeted-test-command>"],
  "reason": "One sentence.",
  "fallback_commands": ["<broader-test-command>"]
}

Tooling hints

  • Use grep or editor search before opening files.
  • Use git, grep, and gh CLI. These are universally available and sufficient for all review tasks.
  • Do not depend on tools beyond git, grep, cat, head, wc, and gh.

04 同仓库更多 Skills