360 Secure SkillHub
360 安全技能中心

Markdown Output

该 Skill 仅含一份策略说明,为需要原样复制的完整 Markdown 源码规定强制格式:整篇使用三波浪线围栏而非反引号,避免嵌套围栏,并在链接 URL 与右括号之间、裸 URL 之后插入一个空格,以保证复制后渲染不中断。声明该规则优先级高于一般风格偏好。

jeff-tian
jeff-tian
热度 79.64
最近更新 2026-05-11 17:35:07
分类:效率依赖:纯提示词应用场景:工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add markdown-output
Metadata
name
markdown-output
description
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.

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

  1. Always wrap the entire Markdown document in triple tildes (~~~).
  2. Never use triple backticks (```) as the outermost fence.
  3. Triple backticks (```) are allowed only inside the document for code examples.
  4. 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.
  5. The output must be copyable in its entirety without rendering breaks.

Link Formatting Rules

  1. In Markdown links, insert one space between the URL and the closing parenthesis:
    • Correct: [text](https://example.com )
    • Wrong: [text](https://example.com)
  2. 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,下一段文字

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.