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
- Inspect changed files and diff hunks relevant to this skill.
- Use repository-native tools when available.
- Prefer exact evidence from changed code.
- Emit findings using the shared JSONL finding contract.
- 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
grepor editor search before opening files. - Use
git,grep, andghCLI. These are universally available and sufficient for all review tasks. - Do not depend on tools beyond
git,grep,cat,head,wc, andgh.
04 同仓库更多 Skills
testing-strategy
Testing philosophy and strategy. Use this when deciding what to test, naming tests, or identifying corner cases.
testing-patterns
Test implementation patterns. Use this when writing tests — table-driven tests, mocking, fixtures, assertions, and parallel execution.
testing-integration
Integration and E2E testing design. Use this when writing integration tests, E2E tests, or deciding what belongs in each test layer.
test-review
Test review for missing coverage, weak assertions, flaky tests, isolation, fixtures, and regression risk.
severity-classification
Classify review findings into blocking, non-blocking, or note with consistent merge-risk rules.
security-review
Security review for auth, authorization, secrets, injection, crypto, dependency misuse, and unsafe data exposure.