Skip to content

Archistry 1.0: Salesforce diagrams, crafted from a sentence

Choose a tag to compare

@abhishakec abhishakec released this 17 Nov 15:40
· 21 commits to main since this release

Archistry: architect-grade Salesforce diagrams for AI agents

Archistry 1.0: Salesforce diagrams, crafted from a sentence

The first release of Archistry, an AI-agent skill for Salesforce architects, business analysts
and consultants. Ask your agent in plain language. You get an editable draw.io file, an
interactive HTML page you can edit in the browser, and PNG, JPG or SVG images for your
documents.

✨ Highlights

  • 40 diagram types across the whole project lifecycle: Discover (11), Architect (12),
    Design (4), Agentforce (2), Build (4), Test (3) and Release (4). The types run from stakeholder
    maps and swimlane processes to ERDs, Data Cloud mappings, sharing models, CI/CD pipelines and
    cutover plans.
  • Agentforce design diagrams: an Agent Interaction Map and an Agent Instruction Diagram. On the
    map, you can click a topic to open its instruction diagram. Both are inspired by the
    Elements.cloud method.
  • The model describes, the engine draws. The agent writes a short JSON spec. Eleven layout
    engines and an orthogonal router place the boxes and route the lines, so nothing overlaps and no
    line runs through a box.
  • Salesforce notation: Salesforce ERD notation (crow's foot, master-detail), Diagramming
    Framework cards and zones, and BPMN-style swimlanes.
  • About 200 embedded icons: Salesforce cloud, product, platform, industry and SLDS icons are
    stored inside the file, so the diagram looks the same on any machine.
  • Every build is checked: overlaps, clipped labels, low contrast and crossings. A failed check
    fails the build.

✏️ Edit anywhere

  • .drawio: open it in draw.io desktop, app.diagrams.net or VS Code. It is uncompressed XML, so it
    diffs cleanly in git.
  • .html: one offline file. You can pan, zoom, search, follow connections and present. Press
    E to move, resize, retext, recolour, add and connect boxes, with undo.
  • Lossless round trip: archistry convert turns either format into the other without losing
    anything.

🖼️ Images for documents

archistry export writes PNG, JPG or SVG with options for scale, dark theme, a transparent
background and single pages. SVG needs only Node; PNG and JPG use your local Chrome, Edge or
Chromium.

🧩 Start from real metadata

  • erd-from-sfdx: build an ERD from an SFDX project
  • mapping-from-csv: build a Data Cloud DLO → DMO mapping from a CSV
  • flow-from-metadata: build a flow logic diagram from a .flow-meta.xml

🚀 Install

git clone https://github.com/abhishakec/archistry.git ~/.claude/skills/archistry
node ~/.claude/skills/archistry/scripts/archistry.mjs doctor

You need Node.js 18 or later. There are no dependencies to install. It works with Claude Code and
Claude desktop, and with GitHub Copilot, Cursor, Gemini CLI, Codex or any agent that can read files
and run node. See the README.

🔁 Coming from sf-drawio-diagrams?

Archistry replaces it; the old repository is archived.

  • Install from this repository. You can remove the old skill folder.
  • The scripts are now Node.js. Python is no longer needed.
  • The command line is now node scripts/archistry.mjs.

📄 License

The code and documentation are MIT. The bundled icons and fonts keep their own terms; see
THIRD-PARTY-NOTICES.md.
Archistry is an unofficial community project, not affiliated with Salesforce or Elements.cloud.