Test Targeted
テスト実行時の絞り込み運用ルール。プロジェクト全体テストではなく修正範囲に絞ったテスト実行を行う。`gradlew test`/`pytest`/`jest`/`go test`等のテストランナーを実行するとき、テスト実行コマンドを組み立てるときに必ず参照する。コミット差分や修正ファイルから対象テストを特定する手順を含む。
Install
/plugin marketplace add yasunori0418/skillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add yasunori0418/skills --skill test-targetedgit clone --depth 1 https://github.com/yasunori0418/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/skills/workflow/test-targeted ~/.claude/skills/test-targetedPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# テスト絞り込み実行ルール 特別な指示がない限り、プロジェクト全体テストの一括実行は行わない。直前の作業内容・最新コミット差分・修正ファイルのパスから影響範囲を特定し、対象テストクラスのみに絞って実行する。 ## 実行手順 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` 3. 修正がドメイン層ならドメイン層のテストのみ、インフラ層ならインフラ層のテストのみ実行する ## 例外 以下の場合のみ全範囲テストを実行する: - ユーザーから「全範囲を走らせて」「全部のテストを通して」等の明示指示があったとき - 大規模リファクタリング・依存関係変更など影響範囲を絞り込めない作業のとき 計画書に「全体テスト」と明示されていても、ユーザーから直接の指示がなければ対象テストに絞る。 ## なぜ絞り込むか - 全範囲テストは実行時間が長く(10分超など)、ローカルリソース起因のノイズ(OOM等)が混入しやすい - 修正範囲外テストは確認価値が低い - 失敗時の原因特定も範囲を絞った方が容易
Details
- Skill name
test-targeted- Repository
- yasunori0418/skills
- Path
skills/workflow/test-targeted/SKILL.md- License
- MIT
- Repo updated
- 18 November 2026
FAQ
What does the Test Targeted skill do?
テスト実行時の絞り込み運用ルール。プロジェクト全体テストではなく修正範囲に絞ったテスト実行を行う。`gradlew test`/`pytest`/`jest`/`go test`等のテストランナーを実行するとき、テスト実行コマンドを組み立てるときに必ず参照する。コミット差分や修正ファイルから対象テストを特定する手順を含む。
How do I install the Test Targeted skill?
Claude Code plugin: /plugin marketplace add yasunori0418/skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Test Targeted popular?
It lives in yasunori0418/skills, which has 9 GitHub stars and 0 forks.
Related skills
Agent Teams
9yasunori0418/skills
Claude Code の並列エージェント(agent teams・teammate)の後始末と無応答時の打ち切りルール。`name` を付けて Agent を起動するとき、TeamCreate でチームを組むとき、teammate から `idle_notification` が届いたとき、評価ループ等で次のイテレーションのエージェントを起動する前、エージェントの返信が届かないときに参照する。`name` を付けない通常のサブエージェント起動だけなら対象外。
Basic Design
9yasunori0418/skills
spec.md の REQ-# を入力に、機能一覧・モジュール構成・インターフェース・データフローを持つ docs/dev/<対象>/basic-design.md を作成・改訂するスキル。/basic-design <対象名> で明示的に呼び出されたときのみ使用する。
Biz Translate
9yasunori0418/skills
技術的な内容を、技術用語を排したビジネス職向けの平易な説明文に翻訳する。`/biz-translate` と明示的に呼ばれたときのみ実行する。
Ab Test Analysis
9tarunccet/pm-skills
Analyze A/B test results with statistical significance, sample size validation, confidence intervals, and ship/extend/stop recommendations. Use when evaluating experiment results, checking if a test reached significance, interpreting split test data, or deciding whether to ship a variant.
Test Review
9yasunori0418/skills
ISTQB/JSTQB のテストプロセス各工程の出口ゲートとして、工程成果物(test-plan.md / test-analysis.md / test-design.md / test-case.md / テスト実装 / test-execution-log.md / test-monitoring.md / test-summary-report.md)をレビューするスキル。決定論スクリプトの機械検査(トレーサビリティ ID 突合・テンプレ準拠)と test-reviewer サブエージェントの定性レビューを行い、利用者が通過/条件付き通過/差し戻しを判定して軽量記録 test-review-<工程>.md を残す。上流の仕様・基本設計(spec / design-doc 工程。docs/dev/<対象>/spec.md・basic-design.md)は機械検査と利用者判定のみの軽量ゲートとして扱う。各工程スキル(test-plan〜test-report / feature-spec / basic-design)が完了宣言の前に本スキルの実行を促す。ソースコード diff のレビュー(diff-review)とは別物で、対象はテストプロセスの成果物のみ。成果物の修正・代作はしない。/test-review <テスト対象名> [工程] で明示的に呼び出されたときのみ使用す
Brainstorm Experiments Existing
9tarunccet/pm-skills
Design experiments to test assumptions for an existing product — prototypes, A/B tests, spikes, and other low-effort validation methods. Use when validating assumptions, testing feature ideas cheaply, or planning product experiments.
Browse the most popular Claude skills, all testing & qa skills, or write your own with the skills generator.