forcedotcom/sf-skills / plugins/builder/agentforce-adlc/skills/agentforce-architecture-analyze
agentforce-architecture-analyze
VerifiedDeclared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA plugins. Renders a human-readable architecture document and Mermaid invocation graph from design-time metadata (not runtime audit rows). TRIGGER when user asks to describe, diagram, inventory, audit, document, or diff (e.g. v3 vs v5) the architecture / action tree / topic structure / tool inventory of a specific agent by agent API name in a specific org. DO NOT TRIGGER for runtime session traces, conversation transcripts, generation timings, or gateway audit chains — this skill reads design-time metadata only (use agentforce-d360-analyze for session traces).
assets/mermaid/invocation_sequence.mmd
View on GitHub%% invocation_sequence.mmd - section 3 invocation sequence (sequenceDiagram)
%%
%% Placeholders (substituted by render_architecture.load_mermaid):
%% PARTICIPANTS placeholder: one `participant <Name>` line per lane,
%% newline-joined; deactivate with
%% `<Dst>-->>-<Src>: <response>`.
%% MESSAGES placeholder: one `<Src>->>+<Dst>: <label>` per message line.
%%
%% placeholder names above are written as bare tokens (no double-
%% curly) so load_mermaid's single-pass str.replace cannot substitute them
%% here. That keeps %% headers intact in the rendered output - Mermaid
%% ignores %% lines as comments at render time, and debuggability wins.
%%
%% Renderer (render_architecture.py::_render_invocation_sequence) is the sole
%% consumer. Generation-aware: classic ReAct uses Planner<->TopicClassifier
%% <->ActionExecutor; NGA orchestrations add one lane per sub-agent.
sequenceDiagram
autonumber
{{PARTICIPANTS}}
{{MESSAGES}}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |