← 返回 Skills 市场
shiker1996

公众号文章排版

作者 shiker · GitHub ↗ · v1.0.7 · MIT-0
cross-platform ⚠ suspicious
916
总下载
4
收藏
6
当前安装
8
版本数
在 OpenClaw 中安装
/install wechat-article-typeset
功能描述
公众号文章预设主题排版--Markdown 一键渲染主题并生成复制页预览链接(不含 AI 结构化预览)
安全使用建议
This skill appears to do what it says: it renders your Markdown to themed HTML, writes article.preset.html and wechat-preview-url.txt beside your input file, and POSTs the rendered HTML to https://edit.shiker.tech/api/copy to obtain a preview URL. Before installing/using: (1) Confirm you're comfortable uploading the full rendered HTML (which may contain sensitive content) to the external domain edit.shiker.tech; do not use the skill with secrets or private data you don't want transmitted. (2) Expect the two files to be created/overwritten in the same directory as your input .md. (3) The script uses global fetch (Node 18+ provides fetch); ensure your runtime supports it. (4) Optional WEWORK_* env vars only affect theme defaults and are not credentials. If you need source-of-truth or privacy guarantees, review or run the included code locally and/or host your own endpoint instead of edit.shiker.tech.
功能分析
Type: OpenClaw Skill Name: wechat-article-typeset Version: 1.0.7 The skill bundle is a legitimate utility for converting Markdown files into WeChat-formatted HTML articles. The core logic in `wechat-copy.js` and `lib/utils/markdown.js` implements a custom Markdown parser and styling engine to apply various visual themes. While the tool sends the generated HTML to an external API (https://edit.shiker.tech/api/copy) to generate a preview link, this behavior is explicitly documented as the primary feature in `SKILL.md` and `README.md`. There is no evidence of obfuscation, credential theft, or unauthorized command execution.
能力评估
Purpose & Capability
The name/description promise a themed Markdown→HTML render and a preview/copy link. The code and SKILL.md implement exactly that (generate HTML, write files, POST to https://edit.shiker.tech/api/copy). No unrelated credentials, binaries, or system access are requested.
Instruction Scope
Runtime instructions explicitly read a user-supplied .md, render HTML, write article.preset.html and wechat-preview-url.txt in the same directory, and POST the HTML to edit.shiker.tech/api/copy. The network call and file writes are necessary for the stated feature, but users should understand the full article HTML is transmitted off-host.
Install Mechanism
No install spec is provided (instruction-only installation). All code is included in the skill bundle; nothing is downloaded at install time. This is low-risk from an install mechanism perspective.
Credentials
The skill declares no required environment variables or credentials. It does read optional WEWORK_* environment variables for convenient presets/themes, which are not sensitive credentials and are proportional to the feature.
Persistence & Privilege
always is false and the skill does not request persistent platform privileges. It writes files only into the user's Markdown directory and does not modify other skills or global agent configuration.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install wechat-article-typeset
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /wechat-article-typeset 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.7
- Documentation formatting improved for clarity and readability; redundant headings removed. - No functional or code changes in this version. - Skill description, workflow, inputs/outputs, and usage notes remain unchanged.
v1.0.6
**Changelog for wechat-article-typeset v1.0.6** - Major simplification: Skill now only supports preset/theme-based article typesetting for WeChat copy-page previews, removing AI-structured preview and related logic. - Removed AI-driven HTML generation, dual-version preview workflow, and all files/scripts for AI structuring (`SPEC.md`, `html-to-wechat-copy.js`, `md-to-preset-html.js`, etc.). - Outputs a single preset theme preview link per Markdown file, with required output files: `article.preset.html` and `wechat-preview-url.txt`. - Documentation and triggers updated accordingly to reflect new focus and workflow. - Greatly reduced complexity for users seeking only preset theme WeChat previews.
v1.0.5
wechat-article-typeset 1.0.5 - 新增 `--preset` 目录和 `md-to-preset-html.js` 脚本,为 Markdown 文章支持预设主题渲染。 - 明确要求技能执行后产出三类文件:初稿 HTML、按 SPEC 排版的 HTML、含预览链接的 txt 文件,缺一不可。 - 文档修订:详细补充必交产物、流程说明和快速上手示例。 - 支持一步完成和双版本链接输出的模式,提升易用性。
v1.0.4
wechat-article-typeset v1.0.4 – Changelog - Removed `wechat-md-to-beauty.js` script; the single-step "精美 HTML+预览链接"快速排版入口不再提供。 - Updated documentation in SKILL.md and SPEC.md to reflect script and workflow changes. - Cleaned up package files to match current functionality and remove references to the removed script. - Streamlined recommended usage to focus on `wechat-dual-copy.js` and `html-to-wechat-copy.js` for generating public account preview links.
v1.0.3
Two-preview-link workflow and new scripts added. - Now returns two WeChat preview links for each Markdown: an AI结构化版 and a 预设主题版. - Introduced new scripts: `wechat-dual-copy.js` (dual preview) and `wechat-md-to-beauty.js` (one-step, beautiful HTML and link generation). - Added support for theme presets and enhanced Markdown rendering flow. - Links and workflow outputs are now consistently saved to text files to avoid copy errors. - Documentation updated to explain dual-link workflow, script usage, and one-click mode.
v1.0.2
- Major simplification: Skill now relies on a single entry script and a unified HTML SPEC. - Removed 12 non-essential files; only SPEC.md added for HTML格式规范说明. - All inputs must now be Markdown; HTML must be generated per SPEC.md (格式一/格式二) before producing preview links. - The only output is a stable edit.shiker.tech 预览链接, generated via html-to-wechat-copy.js; AI/助手不再“转述”URL,须以脚本输出为准。 - Improved compatibility guidelines and stricter process focus: Markdown → SPEC HTML → wechat-preview URL.
v1.0.1
- 新增对已有 HTML 文章一键转公众号格式的脚本(html-to-wechat-copy.js),支持定制结构映射为公众号可保留样式。 - 新增已有 HTML 转公众号相关文档说明,包括两种输入格式及常见文章结构适配建议。 - 触发关键字增加「文章转公众号」。 - 移除不再需要的示例草稿和旧 skill 配置文件。 - 文档优化,明确推荐「Markdown→中间态 HTML→公众号」链路,并细化步骤及注意事项。
v1.0.0
Initial release of wechat-article-typeset, a tool for generating and typesetting WeChat Official Account articles. - Generate WeChat-compatible HTML from Markdown or text using built-in JS libraries (no external dependencies). - Supports customizable themes and layouts with preset and mix-and-match options. - Command line tools provided: wechat-html.js (generate HTML) and wechat-copy.js (generate HTML and obtain copy page link). - Integrates with edit.shiker.tech to create a shareable page for easy copying into WeChat platforms. - Lists available themes, layouts, and presets for flexible article styling. - Includes instructions and API specifications for end-to-end publishing workflow.
元数据
Slug wechat-article-typeset
版本 1.0.7
许可证 MIT-0
累计安装 6
当前安装数 6
历史版本数 8
常见问题

公众号文章排版 是什么?

公众号文章预设主题排版--Markdown 一键渲染主题并生成复制页预览链接(不含 AI 结构化预览). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 916 次。

如何安装 公众号文章排版?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install wechat-article-typeset」即可一键安装,无需额外配置。

公众号文章排版 是免费的吗?

是的,公众号文章排版 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

公众号文章排版 支持哪些平台?

公众号文章排版 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 公众号文章排版?

由 shiker(@shiker1996)开发并维护,当前版本 v1.0.7。

💬 留言讨论