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.
npx skills add makigjuro/cloudstack-ai-plugins --skill generate-testsgit clone --depth 1 https://github.com/makigjuro/cloudstack-ai-pluginsWrote 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.
[](https://agentmods.dev/skills/makigjuro/cloudstack-ai-plugins/generate-tests)<a href="https://agentmods.dev/skills/makigjuro/cloudstack-ai-plugins/generate-tests"><img src="https://agentmods.dev/badge/skills/makigjuro/cloudstack-ai-plugins/generate-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.
<a href="https://agentmods.dev/skills/makigjuro/cloudstack-ai-plugins/generate-tests"><img src="https://agentmods.dev/badge/skills/makigjuro/cloudstack-ai-plugins/generate-tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00042 | $0.01753 |
| Opus 5.5 | $0.00017 | $0.00701 |
| Sonnet 5.5 | $0.00008 | $0.00351 |
| Haiku 4.5 | $0.00004 | $0.00175 |
Grade A, and why
generate-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.
How it starts
The opening of the file, as written. The whole thing — 230 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generate Tests
Generate unit and integration tests following project conventions. Analyzes the target code, identifies test scenarios, and scaffolds test classes with proper mocking and assertions.
Arguments
{target}-- Handler, entity, or class name to test (e.g.,CreateOrderHandler,Order,OrderEndpoints){service}-- Target microservice (optional, auto-detected from file location)--integration-- Also generate integration tests with Testcontainers--coverage-- Generate tests for all untested handlers in a service
Configuration
Read cloudstack.json from the project root at the start of execution. Extract:
NAMESPACE=project.namespace(default: detect from*.sln)SERVICES=backend.services[](default: discover from project structure)SOLUTION=backend.solutionPath(default: find*.sln)
If cloudstack.json does not exist, auto-detect by scanning the project structure.
Process
Step 1: Locate the target
# Find the file containing the target class
grep -rl "class {target}" src/ --include="*.cs" | head -5
Read the target file completely. Identify:
- Is it a command handler? (method returns
Result<T>, takes a command record) - Is it a query handler? (method returns
Result<T>, takes a query record) - Is it an entity? (inherits from
Entity<TId>orAggregateRoot<TId>) - Is it an event handler? (handles domain/integration events)
- Is it an endpoint? (static class with
MapEndpoints)
Step 2: Analyze dependencies
Read the constructor to find injected dependencies:
grep -A 20 "class {target}" <file> | grep -E "private readonly|ILogger|I[A-Z]"
For each dependency, determine:
- Repository interfaces → mock with NSubstitute
- External services → mock with NSubstitute
- ILogger → mock or use NullLogger
- DbContext → use in-memory for unit, Testcontainers for integration
Step 3: Identify test scenarios
For command handlers:
- Happy path (valid input → success result)
- Validation failure (invalid input → validation error)
- Not found (referenced entity doesn't exist → failure result)
- Duplicate (entity already exists → conflict error)
- Domain rule violation (business rule broken → failure result)
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.
- 1mo ago Changed · -2 lines 438e4e0f1003
- 3mo ago First seen · 232 lines · 42 tokens per session scan A 855ad2316315
generate-tests is a skill published in the GitHub repository makigjuro/cloudstack-ai-plugins (1 stars, last pushed 1mo ago), licensed MIT. It adds 42 tokens to every session and 1,753 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.
generate-tests compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| generate-testsmakigjuro/cloudstack-ai-plugins | Skill | 1 | 1mo ago | MIT | A | 42 | Claude Code |
| opanitinjain999/platform-skills | Skill | 75 | 5d ago | Apache-2.0 | A | 98 | Claude Code |
| testing-laraveliliaal/whetstone | Skill | 37 | today | MIT | A | 63 | Claude Code, Codex |
| testing-reactiliaal/whetstone | Skill | 37 | today | MIT | A | 57 | Claude Code, Codex |
| testing-patternsSKB3002/agenthub | Skill | 4 | 7mo ago | none | A | 16 | Claude Code |
| bun-test-mockingsecondsky/claude-skills | Skill | 257 | 4d ago | MIT | A | 25 | Claude Code |
| bun-test-coveragesecondsky/claude-skills | Skill | 257 | 4d ago | MIT | A | 26 | Claude Code |