mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-05 14:54:50 +08:00
4.1 KiB
4.1 KiB
Reference Map and Consolidation Plan
Meta document: describes how to use and maintain the reference set.
This file defines which references are primary vs supplemental so the skill stays organized without risky deletions.
Primary References (Authoritative)
agent-script-core-language.md— syntax and execution modelagent-design-and-spec-creation.md— design/spec workflowpatterns-by-requirement.md— scenario-to-pattern selectionarchitecture-patterns.md— architecture mechanics and migrationposture-and-determinism.md— subagent posture guidancezen-of-agentscript.md— concrete, unordered authoring invariants and merge checkssalesforce-cli-for-agents.md— command referenceagent-validation-and-debugging.md— runtime validation/debug flowdeploy-reference.md— draft-vs-release deployment lifecycle
Adjacent Operational References (Keep)
agent-metadata-and-lifecycle.mdagent-user-setup.mdagent-access-guide.mddata-library-reference.mdknown-issues.mdproduction-gotchas.mdmcp-management-reference.md
Supplemental References (Review for Merge/Prune Later)
examples.md— long-form walkthroughsactions-reference.md— broad action property referenceaction-prompt-templates.md— prompt-template-specific action guidancefeature-validity.md— utility-vs-target property validity matrix
Full Reference Index (annotated)
The complete reference set the Create an Agent workflow draws on, in load order. Other task domains list only the subset they need; each SKILL.md step also links the specific reference it requires inline.
- CLI for Agents — exact command syntax for generate, validate, deploy, publish, activate; Section 12 for Einstein Agent User creation
- Core Language — execution model, syntax, block structure, anti-patterns
- Design & Agent Spec — subagent graph design, flow control patterns, Agent Spec production, action implementation analysis; Section 3 for environment prerequisites
- Subagent Map Diagrams — Mermaid diagram conventions for visualizing the agent's subagent graph
- Posture & Determinism — default agentic posture, deterministic controls with cause
- Agent User Setup & Permissions — permission set assignment, object permissions, cross-subagent validation
- Metadata & Lifecycle — directory structure, bundle metadata; publish troubleshooting
- Validation & Debugging — validate the agent compiles, preview to confirm behavior
- Agent Access Guide — end-user access permissions, visibility troubleshooting
- Known Issues — only load when errors persist after code fixes
- Patterns by Requirement — scenario-to-pattern mapping for architecture and flow choices
- Architecture Patterns — router-first mechanics, verification gates, workflow-local linear patterns
- Complex Data Types — type mapping decision tree
- Safety Review — 7-category safety review
- Discover Reference — target discovery CLI
- Scaffold Reference — stub generation CLI
- Deploy Reference — deployment lifecycle, error recovery
- Data Library Reference — provision a SFDRIVE Agentforce Data Library and wire it into the
.agentvia theknowledge:block +AnswerQuestionsWithKnowledgeaction
Current Recommendation (No Deletions Yet)
- Keep all files for now.
- Treat supplemental references as second-level docs.
- In a future cleanup pass, consider:
- keep
examples.mdas the single examples reference and avoid re-splitting minimal examples - folding
feature-validity.mdintoactions-reference.md - keeping
action-prompt-templates.mdonly if prompt-template depth remains valuable
- keep