sf-agent-framework
Version:
AI Agent Orchestration Framework for Salesforce Development - Two-phase architecture with 70% context reduction
228 lines (159 loc) ⢠7.08 kB
Markdown
# Salesforce SF-Core Module
The core Salesforce module provides 30 specialized agents organized into 8
focused teams, comprehensive workflows for Salesforce implementations, and deep
integration with the platform's capabilities.
## š¢ Team Structure
### Product & Strategy Team
**Focus**: Product vision, requirements, and user experience
- **Rachel Chen** (`sf-product-manager`) - Product Strategy Lead
- **Marcus Thompson** (`sf-product-owner`) - Agile Product Owner
- **Emily Watson** (`sf-business-analyst`) - Business Analyst
- **Sofia Martinez** (`sf-ux-expert`) - UX Designer
### Core Development Team
**Focus**: Implementation, configuration, and quality assurance
- **Alex Chen** (`sf-orchestrator`) - Delivery Manager & Team Coordinator
- **Maria Rodriguez** (`sf-admin`) - Senior Administrator
- **Jordan Davis** (`sf-developer`) - Lead Developer
- **Michael Brown** (`sf-qa`) - QA Engineer
- **Emma Wilson** (`sf-release-manager`) - Release Manager
### Architecture & Strategy Team
**Focus**: Technical design, security, and platform optimization
- **Sarah Johnson** (`sf-architect`) - Solution Architect
- **David Kim** (`sf-technical-architect`) - Technical Architect
- **Lisa Park** (`sf-integration-architect`) - Integration Specialist
- **Robert Zhang** (`sf-data-architect`) - Data Architect
- **Amanda Foster** (`sf-security-architect`) - Security Architect
- **Carlos Mendez** (`sf-omnistudio-architect`) - OmniStudio Expert
### Specialized Operations Team
**Focus**: Platform governance, compliance, and advanced capabilities
- **James Wilson** (`sf-platform-owner`) - Platform Owner
- **Dr. Patricia Lee** (`sf-chief-architect`) - Chief Architect
- **Thomas Anderson** (`sf-coe-director`) - Center of Excellence Director
- **Nina Patel** (`sf-data-migration-specialist`) - Data Migration Expert
- **Dr. Michael Chang** (`sf-security`) - Security Specialist
- **Isabella Martinez** (`sf-translator`) - Multi-Cloud Translator
- **Dr. Raj Sharma** (`sf-mcp-architect`) - MCP Architect
- **Lisa Thompson** (`sf-trainer`) - Training Specialist
### DevOps Team
**Focus**: CI/CD, automation, and deployment excellence
- **Tom Mitchell** (`sf-devops-lead`) - DevOps Lead
- **Alex Rodriguez** (`sf-build-engineer`) - Build Engineer
- **Nina Kowalski** (`sf-release-automation`) - Release Automation Engineer
### Data Management Team
**Focus**: Data quality, ETL, validation, and migration excellence
- **Patricia Chen** (`sf-data-quality-analyst`) - Data Quality Analyst
- **Raj Patel** (`sf-data-validation-engineer`) - Data Validation Engineer
- **Carlos Martinez** (`sf-etl-developer`) - ETL Developer
## š Key Capabilities
### Product Management & Planning
- Strategic roadmap development
- Feature prioritization and backlog management
- Requirements elicitation and user story creation
- User experience design and optimization
### Development & Configuration
- Apex development and Lightning Web Components
- Declarative configuration and automation
- Integration development and API management
- Quality assurance and testing
### Architecture & Design
- Solution architecture and technical design
- Security architecture and compliance
- Data modeling and migration strategies
- Performance optimization
### DevOps & Automation
- CI/CD pipeline implementation
- Package-based development best practices
- Automated testing and deployment
- Environment management
## š Pre-configured Teams
Load a complete team based on your project needs:
```bash
# Core implementation team (7 agents)
sfa use salesforce-core-team
# Product-focused team (4 agents)
sfa use salesforce-product-team
# Full enterprise team (all 30 agents)
sfa use salesforce-enterprise-team
# Architecture team (6 agents)
sfa use salesforce-architecture-team
# DevOps team (7 agents)
sfa use salesforce-devops-team
```
## š Workflows
### Org Enhancement Workflows
- **salesforce-org-enhancement** - Enhance existing orgs with new features
- **salesforce-org-modernization** - Modernize legacy implementations
### Implementation Workflows
- **salesforce-greenfield-fullstack** - New implementation projects
- **salesforce-brownfield-enhancement** - Existing org improvements
- **salesforce-data-migration** - Data migration projects
### DevOps Workflows
- **salesforce-devops-cicd** - CI/CD pipeline setup
- **package-based-development** - Modern package development
### Specialized Workflows
- **salesforce-center-of-excellence** - CoE establishment
- **salesforce-mcp-implementation** - MCP architecture
- **salesforce-architecture-review** - Architecture assessments
## š Module Structure
```
sf-core/
āāā agents/ # 30 specialized Salesforce agents
āāā agent-teams/ # Pre-configured team definitions
āāā tasks/ # Reusable task definitions
āāā templates/ # Document and code templates
āāā checklists/ # Quality and compliance checklists
āāā workflows/ # End-to-end process workflows
āāā data/ # Knowledge base and best practices
āāā utils/ # Utility functions and helpers
```
## šÆ Getting Started
1. **Choose Your Team**: Select a pre-configured team or individual agents
2. **Run Discovery**: Use the orchestrator to assess your needs
3. **Execute Workflows**: Follow structured workflows for your use case
4. **Leverage Templates**: Use templates for consistency
5. **Apply Best Practices**: Follow Salesforce best practices throughout
## š” Usage Examples
### Starting a New Project
```bash
# Load the product team for planning
sfa use salesforce-product-team
# Begin with requirements gathering
/sf-product-manager *brainstorm
# Create the product roadmap
/sf-product-manager *roadmap
```
### Enhancing an Existing Org
```bash
# Document current state
/sf-analyst *document-org
# Plan enhancement
/sf-product-owner *epic
# Execute enhancement workflow
sfa workflow salesforce-org-enhancement
```
### Setting Up DevOps
```bash
# Load DevOps team
sfa use salesforce-devops-team
# Initialize CI/CD
/sf-devops-lead *pipeline-setup
# Configure automation
/sf-build-engineer *configure-build
```
## š Best Practices
1. **Start with Strategy**: Engage product managers early
2. **Document First**: Use document-org for existing implementations
3. **Follow Workflows**: Use structured workflows for consistency
4. **Leverage Teams**: Use pre-configured teams for efficiency
5. **Automate Everything**: Embrace DevOps practices throughout
## š Integration Points
- **Salesforce CLI**: Full sfdx command integration
- **Package Management**: Modern package-based development
- **VS Code**: IDE integration for development
- **Git**: Version control best practices
- **CI/CD Platforms**: Jenkins, Azure DevOps, GitHub Actions
## š Additional Resources
- [Salesforce Best Practices](./data/salesforce-best-practices.md)
- [Architecture Patterns](./data/design-patterns.md)
- [Security Guidelines](./data/security-best-practices.md)
- [DevOps Playbook](./workflows/salesforce-devops-cicd.md)