/sf-app-architect:sf-app-architect-code-reviewfrom sf-app-architect
Review a metadata-driven project diff from a fixed point along two independent axes—Platform standards and release safety, plus spec fidelity—inventorying metadata impact, test/validation evidence, package boundaries, security, data, activation, and destructive-change risk. Use when invoked by sf-app-architect-implement before commit, or when the user asks for a Salesforce release-safety or spec-fidelity review of a diff.
Ships in sf-app-architect. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Review the diff between HEAD and a fixed point before commit.
Run two independent reviews:
Read PLATFORM-REVIEW-BASELINE.md for the first axis. Repository standards and ADRs override general heuristics when they are explicit.
Use the user- or implementation-supplied commit, branch, tag, or merge base.
Confirm:
git rev-parse <fixed-point>
git diff <fixed-point>...HEAD
git log <fixed-point>..HEAD --oneline
Fail early on an invalid ref or empty diff.
Completion criterion: one immutable comparison point and one non-empty review diff are established.
Find the parent spec and implementation ticket in this order:
If no spec exists, report that the Spec axis is unavailable. Do not invent requirements.
Completion criterion: the review can quote or point to each acceptance criterion it evaluates, or explicitly state that no spec is available.
Translate the file diff into metadata and release impact:
<MetadataType>:<fullName>;Inspect .forceignore, project API version, destructive manifests, and generated serialization churn.
Completion criterion: every changed file is accounted for as intended source, local-only test/tooling, generated artifact, or unrelated change.
Do not let conclusions from one axis suppress the other.
Apply repository standards, ADRs, project-native tooling results, and every relevant section of the platform review baseline.
For every grill-ledger decision ID, user story, decision, acceptance criterion, and out-of-scope boundary:
Completion criterion: each applicable rule and each spec criterion has been considered, not sampled.
Use separate sections:
## Platform standards and release safety
### Blocking
- ...
### Important
- ...
### Advisory
- ...
### Summary
...
## Spec fidelity
### Blocking
- ...
### Important
- ...
### Advisory
- ...
### Summary
...
Each finding includes:
Do not produce one blended pass/fail score.
sf-app-architect-implement resolves blocking findings, reruns affected narrow tests and validation, and re-invokes review when the correction materially changes the diff.
Completion criterion: no unresolved blocking finding remains before commit, or the implementation stops and reports why it cannot safely commit.
Original modifications and additions in this file are licensed under Apache License 2.0. Portions are adapted from Matt Pocock's MIT-licensed Skills for Real Engineers project and have been substantially modified for Salesforce app development. See the repository root LICENSE, NOTICE, LICENSES/MIT-Matt-Pocock.txt, and THIRD_PARTY_NOTICES.md.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub msrivastav13/sf-app-architect --plugin sf-app-architect9 skills in this plugin
/sf-app-architect-grillingInterview the user one decision at a time to stress-test a Salesforce app plan, research discoverable facts, recommend an answer for every question, and refuse to implement before shared understanding is confirmed. Use when invoked by sf-app-architect-grill-me or sf-app-architect-wayfinder for human-decision tickets, or when the user wants the reusable one-question-at-a-time interview discipline./sf-app-architect-grill-meRelentlessly interview the user about a Salesforce app idea, change, migration, architecture, or release plan; preserve material decisions and hand off to to-spec or wayfinder without implementing. Use when the user has a new or underspecified Salesforce initiative and wants it sharpened before any planning or implementation begins./sf-app-architect-implementImplement one metadata-driven platform delivery spec or one frontier ticket in a fresh context, using SF App Architect TDD at agreed seams, bounded metadata and org operations, project-native validation, SF App Architect Code Review, and a final commit. Use when the user wants one bounded, already-decided Salesforce ticket built, verified, and committed without reopening design decisions./sf-app-architect-setupOne-time per-repository setup for SF App Architect. Establish the issue tracker, agent-ready and Wayfinder labels, where specs/tickets/maps are saved, org-role→alias landscape, and production-release policy, then write them to a config file the other skills read. Use once per project before running grill-me, wayfinder, to-spec, to-tickets, or implement, or when the user asks to configure or re-configure SF App Architect./sf-app-architect-tddDrive test-first implementation on Salesforce-platform projects, one red → green behavior slice at a time at pre-agreed Apex, Flow, LWC, data-transformation, or integration seams; use validation rather than fake unit tests when metadata has no deterministic test seam. Use when invoked by sf-app-architect-implement, or when the user wants red-green-refactor / test-first development on Salesforce metadata./sf-app-architect-to-specSynthesize a completed SF App Architect Wayfinder, settled conversation, or agreed plan into a metadata-driven platform delivery spec and publish it to the configured issue tracker; do not reopen alignment or begin implementation. Use when Salesforce decisions are settled and the user wants them turned into one delivery contract ready for ticket breakdown.