standards-markdown
Skill0 starsChanged 4 months agoMITView on GitHub
Use this skill when writing or reviewing Markdown syntax, headings, lists, links, code fences, tables, or layout, including SKILL.md files, even for a short edit. Pair it with standards-documentation when content structure or audience needs also matter.
In this repository34 other files it gives its agents.
- AGENTS.mdAGENTS.md
- mcpSkill
- pattern-orchestration-complexSkill
- pattern-task-breakdownSkill
- role-architectSkill
- role-code-reviewSkill
- role-data-engineerSkill
- role-developerSkill
- role-orchestratorSkill
- role-product-engineerSkill
- role-qa-engineerSkill
- role-security-auditorSkill
- role-site-reliability-engineerSkill
- role-technical-writerSkill
- standards-analysisSkill
- standards-api-designSkill
- standards-codeSkill
- standards-databaseSkill
- standards-documentationSkill
- standards-go-concurrencySkill
- standards-go-performanceSkill
- standards-goSkill
- standards-go-testingSkill
- standards-observabilitySkill
- standards-pulumi-typescriptSkill
- standards-pythonSkill
- standards-securitySkill
- standards-shellSkill
- standards-skill-authoringSkill
- standards-testingSkill
- standards-typescriptSkill
- tool-storeSkill
- workflow-debuggingSkill
- workflow-pi-extensionSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
26 rules. About 0 are common, 17 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈17
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Use ATX headings (#, ##, ###) with sentence-case, descriptive labels.
- Distinctive: line 13
Keep heading hierarchy ordered.
- Distinctive: line 14
Do not hard-wrap prose mid-sentence.
- Distinctive: line 15
Do not reflow paragraphs you did not otherwise change.
- Distinctive: line 16
Use fenced code blocks with language tags.
- Distinctive: line 17
Use descriptive link text.
- Distinctive: line 18
Prefer lists over tables for prose-heavy content.
- Distinctive: line 19
Prefer Markdown over HTML unless Markdown cannot express the content.
- Very specific: line 30
Do not require an H1 matching the filename, a [TOC], or a closing ## See also.
- Very specific: line 31
Keep SKILL.md compact and move conditional detail to references/.
- Very specific: line 32
Put trigger guidance in the frontmatter description, not only in the body.
- Distinctive: line 43
Start with one H1 and a short intro of one to three sentences.
- Very specific: line 44
Use ## for major sections and ### for subsections.
- Very specific: line 45
Put supplemental links near the relevant text, or at the end under ## See also.
- Very specific: line 46
Add [TOC] after the intro only when the hosting platform renders it.
- Distinctive: line 54
Keep paragraphs semantic and let the editor or renderer wrap them.
- Distinctive: line 56
Never leave trailing whitespace.
- Distinctive: line 62
Use ordered lists for sequences and bullets for unordered items.
- Very specific: line 63
Use lazy numbering (1.) for long lists whose order may change.
- Distinctive: line 65
Use backticks for commands, paths, field names, and literals, and to escape text that would otherwise be parsed as Markdown.
- Distinctive: line 67
When showing Markdown that itself contains code fences, use a longer outer fence or simplify the example.
- Distinctive: line 82
Use reference-style definitions for long URLs, repeated links, and links inside table cells.
- Distinctive: line 83
Place reference definitions at the end of the section, or at the end of the document when shared.
- Very specific: line 84
Keep internal links explicit.
- Distinctive: line 85
Add images only when they carry information prose cannot, such as an annotated screenshot, and always give meaningful alt text.
- Distinctive: line 104
Before finishing Markdown changes:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Markdown Standards
Provides: Portable Markdown formatting rules, a carve-out for skill files, and validation checks that avoid formatting-only churn.
Quick Reference
- Use ATX headings (
#,##,###) with sentence-case, descriptive labels. - Keep heading hierarchy ordered; do not skip levels.
- Do not hard-wrap prose mid-sentence. Keep a sentence or short paragraph on one line unless structure requires a break.
- Do not reflow paragraphs you did not otherwise change.
- Use fenced code blocks with language tags.
- Use descriptive link text; avoid raw URLs as link text where practical.
- Prefer lists over tables for prose-heavy content.
- Prefer Markdown over HTML unless Markdown cannot express the content.
- Avoid trailing whitespace.
Golden Rule: Optimize for readable diffs, not for a fixed column width
SKILL.md Exception
Skill files are agent context, not documents for human browsing. For any SKILL.md, prioritize trigger quality and context size over general document structure:
- Do not require an H1 matching the filename, a
[TOC], or a closing## See also. - Keep
SKILL.mdcompact and move conditional detail toreferences/. - Put trigger guidance in the frontmatter
description, not only in the body. - Include only examples and validation that change agent behavior.
Apply the rest of this skill's formatting rules to skill files normally. Only the document-shape requirements are waived.
Layout
For regular documents:
- Start with one H1 and a short intro of one to three sentences.
- Use
##for major sections and###for subsections. Keep heading names unique. - Put supplemental links near the relevant text, or at the end under
## See also. - Add
[TOC]after the intro only when the hosting platform renders it.
For short operational documents, a predictable checklist often beats a full narrative.
Prose and Whitespace
Keep paragraphs semantic and let the editor or renderer wrap them. Fixed-width hard wraps create noisy diffs, because a one-word edit reflows every following line, and they split ideas across lines in ways that are awkward for both agents and reviewers to edit.
Never leave trailing whitespace. Use a single trailing backslash only where a literal line break is required, and sparingly.
Lists and Code
- Use ordered lists for sequences and bullets for unordered items.
- Use lazy numbering (
1.) for long lists whose order may change. - Indent nested list content consistently, four spaces inside list items.
- Use backticks for commands, paths, field names, and literals, and to escape text that would otherwise be parsed as Markdown.
- Specify the language immediately after the opening fence.
- When showing Markdown that itself contains code fences, use a longer outer fence or simplify the example.
1. Run the build
```bash
npm run build
```Links, Images, and Tables
- Give every link meaningful text. Never label a link "click here" or paste the raw URL as the text.
- Use reference-style definitions for long URLs, repeated links, and links inside table cells.
- Place reference definitions at the end of the section, or at the end of the document when shared.
- Keep internal links explicit; avoid
../jumps across directories unless unavoidable. - Add images only when they carry information prose cannot, such as an annotated screenshot, and always give meaningful alt text.
- Reserve tables for genuinely tabular data with consistent columns. Fall back to headings and bullet lists when the content is prose.
See the [style guide][style] for details.
[style]: https://google.github.io/styleguide/docguide/style.htmlHTML
Stick to Markdown syntax. HTML reduces portability and often introduces validation issues. Use raw HTML only when Markdown cannot express the layout, and note why it was necessary.
Checklist
Before finishing Markdown changes:
- Headings are ordered, descriptive, in sentence case, and not duplicated
- Code fences open and close cleanly and carry language tags
- Fences inside list items are indented so the Markdown stays valid
- Links have descriptive text, with reference definitions for long or repeated URLs
- Prose is not hard-wrapped mid-sentence, and unchanged paragraphs were not reflowed
- No trailing whitespace was introduced
- Images are high-value and have alt text
- Tables hold tabular data, not prose
- Any HTML block is justified
- The document is no longer than its purpose requires
- For a
SKILL.md, the document-shape requirements above were correctly waived
See also
- Load
standards-documentationfor content structure, audience, and what to document. - Load
standards-skill-authoringwhen the file being edited is aSKILL.md.
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
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.

