[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79Y3KCX7KA1Q4YV3174QCP8":3,"skill-same:01M79Y3KCX7KA1Q4YV3174QCP8":98},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M79Y3KCX7KA1Q4YV3174QCP8","html-pages-to-images",null,"使用本地 Chromium\u002FPuppeteer 将可信 HTML 文件中匹配 CSS 选择器的多个元素逐一截图为 PNG。适用于图表、卡片、页面或公众号内联模块批量转图，并由 wechat-echarts-blocks-to-images 间接调用。不上传图片、不改写 Markdown，不应渲染不可信 HTML。","shiker1996\u002Fwechat-editroom","shiker1996","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F32234876?v=4","01M79Y0FYHC5XYXD311Z3XB9H7","shiker","01M79Y0FZRQXHNXH21EY334Y8A",11,"MIT","https:\u002F\u002Fgithub.com\u002Fshiker1996\u002Fwechat-editroom\u002Fblob\u002Fmaster\u002Fskills\u002Fhtml-pages-to-images\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: html-pages-to-images\ndescription: 使用本地 Chromium\u002FPuppeteer 将可信 HTML 文件中匹配 CSS 选择器的多个元素逐一截图为 PNG。适用于图表、卡片、页面或公众号内联模块批量转图，并由 wechat-echarts-blocks-to-images 间接调用。不上传图片、不改写 Markdown，不应渲染不可信 HTML。\n---\n\n# HTML 元素批量截图\n\n只渲染来自当前任务或可信模板的本地 HTML。HTML 可执行脚本并加载远程资源，不要对未知来源文件使用本技能。\n\n## 执行\n\n```powershell\nnode index.js --htmlFile \u003Cinput.html> --outputDir \u003Coutput-dir> --selector \u003Ccss-selector> --pageWidth 375 --pageHeight 667 --deviceScaleFactor 3\n```\n\n所有路径应显式传入，不依赖目录内的示例文件或默认 `output`。输出目录应位于当前任务工作目录，避免不同文章互相覆盖。\n\n## 参数\n\n- `htmlFile`：必填，本地 HTML\n- `outputDir`：必填，PNG 输出目录\n- `selector`：必填，只截图匹配元素\n- `pageWidth\u002FpageHeight`：CSS 视口尺寸\n- `deviceScaleFactor`：默认 2–3，控制清晰度与内存\n\n## 门禁\n\n截图前确认选择器至少匹配一个元素。完成后确认图片数量等于匹配数、每个 PNG 非空、文件名唯一且输出尺寸合理。若字体、图表或远程资源未加载完成，等待明确的完成标志；超时则失败，不输出空白图冒充成功。\n\n该技能只返回本地图片路径；公网化必须由单独上传技能在用户授权后执行。\n","# HTML 元素批量截图\n\n只渲染来自当前任务或可信模板的本地 HTML。HTML 可执行脚本并加载远程资源，不要对未知来源文件使用本技能。\n\n## 执行\n\n```powershell\nnode index.js --htmlFile \u003Cinput.html> --outputDir \u003Coutput-dir> --selector \u003Ccss-selector> --pageWidth 375 --pageHeight 667 --deviceScaleFactor 3\n```\n\n所有路径应显式传入，不依赖目录内的示例文件或默认 `output`。输出目录应位于当前任务工作目录，避免不同文章互相覆盖。\n\n## 参数\n\n- `htmlFile`：必填，本地 HTML\n- `outputDir`：必填，PNG 输出目录\n- `selector`：必填，只截图匹配元素\n- `pageWidth\u002FpageHeight`：CSS 视口尺寸\n- `deviceScaleFactor`：默认 2–3，控制清晰度与内存\n\n## 门禁\n\n截图前确认选择器至少匹配一个元素。完成后确认图片数量等于匹配数、每个 PNG 非空、文件名唯一且输出尺寸合理。若字体、图表或远程资源未加载完成，等待明确的完成标志；超时则失败，不输出空白图冒充成功。\n\n该技能只返回本地图片路径；公网化必须由单独上传技能在用户授权后执行。\n",{"name":5,"description":7},"master","8cbf3bc93ac272050735c4d55623d21beeaae137","skills\u002Fhtml-pages-to-images",5,"https:\u002F\u002Fgithub.com\u002Fshiker1996\u002Fwechat-editroom","https:\u002F\u002Fwechat-newsroom-guide.vercel.app\u002F","https:\u002F\u002Fgithub.com\u002Fshiker1996","shiker.tech","It‘s a long way to the top","2026-11-14 19:49:00",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add shiker1996\u002Fwechat-editroom --skill html-pages-to-images",{"tool":40,"command":41},"bunx","bunx skills add shiker1996\u002Fwechat-editroom --skill html-pages-to-images",{"tool":43,"command":44},"pnpm","pnpm dlx skills add shiker1996\u002Fwechat-editroom --skill html-pages-to-images","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fshiker1996\u002Fwechat-editroom\u002Fblob\u002Fmaster\u002Fskills\u002Fhtml-pages-to-images\u002FSKILL.md",true,[48,54,60,66,70,74,78,82,86,90,94],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},".gitignore","OTHER","其他",51,"https:\u002F\u002Fgithub.com\u002Fshiker1996\u002Fwechat-editroom\u002Fblob\u002Fmaster\u002Fskills\u002Fhtml-pages-to-images\u002F.gitignore",{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"agents\u002Fopenai.yaml","REFERENCE","参考文档",236,"https:\u002F\u002Fgithub.com\u002Fshiker1996\u002Fwechat-editroom\u002Fblob\u002Fmaster\u002Fskills\u002Fhtml-pages-to-images\u002Fagents\u002Fopenai.yaml",{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},"convert-pages.js","SCRIPT","脚本",3545,"https:\u002F\u002Fgithub.com\u002Fshiker1996\u002Fwechat-editroom\u002Fblob\u002Fmaster\u002Fskills\u002Fhtml-pages-to-images\u002Fconvert-pages.js",{"path":67,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":68,"sourceHtmlUrl":69},"google-design-md.html",8322,"https:\u002F\u002Fgithub.com\u002Fshiker1996\u002Fwechat-editroom\u002Fblob\u002Fmaster\u002Fskills\u002Fhtml-pages-to-images\u002Fgoogle-design-md.html",{"path":71,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":72,"sourceHtmlUrl":73},"index.js",3182,"https:\u002F\u002Fgithub.com\u002Fshiker1996\u002Fwechat-editroom\u002Fblob\u002Fmaster\u002Fskills\u002Fhtml-pages-to-images\u002Findex.js",{"path":75,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":76,"sourceHtmlUrl":77},"lib\u002Fconvert-pages.js",5580,"https:\u002F\u002Fgithub.com\u002Fshiker1996\u002Fwechat-editroom\u002Fblob\u002Fmaster\u002Fskills\u002Fhtml-pages-to-images\u002Flib\u002Fconvert-pages.js",{"path":79,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":80,"sourceHtmlUrl":81},"package-lock.json",12812,"https:\u002F\u002Fgithub.com\u002Fshiker1996\u002Fwechat-editroom\u002Fblob\u002Fmaster\u002Fskills\u002Fhtml-pages-to-images\u002Fpackage-lock.json",{"path":83,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":84,"sourceHtmlUrl":85},"package.json",533,"https:\u002F\u002Fgithub.com\u002Fshiker1996\u002Fwechat-editroom\u002Fblob\u002Fmaster\u002Fskills\u002Fhtml-pages-to-images\u002Fpackage.json",{"path":87,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":88,"sourceHtmlUrl":89},"ppt-master-xhs.html",19295,"https:\u002F\u002Fgithub.com\u002Fshiker1996\u002Fwechat-editroom\u002Fblob\u002Fmaster\u002Fskills\u002Fhtml-pages-to-images\u002Fppt-master-xhs.html",{"path":91,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":92,"sourceHtmlUrl":93},"skill.json",606,"https:\u002F\u002Fgithub.com\u002Fshiker1996\u002Fwechat-editroom\u002Fblob\u002Fmaster\u002Fskills\u002Fhtml-pages-to-images\u002Fskill.json",{"path":95,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":96,"sourceHtmlUrl":97},"xiaohongshu-articles.html",15192,"https:\u002F\u002Fgithub.com\u002Fshiker1996\u002Fwechat-editroom\u002Fblob\u002Fmaster\u002Fskills\u002Fhtml-pages-to-images\u002Fxiaohongshu-articles.html",[99,106,113,120,127,134],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M7E03T8QQ5FJJG8RNXN2MD59","article-image-agent","为公众号文章配图占位匹配已采集或联网发现的公开来源，并判断截图、数据卡或技术示意图方案。","https:\u002F\u002Fgithub.com\u002Fshiker1996\u002Fwechat-editroom\u002Fblob\u002Fmaster\u002Fskills\u002Farticle-image-agent\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":19},"01M79Y6W3Z0JDQ0RMZAZ0SM07P","xiaohongshu-article-generator","接收已锁定的图文故事板与事实基座，生成公众号或小红书配套发布文案，并保持事实与来源边界。","https:\u002F\u002Fgithub.com\u002Fshiker1996\u002Fwechat-editroom\u002Fblob\u002Fmaster\u002Fskills\u002Fxiaohongshu-article-generator\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":19},"01M79Y6RH65Q7KAETD4WVZVBAN","wechat-mp-tutorial","根据用户提供的实操步骤、运行环境、预期结果、问题处理和可核验资料撰写微信公众号教程。适用于“教程文章”“实操指南”“一步步配置”“从零完成某任务”；不用于仅凭热点资料生成教程，也不得把模型建议写成作者亲测。","https:\u002F\u002Fgithub.com\u002Fshiker1996\u002Fwechat-editroom\u002Fblob\u002Fmaster\u002Fskills\u002Fwechat-mp-tutorial\u002FSKILL.md",[],[],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":19},"01M79Y6KWH4H51AF3EEEEYW05T","wechat-mp-topic-to-article","将已锁定文章简报和事实材料编排为微信公众号文章。建立事实基座，按文章类型直接成稿，进行事实与发布风险审稿，按需调整长度并锁定标题；适用于“公众号成稿”“按锁定简报写稿”“从热点到终稿”。不用于选题发现、未完成编辑讨论或实验的选题、纯快讯、排版和发布。","https:\u002F\u002Fgithub.com\u002Fshiker1996\u002Fwechat-editroom\u002Fblob\u002Fmaster\u002Fskills\u002Fwechat-mp-topic-to-article\u002FSKILL.md",[],[],{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":19},"01M79Y6F9590F6R47348K602TK","wechat-mp-tech-hotspot","撰写面向开发者、技术决策者和科技从业者的微信公众号技术热点初稿。依据锁定简报和事实基座解释事件及其影响；不负责采集、标题、审稿、SEO、配图或排版。","https:\u002F\u002Fgithub.com\u002Fshiker1996\u002Fwechat-editroom\u002Fblob\u002Fmaster\u002Fskills\u002Fwechat-mp-tech-hotspot\u002FSKILL.md",[],[],{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":19},"01M79Y6B0V2KERWD1PGAQTBTE3","wechat-mp-personal-writing","根据用户明确提供的个人经历、心得、判断与资料，撰写微信公众号心得经验、自主观点或使用感受文章。适用于“经验复盘”“使用心得”“我的看法”“踩坑总结”；允许第一人称，但不得替作者虚构经历、数据、效果或他人观点。","https:\u002F\u002Fgithub.com\u002Fshiker1996\u002Fwechat-editroom\u002Fblob\u002Fmaster\u002Fskills\u002Fwechat-mp-personal-writing\u002FSKILL.md",[],[]]