platform-architecture-analyze

platform-architecture-analyze is a skill for Claude Code from forcedotcom/sf-skills. It costs 118 tokens per session (2,491 once invoked), scanned A, original, Apache-2.0.

A read-only review tool for checking a Salesforce project against Salesforce’s Well-Architected framework. The framework evaluates whether a system is trustworthy, easy to use, and adaptable.

In plain words
What is it for?
Use it to review security, governor-limit, packaging, deployment, legacy-technology, and code-structure risks in a Salesforce project.
Why use it?
It provides evidence about architectural risks that may be hard to notice during day-to-day coding. It also separates findings visible in the code from governance questions that require human answers.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the salesforce-code-quality plugin — 4 skills, 1 agent shipped together

Good fit Use it to review security, governor-limit, packaging, deployment, legacy-technology, and code-structure risks in a Salesforce project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/forcedotcom/sf-skills/platform-architecture-analyze
About the project

forcedotcom/sf-skills is a collection of reusable instructions that help AI coding agents build and work with Salesforce applications and platform features. Developers use it for Agentforce agents, Lightning apps, Flow, Apex, SOQL, Lightning Web Components, and related Salesforce configuration. The catalogue entries are the repository’s skills, plugins, commands, MCP servers, and agents for AI tools that support skills.

forcedotcom/sf-skills · 1,201 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add forcedotcom/sf-skills --skill platform-architecture-analyze
Clone the repo
git clone --depth 1 https://github.com/forcedotcom/sf-skills

Made for: Claude Code.

Or install salesforce-code-quality, the plugin that ships this one along with the rest of its 4 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for platform-architecture-analyze

README.md
[![agentmods](https://agentmods.dev/badge/skills/forcedotcom/sf-skills/platform-architecture-analyze/github.svg)](https://agentmods.dev/skills/forcedotcom/sf-skills/platform-architecture-analyze)
Your own site
<a href="https://agentmods.dev/skills/forcedotcom/sf-skills/platform-architecture-analyze"><img src="https://agentmods.dev/badge/skills/forcedotcom/sf-skills/platform-architecture-analyze/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for platform-architecture-analyze

Your own site · 80×15
<a href="https://agentmods.dev/skills/forcedotcom/sf-skills/platform-architecture-analyze"><img src="https://agentmods.dev/badge/skills/forcedotcom/sf-skills/platform-architecture-analyze.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,491 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 22 Sept 2026
  • Snyk pass 22 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00118 $0.02491
Opus 5.5 $0.00047 $0.00996
Sonnet 5.5 $0.00024 $0.00498
Haiku 4.5 $0.00012 $0.00249

Measured 2mo ago against content hash bd391390c82b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

platform-architecture-analyze scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/builder/salesforce-code-quality/skills/platform-architecture-analyze/SKILL.md · 166 lines

How it starts

The opening of the file, as written. The whole thing — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Analyzing Architecture (Well-Architected Review)

Grade a Salesforce DX project against the Salesforce Well-Architected framework and produce an honest, evidence-backed report: a pillar-scored table for what's observable in code and metadata, plus a human checklist for the governance/process concerns a local repo can't reveal.

This skill is an orchestrator. It does not re-implement static analysis — it drives the analysis skills the plugin already ships and maps their output onto the Well-Architected pillars. It is read-only: it grades and recommends; it never edits, deploys, or deletes.

It also backs the architecture-review agent, which runs this exact workflow as a dedicated read-only reviewer. Invoke the agent for an end-to-end review; use this skill directly when you want the workflow inline in the current session.

Capability resolution

  1. Skill-orchestrated review (this skill) — runs the observable checks by delegating to existing skills/MCP tools, scores each sub-pillar, and emits the manual checklist.
  2. Direct CLI / grep — used only for the lightweight structural signals the rubric names (sharing keywords, legacy-tech file types, deploy strategy). Fine standalone, but skips the pillar scoring and the governance checklist this skill provides.
  3. API — not applicable.

The rubric (read these first)

Before scoring, read the three reference files — they are the source of truth:

Workflow

Step 1 — Scope the project

Read the full file on GitHub · 166 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · -86 tokens per session bd391390c82b
  2. 3mo ago First seen · 166 lines · 204 tokens per session scan A fdaa47c9866f

Subscribe to this mod's changes

platform-architecture-analyze is a skill published in the GitHub repository forcedotcom/sf-skills (1,201 stars, last pushed 5d ago), licensed Apache-2.0. It adds 118 tokens to every session and 2,491 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

platform-architecture-analyze compared with skills from other repositories

platform-architecture-analyze next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
platform-architecture-analyzeforcedotcom/sf-skillsSkill1.2k5d agoApache-2.0A118Claude Code
autoreviewopenclaw/clawhubSkill9.6ktodayMITA17Claude Code, Codex
omh-code-reviewrlaope/oh-my-hermesSkill6.2kyesterdayMITA18Claude Code
agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skillsSkill2.2k10d agoMITA115Claude Code, Codex
asplos-writing-stylebrycewang-stanford/Awesome-Journal-SkillsSkill1.5k4d agoMITA65Claude Code
revdiff-planumputun/revdiffSkill974todayMITA84Claude Code
re0-mergeLilMGenius/paperthinSkill1.5kyesterdayMITA51Claude Code, Codex