Skip to content

Enhance Salesforce Development plugin with new agents and skills#1326

Merged
aaronpowell merged 4 commits intogithub:stagedfrom
TemitayoAfolabi:salesforce-development-plugin
Apr 9, 2026
Merged

Enhance Salesforce Development plugin with new agents and skills#1326
aaronpowell merged 4 commits intogithub:stagedfrom
TemitayoAfolabi:salesforce-development-plugin

Conversation

@TemitayoAfolabi
Copy link
Copy Markdown
Contributor

This pull request significantly enhances the Salesforce agent definitions for Apex/Triggers, Aura/LWC, and Flow development, introducing detailed, phased guidelines and non-negotiable quality standards for each discipline. The updates clarify how agents should approach discovery, pattern selection, testing, and completion, with explicit anti-patterns and output formats to ensure high-quality, maintainable, and secure Salesforce solutions. Additionally, a new Salesforce development plugin is added to the marketplace.

Salesforce Agent Guidelines Overhaul

Salesforce Apex & Triggers Agent:

  • Introduces a phased workflow: discovery before coding, explicit pattern selection, and rigorous PNB (Positive, Negative, Bulk) testing requirements, with detailed anti-patterns and modern Apex best practices. Output format for completed work is standardized.

Salesforce Aura/LWC Agent:

  • Adds a phased approach: project inspection before component creation, architecture selection (LWC vs Aura), PICKLES checklist for completeness, strict accessibility and SLDS 2 styling rules, and comprehensive Jest testing requirements. A structured output format is mandated.

Salesforce Flow Agent:

  • Establishes a two-phase process: confirm Flow is the appropriate tool before building, and select the correct Flow type based on the automation need. Encourages user confirmation and presents alternatives for simple requirements.

Marketplace Update

  • Adds a new salesforce-development plugin to .github/plugin/marketplace.json, describing a comprehensive Salesforce agentic development environment.

Copilot AI review requested due to automatic review settings April 7, 2026 22:54
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 7, 2026

🔍 Skill Validator Results

7 resource(s) checked | ✅ All checks passed

Full output
Only one of --plugin, --skills, or --agents can be used at a time.

Note: Errors were found. These are currently reported as warnings and do not block merge. Please review and address when possible.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands the repository’s Salesforce-focused Copilot content by adding new Salesforce skills, strengthening the Salesforce agent guidance (Apex/Triggers, Aura/LWC, Flow, Visualforce), and publishing a new salesforce-development plugin entry for marketplace installation.

Changes:

  • Added three new Salesforce skills covering Apex quality, UI component standards, and Flow design/validation.
  • Overhauled four Salesforce agents with phased workflows, “ask-first” guidance, quality gates, and standardized output formats.
  • Added a new salesforce-development plugin (manifest + README) and updated marketplace/docs listings.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
skills/salesforce-flow-design/SKILL.md New Flow design/validation skill (type selection, bulk safety, fault handling).
skills/salesforce-component-standards/SKILL.md New UI standards skill (LWC/Aura/VF security, a11y, SLDS, Jest expectations).
skills/salesforce-apex-quality/SKILL.md New Apex quality skill (bulk safety, sharing, CRUD/FLS, PNB testing).
agents/salesforce-apex-triggers.agent.md Expanded Apex/Triggers agent workflow and quality gates.
agents/salesforce-aura-lwc.agent.md Expanded UI agent workflow, architecture selection, and completion protocol.
agents/salesforce-flow.agent.md Expanded Flow agent workflow, bulk/fault/deployment gates, and reporting format.
agents/salesforce-visualforce.agent.md Expanded Visualforce agent workflow and security/perf/a11y gates.
plugins/salesforce-development/.github/plugin/plugin.json New plugin manifest bundling Salesforce agents + skills.
plugins/salesforce-development/README.md New plugin documentation and installation instructions.
.github/plugin/marketplace.json Added salesforce-development plugin to the marketplace registry.
docs/README.skills.md Registered the three new Salesforce skills in the skills index.
docs/README.plugins.md Added salesforce-development to the plugins index (and updated plugin rows).

Comment thread skills/salesforce-apex-quality/SKILL.md
Comment thread agents/salesforce-visualforce.agent.md
Comment thread docs/README.plugins.md Outdated
Comment thread docs/README.plugins.md Outdated
- Rewrote all 4 agent files with specific, actionable Salesforce guidance:
  - salesforce-apex-triggers: added discovery phase, pattern selection matrix,
    PNB test coverage standard, modern Apex idioms (safe nav, null coalescing,
    WITH USER_MODE, Assert.*), TAF awareness, anti-patterns table with risks,
    and structured output format
  - salesforce-aura-lwc: major expansion — PICKLES methodology, data access
    pattern selection table, SLDS 2 compliance, WCAG 2.1 AA accessibility
    requirements, component communication rules, Jest test requirements, and
    output format
  - salesforce-flow: major expansion — automation tool confirmation step, flow
    type selection matrix, bulk safety rules (no DML/Get Records in loops),
    fault connector requirements, Transform element guidance, deployment
    safety steps, and output format
  - salesforce-visualforce: major expansion — controller pattern selection,
    security requirements (CSRF, XSS, FLS/CRUD, SOQL injection), view state
    management, performance rules, and output format

- Added 3 new skills to the plugin:
  - salesforce-apex-quality: Apex guardrails, governor limit patterns, sharing
    model, CRUD/FLS enforcement, injection prevention, PNB testing checklist,
    trigger architecture rules, and code examples
  - salesforce-flow-design: flow type selection, bulk safety patterns with
    correct and incorrect examples, fault path requirements, automation density
    checks, screen flow UX guidelines, and deployment safety steps
  - salesforce-component-standards: LWC data access patterns, SLDS 2 styling,
    accessibility (WCAG 2.1 AA), component communication, Jest requirements,
    Aura event design, and Visualforce XSS/CSRF/FLS/view-state standards

- Updated plugin.json v1.0.0 → v1.1.0 with explicit agent paths and skill refs
- Fix 'ntegrate' codespell false positive in salesforce-aura-lwc agent:
  rewrote PICKLES acronym bullets from letter-prefixed (**I**ntegrate)
  to full words (**Integrate**) so codespell reads the full word correctly
- Regenerate docs/README.plugins.md to match current build output
  (table column padding was updated by the build script)
@TemitayoAfolabi TemitayoAfolabi force-pushed the salesforce-development-plugin branch from 83053f5 to 1b14aaf Compare April 8, 2026 17:00
@aaronpowell aaronpowell merged commit 6dd2453 into github:staged Apr 9, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants