ワンクリックで
wechat-theme-extractor
Use when extracting visual styles from a WeChat article and generating a markdown-wechat-converter theme.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when extracting visual styles from a WeChat article and generating a markdown-wechat-converter theme.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when creating one local Git commit without pushing. Supports diff-based Conventional Commit type/scope/message generation, staged or requested change handling, segmented commit bodies for non-trivial changes, and safe commit-only workflows. Trigger for requests such as "commit this", "create a commit", "commit current changes without pushing", or local-only handoff.
Use when committing and pushing current changes on one branch with a Conventional Commit message. Supports diff-based type/scope/message generation, staged or requested change handling, segmented commit bodies for non-trivial changes, and safe single-branch push handling.
当用户只需要创建一个本地 Git 提交且不推送时使用。支持基于 diff 自动判断 Conventional Commit 的 type/scope/summary、处理已暂存或用户要求的改动范围、为非简单改动生成分段提交正文,并执行安全的仅提交工作流。适用于“提交当前改动”“只 commit 不 push”“创建一个本地提交”等请求。
当用户需要在当前单分支提交并推送改动,并生成 Conventional Commit 信息时使用。支持基于 diff 自动判断 type/scope/summary、处理已暂存或用户要求的改动范围、为非简单改动生成分段提交正文,并安全处理单分支推送。
Use when creating, critiquing, or iterating logo and brand-mark concepts through a designer-distillation board, including brand intake, public-source designer lenses, concept territories, visual prompts, and logo quality scoring.
当用户需要用设计师人格蒸馏、品牌策略、概念方向、视觉提示词和质量评分来设计、评审或迭代 Logo 与品牌标识时使用。
| name | wechat-theme-extractor |
| description | Use when extracting visual styles from a WeChat article and generating a markdown-wechat-converter theme. |
Extract layout and style signals from a WeChat Official Account article, then generate a reusable theme for markdown-wechat-converter. The workflow derives typography, colors, spacing, and block styles from the article, writes the generated theme into markdown-to-wechat.html, and supports previewing the result.
Use this skill when the user:
mp.weixin.qq.com article URLmarkdown-wechat-convertermarkdown-to-wechat.html and previewedDo not use this skill when:
markdown-wechat-converter or markdown-to-wechat.htmlscripts/extract.py to fetch the article HTML and extract the title and js_content..extracted_content.html and analyze style traits directly from the HTML.markdown-wechat-converter.markdown-to-wechat.html in the current workspace and inject the new theme without breaking existing theme definitions.markdown-to-wechat.html in the browser for preview.User provides URL
-> run extractor script
-> produce .extracted_content.html
-> analyze styles
-> generate theme config
-> write into markdown-to-wechat.html
-> verify write result
-> open preview
python3 scripts/extract.py "https://mp.weixin.qq.com/s/xxxxx"
The Python script only:
js_content body fragment.extracted_content.htmlThe AI handles:
markdown-to-wechat.htmlWhen updating markdown-to-wechat.html, follow these rules:
Find the real theme source first.
const assignments before editing.Preserve the existing structure.
Add, do not overwrite blindly.
Keep the change scoped.
Verify after writing.
Generate a theme object that matches the target file's existing structure. Use this as a minimal reference shape:
{
id: "wechat-clean-blue",
name: "WeChat Clean Blue",
styles: {
body: {
fontFamily: "\"PingFang SC\", \"Helvetica Neue\", sans-serif",
fontSize: "16px",
color: "#2b2b2b",
lineHeight: "1.75",
backgroundColor: "#ffffff"
},
h1: {
fontSize: "24px",
fontWeight: "700",
textAlign: "center",
color: "#1f3a5f"
},
h2: {
fontSize: "20px",
fontWeight: "700",
color: "#1f3a5f",
borderBottom: "2px solid #9ec1ff"
},
blockquote: {
color: "#4a5568",
backgroundColor: "#f7fbff",
borderLeft: "4px solid #7fb3ff",
padding: "12px 16px"
}
}
}
When writing:
markdown-to-wechat.htmlscripts/.extracted_content.html: extracted article body HTML with title and source URL comments at the top.extracted_content.html exists and is not emptyjs_content were extractedmarkdown-to-wechat.html