trailheadapps/apex-recipes resource
A library of concise, meaningful examples of Apex code for common use cases following best practices. observed · 2026-09-03
Health v2 · maintenance only
77/100
- Activity 100
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2150
- days_rel: n/a
- days_push: 0
- n_releases_24m: 0
Adoption not part of the score
1092 stars · 558 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Salesforce sample app providing a library of concise, best-practice Apex code examples for common use cases like triggers, async processing, invocable methods, caching, and integration. It is maintained by Trailhead Apps and deployable via Salesforce CLI, scratch orgs, or unlocked packages.
Use cases
- learn apex best practices with example code
- find salesforce apex code samples for triggers
- examples of async apex and batch jobs
- apex invocable method examples
- how to do callouts and integration in apex
- sample apex code for platform cache
- study material for salesforce developer certification
When to choose
- you are a Salesforce developer looking for clear, enterprise-pattern Apex examples
- you want reference code following best practices to copy into your org
- you are learning Apex or preparing for Trailhead badges
When to avoid
- you need a production-ready library to drop into your app rather than illustrative samples
- you work outside the Salesforce/Apex ecosystem
- you need Lightning Web Components examples rather than backend Apex code
Facets
learning-resource · maturity active
developer-tools documentation caching testing developer-tools tutorials apis cloud cli salesforce apex sample-code best-practices triggers async-apex invocable-methods integration
1 source
- readme: https://github.com/trailheadapps/apex-recipes · fetched 2026-09-03 · 1643f0c96984
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| trailheadapps/apex-recipes | main | 77 |
For agents
markdown · JSON · MCP: product_card(name="trailheadapps/apex-recipes")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem