El SKILL.md siguiente se reproduce de
shiker1996/wechat-editroom (commit
c64599c) bajo la licencia
MIT. El texto no se ha modificado; solo se omiten los metadatos de cabecera del archivo, las imágenes se muestran como enlaces y los archivos muy largos se truncan. Copyright 2026 shiker. Licencia:
LICENSE. Solo se muestra el archivo de instrucciones; consulta el repositorio original para ver los scripts.
公众号 HTML 门禁
使用脚本检查,不依赖肉眼或模糊字符串搜索:
node scripts/check-html.mjs article.ai.html
脚本成功时退出码为 0,并输出 {"valid":true,"issues":[]};失败时退出码非零并列出问题。
检查项
- 存在
<div> 开标签
- 存在任何
<style> 或 link[rel=stylesheet]
- 存在
<script>、on*= 事件处理器、iframe 或 form
- 存在未处理的 Mermaid/ECharts 围栏
</html> 后存在非空内容
门禁失败后由编排器决定是否再次调用 wechat-html-normalizer。最多重试两轮;相同问题未减少时立即停止,避免无意义循环。该技能本身不修改 HTML。
Ver el texto completo de la licencia (MIT)
MIT License
Copyright (c) 2026 shiker
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.