{"adoption": {"forks": 558, "observed_at": "2026-09-03T02:15:19.939589+00:00", "stars": 1092}, "canonical_url": "https://ross.abutalabs.com/products/apex-recipes", "card": {"archived": false, "artifact_type": "learning-resource", "description": "A library of concise, meaningful examples of Apex code for common use cases following best practices.", "domain": ["developer-tools", "tutorials", "apis"], "enriched": true, "function": ["developer-tools", "documentation", "caching", "testing"], "health_score": 80, "homepage": "https://developer.salesforce.com", "language": "Apex", "license": "CC0-1.0", "license_family": "permissive", "maturity": "active", "member_repos": ["trailheadapps/apex-recipes"], "name": "trailheadapps/apex-recipes", "platform": ["cloud", "cli"], "pushed_at": "2026-09-03T00:05:48+00:00", "repo": "trailheadapps/apex-recipes", "stars": 1092, "tags": ["salesforce", "apex", "sample-code", "best-practices", "triggers", "async-apex", "invocable-methods", "integration"], "topics": ["salesforce", "apex", "trigger", "async", "invocable", "cache", "integration"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/apex-recipes", "repo": "trailheadapps/apex-recipes", "role": "main", "score": 77}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-09-03T02:15:19.939589+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:48:59.037487+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1643f0c969849898f43492293b135bcb718e5f2ca6a2a453457a20222cf8d99a", "fetched_at": "2026-09-03T02:15:19.939589+00:00", "kind": "readme", "missing": false, "url": "https://github.com/trailheadapps/apex-recipes"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-09-03T02:15:19.939589+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:48:59.037487+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1643f0c969849898f43492293b135bcb718e5f2ca6a2a453457a20222cf8d99a", "fetched_at": "2026-09-03T02:15:19.939589+00:00", "kind": "readme", "missing": false, "url": "https://github.com/trailheadapps/apex-recipes"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:48:59.037487+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1643f0c969849898f43492293b135bcb718e5f2ca6a2a453457a20222cf8d99a", "fetched_at": "2026-09-03T02:15:19.939589+00:00", "kind": "readme", "missing": false, "url": "https://github.com/trailheadapps/apex-recipes"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-09-03T02:15:19.939589+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-09-03T02:15:19.939589+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-09-03T02:15:19.939589+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:48:59.037487+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1643f0c969849898f43492293b135bcb718e5f2ca6a2a453457a20222cf8d99a", "fetched_at": "2026-09-03T02:15:19.939589+00:00", "kind": "readme", "missing": false, "url": "https://github.com/trailheadapps/apex-recipes"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-09-03T02:15:19.939589+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-09-03T02:15:19.939589+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:48:59.037487+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1643f0c969849898f43492293b135bcb718e5f2ca6a2a453457a20222cf8d99a", "fetched_at": "2026-09-03T02:15:19.939589+00:00", "kind": "readme", "missing": false, "url": "https://github.com/trailheadapps/apex-recipes"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-09-03T02:15:19.939589+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-09-03T02:15:19.939589+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-09-03T02:15:19.939589+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:48:59.037487+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1643f0c969849898f43492293b135bcb718e5f2ca6a2a453457a20222cf8d99a", "fetched_at": "2026-09-03T02:15:19.939589+00:00", "kind": "readme", "missing": false, "url": "https://github.com/trailheadapps/apex-recipes"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-09-03T02:15:19.939589+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-09-03T02:15:19.939589+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:48:59.037487+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1643f0c969849898f43492293b135bcb718e5f2ca6a2a453457a20222cf8d99a", "fetched_at": "2026-09-03T02:15:19.939589+00:00", "kind": "readme", "missing": false, "url": "https://github.com/trailheadapps/apex-recipes"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:48:59.037487+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1643f0c969849898f43492293b135bcb718e5f2ca6a2a453457a20222cf8d99a", "fetched_at": "2026-09-03T02:15:19.939589+00:00", "kind": "readme", "missing": false, "url": "https://github.com/trailheadapps/apex-recipes"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:48:59.037487+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1643f0c969849898f43492293b135bcb718e5f2ca6a2a453457a20222cf8d99a", "fetched_at": "2026-09-03T02:15:19.939589+00:00", "kind": "readme", "missing": false, "url": "https://github.com/trailheadapps/apex-recipes"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:48:59.037487+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1643f0c969849898f43492293b135bcb718e5f2ca6a2a453457a20222cf8d99a", "fetched_at": "2026-09-03T02:15:19.939589+00:00", "kind": "readme", "missing": false, "url": "https://github.com/trailheadapps/apex-recipes"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 100, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2150, "days_push": 0, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 77, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 3, "stale_scrape": false}}