Agent skill

Scoping Change Relevance

by jaktestowac in jaktestowac/awesome-copilot-for-testers

Classifies a diff into file tags and hunk tags - new public export, new endpoint, modified auth, SQL string, migration, added dependency, touched prompt - then maps each tag to the quality practices…

MITAuto-check passedDevelopment

Install Scoping Change Relevance

skills CLI
$ npx skills add jaktestowac/awesome-copilot-for-testers --skill scoping-change-relevance -a claude-code

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

GitHub CLI
$ gh skill install jaktestowac/awesome-copilot-for-testers scoping-change-relevance --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/jaktestowac/awesome-copilot-for-testers.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/scoping-change-relevance .claude/skills/scoping-change-relevance && 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
scoping-change-relevance
GitHub stars
116
Token cost
~2.5k tokens
SKILL.md length
1,189 words
Files
4
Skills in repo
13
Repo updated
First seen
Licence
MIT

At a glance

Classifies a diff into file tags and hunk tags - new public export, new endpoint, modified auth, SQL string, migration, added dependency, touched prompt - then maps each tag to the quality practices…

  • Works in 5 steps: Pin the diff → Assign file tags → Assign hunk tags → …
  • Deciding what to test for a specific pull request
  • SKILL.md covers When to Use, Operating Principles, Workflow and Worked Example, plus 4 more sections
  • Calls git

What it does

Scoping Change Relevance is an agent skill from jaktestowac/awesome-copilot-for-testers. Classifies a diff into file tags and hunk tags - new public export, new endpoint, modified auth, SQL string, migration, added dependency, touched prompt - then maps each tag to the quality practices it makes relevant, producing a defensible per-change check scope instead of running everything or guessing. Use when deciding what to test for a specific pull request, when a full regression run is too slow to gate on, when a pre-push or PR gate needs a scope someone can argue with, or when asked "which checks does…

Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files (for example `resources/change-scope-template.md`, `resources/relevance-recipes.md` and `resources/tag-rules.md`).

It sits in Development, covering Pull requests. It works with SQL. The repository describes itself as: 👨💻 Instructions, prompts, and chat modes to help You with test automation for GitHub Copilot 🤖. The licence is MIT.

When your agent uses it

  • Deciding what to test for a specific pull request
  • A full regression run is too slow to gate on
  • PR gate needs a scope someone can argue with
  • Asked which checks does this change actually need

Example prompts

  • “which checks does this change actually need”
  • “Use the scoping-change-relevance skill to classify a diff into file tags and hunk tags - new public export, new endpoint, modified auth, SQL string…”
  • “/scoping-change-relevance”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Pin the diff
  2. Assign file tags
  3. Assign hunk tags
  4. Resolve relevant practices
  5. Rank and report

What it can do on your machine

Read from SKILL.md and the folder at commit 8910672. 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:

    • git

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

  • Network

    No URLs in SKILL.md. Its commands use git, 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

Scoping Change Relevance loads about 2.5k tokens when it runs. Until then it costs about 142 tokens; SKILL.md has 1,189 words of instructions outside code blocks.

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

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

The full file from jaktestowac/awesome-copilot-for-testers at commit 8910672, republished under its MIT licence (© jaktestowac). 1,189 words, ~2,500 tokens.

Download SKILL.mdSave it as .claude/skills/scoping-change-relevance/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
scoping-change-relevance
description
Classifies a diff into file tags and hunk tags - new public export, new endpoint, modified auth, SQL string, migration, added dependency, touched prompt - then maps each tag to the quality practices it makes relevant, producing a defensible per-change check scope instead of running everything or guessing. Use when deciding what to test for a specific pull request, when a full regression run is too slow to gate on, when a pre-push or PR gate needs a scope someone can argue with, or when asked "which checks does this change actually need".
argument-hint
Base branch or commit range (e.g. main...HEAD), plus the repo path or the diff itself
user-invocable
true

Scoping Change Relevance

Use this skill to decide, from the diff alone, which quality practices a specific change makes relevant - and to be able to defend the answer.

Running every check on every commit is slow, so teams stop gating on it. Running whatever the author felt like is fast and arbitrary. The middle path is a tag grammar: derive tags mechanically from the diff, map tags to practices with a fixed recipe table, and the scope becomes reproducible. Two people scoping the same diff should land on the same list.

When to Use

  • a pre-push or PR gate needs to run a subset of checks, chosen defensibly
  • a reviewer needs to know what this diff puts at risk before reading it
  • a slow suite has made "run everything" politically impossible
  • an agent needs a deterministic scope rather than a judgement call
  • a change looks trivial and you want to check whether it actually is

Operating Principles

  • Tags come from the diff, not from the author. "It's just a refactor" is a claim; new-public-export is evidence.
  • Added lines drive hunk tags. Read + lines. Removed lines matter for deletions of tests and guards, and nothing else here.
  • Relevance is a filter, not a discount. A practice out of scope is out of scope for this change; it does not become optional for the project.
  • Any auth, secret, migration, or dependency signal wins. These escalate immediately. There is no "small auth change".
  • Under-tagging is the expensive error. A false positive costs a check run. A false negative ships the defect. When a rule nearly matches, tag it.
  • Deleted guards are changes. A removed test, a removed validation, a loosened type - those are risk-increasing edits, not neutral cleanup.
  • Path is not proof. A file under auth/ is auth-relevant; a file elsewhere that verifies a token is too. Read the hunk.

Workflow

Phase 0: Pin the diff
bash
git diff --name-status <base>...HEAD      # three-dot: compares against the merge base
git diff <base>...HEAD -- <path>          # per-file hunks
git log <base>..HEAD --oneline

Use main...HEAD for a branch, HEAD for uncommitted work. Confirm the base ref resolves and the diff is non-empty before going further - a bad ref silently produces an empty scope, which reads as "nothing to check".

Exclude non-source noise from tagging, but list what you excluded: lockfiles are excluded from hunk tagging yet are themselves a added-dependency signal; snapshots, generated clients, and build output are excluded; docs are excluded unless they are the deliverable.

Phase 1: Assign file tags

Apply the path rules in ./resources/tag-rules.md to every changed path. File tags describe where the change landed: source, test, config, infra, public-api, schema, auth, critical-path, db-migration, ai, secret-suspect, generated.

A path can carry several tags. A path that looks like both test and source is a test.

Phase 2: Assign hunk tags

For each changed source file, read the added lines and apply the content rules in ./resources/tag-rules.md. Hunk tags describe what changed: new-public-export, new-endpoint, modified-auth, secret-like-string, sql-string, exec-call, db-migration, modified-error-handling, modified-request-schema, added-dependency, modified-prompt, removed-test, loosened-type, new-external-call.

Do this by reading, not only by pattern matching. The patterns are a floor: they catch the common shapes and miss anything expressed unusually. If a hunk introduces a new public capability by any route, it is new-public-export.

Phase 3: Resolve relevant practices

Apply ./resources/relevance-recipes.md. Each practice declares the tags that make it relevant; a practice is in scope if any of its declared tags is present. Record, per practice, which tag triggered it - that is what makes the scope reviewable.

Then subtract: a practice not in the project's quality contract is not in scope. If a contract exists (see deriving-a-quality-contract), intersect with it and note practices that would have been triggered but are not contracted. That list is useful evidence next time the contract is reviewed.

Phase 4: Rank and report

Use ./resources/change-scope-template.md. Rank by escalation:

RankTrigger
Escalatedmodified-auth, secret-like-string, sql-string, exec-call, db-migration, critical-path, new-endpoint
Standardnew-public-export, modified-error-handling, modified-request-schema, added-dependency, ai
Lighttest-only, config-only, docs, formatting

State the blind spots explicitly: what the tags cannot see. A pure-rename diff that changes behaviour through a config default, a change whose risk lives in the data rather than the code, a removal whose consequence is elsewhere in the system. The tag grammar is mechanical and therefore blind in known ways - name them rather than implying coverage.

Show full SKILL.md (494 more words)Show less

Worked Example

git diff main...HEAD --name-status
M  src/routes/orders.ts
M  src/auth/session.ts
A  src/lib/pricing.ts
M  package.json
M  prompts/summarize.md
D  src/routes/orders.test.ts

File tags: src/routes/orders.ts → public-api, source · src/auth/session.ts → auth, source · src/lib/pricing.ts → source, critical-path (pricing) · package.json → config · prompts/summarize.md → ai · src/routes/orders.test.ts → test

Hunk tags: new-endpoint (app.post('/orders/:id/refund')) · modified-auth (session TTL and role check) · new-public-export (export function computeRefund) · added-dependency (stripe) · modified-prompt · removed-test

Scope:

RankPracticeTriggered by
Escalatedapi-testingnew-endpoint, public-api
Escalatedsastmodified-auth
Escalatedintegration-testingnew-endpoint, auth, critical-path
Escalatedintent-rationalenew-endpoint, new-public-export on a critical path
Standardunit-testingnew-public-export, removed-test
Standardcontract-testingnew-endpoint + wire-schema present in the repo
Standarddependency-auditadded-dependency
Standardllm-eval-suitemodified-prompt
Standarde2e-testingpublic-api + critical-path reachable from the UI
Lightlinting, type-safetyany source

Flagged: removed-test on the file covering the endpoint being changed. A deleted test is not a neutral edit - require the replacement or a reason.

Blind spots: the stripe integration's failure behaviour is not visible in the diff; whether the refund path is reachable from the UI needs a human to confirm; the prompt change's blast radius depends on which chains consume it.

Common Failure Modes

  • Tagging paths and stopping. File tags alone miss new-endpoint in a file that already existed. Hunk tags are where the risk is.
  • Trusting the commit message. "chore: tidy up" over an auth change is not rare.
  • Reading only + lines. Deleted tests and removed validation are risk-increasing and invisible if you skip removals.
  • Silent exclusions. Filtering out generated files without saying so; then a genuinely hand-edited "generated" file goes unchecked.
  • Turning the scope into a discount. Presenting "only 3 practices apply" as good news, rather than as the deliberate consequence of what the diff touched.
  • Ignoring the lockfile. A dependency bump with no package.json change is still a dependency change.
  • Monorepo blindness. A change in a shared package is a change to every consumer; tag the blast radius, not just the edited path.

Resource Map

  • ./resources/tag-rules.md - the file-path and hunk-content rules, with the patterns and the intent behind each tag
  • ./resources/relevance-recipes.md - practice → triggering tags, the mapping that turns tags into a check scope
  • ./resources/change-scope-template.md - output structure for the scope report
  • analyzing-regression-scope - when the question is blast radius and what to retest, reasoned rather than derived from tags
  • deriving-a-quality-contract - when the set of practices that could be in scope has not been agreed yet
  • verifying-change-coverage - when the scope is known and the question is whether the changed lines are actually executed
  • recording-change-intent - when the tags mark the change as high-risk surface needing a recorded rationale
  • code-review-advanced - when the tagged risks should drive a code-level review
  • generating-quality-gate-workflows - when this scope should drive which CI jobs run

Definition of Done

This skill is complete when:

  • the diff and base ref are pinned and stated, and exclusions are listed
  • every changed path carries its file tags
  • every changed source file has been read for hunk tags, additions and removals
  • each in-scope practice names the tag that triggered it
  • the scope is ranked, with escalations called out separately
  • removed tests, removed validation, and loosened types are flagged explicitly
  • blind spots the tag grammar cannot see are stated, not implied

© jaktestowac, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files in skills/scoping-change-relevance of jaktestowac/awesome-copilot-for-testers.

  • SKILL.md
  • resources/change-scope-template.md
  • resources/relevance-recipes.md
  • resources/tag-rules.md

Open the folder on GitHubat commit 8910672

Compare with similar skills

Scoping Change Relevance 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.

Scoping Change Relevance compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Scoping Change Relevance this skilljaktestowac/awesome-copilot-for-testers116—~2.5kAutomated safety check: PassMIT
Citus Merge Loopcitusdata/citus13k—~2.5kAutomated safety check: PassAGPL-3.0
SeekDB Code Reviewoceanbase/seekdb3.1k—~2.1kAutomated safety check: PassApache-2.0
Reviewtimeplus-io/proton2.3k—~1.1kAutomated safety check: PassApache-2.0
ReviewLeoYeAI/openclaw-master-skills2.2k—~2.9kAutomated safety check: NotesMIT
Review PRapache/shardingsphere21k—~6.4kAutomated safety check: PassApache-2.0

Similar skills

  • Citus Merge Loop

    citusdata/citus

    Take a list of citusdata/citus PR links or numbers and merge each one independently: sync it with its base branch, fix a red check-style job with make reindent, retry other red checks a bounded…

    13k GitHub stars~2.5k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • SeekDB Code Review

    oceanbase/seekdb

    Reviews seekdb pull requests and diffs for real defects in correctness, resources, concurrency, security and tests, reporting only Blocker or Major findings.

    3.1k GitHub stars~2.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Review

    timeplus-io/proton

    Review a Proton pull request or diff for correctness, streaming semantics, checkpointing, compatibility, and performance.

    2.3k GitHub stars~1.1k tokensUpdated 20 days ago
    DevelopmentAuto-check passed
  • Review

    LeoYeAI/openclaw-master-skills

    Pre-landing PR review. An agent skill from LeoYeAI/openclaw-master-skills.

    2.2k GitHub stars~2.9k tokensUpdated 2 mo ago
    DevelopmentAuto-check: notes
  • Review PR

    apache/shardingsphere

    Review Apache ShardingSphere or user-authorized downstream pull requests and PR discussions from public or authorized repository evidence.

    21k GitHub stars~6.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Citus Backport

    citusdata/citus

    Backport one or more merged citusdata/citus main commits/PRs onto the active release branches.

    13k GitHub stars~3.2k tokensUpdated 2 days ago
    DatabasesAuto-check passed

More from jaktestowac/awesome-copilot-for-testers

All 13 skills in this repo
  • API Playwright Test Developer

    jaktestowac/awesome-copilot-for-testers

    Writes and reviews API automation tests with Playwright Test, covering setup/teardown, assertions, data management, and hybrid API+UI flows.

    116 GitHub stars~2k tokensUpdated 1 mo ago
    Auto-check passed
  • Assessing Comprehension Debt

    jaktestowac/awesome-copilot-for-testers

    Measures the risk that code shipped without anyone understanding it: a teach-back attestation on high-risk changes, a risk band from changed-code complexity, diff size and whether a human…

    116 GitHub stars~2.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Creating Orchestration Packs

    jaktestowac/awesome-copilot-for-testers

    Creates agent orchestration packs: cooperating .agent.md files with an orchestrator, subagents, matched handoffs, minimal tool grants, and a shared handoff packet contract.

    116 GitHub stars~2.5k tokensUpdated 1 mo ago
    Auto-check passed
  • Creating Plugins

    jaktestowac/awesome-copilot-for-testers

    Packages repository skills as installable Copilot plugins: marketplace registration, plugin.json manifests, generated skill copies, and the sync check CI enforces.

    116 GitHub stars~3.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Governing Quality Waivers

    jaktestowac/awesome-copilot-for-testers

    Turns "we will skip this check for now" into a dated, attributed, expiring waiver with a stated reason and owner, inventories the silent skips already hiding in a repo - skipped tests, disabled lint…

    116 GitHub stars~2.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Recording Change Intent

    jaktestowac/awesome-copilot-for-testers

    Requires an externalised rationale for high-risk changes - new public exports, new endpoints, auth edits, migrations, removed guards - recorded as an Intent commit trailer, an ADR reference, or a…

    116 GitHub stars~2.8k tokensUpdated 1 mo ago
    Auto-check passed

Works with

Questions about Scoping Change Relevance

What does Scoping Change Relevance do?

Classifies a diff into file tags and hunk tags - new public export, new endpoint, modified auth, SQL string, migration, added dependency, touched prompt - then maps each tag to the quality practices…. Scoping Change Relevance is an agent skill from jaktestowac/awesome-copilot-for-testers. Classifies a diff into file tags and hunk tags - new public export, new endpoint, modified auth, SQL string, migration, added dependency, touched prompt - then maps each tag to the quality practices it makes relevant, producing a defensible per-change check scope instead of running everything or guessing.

When should I use Scoping Change Relevance?

Scoping Change Relevance fits situations like: deciding what to test for a specific pull request; A full regression run is too slow to gate on; PR gate needs a scope someone can argue with; asked which checks does this change actually need.

How do I install Scoping Change Relevance in Claude Code?

Run `npx skills add jaktestowac/awesome-copilot-for-testers --skill scoping-change-relevance -a claude-code`. Or copy the skill folder (skills/scoping-change-relevance in jaktestowac/awesome-copilot-for-testers) into .claude/skills/scoping-change-relevance in your project. Claude Code loads it when a task matches its description.

How do I install Scoping Change Relevance in Codex?

Run `npx skills add jaktestowac/awesome-copilot-for-testers --skill scoping-change-relevance -a codex`. Or copy the skill folder (skills/scoping-change-relevance in jaktestowac/awesome-copilot-for-testers) into .agents/skills/scoping-change-relevance in your project. Codex loads it when a task matches its description.

Can I use Scoping Change Relevance 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 jaktestowac/awesome-copilot-for-testers --skill scoping-change-relevance -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/scoping-change-relevance, .gemini/skills/scoping-change-relevance, .github/skills/scoping-change-relevance and .opencode/skills/scoping-change-relevance in your project.

What does Scoping Change Relevance need to run?

Going by SKILL.md and its folder, Scoping Change Relevance needs the command-line tools its instructions call (git).

Does Scoping Change Relevance access the network?

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

Is Scoping Change Relevance 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 Scoping Change Relevance use?

Scoping Change Relevance is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Scoping Change Relevance use?

About 2.5k tokens (SKILL.md is roughly 10k 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 Scoping Change Relevance?

Skills that share tags, products or a category with Scoping Change Relevance: Citus Merge Loop (citusdata/citus, 13k stars), SeekDB Code Review (oceanbase/seekdb, 3.1k stars), Review (timeplus-io/proton, 2.3k stars) and Review (LeoYeAI/openclaw-master-skills, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Scoping Change Relevance?

jaktestowac (a GitHub user) maintains it in jaktestowac/awesome-copilot-for-testers, which has 116 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on August 26, 2026.

Source: jaktestowac/awesome-copilot-for-testers on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.