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

View File

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