scoped-tests

Run tests only for the parts you changed after modifying code and before declaring work done, instead of running the entire test suite, to avoid timeouts and context waste caused by running the full suite for small changes.

Last repository push
GitHub Stars
114
Forks
35
Issues / PRs
0

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "scoped-tests" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-94cc509f0dd4ce63cf699c94e37b4175bb0628a446a0caa8e01cf92c1be6e507. Verify the upstream source and version against https://github.com/coleam00/helpline before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Run tests only for the parts you changed after modifying code and before declaring work done, instead of running the entire test suite, to avoid timeouts and context waste caused by running the full suite for small changes.

0 Downloads

Introduction source: third_party · coleam00 · 0.0.1 Reference

SkillPi interpretation

Tasks
Not specified in the source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: scoped-tests
description: >-
  Use after changing code, before claiming work is done — run the test command
  scoped to what you changed instead of the whole suite, to avoid the timeout
  and context waste of full-suite runs on a small change.

Scoped test runner

The article's rule: running the full suite when you changed one part of the codebase wastes context and time. Pick the narrowest command that still covers the change.

  1. Changed one service / package / app? Run only that area's test command. The exact command lives in that area's CLAUDE.md — subdirectory CLAUDE.md files should specify the test command that applies to that part of the repo.
  2. Changed shared / core code that other areas import? Run the full suite — a change there ripples everywhere, so a scoped run would miss regressions.
  3. Not sure what a change reaches? Trace its importers first (the codebase-search MCP's find_references does this), then scope accordingly.

This skill is repo-agnostic on purpose: it carries the principle. The exact commands belong in each repo's own CLAUDE.md hierarchy, not bundled here.

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value90/100

Highlights

  • 面向开发者的高频刚需场景,显著提升开发效率
  • 直接解决代码修改后测试效率低下的核心痛点
  • 提供清晰的判断逻辑和执行路径
Trigger Precision95/100

Highlights

  • 触发词精准完整,覆盖多种变体
  • 边界定义清晰,不易误触或漏触
  • description 内容完整且位置正确
Structure and Standards90/100

Highlights

  • Phase/步骤清晰,有明确的执行逻辑
  • frontmatter 完整,包含必要信息
  • 文档结构合理,易于理解执行流程
Execution Reliability90/100

Highlights

  • 工具来源明确,基于项目自身的 CLAUDE.md 文件
  • 覆盖主要异常场景,包括共享代码变更
  • 提供确认机制,通过代码库搜索确认影响范围
Evidence Verifiability (mean of the first four)91/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.