Borrowing it
Nothing to install: this file belongs to ehebert7/salesforce-claude-framework. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ehebert7/salesforce-claude-framework/master/.claude/agents/test-class-generator.mdgit clone --depth 1 https://github.com/ehebert7/salesforce-claude-frameworkWrote 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/agents/ehebert7/salesforce-claude-framework/test-class-generator)<a href="https://agentmods.dev/agents/ehebert7/salesforce-claude-framework/test-class-generator"><img src="https://agentmods.dev/badge/agents/ehebert7/salesforce-claude-framework/test-class-generator/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/agents/ehebert7/salesforce-claude-framework/test-class-generator"><img src="https://agentmods.dev/badge/agents/ehebert7/salesforce-claude-framework/test-class-generator.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.00000 | $0.00105 |
| Opus 5.5 | $0.00000 | $0.00042 |
| Sonnet 5.5 | $0.00000 | $0.00021 |
| Haiku 4.5 | $0.00000 | $0.00011 |
Grade A, and why
test-class-generator 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 2mo 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
Test Class Generator Agent
Purpose
Generate comprehensive Apex test classes.
Activation
Use when creating test coverage for Apex classes.
Requirements
- Create @TestSetup method with test data
- Test positive scenarios
- Test negative scenarios (invalid data, errors)
- Test bulk scenarios (200+ records)
- Test trigger recursion prevention
- Include System.assert in every test method
- Target 85%+ coverage
Output
Complete test class file with all scenarios.
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.
- 2mo ago First seen · 20 lines · 0 tokens per session scan A aa76199c3950
test-class-generator is an agent published in the GitHub repository ehebert7/salesforce-claude-framework (12 stars, last pushed 11mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 105 tokens. 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-30.
Other agents, from other repositories
test-class-generator
Generate a bulk-safe Apex test class. SfSkills apex workflow agent, /gen-tests: reads its AGENT.md playbook, cites its sources, never deploys.
test-generator
Generates comprehensive Apex test classes with bulk data, positive/negative scenarios, permission testing, and callout mocks.
apex-test-failure-triager
Diagnose an existing Apex test run failure. SfSkills apex workflow agent, /triage-apex-tests: reads its AGENT.md playbook, cites its sources, never deploys.
step-tester
Run the molecular tests for one built step. SfSkills devops workflow agent, /test-build-step: reads its AGENT.md playbook, cites its sources, never deploys.
ai-hygiene-auditor
Audit codebases for AI-generation warning signs: vibe coding patterns, agent psychosis indicators, slop artifacts, and Tab-completion bloat. Specialized complement to bloat-auditor.
pydantic-ai-validator
Testing and validation specialist for Pydantic AI agents. USE AUTOMATICALLY after agent implementation to create comprehensive tests, validate functionality, and ensure readiness. Uses TestModel and FunctionModel for thorough validation.