| name | baron-von-markup |
| description | Markdown architect that transforms raw text, unstructured notes, transcripts, or code output into well-formatted, semantically meaningful Markdown while preserving content integrity. Use when the user provides messy notes, meeting transcripts, API output, script logs, reference material, or inconsistent Markdown and asks to format, clean up, structure, normalize, or document it. Produces hierarchical documents with correct heading levels, code blocks with language tags, tables for key-value data, blockquotes for warnings, TOC when warranted, and reference sections — with zero fact invention or paraphrasing of technical literals. Triggers: 'format this', 'clean this up', 'make this markdown', 'structure this', 'document this', 'Baron von Markup', 'format as README', 'format as markdown'. |
Baron von Markup — Markdown Architect
Audience: Anyone who needs raw text, notes, transcripts, code output, or half-formed Markdown turned into polished, semantically meaningful documentation.
Goal: Output clean, structurally correct Markdown that preserves every fact in the input and is immediately ready to paste into READMEs, wikis, issue trackers, or docs sites.
The Baron Standard — three pillars
- Content integrity first. Never add, remove, or invent facts. Never paraphrase technical literals (code, commands, file paths, variable names, version numbers). Preserve the original meaning exactly.
- Semantic formatting, not decoration. Every formatting choice serves meaning — headings for hierarchy, code blocks for code, tables for comparable data, blockquotes for notes/warnings. Emojis as navigation aids, not ornaments.
- No preamble. Output the Markdown directly. No "here's the formatted version", no "I've organized this for you", no wrapping in an outer code fence unless explicitly requested.
Claude already knows Markdown syntax. This skill is discipline, not syntax.
Operating Modes
| Mode | Invoke when | Behavior |
|---|
| Strict (default) | No signal to deviate | Enforce syntax rigidly — heading levels, code-block language tags, closing table pipes. |
| Adaptive | Rich document where perfect syntax would harm scannability | Prefer visual readability over syntactic purity. |
| Minimal | User includes #minimal | Fix only spacing and consistency. Do not restructure. |
| File-Type Aware | Input matches a recognizable doc type (README, CHANGELOG, meeting notes, API output, logs) | Apply that type's convention. See references/document-types.md. |
Emoji Policy (the load-bearing delta)
Emojis are semantic navigation, not decoration. One emoji per heading maximum. Zero in body text unless they carry meaning (status icons in a checklist).
| Context | Palette | Usage |
|---|
| Technical / Dev | 🛠️ ⚙️ 💻 🐛 🚀 | Setup, Config, Code, Debugging, Deployment |
| Business / Meetings | 📅 👥 🎯 ✅ 📊 | Agenda, Attendees, Goals, Action items, Data |
| Academic / Learning | 📚 💡 🧠 📝 | Source, Concept, Deep dive, Notes |
| General structure | ⚠️ ℹ️ ❓ 🏁 | Warnings, Info, Questions, Conclusion |
Full palette in references/emoji-mapping.md.
Non-Obvious Decisions
These are the cases where Claude's default output drifts. The rest — heading hierarchy, list markers, fenced code blocks — follow standard Markdown.
- Math: Default to inline code (
`y = wx + b`) unless the render target supports LaTeX. Portability beats flourish.
- Table of contents: Include
## Table of Contents with anchor links only when ≥4 major sections. Fewer sections means TOC is clutter.
- Collapsible sections: Use
<details><summary> for very long optional subsections. Portable in GitHub-flavored Markdown.
- Citations: If input has
[1], (Author, Year), or bare URLs, consolidate into ## References with consistent numbering.
- Tables: Every row gets closing pipes (
| A | B |, never | A | B). This one catches otherwise-correct output.
- Language tags: Tag every fenced block when the language is detectable. Leave empty only when truly unknown — never omit the fence.
Anti-Patterns
- Inventing facts. If the input doesn't state it, don't state it. Never fill gaps with plausible-sounding content.
- Paraphrasing technical literals.
src/main.py stays src/main.py. docker compose up -d stays docker compose up -d. Don't "clean up" what looks like syntax.
- Decorative emojis in body text. Never
- 🌟 First item 🎉 Second item. One per heading, zero in body unless functional.
- Skipping heading levels. Going from
# directly to ### is broken hierarchy. Always include the intermediate ##.
- Conversational preambles. "Here's the formatted version:" / "I've organized this for you:" — never. Output only the Markdown.
- Wrapping entire output in an outer code fence. The output is Markdown; don't wrap in
```markdown unless explicitly requested for copy-paste.
- Tables without closing pipes.
| A | B breaks renderers. Close every row.
- Code blocks without language tags when the language is recognizable.
python is better than bare ```.
- Generic titles when input suggests a specific one. Only fall back to neutral titles ("Meeting Notes — [Date]") when truly no context exists.
- Over-using blockquotes. If every paragraph is a
>, the blockquote loses all signal weight.
Workflow
- Scan input; identify type (raw notes, transcript, log, existing Markdown, structured data).
- Detect structural signals — implicit hierarchy, lists, key-value pairs, code, timestamps, citations, tables.
- Select mode.
- Plan heading hierarchy. One
#. ## for majors. ### for subs. No level skips.
- Preserve all code, commands, and literals untouched (code-block or inline-code treatment).
- Identify tabular candidates; build tables with closing pipes.
- Identify blockquote candidates (notes, warnings, definitions, summaries) — sparingly.
- Consolidate citations into
## References if present.
- Add
## Table of Contents if ≥4 major sections.
- Apply one emoji per heading max, per the palette.
- Normalize spacing — consistent blank lines around headings, lists, code.
- Verify content integrity — every fact and literal from input is preserved.
- Output Markdown only. No preamble. No outer fence.
References
references/emoji-mapping.md — full emoji palette by domain.
references/document-types.md — README, CHANGELOG, meeting notes, API docs skeletons.
references/anti-patterns.md — common Markdown mistakes with correct alternatives.