test-workflow

test-workflow is a skill for Claude Code from jerseycheese/agent-skills. It costs 74 tokens per session (2,895 once invoked), scanned A, original, MIT.

A test-selection workflow that examines recent source changes and chooses suitable checks, such as unit, end-to-end, visual, or CSS tests. Unit tests check small pieces of code, while end-to-end tests check complete user flows.

In plain words
What is it for?
Use it after editing source files, when you are unsure which tests to run, or before committing code.
Why use it?
It helps avoid running unrelated checks while still covering the parts affected by a change. It also considers whether a development server is already running.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the workflow-skills plugin — 34 skills shipped together

Good fit Use it after editing source files, when you are unsure which tests to run, or before committing code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jerseycheese/agent-skills/test-workflow
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jerseycheese/agent-skills --skill test-workflow
Clone the repo
git clone --depth 1 https://github.com/jerseycheese/agent-skills

Made for: Claude Code.

Or install workflow-skills, the plugin that ships this one along with the rest of its 34 skills.

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 test-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/jerseycheese/agent-skills/test-workflow/github.svg)](https://agentmods.dev/skills/jerseycheese/agent-skills/test-workflow)
Your own site
<a href="https://agentmods.dev/skills/jerseycheese/agent-skills/test-workflow"><img src="https://agentmods.dev/badge/skills/jerseycheese/agent-skills/test-workflow/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 test-workflow

Your own site · 80×15
<a href="https://agentmods.dev/skills/jerseycheese/agent-skills/test-workflow"><img src="https://agentmods.dev/badge/skills/jerseycheese/agent-skills/test-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,895 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.
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.00074 $0.02895
Opus 5.5 $0.00030 $0.01158
Sonnet 5.5 $0.00015 $0.00579
Haiku 4.5 $0.00007 $0.00290

Measured yesterday against content hash c13cd218c400, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

test-workflow 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 yesterday.

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.

skills/test-workflow/SKILL.md · 473 lines

How it starts

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

When to invoke (auto-trigger)

Invoke automatically whenever:

  • Source files under src/ have been edited and a commit is about to happen
  • The user asks to verify, check, or run tests without specifying which suite
  • Tests are mentioned as a blocker ("make sure tests pass before merging")

Do NOT invoke for: documentation-only edits, config-only changes, or when the user explicitly says to skip tests.

Intelligent Test Workflow Coordinator

When to Use This Skill

Use this skill when:

  • You've made code changes and need to run tests
  • Unsure which test suite is appropriate (unit, E2E, visual, all?)
  • Want smart test selection based on changed files
  • Need coordinated test execution with dev server awareness

What This Skill Does

Analyzes your changes and intelligently runs the appropriate test suite(s):

  • Unit tests for logic, utilities, hooks
  • E2E tests for user flows and integration
  • Visual regression for UI component changes
  • CSS lint for style changes
  • Full suite for widespread changes

Usage Flow

Phase 0: Read the project's scripts

Before running anything, list the scripts the project defines (scripts in package.json, or the repo's equivalent such as a Makefile or pyproject.toml). Map each phase below (type check, CSS lint, unit, E2E, visual) to the script that does that job. Script names differ between projects, so every command in this skill is an example. If a phase has no matching script, skip it and say so in the report. Never run a script name you haven't confirmed exists.

Phase 1: Analyze Changes

Detect what changed:

# Get changed files (staged or unstaged)
git diff --name-only HEAD
git diff --cached --name-only

# Or compare against branch
git diff develop...HEAD --name-only

Categorize changes:

📝 **Changed Files Analysis**

Component files: 3
- src/components/UserProfile.tsx
- src/components/Dashboard.tsx
- src/components/common/Button.tsx

Test files: 2
- src/components/UserProfile.test.ts
- src/components/Dashboard.test.ts

Style files: 1
- src/styles/dashboard.css

Utility files: 0

E2E test files: 0

Read the full file on GitHub · 473 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. yesterday Changed · +6 lines c13cd218c400
  2. 11d ago Changed · -1 lines · -38 tokens per session bfd23e6c4a6d
  3. 1mo ago First seen · 468 lines · 112 tokens per session scan A 3958db8b21ce

Subscribe to this mod's changes

test-workflow is a skill published in the GitHub repository jerseycheese/agent-skills (3 stars, last pushed yesterday), licensed MIT. It adds 74 tokens to every session and 2,895 once invoked, about $0.0003 per session on Opus 5.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.

Related

Other skills, from other repositories

omh-agent-evaluation

This is a Hermes-native agent-evaluation workflow skill.

rlaope/oh-my-hermes · 71 tokens

omh-verification-gate

This is an OMH verification-gate workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).

rlaope/oh-my-hermes · 79 tokens

writing-livekit-scenarios

Creates and maintains the scenarios a LiveKit agent simulation runs, and wires the agent to consume them. Use when the user asks "what should I test", "generate simulation scenarios", "write scenarios for my agent", "add a scenario for X", "organize my scenario files", "my simulations are flaky", "the scenario hits my…

fcakyon/claude-codex-settings · 178 tokens

running-livekit-simulations

Runs LiveKit agent simulations and acts on the results. Use when the user says "run my simulations", "regression test my agent before deploying", "run the scenarios", "use lk agent simulate", "did my agent pass", "why did this scenario fail", "run simulations in CI", "test the audio pipeline", "check turn-taking and…

fcakyon/claude-codex-settings · 183 tokens

api-test-suite-builder

Generate API tests from routes and contracts for authentication, validation, pagination, errors, uploads, and limits in Node.js or Python projects.

seaworld008/Commonly-used-high-value-skills · 32 tokens

testing-flutter

Testing Flutter 3.47 / BLoC v9 / Riverpod 3 - Stratégie Complète. Use when writing tests, reviewing test coverage, or setting up testing.

TheBeardedBearSAS/claude-craft · 42 tokens