tweaked description

This commit is contained in:
Jeff Douglas 2026-03-25 13:59:22 -04:00
parent 28de60cd53
commit 4e8f8f49f6
2 changed files with 18 additions and 27 deletions

View File

@ -1,17 +1,14 @@
---
name: generating-apex-test
description: >
Apex test class generation with TestDataFactory patterns, bulk testing (200+
records), mocking strategies for callouts and async operations, and assertion
best practices. Use when creating new Apex test classes, improving test
coverage, refactoring existing tests, or implementing proper testing patterns
for triggers, services, controllers, batch jobs, queueables, and integrations.
Trigger on any request to create, write, or generate an Apex test class —
even when the user doesn't say "test" explicitly. Activate on phrases like:
"write tests for," "add coverage for," "test this class," "create a mock,"
"I need test data," "improve coverage," or any mention of Apex testing,
assertions, or test factories.
description: "Apex test class generation with TestDataFactory patterns, bulk testing
(200+ records), mocking strategies for callouts and async operations, and assertion
best practices. Use this skill when the user asks to create, write, or generate an
Apex test class, improve test coverage, refactor existing tests, or implement proper
testing patterns for triggers, services, controllers, batch jobs, queueables, and
integrations — even when they don't say 'test' explicitly. Activate on phrases like:
'write tests for,' 'add coverage for,' 'test this class,' 'create a mock,' 'I need
test data,' 'improve coverage,' or any mention of Apex testing, assertions, or test
factories."
---
# Apex Test Class Skill

View File

@ -1,20 +1,14 @@
---
name: generating-apex
description: >
Generate production-ready Apex classes for Salesforce following enterprise
best practices. Covers all standard class types: service, selector, domain,
batch, queueable, schedulable, DTO, utility, interface, abstract, and custom
exception classes. Also applies when refactoring or restructuring existing
Apex classes.
SCOPE: Apex classes only. Does not apply to triggers or unit tests.
Trigger on any request to create, write, build, generate, or scaffold an
Apex class — even when the user doesn't say "Apex class" explicitly.
Activate on phrases like: "build a service for," "create a handler,"
"I need a class that," "write Apex to," "scaffold a batch job,"
"create a queueable," or any description of Salesforce server-side logic
that implies a class solution.
description: "Generate production-ready Apex classes for Salesforce following enterprise
best practices. Covers all standard class types: service, selector, domain, batch,
queueable, schedulable, DTO, utility, interface, abstract, and custom exception
classes. Use this skill when the user asks to create, write, build, generate, scaffold,
or refactor an Apex class — even when they don't say 'Apex class' explicitly. Activate
on phrases like: 'build a service for,' 'create a handler,' 'I need a class that,'
'write Apex to,' 'scaffold a batch job,' 'create a queueable,' or any description of
Salesforce server-side logic that implies a class solution. SCOPE: Apex classes only.
Does not apply to triggers or unit tests."
---
# Apex Class