diff --git a/skills/generating-apex-test/SKILL.md b/skills/generating-apex-test/SKILL.md index 6ef92df..c8ec67f 100644 --- a/skills/generating-apex-test/SKILL.md +++ b/skills/generating-apex-test/SKILL.md @@ -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 diff --git a/skills/generating-apex/SKILL.md b/skills/generating-apex/SKILL.md index e070a13..3746c51 100644 --- a/skills/generating-apex/SKILL.md +++ b/skills/generating-apex/SKILL.md @@ -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