configs/commands/skills/visualize/SKILL.md
Generate Mermaid diagrams from code, architecture, or concepts. Use when you need to visualize code flow, system architecture, data relationships, state machines, sequences, class structures, or any other diagrammable concept.
npx skillsauth add heyayushh/stacc visualizeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Analyze input and generate clear, well-structured Mermaid diagrams.
Analyze input - Understand what to visualize (code flow, architecture, data relationships, state machines, sequences, etc.)
Choose diagram type:
flowchart - Process flows, decision trees, algorithmssequenceDiagram - API calls, message passing, request/responseclassDiagram - Class structures, inheritance, interfaceserDiagram - Database schemas, entity relationshipsstateDiagram-v2 - State machines, lifecycle flowsgraph TD/LR - Dependency graphs, module relationshipsgitgraph - Git branching strategiesjourney - User journeysgantt - Timelines and schedulesGenerate diagram with:
Output in mermaid code block:
```mermaid
[diagram code]
```
userService not a1--> solid (main flow)-.-> dotted (optional/async)==> thick (important path)o--> circle end (aggregation)*--> diamond end (composition)development
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
development
Refactor and review SwiftUI view files for consistent structure, dependency injection, and Observation usage. Use when asked to clean up a SwiftUI view’s layout/ordering, handle view models safely (non-optional when possible), or standardize how dependencies and @Observable state are initialized and passed.
development
Best practices and example-driven guidance for building SwiftUI views and components. Use when creating or refactoring SwiftUI UI, designing tab architecture with TabView, composing screens, or needing component-specific patterns and examples.
development
Audit and improve SwiftUI runtime performance from code review and architecture. Use for requests to diagnose slow rendering, janky scrolling, high CPU/memory usage, excessive view updates, or layout thrash in SwiftUI apps, and to provide guidance for user-run Instruments profiling when code review alone is insufficient.