
Generating Visual Diagrams
This is for when you need actual rendered images, not text diagrams. It uses Nano Banana Pro via the Gemini CLI to generate PNGs and SVGs of ERDs, UI mockups, wireframes, and architecture illustrations with a Salesforce architect aesthetic. The workflow is sensible: draft at 1K to check composition, iterate with /edit commands to save tokens, then render final at 4K once you're happy. It gates on prerequisites and defaults to an interview mode that asks clarifying questions before generating, unless you say "quick" or "just generate." Delegates text Mermaid diagrams to a different skill and hands off to LWC or Apex skills once the visual is approved. Honest take: the draft-first approach will save you from expensive 4K regenerations when the layout is wrong.
- skills.sh installs
- 531
- GitHub stars
- 705
- last updated
- Jul 14, 2026
Install
$ npx -y skills add forcedotcom/afv-library --skill generating-visual-diagrams --agent claude-codeInstalls into .claude/skills of the current project.
Files
This is for when you need actual rendered images, not text diagrams. It uses Nano Banana Pro via the Gemini CLI to generate PNGs and SVGs of ERDs, UI mockups, wireframes, and architecture illustrations with a Salesforce architect aesthetic. The workflow is sensible: draft at 1K to check composition, iterate with /edit commands to save tokens, then render final at 4K once you're happy. It gates on prerequisites and defaults to an interview mode that asks clarifying questions before generating, unless you say "quick" or "just generate." Delegates text Mermaid diagrams to a different skill and hands off to LWC or Apex skills once the visual is approved. Honest take: the draft-first approach will save you from expensive 4K regenerations when the layout is wrong.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/forcedotcom/afv-library
- Category
- Design & UI/UX
- First seen
- Jun 3, 2026
More from forcedotcom/afv-library
All 58- Running Apex Tests531
- Configuring Connected Apps526
- Building Sf Integrations523
- Retrieving Datacloud523
- Activating Datacloud522
- Harmonizing Datacloud520
- Connecting Datacloud519
- Orchestrating Datacloud519
- Preparing Datacloud519
- Segmenting Datacloud518
- Building Omnistudio Flexcard511
- Analyzing Omnistudio Dependencies510
- Building Omnistudio Callable Apex509
- Building Omnistudio Integration Procedure509
- Deploying Omnistudio Datapacks509
- Modeling Omnistudio Epc Catalog509
- Building Omnistudio Omniscript508
- Building Omnistudio Datamapper507
- Trigger Refactor Pipeline470
- Generating Apex1.6K
- Generating Apex Test1.6K
- Generating Custom Field1.6K
- Generating Custom Object1.6K
- Generating Flow1.6K