Install
$ agentstack add skill-danazd91-collab-wechat-mp-skills-wechat-draft-publish ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
WeChat Draft Publish
Overview
Use this skill after the article content is already finalized and should be sent into a WeChat Official Account draft box.
Treat plain-language requests such as 把这篇发到公众号草稿箱, 帮我推到公众号草稿箱, and 把这个 Markdown 发到公众号草稿箱 as direct triggers.
Read [references/minimal-plan.md](references/minimal-plan.md) when you need the architecture, file layout, or request schema.
Workflow
- Confirm the article body is ready.
- If the user says "这篇", infer the current article content or the file they most recently referenced.
- Confirm the payload has the minimum required fields:
- title
- article body
thumbMediaIdorcoverImagePath
- If the article is Markdown, convert it with the bundled converter instead of asking the user to do it manually.
- Check that the local bridge service is reachable at
http://127.0.0.1:8787/health. - Publish with:
powershell -ExecutionPolicy Bypass -File ".\scripts\publish-markdown-to-wechat-draft.ps1" `
-MarkdownFile "D:\path\article.md" `
-CoverImagePath "D:\path\cover.jpg" `
-Theme "minimal"
- Return the
mediaId, final title, and file path used for publishing.
Validation Rules
- Do not publish if the article is unfinished.
- Do not publish if neither
thumbMediaIdnorcoverImagePathis available. - Stop and ask when the cover image is missing.
- Prefer the first Markdown
#heading as the title when no explicit title is passed. - Use the local scripts in this skill folder, not browser automation.
- Prefer
minimalas the default theme unless the user explicitly asks for a more formal, more narrative, or more编辑感的公众号排版。 - When the Markdown includes
:::intro,:::card, or:::quote, preserve those semantic blocks and let the selected theme render them.
Common Commands
Start the local bridge service:
powershell -ExecutionPolicy Bypass -File ".\scripts\start-wechat-draft-service.ps1"
Publish a Markdown article:
powershell -ExecutionPolicy Bypass -File ".\scripts\publish-markdown-to-wechat-draft.ps1" `
-MarkdownFile "D:\path\article.md" `
-CoverImagePath "D:\path\cover.jpg" `
-Theme "minimal"
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: danazd91-collab
- Source: danazd91-collab/wechat-mp-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.