Repository navigation
Archistry 1.3: the automation map
A 50th diagram type for the question every inherited org raises: what fires when a record is saved, in what order, and where is the order not guaranteed?
⚡ automation-map
- One object per diagram. One zone for each step of the Salesforce order of execution, numbered as in the Apex Developer Guide: before-save flows, before triggers, validation rules, duplicate rules, after triggers, assignment and auto-response rules, workflow rules, escalation rules, Process Builder, after-save flows, roll-up summaries, asynchronous paths after commit, and a separate zone for delete.
- Conflicts are flagged.
- Two or more active Apex triggers on the same event run in no guaranteed order.
- Two or more Process Builder processes run in no guaranteed order.
- Two flows without a run order that share an event follow their activation dates, which are not in the source.
- A flow without a run order next to ordered flows is not flagged: Salesforce runs it after those ordered 1 to 1,000 and before those ordered 1,001 to 2,000. Cards are sorted into run order.
- Legacy and inactive items are grey. Workflow rules and Process Builder are marked "migrate to flows"; inactive items are counted but not drawn.
- Based on Salesforce's own documentation: the Apex Developer Guide page "Triggers and Order of Execution" and the Help page on run order for record-triggered flows. Salesforce renumbers the steps between releases, so the reference says when the numbers were checked.
🧩 Start from your repo
archistry automation-from-sfdx ./ --object Account -o diagrams/account-automation.json
archistry automation-from-sfdx ./ # lists the objects that have automationIt reads Apex triggers, record-triggered flows with their run order, Process Builder, validation, duplicate, assignment, auto-response and escalation rules, workflow rules, roll-up summary fields and asynchronous flow paths from SFDX source. It shows only what is in the repository: automation from installed managed packages is not included.
🛠️ Smaller changes
- README gallery refresh.
node scripts/build-examples.mjs --galleryupdates only the gallery, without rebuilding any example. - Skill description. The word "agenda" is back in the discovery list: without it, "draft the agenda for our 3-day discovery workshop" was answered without loading the skill (0 of 4); with it, 4 of 4.
- 50 types in the README, the banner image and the website.
🎯 Evals
- Behaviour: 12 of 12 cases pass, with three runs per case on Sonnet. The new case runs the generator on a project with seeded conflicts and decoys. Cases 1 to 11 were last run before this release.
- Trigger: 37 of 37 prompts. Both runners now give each session coding-agent tools only. Newer Claude Code versions also expose a signed-in account's connectors, which made some prompts look like misses of the skill;
ACCOUNT_TOOLS=1turns the isolation off. These results are not comparable with earlier runs that used the full tool set. - Regression snapshot now pins the generator's output on a fixed test project.
✅ Compatibility
- Existing types and specs are unchanged. No new requirements: the skill still needs only Node.js 18+.
🔁 Update
npx skills update