用于 Salesforce DX 的入门项目模板,支持源码驱动开发、版本控制和通过 Salesforce CLI 与 VS Code 实现的持续集成/部署。

Stars

24

7 天增长

暂无数据

Fork 数

29

开放 Issue

0

开源协议

暂无数据

最近更新

2026-07-28

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它为现代 Salesforce 开发提供了标准化的最佳实践结构,与 Salesforce CLI 和 VS Code 扩展紧密集成,并引入了 Agentforce Vibes,通过自然语言构建 Lightning 应用程序。

适合谁使用

  • 采用 DX 开发模式的 Salesforce 开发者
  • 实施 Salesforce 元数据 CI/CD 的团队
  • 希望获得引导的 Salesforce 新手
  • 有兴趣使用 Agentforce Vibes 构建自定义 Lightning 应用的开发者

典型使用场景

  • 启动一个新的 Salesforce 项目,使用源码控制和 scratch org
  • 为元数据部署设置持续集成流水线
  • 通过官方文档和 CLI 命令学习 Salesforce DX 工作流
  • 通过与 Agentforce Vibes 对话创建自定义 Lightning 应用

项目优势

  • 提供清晰的项目结构(force-app、config、scripts),遵循 Salesforce 最佳实践
  • 列举了所有关键 Salesforce CLI 命令,涵盖组织管理、部署、代码生成和数据操作
  • 引用了全面的官方文档和 Agentforce Vibes 指南
  • 支持 scratch org(适合开发)和沙箱部署

使用前须知

  • 需要事先安装 Salesforce CLI、VS Code 和开发组织
  • 主要面向 Salesforce 开发者,不适用于非 Salesforce 项目
  • 仅包含模板结构,不包含示例代码或自定义逻辑

README 快速开始

Salesforce DX Project

Salesforce DX is a development approach that brings source-driven development, team collaboration, and continuous integration to the Salesforce Platform. Instead of working directly in an org through a web browser, you work with metadata as source files in a local DX project, track changes in version control, and deploy through automated processes.

This project template gets you started with the tools and structure you need to build Salesforce applications using source control, scratch orgs, and the Salesforce CLI.

Prerequisites

Before you start, make sure you have:

Project Structure

Your DX project follows this structure:

  • force-app/main/default/ - Your metadata source files live in this default package directory. You can configure additional package directories in the sfdx-project.json file.
  • config/ - Scratch org definitions and project settings
  • scripts/ - Automation scripts for common tasks
  • sfdx-project.json - Project manifest that defines package directories, namespace, API version, and other project-level settings

See Salesforce DX Project Configuration.

Get Started

Ready to start developing? The Get Started with Salesforce DX guide walks you through your first project, from creati

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

ddosi
精选
ddosi GitHub avatar

PacketLens

PacketLens is a pure front-end, offline pcap analysis tool that runs entirely in the browser, supporting deep protocol decoding, HTTPS decryption, and million-packet instant loading without any backend.

HTML
19
ViffyGwaanl
精选
ViffyGwaanl GitHub avatar

kimi-k3-learn

An interactive learning system that turns the 47-page Kimi K3 technical report into a single offline HTML file with running algorithms, 3D visualizations, spaced repetition quizzes, and a smart highlighting QA tool.

AI 与机器学习
15
iamtechartist
精选
iamtechartist GitHub avatar

human-cell-visualizer

An interactive 3D visualization of three human cell types using Three.js, WebGL particles, and custom GLSL shaders, allowing users to rotate, zoom, morph, and explore annotated structures.

设计与创意
13