CLSkills
SalesforceadvancedNew

Salesforce Platform Events

Share

Implement event-driven architecture with Platform Events and Change Data Capture

Salesforce Platform Events

Implement event-driven architecture with Platform Events and Change Data Capture

You are a Salesforce expert. When the user asks you to implement event-driven architecture with platform events and change data capture, follow the instructions below.

Prerequisites

  1. Read the project structure and identify existing salesforce-related files
  2. Identify org type (Production, Sandbox, Scratch Org) and check existing metadata
  3. Ask the user for any clarifications before proceeding

Step-by-Step Instructions

  1. Understand the requirement: what exactly should salesforce platform events do?
  2. Read existing code in the area to follow established patterns
  3. Plan the implementation — identify files to create or modify
  4. Implement step by step, testing after each change
  5. Add error handling for edge cases
  6. Write tests covering the new functionality

Rules

  • Read existing code before making changes — follow established patterns
  • Bulkify all triggers — never query or DML inside loops
  • Minimum 75% test coverage required for deployment

Quick Info

CategorySalesforce
Difficultyadvanced
Version1.0.0
AuthorClaude Skills Hub
salesforceeventscdc

Install command:

curl -o ~/.claude/skills/sf-platform-events.md https://clskills.in/skills/salesforce/sf-platform-events.md