Now inviting automation leaders: publish your playbook as a skill, under your own name. Publish yours →
Automation Skills
All skills/Sf ai agentscript/Upstream-recipes-audit
Reference · Sf ai agentscript

Upstream-recipes-audit

Part of Sf ai agentscript. Install the skill and your agent reads this page when it needs the depth.

<!-- Parent: sf-ai-agentscript/SKILL.md -->

Upstream Recipes Audit

Audit target: trailheadapps/agent-script-recipes

Audited against upstream commit: 9c9017691db4a90bc73189371d7d540e1d9f077c (Mar 2026)

This document explains how this skill uses TrailheadApps as an input source without treating it as the sole source of truth.

Audit Summary

Verdict: useful and worth tracking, but not authoritative by itself.

Use TrailheadApps for:

Do not use TrailheadApps alone as the final truth for:

What Upstream Confirms

Upstream finding Evidence Our verdict Action in this skill
developer_name is canonical Commit 9aa5ee2 changed .airules/AGENT_SCRIPT.md from agent_name to developer_name Confirmed Keep developer_name as canonical
Always use @actions. prefixes Commit b790a6f added explicit guidance for run, templates, and instruction text Confirmed Keep validator/doc guidance
run @actions.X does not work for reasoning-level utilities Commit 25e6865 documents run resolving only against topic-level actions: with target: Confirmed Keep instruction-resolution.md and validator guidance
Employee Agents are now the dominant recipe model Commit 60ca531 switched recipes to AgentforceEmployeeAgent Confirmed Treat upstream as Employee-Agent-heavy

Where Upstream Is Stale or Inconsistent

Upstream pattern Evidence Our verdict Guidance
connections: plural wrapper .airules/AGENT_SCRIPT.md still shows connections: top-level ordering; future_recipes/escalationPatterns still uses it Stale / contradicts downstream validation Prefer connection messaging: only
Config description: shown as primary field .airules/AGENT_SCRIPT.md config block and current recipes still use description: Aligned with official/public usage Prefer description: in public docs/examples; keep agent_description: compatibility in local tooling
before_reasoning removed from rules but still appears in recipes Main rules removed it, but future_recipes/customerServiceAgent still uses it Internally inconsistent Keep lifecycle-hook docs, but be cautious about runtime guarantees
Service Agent coverage is weak Current repo is almost entirely Employee-Agent examples and has effectively no real Service-Agent .agent corpus Incomplete source for Service-Agent authoring Prefer this skill's service-user and publish docs

Specific Upstream References Worth Knowing

1. developer_name migration

2. Bare action name fix

3. run @actions.X scope clarification

4. Employee-Agent bias

Maintenance Policy for This Skill

When upstream and local evidence disagree, use this priority order:

  1. official Salesforce docs
  2. local sf agent validate / preview / publish behavior in real orgs
  3. this skill's TDD and field validation corpus
  4. upstream/community examples

Recommended Ongoing Audit Checklist

When reviewing new TrailheadApps commits, specifically check for:

Current Decision Log

Publish your skill

Copy this prompt into Claude Code, Codex or any agent. It walks you through your first skill in about 20 minutes, with you as the author.

Click to copy.