Agent skill · Documentation

markdown-mermaid-writing

Comprehensive markdown and Mermaid diagram writing skill. Use when creating any scientific document, report, analysis, or visualization. Establishes text-based diagrams as the default documentation standard with full style guides (markdown + mermaid), 24 diagram type references, and 9 document templates.

K-Dense-AIgithub.com/K-Dense-AIGitHub ↗
claude-codecan modify filesMIT
Install
npx skills add K-Dense-AI/scientific-agent-skills --skill markdown-mermaid-writing --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 37
SKILL.md size: 14 KB
Bundled scripts: none
Version: 1.1
Allowed tools: ReadWriteEditBash
Path: skills/markdown-mermaid-writing/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 32,619
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Markdown and Mermaid Writing ## Overview This skill teaches you — and enforces a standard for — creating scientific documentation using **markdown with embedded Mermaid diagrams as the default and canonical format**. The core bet: a relationship expressed as a Mermaid diagram inside a `.md` file is more valuable than any image. It is text, so it diffs cleanly in git. It requires no build step. It renders natively on GitHub, GitLab, Notion, VS Code, and any markdown viewer. It uses fewer tokens than a prose description of the same relationship. And it can always be converted to a polished image later — but the text version remains the source of truth. > "The more you get your reports and files in .md in just regular text, which mermaid is > as well as being a simple 'script language'. This just helps with any downstream rendering > and especially AI generated images (using mermaid instead of just long form text to > describe relationships < tokens). Additionally mermaid can render along with markdown for > easy use almost anywhere by humans or AI." > > — Clayton Young (@borealBytes), K-Dense Discord, 2026-02-19 ## When to Use This Skill Use this skill when: - Creating **any scient

What's inside
Steps it walks through
  1. Overview
  2. When to Use This Skill
  3. 🎨 The Source Format Philosophy
  4. Why text-based diagrams win
  5. The three-phase workflow
  6. What Mermaid can express
  7. 🔧 Core workflow
  8. Step 1: Identify the document type
  9. Step 2: Read the style guide
  10. Step 3: Pick the diagram type and read its guide
  11. Step 4: Write the document
  12. Step 5: Commit as text
  13. ⚠️ Common pitfalls
  14. Radar chart syntax (radar-beta)
Ships with 24 files
  • assets/examples/example-research-report.md
  • references/diagrams/architecture.md
  • references/diagrams/block.md
  • references/diagrams/c4.md
  • references/diagrams/class.md
  • references/diagrams/complex_examples.md
  • references/diagrams/er.md
  • references/diagrams/flowchart.md
  • references/diagrams/gantt.md
  • references/diagrams/git_graph.md
  • references/diagrams/kanban.md
  • references/diagrams/mindmap.md
  • references/diagrams/packet.md
  • references/diagrams/pie.md
  • references/diagrams/quadrant.md
  • references/diagrams/radar.md
  • references/diagrams/requirement.md
  • references/diagrams/sankey.md
  • references/diagrams/sequence.md
  • references/diagrams/state.md
  • references/diagrams/timeline.md
  • references/diagrams/treemap.md
  • references/diagrams/user_journey.md
  • references/diagrams/xy_chart.md
first 24 of 37
More from scientific-agent-skills
All skills →
About this skill
What does the markdown-mermaid-writing skill do?

Comprehensive markdown and Mermaid diagram writing skill. Use when creating any scientific document, report, analysis, or visualization. Establishes text-based diagrams as the default documentation standard with full style guides (markdown + mermaid), 24 diagram type references, and 9 document templates.

How do I install it?

Run `npx skills add K-Dense-AI/scientific-agent-skills --skill markdown-mermaid-writing --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From K-Dense-AI/scientific-agent-skills, a repository with 32,619 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going