AgentStack
SKILL verified MIT Self-run

Test Targeted

skill-yasunori0418-skills-test-targeted · by yasunori0418

テスト実行時の絞り込み運用ルール。プロジェクト全体テストではなく修正範囲に絞ったテスト実行を行う。`gradlew test`/`pytest`/`jest`/`go test`等のテストランナーを実行するとき、テスト実行コマンドを組み立てるときに必ず参照する。コミット差分や修正ファイルから対象テストを特定する手順を含む。

No reviews yet
0 installs
0 views
view→install

Install

$ agentstack add skill-yasunori0418-skills-test-targeted

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README — it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-yasunori0418-skills-test-targeted)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
today

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming — see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps — measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Test Targeted? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

テスト絞り込み実行ルール

特別な指示がない限り、プロジェクト全体テストの一括実行は行わない。直前の作業内容・最新コミット差分・修正ファイルのパスから影響範囲を特定し、対象テストクラスのみに絞って実行する。

実行手順

  1. git log / git diff で修正対象のクラス/パッケージを特定する
  2. テストランナーの絞り込みオプションで対象を限定する
  • Gradle: --tests "*ClassNameTest" または --tests "FQCN"
  • pytest: pytest path/to/test_file.py::TestClass::test_func または -k "expr"
  • jest: jest path/to/file.test.ts または -t "test name pattern"
  • go test: go test ./pkg/... -run TestName
  • cargo test: cargo test --test integration_test test_name
  1. 修正がドメイン層ならドメイン層のテストのみ、インフラ層ならインフラ層のテストのみ実行する

例外

以下の場合のみ全範囲テストを実行する:

  • ユーザーから「全範囲を走らせて」「全部のテストを通して」等の明示指示があったとき
  • 大規模リファクタリング・依存関係変更など影響範囲を絞り込めない作業のとき

計画書に「全体テスト」と明示されていても、ユーザーから直接の指示がなければ対象テストに絞る。

なぜ絞り込むか

  • 全範囲テストは実行時間が長く(10分超など)、ローカルリソース起因のノイズ(OOM等)が混入しやすい
  • 修正範囲外テストは確認価値が低い
  • 失敗時の原因特定も範囲を絞った方が容易

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.