agentleFS
JunMA98JunMA98/Computer-science-claude-skills/skills/markdown-mermaid-writing/SKILL.md

markdown-mermaid-writing

Skill3 starsChanged 8 months agoMITView on GitHub

Write markdown-first technical documents with Mermaid diagrams for CS research, engineering, and agent workflows. Use when creating design docs, research notes, experiment plans, repo documentation, issue reports, architecture diagrams, workflow descriptions, or text-native visual explanations that should diff cleanly in Git.

9 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 9 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 9

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use markdown plus Mermaid as the default text-native format for CS documentation.

    line 8
  2. Distinctive:

    Keep markdown as the source of truth.

    line 21
  3. Distinctive:

    Use Mermaid when structure matters more than polished graphics.

    line 22
  4. Distinctive:

    Prefer concise diagrams that clarify dependencies, flow, or state changes.

    line 23
  5. Distinctive:

    Use prose for nuance and Mermaid for relationships.

    line 24
  6. Distinctive:

    Avoid diagram types that look impressive but do not change understanding.

    line 25
  7. Distinctive:

    Read only what matches the task:

    line 29
  8. Very specific:

    Use scientific-writing for prose-heavy paper drafting.

    line 49
  9. Very specific:

    Use scientific-schematics only when a polished figure is needed beyond Mermaid.

    line 50
  10. Distinctive:

    Use this skill first when a text-native architecture or workflow diagram is enough.

    line 51
  11. Distinctive:

    When the user asks for documentation help without specifying a format, return:

    line 55

“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Markdown and Mermaid Writing

Use markdown plus Mermaid as the default text-native format for CS documentation. Prefer it when diagrams should remain editable, reviewable, and easy to version-control.

Good Fits

  • system architecture notes
  • agent or tool workflow diagrams
  • experiment plans and benchmark protocols
  • repo documentation and onboarding docs
  • issue, PR, or release notes
  • research outlines, related-work maps, and slide drafts

Working Rules

  • Keep markdown as the source of truth.
  • Use Mermaid when structure matters more than polished graphics.
  • Prefer concise diagrams that clarify dependencies, flow, or state changes.
  • Use prose for nuance and Mermaid for relationships.
  • Avoid diagram types that look impressive but do not change understanding.

Useful Local Resources

Read only what matches the task:

  • references/markdown_style_guide.md
  • references/mermaid_style_guide.md
  • references/diagrams/architecture.md
  • references/diagrams/flowchart.md
  • references/diagrams/sequence.md
  • references/diagrams/state.md
  • references/diagrams/c4.md
  • references/diagrams/er.md

Templates worth reusing:

  • templates/project_documentation.md
  • templates/research_paper.md
  • templates/status_report.md
  • templates/decision_record.md
  • templates/presentation.md
  • templates/pull_request.md

Relationship to Other Skills

  • Use scientific-writing for prose-heavy paper drafting.
  • Use scientific-schematics only when a polished figure is needed beyond Mermaid.
  • Use this skill first when a text-native architecture or workflow diagram is enough.

Default Output

When the user asks for documentation help without specifying a format, return:

  1. a suggested markdown structure
  2. one or more Mermaid diagrams if they improve clarity
  3. naming or organization suggestions for long-term maintenance

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.