
GitHub 副驾驶的销售力开发者和建筑师技能
概览
将GitHub Copilot变成一个了解销售力量的编码助理,该助理遵循平台最佳做法、州长限制、安全规则以及井条框架——退出框。 这个寄存器包含两个和两个 具有深厚的销售力量平台知识的副驾驶: 这些规则是——它们与GitHub Copilot, Cursor, Claude Code, Windsurf, Cline, Roo Code 或任何支持自定义指令的AI编码工具合作. 当添加到存储器中时,技能和规则会教给副驾驶: - 具有适当的触发框架、错误处理和测试模式 -- -- 有正确的装饰器、电线适配器和事件通信 -- -- 有选择性过滤器、索引策略和光标标记 -- -- 使用正确的API模式(REST、Bulk、平台事件、CDC、Data 360) -- -- 与Security ENFORCED,共享、CRUD/FLS检查、OAuth流量 -- -- 30+ LLMs通常在 Salesforce 代码中所犯的记录错误 -- -- 信任 简单 > 适应性,在这个优先...
概述(AI 翻译)
** GitHub 辅助驾驶员技能与编码规则用于销售力量发展和建筑**
将GitHub Copilot 变成一个符合平台最佳做法、州长限制、安全规则和 " 安全框架 " 的认识到销售力量的编码助理。
– – . . .
□这是什么回波?
这个寄存器包含两个GitHub副驾驶代理技能和两个综合编码规则,这些规则对副驾驶具有深厚的销售力量平台知识:
技能
技能 目的 目标 |-|-|-.
- 生成、审查和调试Apex、LWC、SOQL、流程、触发、集成和Agentforce行动
- 设计可扩展的销售力解决方案,采用良好框架、建筑决策指南和一体化模式。
QQ 编码规则( NEW)
规则 目的 |-|-|-. **salesforce-apex-coding-rules.md + 1 000+行Apex编码标准:批量化,SOQL/DML,触发器,async,安全性,测试,PMD规则,反标码,和常见运行时间出错等. {\fn黑体\fs22\bord1\shad0\3aHBE\4aH00\fscx67\fscy66\2cHFFFFFF\3cH808080}# {\fn黑体\fs22\bord1\shad0\3aHBE\4aH00\fscx67\fscy66\2cHFFFFFF\3cH808080}######################### ####################################################################################################################################################################################.
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Copilot Skills — Salesforce
Custom GitHub Copilot Agent Skills & Coding Rulesets for Salesforce Development & Architecture
Turn GitHub Copilot into a Salesforce-aware coding assistant that follows platform best practices, governor limits, security rules, and the Well-Architected Framework — out of the box.
What Is This Repo?
This repository contains two GitHub Copilot Agent Skills and two comprehensive coding rulesets that supercharge Copilot with deep Salesforce platform knowledge:
Skills
| Skill | Purpose |
|---|---|
| salesforce-developer | Generates, reviews, and debugs Apex, LWC, SOQL, Flows, triggers, integrations, and Agentforce actions |
| salesforce-architect-skill | Designs scalable Salesforce solutions using the Well-Architected Framework, Architect Decision Guides, and integration patterns |
Coding Rulesets (NEW)
| Ruleset | Purpose |
|---|---|
| salesforce-apex-coding-rules.md | 1,000+ lines of Apex coding standards: bulkification, SOQL/DML, triggers, async, security, testing, PMD rules, anti-patterns, and common runtime errors |
| salesforce-lwc-coding-rules.md | 1,500+ lines of LWC coding standards: templates, JS, wire service, events, navigation, security, performance, accessibility, Jest, ESLint, LWS, and common errors |
These rulesets are tool-agnostic — they work with GitHub Copilot, Cursor, Claude Code, Windsurf, Cline, Roo Code, or any AI coding tool that supports custom instructions.
When added to a repository, the skills and rulesets teach Copilot to:
- Write bulkified, governor-limit-safe Apex with proper trigger frameworks, error handling, and test patterns
- Generate LWC components with correct decorators, wire adapters, and event communication
- Optimize SOQL/SOSL queries with selective filters, indexing strategies, and cursor-based pagination
- Design integration architectures using the right API pattern (REST, Bulk, Platform Events, CDC, Data 360)
- Apply security by default —
WITH SECURITY_ENFORCED,with sharing, CRUD/FLS checks, OAuth flows - Avoid common AI anti-patterns — 30+ documented mistakes that LLMs typically make in Salesforce code
- Follow the Well-Architected Framework — Trusted > Easy > Adaptable, in that priority order
- Produce architecture deliverables — solution design docs, ERDs (Mermaid), integration diagrams, decision matrices
- Pass PMD and ESLint — rulesets include comprehensive PMD rule mapping for Apex and ESLint config for LWC
Repository Structure
.github/
├── copilot-instructions.md # Entry point — tells Copilot which skills & rulesets to load
├── Blogs/
│ ├── salesforce-apex-coding-rules.md # Comprehensive Apex coding ruleset (1,000+ lines)
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add salesforcediariesbysanket/copilot-skills-salesforce