SC

salesforcediariesbysanket/copilot-skills-salesforce

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

39 stars Качество 48 Тренд 27

Разработчик и архитектор Salesforce для GitHub Copilot

Обзор

Превратите GitHub Copilot в помощника по кодированию Salesforce, который следует лучшим практикам платформы, ограничениям губернатора, правилам безопасности и хорошо продуманной структуре. Этот репозиторий содержит два и два, которые заряжают Copilot глубокими знаниями платформы Salesforce: Эти правила — они работают с GitHub Copilot, Cursor, Claude Code, Windsurf, Cline, Roo Code или любым инструментом кодирования ИИ, который поддерживает пользовательские инструкции. При добавлении в хранилище навыки и правила учат Copilot: - с надлежащими триггерными фреймворками, обработкой ошибок и шаблонами тестов - с правильными декораторами, проводными адаптерами и коммуникацией с событиями - с селективными фильтрами, стратегиями индексации и пагинацией на основе курсора - с использованием правильного шаблона API (REST, Bulk, Platform Events, CDC, Data 360) - - С SECURITY ENFORCED, с обменом, проверками CRUD/FLS, потоками OAuth - - 30+ задокументированных ошибок, которые LLM обычно делают в коде Salesforce - - Доверенное > Легко Адаптивен в этом приоритете...

Обзор (машинный перевод)

**Навыки и правила кодирования для разработки и архитектуры Salesforce

Превратите GitHub Copilot в помощника по кодированию Salesforce, который следует лучшим практикам платформы, ограничениям губернатора, правилам безопасности и хорошо продуманной структуре.

Что это такое?

Этот репозиторий содержит два GitHub Copilot Agent Skills и два комплексных правила кодирования, которые заряжают Copilot глубокими знаниями платформы Salesforce:

Навыки

Навык, цель. [скрыто] [скрыто] | salesforce-developer | Генерирует, рассматривает и отлаживает Apex, LWC, SOQL, Flows, триггеры, интеграции и действия Agentforce | | salesforce-architect-skill | Проекты масштабируемых решений Salesforce с использованием хорошо продуманных рамок, руководств по принятию архитектурных решений и моделей интеграции

Правила кодирования (NEW)

Обсуждение Ruleset | Purpose [скрыто] [скрыто] | salesforce-apex-coding-rules.md | 1000+ строк стандартов кодирования Apex: громоздкость, SOQL/DML, триггеры, асинхронизация, безопасность, тестирование, правила PMD, антипаттерны и распространенные ошибки среды выполнения | ** - кодирующие правила.

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

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)
Открыть полный README на GitHub

Рекомендуемые инструменты

Попробуйте другой запрос или уберите фильтр.

Установка

npx skillfish add salesforcediariesbysanket/copilot-skills-salesforce
Новичок в MCP? Начните с руководства на mcpskill.org →