Agent skill

Scoped Tests

by coleam00 in coleam00/helpline

Use after changing code, before claiming work is done — picks the correctly scoped pytest command instead of running the whole suite.

No licenceAuto-check passedTesting & QA

Install Scoped Tests

skills CLI
$ npx skills add coleam00/helpline --skill scoped-tests -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install coleam00/helpline scoped-tests --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/coleam00/helpline.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/scoped-tests .claude/skills/scoped-tests && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
scoped-tests
GitHub stars
113
Token cost
~292 tokens
SKILL.md length
97 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
None found

At a glance

Use after changing code, before claiming work is done — picks the correctly scoped pytest command instead of running the whole suite.

  • Tasks that involve Unit testing
  • Calls uv

What it does

Scoped Tests is an agent skill from coleam00/helpline. Use after changing code, before claiming work is done — picks the correctly scoped pytest command instead of running the whole suite. Helps avoid the timeout-and-context-waste of full-suite runs on a one-service change.

Its SKILL.md is about 290 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering Unit testing. It works with pytest. The repository describes itself as: Demonstration codebase for building the AI Layer (CLAUDE.md hierarchy, hooks, skills, LSP, MCP, plugin) — companion repo for the 'How Claude Code works in large codebases' video.

When your agent uses it

  • Tasks that involve Unit testing

Example prompts

  • “/scoped-tests”

What it can do on your machine

Read from SKILL.md and the folder at commit 456234a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Scoped Tests loads about 292 tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 97 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~58
When it runs · the whole SKILL.md, loaded when a task matches
~292

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 97 words (~292 tokens).

“The article's rule: running the full suite on a one-service change wastes context and time. Pick the narrowest command that still covers the change.”

— opening of SKILL.md by coleam00
name
scoped-tests
paths
services/**, packages/**, tests/**

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/scoped-tests of coleam00/helpline.

Open the folder on GitHubat commit 456234a

Compare with similar skills

Scoped Tests next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Scoped Tests compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Scoped Tests this skillcoleam00/helpline113—~292Automated safety check: PassNone
Adk Verify Snippetsgoogle/adk-python22k—~1.4kAutomated safety check: PassApache-2.0
Hermetic Python Unit TestsdimensionalOS/dimos4.6k—~1.4kAutomated safety check: PassCustom licence
Test GuardamElnagdy/guard-skills1.3k2 repos~2.1kAutomated safety check: PassMIT
Pytest Runnersaleor/saleor23k—~251Automated safety check: PassBSD-3-Clause
Port Node Red Nodeoldrev/edgelinkd125—~3kAutomated safety check: PassApache-2.0

Similar skills

  • Adk Verify Snippets

    google/adk-python

    Official

    Checks that every Python code block in a Markdown file actually compiles and runs, by extracting each block to a temporary file, executing it in an isolated subprocess, and writing a pass/fail…

    22k GitHub stars~1.4k tokensUpdated today
    Testing & QAAuto-check passed
  • Hermetic Python Unit Tests

    dimensionalOS/dimos

    Rules for writing, fixing and reviewing pytest unit tests that are hermetic: behavior-focused, deterministic, isolated and cheap to run.

    4.6k GitHub stars~1.4k tokensUpdated today
    Testing & QAAuto-check passed
  • Test Guard

    amElnagdy/guard-skills

    Reviews newly written or edited tests against nine rules that cut test bloat, such as mock-heavy checks and near-duplicate cases, before they are committed.

    1.3k GitHub starsUsed in 2 repos~2.1k tokens
    Testing & QAAuto-check passed
  • Pytest Runner

    saleor/saleor

    Run pytest tests with automatic virtual environment activation. Use this skill whenever running tests, executing pytest, or when asked to "run tests", "test…

    23k GitHub stars~251 tokensUpdated today
    Testing & QAAuto-check passed
  • Port Node Red Node

    oldrev/edgelinkd

    Port a Node-RED node into EdgeLinkd the way this repo does it: implement the node in Rust under crates/core/src/runtime/nodes, mirror Node-RED's mocha spec as pytest tests under tests/, register the…

    125 GitHub stars~3k tokensUpdated today
    Testing & QAAuto-check passed
  • ONNX Runtime Test Runner

    microsoft/onnxruntime

    Official

    Runs and debugs ONNX Runtime tests: Google Test executables for C++ and unittest or pytest for Python, with filters and build-directory guidance.

    22k GitHub stars~1.8k tokensUpdated today
    Testing & QAAuto-check passed

More from coleam00/helpline

  • Billing Money Rules

    coleam00/helpline

    A skill your agent uses when creating or editing code under services/billing.

    113 GitHub stars~281 tokensUpdated 4 mo ago
    Auto-check passed
  • API Add Route

    coleam00/helpline

    A skill your agent uses when adding or changing an HTTP route under services/api.

    113 GitHub stars~262 tokensUpdated 4 mo ago
    Auto-check passed
  • Scoped Tests

    coleam00/helpline

    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…

    113 GitHub stars~288 tokensUpdated 4 mo ago
    Auto-check passed

Works with

Categories

Questions about Scoped Tests

What does Scoped Tests do?

Use after changing code, before claiming work is done — picks the correctly scoped pytest command instead of running the whole suite. Scoped Tests is an agent skill from coleam00/helpline. Use after changing code, before claiming work is done — picks the correctly scoped pytest command instead of running the whole suite.

When should I use Scoped Tests?

Scoped Tests fits situations like: tasks that involve Unit testing.

How do I install Scoped Tests in Claude Code?

Run `npx skills add coleam00/helpline --skill scoped-tests -a claude-code`. Or copy the skill folder (.claude/skills/scoped-tests in coleam00/helpline) into .claude/skills/scoped-tests in your project. Claude Code loads it when a task matches its description.

How do I install Scoped Tests in Codex?

Run `npx skills add coleam00/helpline --skill scoped-tests -a codex`. Or copy the skill folder (.claude/skills/scoped-tests in coleam00/helpline) into .agents/skills/scoped-tests in your project. Codex loads it when a task matches its description.

Can I use Scoped Tests in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add coleam00/helpline --skill scoped-tests -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/scoped-tests, .gemini/skills/scoped-tests, .github/skills/scoped-tests and .opencode/skills/scoped-tests in your project.

What does Scoped Tests need to run?

Going by SKILL.md and its folder, Scoped Tests needs the command-line tools its instructions call (uv).

Does Scoped Tests access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Scoped Tests safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Scoped Tests use?

No licence was found for Scoped Tests or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Scoped Tests use?

About 292 tokens (SKILL.md is roughly 1.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Scoped Tests?

Skills that share tags, products or a category with Scoped Tests: Adk Verify Snippets (google/adk-python, 22k stars), Hermetic Python Unit Tests (dimensionalOS/dimos, 4.6k stars), Test Guard (amElnagdy/guard-skills, 1.3k stars) and Pytest Runner (saleor/saleor, 23k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Scoped Tests?

coleam00 (a GitHub user) maintains it in coleam00/helpline, which has 113 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on May 20, 2026.

Source: coleam00/helpline on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.