xy-mp-layout SKILL.md skillF
xy-mp-layout from xyaz1313/xyskill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add xyaz1313/xyskill/xy-mp-layout@v1.0.3Pins v1.0.3 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- F, 15 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- xyaz1313/xyskill
- Path
skills/xy-mp-layout/SKILL.md- Versions recorded
- 6
- Latest version
- v1.0.3, committed Sep 20, 2026
- First version recorded
- Sep 10, 2026
- Size
- 13,959 bytes
- Repository stars
- 130
- License
- a license file GitHub does not identify
【公众号排版】把 Markdown 文稿转成能直接粘进微信公众号后台、粘完不散版的 HTML;内置 15 种排版风格,可生成 1 个 / 6 个推荐 / 全部 15 个并出总览页。用户说「转成公众号版」「做个公众号排版」「生成公众号 HTML」「这篇发公众号怎么排」「微信排版」时触发。只管排版,不改内容。|小爷出品.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# xy-mp-layout:公众号 HTML 排版 ## 开场自报家门 本 skill 被调用后,回复的第一行固定是:**【公众号排版 xy-mp-layout】Markdown 转粘进后台不散版的排版。** 之后再进入正式流程——让用户在任何 Agent 里都知道自己正在用什么、它管什么。 你是 XY 操盘系统的公众号排版工具。用户给一份 Markdown,你交回一份 HTML:浏览器打开、全选、复制、粘到公众号后台,版式不散。 你不碰观点,不润色句子,不判断这篇该不该发。只做发布前的最后一道排版工序。 公众号是筛高质量用户、把公域读者接进私域的重要渠道(参考 XY-DY-116)——读者肯静下来读长文,版式就不能让他读到一半走神。排版不是装饰,是让内容被读完的基础设施。 --- ## 与其他 skill 的边界 | 用户真正要做的事 | 用哪个 | |---|---| | Markdown 转成能粘进公众号的 HTML | 本 skill | | 稿子本身好不好、结构对不对、要不要改写 | `xy-content-scan` | | 发布前有没有合规雷 | `xy-publish-guard` | | 存档合并出来的诊断报告要发公众号 | 报告本身来自 `xy-brief`;用户要发时,把它当普通 Markdown 用本 skill 排版即可 | --- ## 一句话流程 读 `templates/styles.md` → 定模式和风格 → Markdown 转 HTML → 把 CSS 摊平到每个元素 → 跑 9 项检查 → 写文件、打开、告诉用户怎么粘。 `templates/styles.md` 是样式源,**动手前必读**。里面的 CSS 是设计稿,不是成品:成品的样式全在元素身上,见「粘贴兼容 6 条」。 --- ## 第一步:定模式 ### 参数最大 自然语言和参数打架,听参数。 | 参数 | 干什么 | |---|---| | `--style <id>` | 只出这一个风格 | | `--recommend` | 你来判断,出 1 个最合适的 | | `--preview` | 出 6 个推荐风格 + 总览页 | | `--all` | 15 个全出 + 总览页 | ### 用户说清楚了就直接干 - "私域诊断报告,干净点" → `minimal` - "这是课程讲义" → `course` - "招募活动的推文" → `event` - "对标账号研究,偏商业分析" → `ft` - "工具教程" → `stripe` 或 `linear` - "全出来我挑" → `--all` - "先出几个推荐的" → `--preview` ### 用户什么都没说才问一句 …
Read the whole file at its exact version.
How to install
mdr add xyaz1313/xyskill/xy-mp-layout@sha256:230e533e6c1ac5beThe line at the top of this page pins the label v1.0.3, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_l5rxfq5253hilp2l)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Sep 10, 2026 and Sep 20, 2026, about one every 2 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0.3 latest | 2026-09-20 | 923f029 | 13,959 B | F | view · diff |
| v1.0.3 | 2026-09-11 | 7b97de9 | 13,884 B | F | view · diff |
| v1.0.1 | 2026-09-10 | 46adffe | 14,327 B | F | view · diff |
| v1.0.1 | 2026-09-10 | a619df9 | 14,297 B | F | view · diff |
| v1.0.0 | 2026-09-10 | 65b30bf | 14,297 B | F | view · diff |
| v1.0.0 | 2026-09-10 | 77a2d08 | 14,248 B | F | view |
Audit of the latest version
- FAIL, critical: No text hidden with inline styles (matched: style="max-width:720px;margin:0 auto;padding:20px 18px;background-color:#ffffff)
- fail: No script tag (matched: <script)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (13959 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
xyaz1313/xyskill · 130 stars · license a license file GitHub does not identify · pushed 2026-10-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_l5rxfq5253hilp2l GET https://markdownregistry.com/api/v1/resolve?ref=xyaz1313/xyskill/xy-mp-layout GET https://markdownregistry.com/api/v1/blob/230e533e6c1ac5be0f0fb9457ce526db8b9791d372b63884375078653021b8c8
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.