trigger-refactor-pipeline
OfficialRefactor triggers into robust, testable handlers
Authorforcedotcom
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Refactor Salesforce Apex triggers into dedicated handler patterns with automated test generation and deployment scaffolding to reduce maintenance burden and improve reliability.
Core Features & Use Cases
- Bulkify triggers by extracting DML/SOQL from loops and consolidating logic into reusable handlers.
- Generate tests and deployment scaffolding to validate refactored code across contexts.
- Provide guidelines and a reference implementation for common trigger patterns to accelerate modernization.
Quick Start
Analyze a legacy trigger and generate a bulk-safe handler structure with tests ready for deployment.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: trigger-refactor-pipeline Download link: https://github.com/forcedotcom/afv-library/archive/main.zip#trigger-refactor-pipeline Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.