Mermaid Diagram
by mjunaidca
Generate Mermaid diagrams for educational content. Use when visualizing concepts, architectures, or workflows.
Skill Details
Repository Files
1 file in this skill directory
name: "mermaid-diagram" description: "Generate Mermaid diagrams for educational content. Use when visualizing concepts, architectures, or workflows." version: "0.1.0" status: "placeholder"
Mermaid Diagram Skill
Purpose: Generate clear, educational Mermaid diagrams that visualize concepts for learners.
When to Use
- Visualizing system architectures (ROS 2 node graphs)
- Showing data flow (sensor → processing → action)
- Illustrating state machines (robot behaviors)
- Explaining hierarchies (hardware tiers, module structure)
Diagram Types
| Type | Use Case |
|---|---|
flowchart |
Process flows, decision trees |
sequenceDiagram |
Message passing, ROS topics |
stateDiagram |
Robot states, FSMs |
classDiagram |
Code structure, URDF hierarchy |
graph |
System architecture |
Output
- Mermaid code block ready for MDX
- Alt text for accessibility
- Caption explaining the diagram
Integration
Used by lesson-generator when content requires visualization.
Status: Placeholder - To be implemented with diagram generation patterns.
Related Skills
Dask
Parallel/distributed computing. Scale pandas/NumPy beyond memory, parallel DataFrames/Arrays, multi-file processing, task graphs, for larger-than-RAM datasets and parallel workflows.
Scikit Survival
Comprehensive toolkit for survival analysis and time-to-event modeling in Python using scikit-survival. Use this skill when working with censored survival data, performing time-to-event analysis, fitting Cox models, Random Survival Forests, Gradient Boosting models, or Survival SVMs, evaluating survival predictions with concordance index or Brier score, handling competing risks, or implementing any survival analysis workflow with the scikit-survival library.
Polars
Fast DataFrame library (Apache Arrow). Select, filter, group_by, joins, lazy evaluation, CSV/Parquet I/O, expression API, for high-performance data analysis workflows.
Scikit Survival
Comprehensive toolkit for survival analysis and time-to-event modeling in Python using scikit-survival. Use this skill when working with censored survival data, performing time-to-event analysis, fitting Cox models, Random Survival Forests, Gradient Boosting models, or Survival SVMs, evaluating survival predictions with concordance index or Brier score, handling competing risks, or implementing any survival analysis workflow with the scikit-survival library.
Dask
Distributed computing for larger-than-RAM pandas/NumPy workflows. Use when you need to scale existing pandas/NumPy code beyond memory or across clusters. Best for parallel file processing, distributed ML, integration with existing pandas code. For out-of-core analytics on single machine use vaex; for in-memory speed use polars.
Anndata
Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.
Matplotlib
Low-level plotting library for full customization. Use when you need fine-grained control over every plot element, creating novel plot types, or integrating with specific scientific workflows. Export to PNG/PDF/SVG for publication. For quick statistical plots use seaborn; for interactive plots use plotly; for publication-ready multi-panel figures with journal styling, use scientific-visualization.
Dashboard Design
USE THIS SKILL FIRST when user wants to create and design a dashboard, ESPECIALLY Vizro dashboards. This skill enforces a 3-step workflow (requirements, layout, visualization) that must be followed before implementation. For implementation and testing, use the dashboard-build skill after completing Steps 1-3.
Writing Effective Prompts
Structure Claude prompts for clarity and better results using roles, explicit instructions, context, positive framing, and strategic organization. Use when crafting prompts for complex tasks, long documents, tool workflows, or code generation.
Flowchart Creator
Create HTML flowcharts and process diagrams with decision trees, color-coded stages, arrows, and swimlanes. Use when users request flowcharts, process diagrams, workflow visualizations, or decision trees.
