mddt
/mddt
Write, restructure, and read Markdown documents with coherent structure within and across files. Use when creating documents or adding, moving, or removing content; choosing document boundaries or organizing headings, lists, and tables; reviewing structure against the model; navigating a set of Markdown documents to find or verify information; or making mddt part of a repository's writing conventions. Not needed for edits confined to existing sentences, such as typo fixes, rewording, or value updates, or for formatting-only changes that leave structure unchanged.
- Author
- mirinae3145 ↗
- Repository
- mddt ↗
- Licence
- CC-BY-4.0
- Last repository change
- 10.11.2026
Assessment and security
- Files in this package
- 15
- Scripts
- 1
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 10.11.2026, without references to retired models or APIs.
CC-BY-4.0, otwarta.
- 1 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/mddt.py
What it does and when to use it
Write, restructure, and read Markdown documents with coherent structure within and across files. Use when creating documents or adding, moving, or removing content; choosing document boundaries or organizing headings, lists, and tables; reviewing structure against the model; navigating a set of Markdown documents to find or verify information; or making mddt part of a repository's writing conventions. Not needed for edits confined to existing sentences, such as typo fixes, rewording, or value updates, or for formatting-only changes that leave structure unchanged.
Original author description
Write, restructure, and read Markdown documents with coherent structure within and across files. Use when creating documents or adding, moving, or removing content; choosing document boundaries or organizing headings, lists, and tables; reviewing structure against the model; navigating a set of Markdown documents to find or verify information; or making mddt part of a repository's writing conventions. Not needed for edits confined to existing sentences, such as typo fixes, rewording, or value updates, or for formatting-only changes that leave structure unchanged.
How it works
- Document model
- Writing and restructuring
- Reading
- Checking
- Scope
SKILL.md preview
--- name: mddt description: > Write, restructure, and read Markdown documents with coherent structure within and across files. Use when creating documents or adding, moving, or removing content; choosing document boundaries or organizing headings, lists, and tables; reviewing structure against the model; navigating a set of Markdown documents to find or verify information; or making mddt part of a repository's writing conventions. Not needed for edits confined to existing sentences, such as typo fixes, rewording, or value updates, or for formatting-only changes that leave structure unchanged. license: CC-BY-4.0 for the instructions and references; MIT for the scripts; copyright 2026 Taeha Shin --- # mddt mddt organizes Markdown documents into trees, each with an entry document. A collection can hold several independently entered trees. Files link downward to the files they introduce, headings divide each file into topics and parts, and lists nest only where nesting carries meaning. This file is the entry point, and the rules and procedures live in the reference documents that its parts introduce. ## Document model The [document model](references/model.md) states the properties of conforming documents and their trees. Writers treat each property as a condition to satisfy, and readers treat it as a guarantee to rely on. It covers files, headings, sentences, links between documents, sections versus lists and tables, siblings, and lists. [Examples](references/examples.md) show its judgment rules as before-and-after pairs, and they help when a rule's application is unclear. When deciding a topic's kind or a block's form, read [document kinds and information types](references/kinds.md). When writing repository documentation, project records, or agent instructions and skills, read [applying the document model to common uses](references/uses.md). When a term such as part or division is unclear, look it up in the [terms](references/terms.md), which point to where each term is defined. ## Writing and restructuring Before creating a document or adding, moving, or removing content in one, read [writing and restructuring](references/writing.md). It covers planning a document's place in the tree, choosing forms, and rules for new writing. It also covers growing and shrinking structure, restructuring an existing tree, and checking the result. Read the document model as well, since the writing procedure applies it rather than repeating it. When making mddt part of a repository's writing conventions, read [adopting mddt in a repository](references/adopting.md). It covers choosing documents and their entries, what contributor guidance requires, the first restructuring, and an optional CI check. ## Reading Before exploring a set of Markdown documents to answer a question or verify a fact, read [reading a document tree](references/reading.md). It explains how to select an entry, choose files, read them whole, and handle documents outside the model. It also shows which reading strategy each guarantee of the model supports. ## Checking The checker decides the rules a parser can see and flags some that need judgment. It does not replace the reread that [checking](references/writing.md#checking) starts with, where the writer applies the other judgment rules. Run it on the Markdown files you created or changed: ```bash uv run <skill-dir>/scripts/mddt.py FILE... ``` Each finding comes with fix guidance, and errors make the command exit with status 1. Apply the findings as described in [checking](references/writing.md#checking), which limits them to what the current task created or made worse. A requested restructuring applies more of them, though not every sentence-level finding. The [checker reference](references/checker.md) covers running the checker, its findings and output, its options, the files and links it checks, and its exit statuses. Read it in these cases: - **File selection**: A run takes a directory, excludes files, or sets the collection root. - **Scripts**: A script or CI job reads the output or the exit status. - **Setup**: uv is not available. A collection can hold documents that do not follow the model, such as a user's originals or generated material. A `.mddtignore` file leaves them out of the check, as the [ignore file](references/ignore-file.md) describes. ## Scope This skill covers the structure of Markdown documents, together with the paragraph and sentence rules that support it. It leaves formatting, prose quality, and whether content is correct about its subject to other guidance. Summaries in parent documents still have to stay accurate to the documents they condense. Academic papers follow their own conventions and are out of scope. When another skill, guideline, or tool also governs the documents a task writes or reads, read [combining mddt with other guidance](references/combining.md). It covers which guidance complements mddt, which requirements can conflict with it, and how to resolve a conflict.
Files in this package (15)
- SKILL.md 5 KB
- references/adopting.md 5 KB
- references/checker.md 10 KB
- references/combining.md 3 KB
- references/examples.md 10 KB
- references/ignore-file.md 2 KB
- references/kinds.md 5 KB
- references/model.md 16 KB
- references/reading.md 4 KB
- references/terms.md 2 KB
- references/uses.md 6 KB
- references/writing.md 12 KB
- scripts/fixes.toml 13 KB
- scripts/mddt.py 72 KB
- scripts/rules.toml 5 KB
Versions
The database has no other skills named mddt.
Database snapshot: 13.11.2026 · package version d256ed948c2e (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 100markdown-syntax-fundamentals
Use when writing or editing markdown files. Covers headings, text formatting, lists, links, images, code blocks, and blockquotes. - 100markdown-conventions
Markdown formatting conventions covering heading hierarchy, code blocks, tables, lists, links, images, and accessibility best practices. Apply this skill whenever writing or editing .md files -- including READMEs, documentation pages, changelogs, or any markdown content -- even… - 100writing-style
Writing rules for technical Markdown documents that people read and comment on, such as proposals, design docs and review reports (structure, sentences, mermaid diagrams, code anchors, raw readability). Use when drafting, editing or checking such a document. - 100docx
Create and edit Word documents (.docx): headings, styled paragraphs, tables, images, headers/footers, and page formatting. Use whenever the user asks to write, format, or modify a Word/.docx document. - 100docx-generation
Use when creating a Word DOCX report from Markdown, converting Markdown tables and lists to DOCX, or choosing a workflow for editing an existing DOCX while preserving its structure and styles. Use this workflow before running Markdown-to-DOCX shell commands. Includes report… - 100document-conversion
Use when converting between document formats. Covers HTML to Markdown, document to Markdown, PDF generation from HTML, and preserving structure through a conversion rather than losing it. Trigger on "convert this html to markdown", "turn this docx into markdown", "make a pdf…