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 FlorianBruniaux/claude-code-plugins --skill generate-testsgit clone --depth 1 https://github.com/FlorianBruniaux/claude-code-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/florianbruniaux/claude-code-plugins/generate-tests)<a href="https://agentmods.dev/skills/florianbruniaux/claude-code-plugins/generate-tests"><img src="https://agentmods.dev/badge/skills/florianbruniaux/claude-code-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/florianbruniaux/claude-code-plugins/generate-tests"><img src="https://agentmods.dev/badge/skills/florianbruniaux/claude-code-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.00039 | $0.00539 |
| Opus 5.5 | $0.00016 | $0.00216 |
| Sonnet 5.5 | $0.00008 | $0.00108 |
| Haiku 4.5 | $0.00004 | $0.00054 |
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 5d 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.
What it actually says
Generate tests
Generate comprehensive tests for specified code.
Instructions
- Read the target file(s)
- Identify testable units (functions, classes, methods)
- Generate tests following project conventions
- Ensure high coverage of edge cases
- Run the new tests and fix failures caused by the tests themselves; report any that expose a bug in the code instead of changing the assertion to pass
Test generation process
1. Analyze target
- Identify public interfaces
- Understand dependencies
- Note edge cases and boundaries
2. Detect test framework
If --framework was given, use it. Otherwise check for:
jest.config.js→ Jestvitest.config.ts→ Vitestpytest.inior[tool.pytest]inpyproject.toml→ pytestmochain package.json → Mocha
3. Generate tests
Follow the detected framework conventions.
Test categories
Happy path
Normal expected behavior with valid input.
Edge cases
- Empty inputs
- Null/undefined values
- Boundary values (0, -1, MAX_INT)
- Single item vs multiple items
Error cases
- Invalid input types
- Missing required parameters
- Network/IO failures
- Timeout scenarios
Integration points
- Database interactions
- External API calls
- File system operations
Output format
describe('[ComponentName]', () => {
describe('[methodName]', () => {
// Happy path
it('should [expected behavior] when [condition]', () => {
// Arrange
// Act
// Assert
});
// Edge cases
it('should handle empty input', () => {});
it('should handle null values', () => {});
// Error cases
it('should throw when [invalid condition]', () => {});
});
});
Conventions
- One assertion per test (when practical)
- Descriptive test names
- AAA pattern (Arrange-Act-Assert)
- No test interdependence
- Mock external dependencies
Usage
/generate-tests src/utils/calculator.ts
/generate-tests src/services/
$ARGUMENTS
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.
- 5d ago Changed · -1 lines · +30 tokens per session 3d08c55e883c
- 1mo ago First seen · 98 lines · 9 tokens per session scan A 643a1b782479
generate-tests is a skill published in the GitHub repository FlorianBruniaux/claude-code-plugins (47 stars, last pushed today), licensed MIT. It adds 39 tokens to every session and 539 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-10-29.
generate-tests compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| generate-testsFlorianBruniaux/claude-code-plugins | Skill | 47 | today | MIT | A | 39 | Claude Code |
| unit-testjohnqtcg/awesome-skills | Skill | 31 | 1mo ago | MIT | A | 100 | Claude Code |
| testing-conventionsw2ur/claude-code-setup | Skill | 1 | yesterday | MIT | A | 81 | Claude Code |
| app-store-screenshotsfatihkan/badi | Skill | 8 | 1mo ago | MIT | A | 68 | Claude Code |
| contentfatihkan/badi | Skill | 8 | 1mo ago | MIT | A | 0 | Claude Code |
| expo-app-configfatihkan/badi | Skill | 8 | 1mo ago | MIT | A | 86 | Claude Code |
| expo-modulesfatihkan/badi | Skill | 8 | 1mo ago | MIT | A | 77 | Claude Code |