/sf-app-architect:sf-app-architect-tddfrom sf-app-architect
Drive 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.
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.
TDD is the red → green engine used by sf-app-architect-implement.
Test behavior through stable platform interfaces, not XML shape or private implementation. Read TEST-SEAMS.md before choosing or changing a seam.
Before the first test:
Do not invent a new seam without stopping for approval when the spec made seam choice material.
Write one test for one missing behavior.
Run the narrowest command and confirm:
A test that passes before implementation is not red. A compile failure unrelated to the behavior is not useful red.
Make the smallest coherent source change that passes the test.
Take the next behavior slice only after the current test is green.
Do not perform broad refactoring inside the loop. Structural cleanup belongs to sf-app-architect-code-review, where the complete diff and spec are visible.
Completion criterion: every agreed automated behavior is represented by an independent, passing test and no cycle skipped observed red.
SeeAllData=true as a convenience.Examples include permission assignment, page assignment, folder access, credential provisioning, package installation, metadata deletion, and Flow activation.
For these, define a deterministic validation scenario:
Do not write a tautological Apex test that merely describes metadata you cannot exercise.
Completion criterion: every non-TDD acceptance item has an explicit validation seam and is handed back to implementation for execution.
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
9 skills in this plugin
/sf-app-architect-code-reviewReview 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./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-menpx claudepluginhub msrivastav13/sf-app-architect --plugin sf-app-architect