run-tests

run-tests is a skill for Claude Code from makigjuro/cloudstack-ai-plugins. It costs 58 tokens per session (1,200 once invoked), scanned A, original, MIT.

A test-running helper for .NET projects that detects which files changed and selects the related test projects. It supports unit tests, integration tests, or both.

In plain words
What is it for?
Use it to run affected unit or integration tests, test one service, or run all available tests after a change.
Why use it?
It avoids running unrelated tests when only part of a codebase changed, while still allowing tests for a named service or the whole solution.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the dev-workflow plugin — 19 skills, 4 agents, 2 hooks, 1 MCP server shipped together

Good fit Use it to run affected unit or integration tests, test one service, or run all available tests after a change.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add makigjuro/cloudstack-ai-plugins
Claude Code
/plugin install dev-workflow

Made for: Claude Code.

Or install dev-workflow, the plugin that ships this one along with the rest of its 19 skills, 4 agents, 2 hooks, 1 MCP server.

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 run-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/makigjuro/cloudstack-ai-plugins/run-tests/github.svg)](https://agentmods.dev/skills/makigjuro/cloudstack-ai-plugins/run-tests)
Your own site
<a href="https://agentmods.dev/skills/makigjuro/cloudstack-ai-plugins/run-tests"><img src="https://agentmods.dev/badge/skills/makigjuro/cloudstack-ai-plugins/run-tests/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 run-tests

Your own site · 80×15
<a href="https://agentmods.dev/skills/makigjuro/cloudstack-ai-plugins/run-tests"><img src="https://agentmods.dev/badge/skills/makigjuro/cloudstack-ai-plugins/run-tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,200 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.00058 $0.01200
Opus 5.5 $0.00023 $0.00480
Sonnet 5.5 $0.00012 $0.00240
Haiku 4.5 $0.00006 $0.00120

Measured 1mo ago against content hash 43772842a85a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

run-tests 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 1mo 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.

plugins/dev-workflow/skills/run-tests/SKILL.md · 133 lines

How it starts

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

Run Tests -- Smart Change-Aware Test Selection

Run tests based on what changed. Auto-detects affected services from git diff and runs only their test projects instead of the full suite.

Configuration

Read cloudstack.json from the project root at the start of execution. Extract relevant fields:

  • SOLUTION = backend.solutionPath (default: find *.sln)
  • SERVICES = backend.services[] (default: discover from project structure)

If cloudstack.json does not exist, auto-detect by scanning the project structure.

1. Parse Arguments

Determine from user input:

  • MODE: unit (default), integration, or all
  • SERVICE: optional service name or slug
  • Explicit --all flag: runs both unit and integration for all projects
User says MODE SERVICE
/run-tests unit (auto-detect)
/run-tests {service} unit {service}
/run-tests --integration integration (auto-detect)
/run-tests --integration {service} integration {service}
/run-tests --all all (auto-detect)
/run-tests --all {service} all {service}

2. Resolve Test Projects

Run the deterministic resolver script instead of reasoning about the mapping yourself:

${CLAUDE_PLUGIN_ROOT}/scripts/resolve-test-projects.sh [--mode unit|integration|all] [--service {slug}] [--diff-base {ref}]

It reads cloudstack.json (backend.services[] with aliases/testProjects, backend.sharedPaths[]) and degrades to convention-based discovery (tests/{projectPrefix}.Tests*, fuzzy directory matching) when the config or jq is missing.

Exit-code contract:

Exit Meaning Action
0 + paths on stdout Targeted test projects resolved Run dotnet test on each printed path
0 + NO_TESTS_AFFECTED Only non-source files changed, or the service explicitly has no tests of this kind Report it; offer the full suite
2 Shared/foundational code changed, or mapping inconclusive Run the full suite: dotnet test {SOLUTION}
1 Error (unknown service, no config match) Report stderr message to the user

Read the full file on GitHub · 133 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. 1mo ago Changed · -6 lines 43772842a85a
  2. 3mo ago First seen · 139 lines · 58 tokens per session scan A 4457b0bd3433

Subscribe to this mod's changes

run-tests is a skill published in the GitHub repository makigjuro/cloudstack-ai-plugins (1 stars, last pushed 1mo ago), licensed MIT. It adds 58 tokens to every session and 1,200 once invoked, about $0.0002 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

run-tests compared with skills from other repositories

run-tests next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
run-testsmakigjuro/cloudstack-ai-pluginsSkill11mo agoMITA58Claude Code
demoalivecontext/aliveSkill13215d agoMITA50Claude Code
session-historyalivecontext/aliveSkill13215d agoMITA74Claude Code
worldalivecontext/aliveSkill13215d agoMITA61Claude Code
karpenternitinjain999/platform-skillsSkill743d agoApache-2.0A131Claude Code
pr-reviewnitinjain999/platform-skillsSkill743d agoApache-2.0A81Claude Code
azurenitinjain999/platform-skillsSkill743d agoApache-2.0A39Claude Code