Generates Mermaid diagrams for data flows, service relationships, entity structures, sequences, and states to visualize software architecture.
From drupal-dev-frameworknpx claudepluginhub camoa/claude-skills --plugin drupal-dev-frameworkThis skill uses the workspace's default tool permissions.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Provides Python testing strategies using pytest: TDD cycle, fixtures, mocking, parametrization, assertions, exception handling, and coverage measurement.
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: