markdown-output
Skill1 starsChanged 7 months agoMITView on GitHub
Enforce Markdown output formatting policy whenever the user asks for full Markdown source code, raw Markdown, or copyable Markdown documents. Use whenever the user says "output markdown", "give me the markdown source", "markdown 源码", "raw markdown", or similar requests for Markdown content that is meant to be copied as-is rather than rendered.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- app-store-version-checkSkill
- cohosted-frontend-backendSkill
- dotnet-cpmSkill
- gitmojiSkill
- oidc-integrationSkill
- repo-memorySkill
- skoruba-adminui-on-duendeSkill
- specflow-to-reqnrollSkill
- tddSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Never: use triple backticks (
`) as the outermost fence. - Distinctive: line 34
After a bare URL (not inside a link), always insert one space before any following character, including punctuation:
- Distinctive: line 57
Do not produce output like this:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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 Output Policy
This skill defines mandatory formatting rules for generating full Markdown source code. These rules have higher priority than any stylistic formatting preferences.
Fencing Rules
- Always wrap the entire Markdown document in triple tildes (
~~~). - Never use triple backticks (
```) as the outermost fence. - Triple backticks (
```) are allowed only inside the document for code examples. - Avoid nested triple backticks. If a code block inside the document
itself needs to show triple backticks, use an increased-count fence
(e.g.
~~~~) or indent-based code blocks instead. - The output must be copyable in its entirety without rendering breaks.
Link Formatting Rules
- In Markdown links, insert one space between the URL and the closing
parenthesis:
- Correct:
[text](https://example.com ) - Wrong:
[text](https://example.com)
- Correct:
- After a bare URL (not inside a link), always insert one space before
any following character, including punctuation:
- Correct:
https://example.com ,下一段文字 - Wrong:
https://example.com,下一段文字
- Correct:
Examples
Fencing — correct
My Document
Some text and a code block:
console.log("hello");Fencing — wrong (uses triple backticks as outer fence)
Do not produce output like this:
```
# My Document
…
```Link — correct
See [GitHub](https://github.com ) for details.Link — wrong
See [GitHub](https://github.com) for details.Language Policy
- Detect user language
- Respond in same language
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.

