From drupal-dev-framework
Generates Mermaid diagrams for data flows, service relationships, entity structures, sequences, and states to visualize software architecture.
How this skill is triggered — by the user, by Claude, or both
Slash command
/drupal-dev-framework:diagram-generatorThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create Mermaid diagrams for architecture visualization.
Create Mermaid diagrams for architecture visualization.
Activate when you detect:
Ask if unclear:
What should this diagram show?
1. Data flow (how data moves through system)
2. Service relationships (dependencies between services)
3. Entity relationships (database structure)
4. Sequence (interaction over time)
5. State (entity lifecycle)
Based on type, ask:
Data Flow:
Service Relationships:
Entity Relationships:
Create appropriate Mermaid code:
Data Flow:
flowchart LR
A[Input] --> B[Process]
B --> C[Output]
Service Dependencies:
graph TD
A[MainService] --> B[Dependency1]
A --> C[Dependency2]
Entity Relationships:
erDiagram
ENTITY1 ||--o{ ENTITY2 : has
ENTITY1 ||--|| ENTITY3 : references
Sequence:
sequenceDiagram
Actor->>Component: Action
Component-->>Actor: Response
State:
stateDiagram-v2
[*] --> State1
State1 --> State2
State2 --> [*]
Show the Mermaid code to user and ask:
Here's the diagram:
{mermaid code block}
Adjustments needed? (describe changes or "looks good")
Once approved, use Edit tool to add to appropriate architecture file:
## {Diagram Title}
{One sentence describing what this shows}
\`\`\`mermaid
{diagram code}
\`\`\`
flowchart LR
A[Request] --> B[Routing]
B --> C[Controller]
C --> D[Service]
D --> E[Entity]
E --> F[Response]
graph TD
A[PluginManager] --> B[Discovery]
A --> C[Factory]
B --> D[Annotations]
B --> E[YAML]
C --> F[Plugin Instance]
sequenceDiagram
User->>Form: Submit
Form->>Form: validateForm()
Form->>Form: submitForm()
Form->>Service: Process data
Service-->>Form: Result
Form-->>User: Redirect/Message
STOP and wait for user:
npx claudepluginhub camoa/claude-skills --plugin drupal-dev-frameworkGenerates Mermaid diagrams for flowcharts, sequence diagrams, state diagrams, class diagrams, ERDs, and system architectures to visualize complex concepts and processes.
Creates Mermaid diagrams for flowcharts, sequence diagrams, ERDs, architecture diagrams, and more. Provides styling, rendering instructions, and accessibility considerations.
Provides Mermaid templates for flowcharts, sequence diagrams, class diagrams, ER diagrams, and C4 models for technical documentation.