/sfskills:test-build-stepfrom SfSkills — Salesforce AI Skill Library
Runs structural checks and acceptance tests for a built step, writes results.json, and transitions the step to tested or failed.
Claude never picks this command on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /sfskills:test-build-step still runs it.
Wraps agents/step-tester/AGENT.md. Runs the always-on structural checks plus every acceptance test the plan declared for the step, writes tests/<step-id>/results.json, and moves the step to tested or failed.
The step must already be built. Artefacts are read-only to this command.
Ask the user:
1. Build directory?
Example: .sfskills/builds/case-onboarding/
2. Step id?
Example: M1-S04 (its status in plan.json must be `built`)
If either is missing, STOP. If the status is anything but built, STOP and say which status was found.
Read agents/step-tester/AGENT.md in full, plus its Mandatory Reads — AGENT_RULES.md, standards/build-orchestration.md § 5 in particular, agents/_shared/schemas/build-plan.schema.json, and its five skill reads.
Follow the 7-step plan exactly:
built)xml — parse every *.xml / *-meta.xml under the step's artefactsmanifest — two-way consistency between package.xml and the files on disk. On a metadata step type (object-model, access, validation, automation, routing, sla, ui) with no package.xml in its own or its dependencies' artefacts, this fails; it does not skipchecker (run the path with --manifest-dir; it passes on exit 0 and build_plan.py check-outputs being ok; a checker that does not exist blocks the step), command (starts with python3 , stdlib-only, never a deploy and never anything on the § 5 deny-list), manual (collected for the milestone gate)tests/<step-id>/results.json and summary.md — passed: true in that file is what set-status … tested requires, so write it truthfully and let the transition fail rather than adjusting itset-status … tested on pass, failed with the failing test names in --result, or blocked --blocked-reason "missing-checker" for a checker the plan named but that does not existReturn the Output Contract:
Suggest (but do not auto-invoke):
/keep-build-docs once the step is tested/run-build-step to re-run the step after a failed exit is addressedsf project deploy start or sf project deploy validate.standards/build-orchestration.md § 5 — sf … deploy, sfdx, force:source:deploy, curl, wget, a pipe into a shell, bash -c, python3 -c, rm -rf, git push — it records the test refused-not-run instead.plan.json.What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
94 commands in this plugin
/add-skill/add-skill — one command, topic in, landed skill outYou give it a topic. It works out everything else./add-to-backlog/add-to-backlog — add one ask to the release plan```/analyze-field-impact/analyze-field-impact — Score the blast radius of renaming or deleting a fieldWraps [`agents/field-impact-analyzer/AGENT.md`](../agents/field-impact-analyzer/AGENT.md). Returns a risk-scored inventory of every place a field is referenced.npx claudepluginhub pranavnagrecha/awesomesalesforceskills --plugin sfskillsOther plugins' commands for the same job