BF sf-ai-agentforce
Agentforce Builder metadata path for Builder-managed topics/actions, Prompt Builder templates, GenAiFunction/GenAiPlugin, Models API, and custom Lightning types. TRIGGER when: user maintains or configures Builder metadata agents, creates topics/actions, works with Prompt Builder templates, or touches .genAiFunction, .genAiPlugin, or .genAiPromptTemplate metadata XML files. DO NOT TRIGGER when: Agent Script DSL .agent files (use sf-ai-agentscript), agent testing (use sf-ai-agentforce-testing), or persona design (use sf-ai-agentforce-persona).
As a process F 50/100 · Will not run — References files that are not bundled: ../sf-ai-agentscript/SKILL.md, ../sf-ai-agentforce-testing/SKILL.md, ../sf-ai-agentforce-persona/SKILL.md
How to improve
- The text references files that are not there: add them or drop the references.
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 5
✓ No critical or high findings
Medium and low: 5
-
low Secrets in code
secret-high-entropy-tokenreferences/models-api.md:63High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| `sfdc…ini` | GPT-4o Mini | Cost-effective general tasks |
table -
low Secrets in code
secret-high-entropy-tokenreferences/models-api.md:64High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| `sfdc…mni` | GPT-4o | Complex reasoning tasks |
table -
low Secrets in code
secret-high-entropy-tokenreferences/models-api.md:85High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)request.modelName = 'sfdc…ini';
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/models-api.md:182High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)request.modelName = 'sfdc…ini';
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/models-api.md:293High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)request.modelName = 'sfdc…ini';
quoted
Files scanned: 13. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
missing-refreference to a missing file: ../sf-ai-agentscript/SKILL.md - warning
missing-refreference to a missing file: ../sf-ai-agentforce-testing/SKILL.md - warning
missing-refreference to a missing file: ../sf-ai-agentforce-persona/SKILL.md - warning
missing-refreference to a missing file: ../sf-permissions/references/agent-access-guide.md - warning
missing-refreference to a missing file: ../sf-flow/SKILL.md - warning
missing-refreference to a missing file: ../sf-apex/SKILL.md - warning
missing-refreference to a missing file: ../sf-deploy/SKILL.md - warning
missing-refreference to a missing file: ../sf-permissions/SKILL.md - warning
missing-refreference to a missing file: ../sf-ai-agentscript/references/agent-user-setup.md
Process rating: all ten parameters 50/100
- 0Tools and files. 9 referenced file(s) missing: ../sf-ai-agentscript/SKILL.md, ../sf-ai-agentforce-testing/SKILL.md, ../sf-ai-agentforce-persona/SKILL.md
- 0Result and completion. Does not say what the result is
- 0Progress reporting. Says nothing while it works
- 30Running it twice. 28 mutating operations with no state check
- 55Failures and branches. 1 branches
- 70When it triggers. States when to use, but not when not to
- 70Inputs and preconditions. Inputs and preconditions are listed
- 85Steps. 62 steps, 3 vague phrases
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 2381 tokens
- low 10 top-level sections: this looks like several domains in one skill
- high The skill tells the model to perform an irreversible action with no human approval
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +5Description has no quoted example phrases that should trigger the skill
- +4Description does not say when NOT to use the skill (false activations)
- +3Output format is not stated: the model decides each time
- +2Single-language instructions
- +3Description length 547: enough signal without eating the budget
- +4Structure: 29 headings
- +3Step-by-step instructions: 62 items
- +4Has examples (1 code blocks)
- +4Reference files are cited in the instructions (8 of 8)
- +1License stated
Quality base 70; lint remarks subtract, signals add up to 100. Result: 77.