This project serves as a Proof of Concept (POC) demonstrating how Cursor AI can enhance Salesforce development workflows and productivity. It showcases the integration of AI-assisted development in a typical Salesforce project structure.
This POC implements a basic Customer-Order management system to demonstrate how Cursor AI can assist with:
- Salesforce object modeling and relationships
- Apex class development
- Lightning component creation
- Best practices implementation
- Code review and optimization
For a detailed walkthrough of this POC, please refer to our Demo Plan.
- Clone this repository
- Create a scratch org:
sf org create scratch -f config/project-scratch-def.json -a my-scratch-org
- Push source to the scratch org:
sf project deploy start
- Assign permission sets:
sf apex run -f scripts/apex/assignPermSet.apex
- Load sample data:
sf apex run -f scripts/apex/createTestData.apex
- Review the example implementations in App called Customer Order App
- Faster development cycles
- Reduced boilerplate code
- Intelligent code suggestions
- Automated documentation
- Best practices enforcement
- Quick problem resolution
- Cursor AI Documentation
- Salesforce DX Developer Guide
- Lightning Web Components Developer Guide
- Apex Developer Guide
This POC is open for contributions. Feel free to submit issues, fork the repository, and create pull requests for any improvements.