リクエストされた翻訳はまだ完了していません。元の英語を表示しています。
SKILL.md
読み取り専用
name
trigger-refactor-pipeline
description
Refactor Salesforce triggers into handler patterns with automated test generation and deployment. Use when modernizing legacy triggers with DML/SOQL in loops or inconsistent patterns.
When to Use This Skill
Use this skill when you need to:
-
Modernize legacy triggers with DML/SOQL operations inside loops
-
Refactor triggers that lack clear separation of concerns
-
Implement bulk-safe patterns in existing trigger code
-
Generate comprehensive test coverage for refactored triggers
Prerequisites
Before starting, ensure you have:
-
Salesforce CLI installed and authenticated to your target org
-
Python 3.9 or higher installed
-
The baseline trigger deployed (see Setup section)
Setup
Deploy the baseline anti-pattern trigger to analyze and refactor:






