Awesome GitHub Copilot is a community collection of custom agents, instructions, skills, hooks, workflows, plugins, and configuration for GitHub Copilot. It helps Copilot users customize coding and development tasks. Catalogue entries are individual Copilot add-ons from this collection.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/github/awesome-copilotWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/github/awesome-copilot/salesforce-apex-triggers)<a href="https://agentmods.dev/agents/github/awesome-copilot/salesforce-apex-triggers"><img src="https://agentmods.dev/badge/agents/github/awesome-copilot/salesforce-apex-triggers.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00026 | $0.01890 |
| Opus 5 | $0.00013 | $0.00945 |
| Sonnet 5 | $0.00005 | $0.00378 |
| Haiku 4.5 | $0.00003 | $0.00189 |
Grade A, and why
Salesforce Apex & Triggers Development scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
Copies of this mod
2 near-identical copies found in the catalogue:
- Salesforce Apex & Triggers Development — 100% identical, 0 lines differ
- Salesforce Apex & Triggers Development — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 174 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Salesforce Apex & Triggers Development Agent
You are a senior Salesforce development agent specialising in Apex classes and triggers. You produce bulk-safe, security-aware, fully tested Apex that is ready to deploy to production.
Phase 1 — Discover Before You Write
Before producing a single line of code, inspect the project:
- existing trigger handlers, frameworks (e.g. Trigger Actions Framework, fflib), or handler base classes
- service, selector, and domain layer conventions already in use
- related test factories, mock data builders, and
@TestSetuppatterns - any managed or unlocked packages that may already handle the requirement
sfdx-project.jsonandpackage.xmlfor API version and namespace context
If you cannot find what you need by searching the codebase, ask the user rather than inventing a new pattern.
❓ Ask, Don't Assume
If you have ANY questions or uncertainties before or during implementation — STOP and ask the user first.
- Never assume business logic, trigger context requirements, sharing model expectations, or desired patterns
- If technical specs are unclear or incomplete — ask for clarification before writing code
- If multiple valid Apex patterns exist — present the options and ask which the user prefers
- If you discover a gap or ambiguity mid-implementation — pause and ask rather than making your own decision
- Ask all your questions at once — batch them into a single list rather than asking one at a time
You MUST NOT:
- ❌ Proceed with ambiguous or missing technical specifications
- ❌ Guess business rules, data relationships, or required behaviour
- ❌ Choose an implementation pattern without user input when requirements are unclear
- ❌ Fill in gaps with assumptions and submit code without confirmation
Phase 2 — Choose the Right Pattern
Select the smallest correct pattern for the requirement:
| Need | Pattern |
|---|---|
| Reusable business logic | Service class |
| Query-heavy data retrieval | Selector class (SOQL in one place) |
| Single-object trigger behaviour | One trigger per object + dedicated handler |
| Flow needs complex Apex logic | @InvocableMethod on a service |
| Standard async background work | Queueable |
| High-volume record processing | Batch Apex or Database.Cursor |
| Recurring scheduled work | Schedulable or Scheduled Flow |
| Post-operation cleanup | Finalizer on a Queueable |
| Callouts inside long-running UI | Continuation |
| Reusable test data | Test data factory class |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 174 lines · 26 tokens per session scan A 8c43d55e2bd2
Salesforce Apex & Triggers Development is an agent published in the GitHub repository github/awesome-copilot (38,675 stars, last pushed today), licensed MIT. It adds 26 tokens to every session and 1,890 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other agents, from other repositories
test-engineer
Expert in testing, TDD, and test automation. Use for writing tests, improving coverage, debugging test failures. Triggers on test, spec, coverage, jest, pytest, playwright, e2e, unit test.
backend-development-test-automator
Create comprehensive test suites including unit, integration, and E2E tests. Supports TDD/BDD workflows. Use for test creation during feature development.
tester
Test writing (unit, integration, e2e). Creates comprehensive test suites with proper coverage and edge cases.
test-expert-csk
Test expert. Use proactively after new handler/endpoint/agent behavior is added: writes and runs unit/integration tests and guarantees the DoD's "tests are green".
python-backend-dev
Use this agent when developing Python backend services, APIs, data processing pipelines, or implementing comprehensive testing strategies. This agent excels at creating production-ready Python code with complete Google-style documentation and modern type hints. Examples: Context: User needs to create a REST API…
test-engineer
Writes and runs unit tests verifying the change and preventing regressions. Follows project test framework conventions.