Salesforce Development

Complete Salesforce development toolkit

Apex code generation
Lightning Web Components
Schema management
Deployment automation

Commands in this Workflow

Detailed documentation for each command including when to use it, what it's best for, and real-world examples.

/siftcoder:sf-schema

Auto

Manage Salesforce objects and fields

What It Does

Create, modify, and analyze Salesforce custom objects, fields, and relationships. Generates schema documentation and ERD diagrams. Handles field types, validation rules, and relationship definitions.

Usage

/siftcoder:sf-schema [command]

Parameters

create <object>Create new custom object
add-field <object> <field>Add field to object
analyzeAnalyze existing schema

When to Use

Salesforce development, data modeling, schema design

Best For

Custom objects, field management, relationship design

Real-World Example

/siftcoder:sf-schema create 'Project__c'
/siftcoder:sf-schema add-field Project__c 'Budget__c Currency'
# Creates: Custom object with fields, relationships, sharing settings

/siftcoder:sf-deploy

Auto

Deploy to Salesforce

What It Does

Manages Salesforce deployments with validation, metadata deployment, and change monitoring. Supports partial deployments, delta deployments, and deployment rollback capabilities.

Usage

/siftcoder:sf-deploy [command]

Parameters

validateValidate deployment without deploying
deployDeploy validated changes
rollbackRollback last deployment

When to Use

Deploying to Salesforce orgs, production releases

Best For

Safe deployments, production releases, change management

Real-World Example

/siftcoder:sf-deploy validate
# Checks: Validation rules, tests, dependencies
/siftcoder:sf-deploy deploy
# Deploys: Metadata, tests, monitoring

/siftcoder:apex

Auto

Generate Apex code patterns

What It Does

Generates enterprise-grade Apex code following Salesforce best practices. Includes triggers, controllers, services, DAO layers, unit tests, and error handling. Uses FFLib architecture patterns.

Usage

/siftcoder:apex <feature>

Parameters

featureDescription of Apex feature to generate

When to Use

Salesforce development, Apex triggers, business logic

Best For

Triggers, controllers, services, best practices, FFLib patterns

Real-World Example

/siftcoder:apex 'Opportunity trigger with validation'
# Generates: Trigger handler, service layer, unit tests, best practices

/siftcoder:lwc

Auto

Create Lightning Web Components

What It Does

Creates modern Lightning Web Components with proper architecture, wire adapters, error handling, and Jest tests. Follows Salesforce LWC best practices and design patterns.

Usage

/siftcoder:lwc <component>

Parameters

componentDescription of LWC to create

When to Use

Salesforce UI development, Lightning components

Best For

Reusable components, data tables, forms, best practices

Real-World Example

/siftcoder:lwc 'Project data table with filtering'
# Creates: Component HTML, JS, CSS, Jest tests, wire adapters