Salesforce PlatformSalesforce developer org, $41.5B FY2026 revenue7,500 installs on skills.shPlatform Apex Test Generate
Use to generate and validate Apex test classes with TestDataFactory patterns.
Use Edge to load the skill platform-apex-test-generate from forcedotcom/sf-skills for my task. If Edge is not set up, read getedge.cc/SKILL.md and ask me first.
2 static scans, 0 counted findings.
Edge checks it again each time your agent loads it.
From the forcedotcom public repository. Edge did not write or edit this skill.
What it does
- 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.
Why Salesforce Platform
Salesforce's open-source developer tools organisation. Each fact links its public source.
- Salesforce record annual revenue
Salesforce reported US$41.5 billion revenue for fiscal year 2026, ended January 31, 2026.
Wikipedia: Salesforce - VS Code extensions for Salesforce
The salesforcedx-vscode repo has 1k+ GitHub stars.
GitHub repo - Curated Salesforce agent skills
The sf-skills repo has 1.1k+ GitHub stars.
GitHub repo
Public sources, checked Oct 26, 2026.
How it works
- 1Copy
Try for free gives you one prompt.
- 2Paste
Paste it into Claude Code, Codex or Cursor.
- 3Ask
Ask for the outcome. Your agent loads Platform Apex Test Generate.
Related skills
Apex test execution, coverage analysis, and test-fix loops with 120-point scoring. Use when the user runs Apex tests, checks code coverage, fixes failing tests, or touches *Test.cls / *_Test.cls files. DO NOT TRIGGER whe
Use when writing tests, running tests, adding test coverage, or debugging test failures. Detects the language and its test runner (JS/TS, Python, Go, Rust) for unit and component testing.
Generate Jest unit tests for JavaScript/TypeScript with mocking, coverage. Use for JS/TS modules, React components, test generation, or encountering missing coverage, improper mocking, test structure errors.
Generates comprehensive unit tests with AAA pattern (Arrange-Act-Assert), edge cases, error scenarios, and coverage analysis. Creates test files matching source structure with complete test suites. Use for "unit testing"
No evidence record yet
No measured run with and without this skill yet, so this page makes no performance claim. 2 static scans, 0 counted findings. Security state at 2026-11-17: reviewed. Static scans check the code, not how well the skill works.
State definitionsSkill details
Security scansReviewed
2 static scans, 0 counted findings. Security state at 2026-11-17: reviewed. Edge checks it again each time your agent loads it.
Edge static checks (Edge-run): edge-static/1.0.2. Scope: Static patterns for remote execution, credentials with network sends, obfuscation, prompt overrides, hidden Unicode, binaries and persistence. Raw findings: not supplied.
Edge committed-secret checks (Edge-run): edge-secrets/1.0.0. Scope: Credentials committed in the skill's files (values never shown). Raw findings: not supplied.
Socket (skills.sh mirror): Version unavailable. Scope: Not supplied by the mirrored record. Raw findings: not supplied.
Snyk (skills.sh mirror): Version unavailable. Scope: Not supplied by the mirrored record. Raw findings: not supplied.
- Edge static checks
- Pass · 0 counted findings · 2026-11-17
- Edge committed-secret checks
- Pass · 0 counted findings · 2026-11-17
Creator, source & licenceforcedotcom
From the forcedotcom public repository. Edge did not write or edit this skill.
- Repository
- forcedotcom/sf-skills
- Skill file
- View source at revision
- Revision
- d4a9aa448c7b743c1f1da41f41aa9723a6621232
- Package hash
- sha256:9adb65cd1a4cc74cbdfff3582e9a0086048980f05a7763ae26a4f34d8d655f5e
- Licence
- Apache-2.0
- Description
- 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.
Quoted from the skill’s own description
Read skill files7 files
7 files, 34.7 KB at revision d4a9aa448c7b.
Questions about Platform Apex Test Generate
What does Platform Apex Test Generate do?
Use to generate and validate Apex test classes with TestDataFactory patterns. Published by Salesforce Platform (forcedotcom/sf-skills).
Is Platform Apex Test Generate safe to use?
Edge security state: Reviewed (2 Edge-run static scans, scanned Nov 17, 2026). The Evidence tab shows the scan.
How do I use Platform Apex Test Generate in Claude Code, Codex or Cursor?
Click Try for free, pick your agent and follow its one step. Edge is free, with no Edge account.