agentsclimarketplace

Markdown design

Skill Sourabh10122002/markdown-designer/skills/markdown-design

Use whenever creating, substantially rewriting, or upgrading ANY Markdown (.md) file — READMEs, docs, plans, architecture notes, reports, summaries, runbooks, comparisons — including when the user asks to upgrade, beautify, redesign, or "make visual" an existing .md file. Never ship plain-text-only markdown. Turns documents visual with Mermaid diagrams (flowchart, sequence, gantt, state, ER, pie, timeline), GitHub alerts, comparison tables, collapsible sections, and status indicators.From its SKILL.md

Install
npx -y skills add Sourabh10122002/markdown-designer --skill markdown-design

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

5.9 KB, as published. Nobody here has run it

Markdown Design

Plain walls of text are a failure mode. Every markdown document you produce must communicate visually first, textually second: show the structure in a diagram or table, then explain in prose.

Target renderer is GitHub-flavored markdown (GitHub, VS Code, GitLab, Obsidian all render it). Mermaid and alerts render natively on GitHub — use them freely.

Workflow

  1. Scan the content for visualizable structure using the mapping table below.
  2. Lay out the document: title → one-line summary → status/badges line (if applicable) → diagram or table near the top ("show, then tell") → prose sections → collapsible appendices.
  3. Load the reference you need before writing the element (do not guess syntax):
  4. Self-check against the quality bar before finishing.

Structure → element mapping

If the content contains…Render it as…
Steps, workflow, pipeline, decision logicflowchart
Two+ components exchanging messages (API calls, auth flows)sequenceDiagram
System / service architectureflowchart with subgraph blocks
Lifecycle, statuses, transitionsstateDiagram-v2
Schedule, phases, milestones, deadlinesgantt
Chronological events, history, roadmaptimeline
Database schema, entities and relationserDiagram
Proportions, percentage breakdownpie
Class / type hierarchiesclassDiagram
Git branching strategygitGraph
Hierarchical concepts, brainstormmindmap
Options compared against criteriaTable with ✅ / ⚠️ / ❌ cells
Key numbers / metricsCompact table or bold inline stats, never buried in prose
Warnings, tips, prerequisites, gotchasGitHub alerts (> [!WARNING] etc.)
Long logs, raw output, optional deep-dives<details><summary> collapsible
Task/progress status✅ 🔄 ⏳ ❌ markers or █████░░░░░ 50% bars
Document longer than ~4 sectionsTable of contents with anchor links

Mermaid safety rules (always apply)

These prevent the most common render failures — full details in the cheatsheet:

  • Wrap node labels containing ( ) [ ] { } # ; : or other punctuation in double quotes: A["Deploy (prod)"].
  • Never use lowercase end as a node ID in flowcharts — it terminates subgraphs. Use End or finish.
  • Use <br/> for line breaks inside labels, not \n.
  • Keep one diagram to one idea and ≤ ~20 nodes; split larger systems into multiple diagrams.
  • Prefer flowchart over the legacy graph keyword.
  • Don't add %%{init}%% theme overrides unless asked — GitHub's default themes handle light/dark mode automatically.

Quality bar (self-check before finishing)

  • Any doc explaining a process, system, or plan has at least one diagram.
  • Any comparison or set of ≥3 related facts is a table, not a prose list.
  • Warnings and prerequisites use alerts, not plain paragraphs.
  • Content over ~30 lines that's secondary (logs, full configs, edge cases) is collapsed.
  • Diagrams appear before the prose that explains them.
  • Nothing is invented: diagrams and tables only restructure facts already established. No fake numbers in pie/gantt charts.

Retrofit mode — upgrading an existing file

When asked to upgrade/beautify/redesign an existing markdown file (e.g. /markdown-design path/to/file.md), redesign its layout without changing its meaning:

  1. Read the entire file first. Never upgrade a file you've partially read.
  2. Inventory upgrade opportunities — walk the doc and mark: prose describing processes → diagrams; ≥3 parallel facts → tables; "Note that… / Be careful…" paragraphs → alerts; long secondary code/log blocks → <details>; scattered status words → status markers; missing summary line or TOC → add them.
  3. Rewrite the file applying the mapping table above, then report which sections became diagrams/tables/alerts, one line each.

Hard rules for retrofits:

  • Zero information loss. Every fact in the original survives. Diagrams restructure content; they never replace details — keep the essential prose.
  • Zero invention. No made-up numbers, dates, or steps to fill out a chart. If a gantt needs dates the doc doesn't have, don't make a gantt.
  • Preserve heading text where possible — external links target those anchors. If a heading must change, keep the old anchor: <a id="old-anchor"></a>.
  • Preserve the author's voice in prose you keep — redesign layout, don't rewrite their words.
  • If the file is already visual or has no upgradeable structure, say so instead of decorating it.

Restraint

Visual ≠ decorated. Do not force diagrams onto content with no structure (changelogs, short answers, license files, code-heavy snippets). A 5-line note stays a 5-line note. Emoji are for status semantics (✅ ❌ ⚠️), not sprinkles — never more than one per line, none in headings unless the doc already uses them.

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.