platform-apex-test-generate
Use to generate and validate Apex test classes with TestDataFactory patterns, bulk testing (251+ records), mocking, assertions, and disciplined test-fix loops. Use when creating Apex test classes (for triggers, services, controllers, batch jobs, queueables, and callouts), improving coverage, debugging or fixing failing Apex tests, or running test/coverage analysis. Triggers on *Test.cls files, sf apex run test, coverage reports. Do NOT trigger for production Apex (use platform-apex-generate) or Jest/LWC tests.
Install as a plugin
Install the salesforce-development plugin
Copy: Install the salesforce-development plugin/plugin install salesforce-development@claude-plugins-officialThe official marketplace is already added in Claude Code. The command opens the plugin's page in /plugin, where you pick a scope and confirm.
From your shell instead
Copy: Add the marketplaceclaude plugin marketplace add anthropics/claude-plugins-officialOnly on a machine that never ran an interactive Claude Code session: the first session adds the official marketplace by itself.
Copy: Install itclaude plugin install salesforce-development@claude-plugins-official
Then ask Claude for what it does: it loads the skill when your request matches the description. Or call it directly with /salesforce-development:platform-apex-test-generate.
See which of your apps makes money
- Revenue from Stripe, Paddle and others next to visits, per app
- Search Console and the analytics you already use, on one screen
- Which channel your paying customers came from

From its SKILL.md
Generate production-ready Apex test classes and run disciplined test-fix loops with coverage analysis. One behavior per method — each test method validates a single scenario. Separate positive, negative, and bulk tests. NEVER combine related-but-distinct inputs (e.g., null and…