targeted-testing
Use when selecting development and final validation commands so evidence is sufficient without repeatedly running expensive or irrelevant suites.
by ihabkhaled★ 16 GitHub stars
Install targeted-testing in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Targeted Testing
Core principle
Test from smallest relevant proof to required global gate; schedule quality intelligently without lowering it.
Procedure
- Map the change to its closest unit or focused test.
- Run the failing or targeted proof first.
- Expand to relevant integration and E2E only as risk requires.
- Run lint, typecheck, build, and repository gates at the appropriate checkpoint.
- Classify failures as introduced, pre-existing, environmental, flaky, or unknown.
- Record what each command proves.
Required output
Test sequence, results, failure classification, and remaining mandatory gate.
Limits
Do not rerun full suites after every small edit unless policy requires it.
Common mistakes
Do not skip security or regression gates, or run commands without knowing the evidence sought.
Stop condition
Stop when the current checkpoint has sufficient proof and continue to the next unmet requirement.
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the targeted-testing skill do?
Use when selecting development and final validation commands so evidence is sufficient without repeatedly running expensive or irrelevant suites.
How do I install the targeted-testing skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the targeted-testing skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…