Skip to main content

markdown

Plain text formatting that's readable raw AND rendered

Quellinformationen

Repository
SimHacker/moollm
Letzte Quellaktivität
2. Februar 2026 um 22:21
Erkannte Sprache von SKILL.md
Englisch
Sterne
62
Forks
5

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

Datei-Explorer
5 Dateien

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
markdown
description
Plain text formatting that's readable raw AND rendered
license
MIT
tier
1
protocol
MARKDOWN
allowed-tools
["read_file","write_file"]
origin
John Gruber — Markdown (2004)
lineage
["John Gruber — Markdown (2004)","Aaron Swartz — Beta tester, refinement","Dean Allen — Textile (prior art)","GitHub — GFM, widespread adoption","Anil Dash — 'How Markdown Took Over the World' (2025)"]
related
["plain-text","yaml-jazz","session-log","soul-chat","research-notebook","sniffable-python","k-lines"]
tags
["moollm","format","documentation","session-log","readme","plain-text"]
# Markdown > *"The source is the destination. Readable raw AND rendered."* --- ## What Is It? **Markdown** is the plain text format that powers MOOLLM's human-readable files. It's not just formatting — it's a philosophy: - **Readable without rendering** — Open SESSION.md in any editor, understand it instantly - **Readable when rendered** — GitHub, Obsidian, browsers enhance but don't transform - **LLM-native** — Models are trained on billions of Markdown files; they speak it fluently - **Git-friendly** — Diffs are meaningful, merges work, history is readable - **No lock-in** — Plain text survives every platform, every decade --- ## Why Markdown Won From Anil Dash's "[How Markdown Took Over the World](https://anildash.com/2025/01/09/how-markdown-took-over-the-world/)" (January 2025): ### The 10 Technical Reasons | Reason | Explanation | MOOLLM Parallel | |--------|-------------|-----------------| | **1. Great brand** | "Markdown" = opposite of "markup" | YAML Jazz, SOUL-CHAT, K-lines | | **2. Solved a real problem** | HTML too verbose for blogging | YAML too rigid; comments add soul | | **3. Built on existing behaviors** | Email formatting conventions | Indentation, `#` headers already intuitive | | **4. Mirrored RSS in origin** | Curmudgeonly creators, blog platforms | Open source, community-driven | | **5. Community ready to help** | Dean Allen (Textile), Aaron Swartz | Skill contributions, open protocols | | **6. Flavors for context** | GFM, CommonMark, etc. | Adventure YAML vs. session markdown | | **7. Time of behavior change** | Blogging era = new habits | LLM era = new habits | | **8. Build tool era** | Markdown → HTML in pipelines | YAML → JSON → Browser | | **9. Works with "view source"** | Inspectable source | Files as state, transparent | | **10. No IP encumbrance** | Free, no patents | MIT license everywhere | ### The Key Insight > *"If mark**up** is complicated, then the opposite of that complexity must be... mark**down**."* > — Anil Dash --- ## Markdown in MOOLLM ### Session Logs ```markdown # Session: Adventure Uplift ## 📑 Index 1. [Overview](#1-overview) 2. [Decisions](#2-decisions) --- ## 1. Overview <details open> <summary><strong>🎯 Mission</strong></summary> Build `adventure.py` to compile adventures to web apps. </details> <details open> <summary><strong>📋 Technical Details</strong></summary> Architecture decisions go here... </details> ``` ### READMEs ```markdown # Skill Name > *"One-liner that captures the essence"* ## What Is It? Brief explanation. ## When to Use - Scenario 1 - Scenario 2 ## Dovetails With - [related-skill/](../related-skill/) ``` ### Embedded Data Markdown + YAML code blocks = structured data in narrative: ```markdown Here's the configuration: ​```yaml rooms: - start - maze - end ​``` And the reasoning behind it... ``` --- ## GitHub-Flavored Markdown (GFM) MOOLLM session logs use GFM extensions: ### Tables ```markdown | Feature | Status | |---------|--------| | Navigation | ✅ Done | | Inventory | 🚧 WIP | ``` ### Task Lists ```markdown - [x] Define schema - [ ] Build linter - [ ] Compile to JSON ``` ### Collapsible Sections ```html <details open> <summary>Click to expand</summary> Hidden content goes here. </details> ``` ### Syntax Highlighting ```markdown ​```python def hello(): print("Hello, world!") ​``` ``` ### Alerts (GitHub-specific) ```markdown > [!NOTE] > Useful information. > [!WARNING] > Critical information. ``` ### Mermaid Diagrams GitHub renders Mermaid diagrams natively! Perfect for: - Flowcharts - Sequence diagrams - State machines - Entity relationships - Architecture diagrams ```markdown ​```mermaid flowchart TD YAML[YAML Microworld] --> Python[Python Loader] Python --> JSON[adventure.json] JSON --> Browser[Browser Engine] Browser --> Player[Player Experience] ​``` ``` Renders as: ```mermaid flowchart TD YAML[YAML Microworld] --> Python[Python Loader] Python --> JSON[adventure.json] JSON --> Browser[Browser Engine] Browser --> Player[Player Experience] ``` #### Common Mermaid Patterns **Flowchart (process flow):** ```mermaid flowchart LR A[Start] --> B{Decision} B -->|Yes| C[Action 1] B -->|No| D[Action 2] C --> E[End] D --> E ``` **Sequence diagram (interactions):** ```mermaid sequenceDiagram Player->>Room: LOOK Room->>Objects: Query visible Objects-->>Room: [lamp, key] Room-->>Player: Description + objects ``` **State diagram (room states):** ```mermaid stateDiagram-v2 [*] --> start start --> maze: GO NORTH maze --> end: SOLVE PUZZLE maze --> maze: WANDER end --> [*] ``` **Entity relationship (data model):** ```mermaid erDiagram ROOM ||--o{ OBJECT : contains ROOM ||--o{ EXIT : has CHARACTER ||--o{ OBJECT : carries EXIT }o--|| ROOM : leads_to ``` --- ## LLMs and Markdown From Hacker News discussion (January 2025): > *"It's fundamentally text. No format/vendor lock-in and very amenable to living in a git repo. I can tell an LLM to look at the code in this repo and make me an API_documentation.md and it'll grasp that I want a text-based summary."* > — @Havoc ### Why LLMs Prefer Markdown | Property | Benefit | |----------|---------| | **Training data** | Billions of .md files in training corpus | | **Structure** | Headers, lists, code blocks = clear semantics | | **Low overhead** | No bracket matching (unlike JSON) | | **Comments in code blocks** | Context preserved | | **Human-readable** | Model can "think out loud" naturally | ### LLM Output Patterns LLMs naturally output: - `#` headers for sections - `-` bullets for lists - ``` code blocks for code - `**bold**` for emphasis - Tables for structured comparisons **Match this in your prompts** — write instructions in Markdown, get Markdown back. --- ## The "Source is Destination" Principle Markdown's power: **it's both the source AND the readable output**. | Format | Source | Destination | Gap | |--------|--------|-------------|-----| | LaTeX | `.tex` | PDF | Large | | HTML | `.html` | Browser | Medium | | **Markdown** | `.md` | `.md` (or rendered) | **None** | This is why YAML Jazz matters: ```yaml # This comment is readable in the source # AND visible to the LLM # AND preserved in the file config: setting: value ``` The source IS the documentation. The documentation IS the source. --- ## Best Practices for MOOLLM ### 1. Indexes at Top Long documents need navigation: ```markdown ## 📑 Index 1. [Section One](#section-one) 2. [Section Two](#section-two) --- ## Section One ... ``` ### 2. Collapsible Details (CRITICAL!) **This is one of Markdown's superpowers.** Hide complexity, show structure. Let readers scan summaries without drowning in details. ```html <details open> <summary><strong>🎯 Important Section — Open by Default</strong></summary> Critical content that readers need to see immediately. </details> <details open> <summary><strong>📋 Technical Details — Collapsed by Default</strong></summary> Dense content that only some readers need. Click to expand when curious. </details> ``` #### LLM-Generated Summaries in `<summary>` Tags **Key insight:** The `<summary>` tag should contain a **descriptive summary** that tells readers what's inside WITHOUT opening. LLMs are great at generating these! **Bad:** ```html <details open> <summary>Click to see more</summary> ...content... </details> ``` **Good:** ```html <details open> <summary><strong>🎤 Gary Drescher's Talk — Schema Mechanism + LLM = Flight</strong></summary> Full transcript of Gary explaining how LLMs complete what Made-Up Minds started... </details> ``` **Even better — with key points in summary:** ```html <details open> <summary><strong>🏗️ Architecture Decisions</strong> — YAML source, JSON compile, SPA output, staged development</summary> Detailed architecture documentation... </details> ``` #### Nesting Collapsibles For complex documents, nest sections: ```html <details open> <summary><strong>📚 Part 1: The Gathering</strong></summary> Overview of who attended... <details open> <summary>Living Legends (25 people)</summary> Full list with bios... </details> <details open> <summary>Memorial Candles (10 people)</summary> Those speaking through memory... </details> </details> ``` #### When to Use Each Pattern | Pattern | Use When | |---------|----------| | `<details open>` | Main content, must-read sections | | `<details open>` (closed) | Supporting details, optional depth | | Nested `<details open>` | Hierarchical information (parts > chapters > sections) | | Summary with key points | Reader can decide without opening | | Summary with just title | Section is self-explanatory | #### The Session Log Pattern MOOLLM session logs use this extensively: ```html ## 5. Free-For-All Q&A <details open> <summary><strong>🎤 Highlights from the Chaos</strong> — Scott on 16KB, Will on distributed AI, Hofstadter on strange loops</summary> ### On Distributed Intelligence **SCOTT ADAMS:** "Wait — schemas are literally what I fit in sixteen kilobytes in 1978!" **WILL WRIGHT:** "We distributed intelligence INTO THE OBJECTS..." ...full transcript... </details> ``` The reader sees: - Section title - Key topics covered - Can skip if not interested, or expand for full content **This is why session logs are readable even at 7000+ lines!** ### 3. Tables for Structured Data When you have parallel information: ```markdown | Room | Objects | Exits | |------|---------|-------| | start | lamp, key | north | | maze | torch | north, south, east | ``` ### 4. Code Blocks for Examples Always use fenced code blocks with language hints: ```markdown ​```yaml name: example ​``` ​```python def example(): pass ​``` ``` ### 5. Blockquotes for Quotes/Emphasis ```markdown > *"The filesystem IS the microworld."* > — MOOLLM Constitution ``` --- ## Anti-Patterns
Auf GitHub ansehen
Diese SKILL.md ist sehr gross, daher zeigt SkillsMP hier nur den ersten Abschnitt. Auf GitHub ansehen