rangeLink: Skill for Claude Code

.claude/skills/tcs-definition/SKILL.md

tcs-definition is a skill for Claude Code from couimet/rangeLink. It costs 41 tokens per session (3,080 once invoked), scanned A, original, MIT.

A guided process for drafting and approving new quality-assurance test cases, then adding approved cases to a YAML file. QA test cases are written checks for whether a change works correctly.

In plain words
What is it for?
It helps gather issue details, create a draft for review, repeat approval after edits, and insert approved cases into the RangeLink VS Code extension's QA file.
Why use it?
It separates discussion and review from inserting tests, reducing mistakes in the shared test-file format.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; names the AskUserQuestion tool.

This is couimet/rangeLink's own configuration. It tells Claude Code how to work on rangeLink itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything rangeLink configures →

Reuse

Borrowing it

Nothing to install: this file belongs to couimet/rangeLink. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/couimet/rangeLink/main/.claude/skills/tcs-definition/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/couimet/rangeLink

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tcs-definition

README.md
[![agentmods](https://agentmods.dev/badge/skills/couimet/rangelink/tcs-definition/github.svg)](https://agentmods.dev/skills/couimet/rangelink/tcs-definition)
Your own site
<a href="https://agentmods.dev/skills/couimet/rangelink/tcs-definition"><img src="https://agentmods.dev/badge/skills/couimet/rangelink/tcs-definition/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tcs-definition

Your own site · 80×15
<a href="https://agentmods.dev/skills/couimet/rangelink/tcs-definition"><img src="https://agentmods.dev/badge/skills/couimet/rangelink/tcs-definition.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,080 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 116
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.03080
Opus 5 $0.00020 $0.01540
Sonnet 5 $0.00008 $0.00616
Haiku 4.5 $0.00004 $0.00308

Measured 10d ago against content hash cb6abcf98dbc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

tcs-definition scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/tcs-definition/SKILL.md · 268 lines

How it starts

The opening of the file, as written. The whole thing — 268 lines — stays where its author put it; the contents beside it link to each section on GitHub.

TCs Definition

Interview-driven definition of new QA test cases for the current issue. Two-phase: draft into a /note for review/iteration, then on approval auto-insert into packages/rangelink-vscode-extension/qa/qa-test-cases.yaml.

Shared schema contract: the QA YAML schema (section headers, indentation, label format, automated: value vocabulary) is governed by CLAUDE.md § qa-yaml rules QA001-QA008. Both this skill and the tc-implement agent rely on those rules.

Input: Zero-argument for the draft phase, or the single-word subcommand apply to re-read an existing draft note and prompt for approval again (after the user has edited the note). The bare word — not --apply — keeps the slash invocation /tcs-definition apply short to type.

Step 1: Resolve Issue Context

Run in parallel:

git branch --show-current
gh issue view <issue-url-from-branch> --json title,body,number,state,labels

Extract the issue ID from issues/<ID> on the current branch. If the branch does not match issues/*, STOP with: STOP: tcs-definition runs on an issues/<ID> branch. Current branch is <name>. Switch to the issue branch and re-invoke. Read the active-plan note at the path stored in .claude-work/issues/<ID>/active-plan. If that pointer is missing, STOP with: STOP: No active-plan pointer at .claude-work/issues/<ID>/active-plan. Run /start-issue first.

If the issue body references a parent (e.g., Parent Issue: #47), fetch it via gh issue view.

Step 2: Read QA YAML and Existing Tests

Read in parallel:

  1. packages/rangelink-vscode-extension/qa/qa-test-cases.yaml — the full file.
  2. Glob packages/rangelink-vscode-extension/src/__integration-tests__/suite/*.test.ts and scan for existing test('<slug>-NNN: IDs. Build a slug → existing-IDs map.

Record the highest -NNN per feature slug; the skill uses max + 1 for new entries (per QA004 in CLAUDE.md).

Step 3: Read the Partial Diff (Optional Signal)

Run:

git diff <base-branch>...HEAD -- packages/rangelink-vscode-extension/src/

Read the full file on GitHub · 268 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 268 lines · 41 tokens per session scan A cb6abcf98dbc

Subscribe to this mod's changes

tcs-definition is a skill published in the GitHub repository couimet/rangeLink (10 stars, last pushed yesterday), licensed MIT. It adds 41 tokens to every session and 3,080 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.