Loading...
Loading...
Sync articles from SiYuan Note to Hexo blog — search, transform, copy images, and deploy. Use when the user asks to publish or sync a SiYuan document to the blog.
npx skill4agent add q7h2q9/other_skills update-blog-by-siyuanmcp__siyuan-mcp__unified_searchsource/_posts/source/post_imgs/D:/299792458/Q7h2q9/data/assets//sync-siyuan <document title>$ARGUMENTS| Purpose | Path |
|---|---|
| SiYuan assets | |
| Blog post directory | |
| Blog image directory | |
mcp__siyuan-mcp__unified_searchfilenametypes["d"]mcp__siyuan-mcp__get_document_content# xxx\u200b\u200d\u200c\uFEFFassets/xxx.pngpost_imgs/xxx.pngcp "D:/299792458/Q7h2q9/data/assets/<filename>" "D:/299792458/blog/butterfly/source/post_imgs/<filename>"source/_posts/---
title: <document title>
cover:
categories:
tags:
date: <current time YYYY-MM-DD HH:mm:ss>
lastmod: <SiYuan document update time>
---source/_posts/<document title>.mdcd D:/299792458/blog/butterfly && hexo clean && hexo g && hexo d| Symptom | Cause | Fix |
|---|---|---|
| MCP tool call failed | SiYuan is not running or MCP is not configured | Start SiYuan Note, check MCP configuration |
| Image source file does not exist | Deleted in SiYuan or filename changed | Warn the user, continue processing other images |
| Frontmatter parsing exception | Non-standard document format | Manually check SiYuan document format |
| Git authentication or network issue | User manually executes |
image-YYYYMMDDHHmmss-random ID.pngthemes/butterfly/hexo s