[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AQZPT3DG09DDAJTN2JNSMQ":3,"skill-same:01M7AQZPT3DG09DDAJTN2JNSMQ":64},{"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":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7AQZPT3DG09DDAJTN2JNSMQ","validate-mermaid",null,"Validate Mermaid diagrams in Markdown, MDX, HTML, and standalone Mermaid files using Mermaid's own parser. Use when an agent creates or edits Mermaid diagrams, when a browser reports \"Syntax error in text\", or before publishing generated docs and reports.","RoyalBis\u002Fmattpocock-skills","RoyalBis","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F5227262?v=4","01M7AQXXMF7A1NNQEZG0VWANM6","Royal Bissell","01M7AQXXN9T46NMAR0W36Y12DG",0,"MIT","https:\u002F\u002Fgithub.com\u002FRoyalBis\u002Fmattpocock-skills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fvalidate-mermaid\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: validate-mermaid\ndescription: Validate Mermaid diagrams in Markdown, MDX, HTML, and standalone Mermaid files using Mermaid's own parser. Use when an agent creates or edits Mermaid diagrams, when a browser reports \"Syntax error in text\", or before publishing generated docs and reports.\n---\n\n# Validate Mermaid\n\nRun Mermaid's parser over diagrams before treating their source as complete. This catches grammar errors with the same parser family used by the browser instead of relying on visual inspection or a Markdown parser that does not understand Mermaid.\n\n## Validate\n\nFrom this skill's directory, run:\n\n```bash\npython3 scripts\u002Fvalidate.py \u003Cfile-or-directory>\n```\n\nAdd `--recursive` when a directory tree should be scanned:\n\n```bash\npython3 scripts\u002Fvalidate.py --recursive \u003Cdirectory>\n```\n\nThe command reads Mermaid fences in `.md`, `.markdown`, and `.mdx`; elements with the `mermaid` class in `.html` and `.htm`; and complete diagrams in `.mmd` and `.mermaid` files. Recursive scans skip `.git`, other version-control metadata, virtual environments, and `node_modules`.\n\nUse the Mermaid version that will render the document. Exact versions in HTML imports are detected automatically. For another renderer, pass its exact version explicitly:\n\n```bash\npython3 scripts\u002Fvalidate.py --mermaid-version 11.16.1 \u003Cpath>\n```\n\nFiles without a detectable renderer version use Mermaid 11.16.1. The first run for a version installs Mermaid and JSDOM into `~\u002F.cache\u002Fvalidate-mermaid`; it does not add packages to the user's repository.\n\n## Handle results\n\nThe validator prints each diagram's file and starting line. It exits non-zero when a diagram is invalid, a requested path cannot be read, no supported documents are found, or the scanned documents contain no Mermaid diagrams.\n\nWhen diagram changes are part of the current task, fix every reported syntax error and rerun the same command until it succeeds. When the user asked only for validation, report the errors without changing their files.\n\nReport the command, Mermaid version, number of diagrams, and whether validation passed. Do not claim that syntax validation proves browser rendering: CDN loading, fonts, sizing, theme behaviour, and layout still require a browser check.\n","# Validate Mermaid\n\nRun Mermaid's parser over diagrams before treating their source as complete. This catches grammar errors with the same parser family used by the browser instead of relying on visual inspection or a Markdown parser that does not understand Mermaid.\n\n## Validate\n\nFrom this skill's directory, run:\n\n```bash\npython3 scripts\u002Fvalidate.py \u003Cfile-or-directory>\n```\n\nAdd `--recursive` when a directory tree should be scanned:\n\n```bash\npython3 scripts\u002Fvalidate.py --recursive \u003Cdirectory>\n```\n\nThe command reads Mermaid fences in `.md`, `.markdown`, and `.mdx`; elements with the `mermaid` class in `.html` and `.htm`; and complete diagrams in `.mmd` and `.mermaid` files. Recursive scans skip `.git`, other version-control metadata, virtual environments, and `node_modules`.\n\nUse the Mermaid version that will render the document. Exact versions in HTML imports are detected automatically. For another renderer, pass its exact version explicitly:\n\n```bash\npython3 scripts\u002Fvalidate.py --mermaid-version 11.16.1 \u003Cpath>\n```\n\nFiles without a detectable renderer version use Mermaid 11.16.1. The first run for a version installs Mermaid and JSDOM into `~\u002F.cache\u002Fvalidate-mermaid`; it does not add packages to the user's repository.\n\n## Handle results\n\nThe validator prints each diagram's file and starting line. It exits non-zero when a diagram is invalid, a requested path cannot be read, no supported documents are found, or the scanned documents contain no Mermaid diagrams.\n\nWhen diagram changes are part of the current task, fix every reported syntax error and rerun the same command until it succeeds. When the user asked only for validation, report the errors without changing their files.\n\nReport the command, Mermaid version, number of diagrams, and whether validation passed. Do not claim that syntax validation proves browser rendering: CDN loading, fonts, sizing, theme behaviour, and layout still require a browser check.\n",{"name":5,"description":7},"main","a1280b247b271ff320e2c363fddcdd2ee7168e30","skills\u002Fengineering\u002Fvalidate-mermaid","https:\u002F\u002Fgithub.com\u002FRoyalBis\u002Fmattpocock-skills","https:\u002F\u002Fgithub.com\u002FRoyalBis","2026-08-20 06:00:05",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add RoyalBis\u002Fmattpocock-skills --skill validate-mermaid",{"tool":36,"command":37},"bunx","bunx skills add RoyalBis\u002Fmattpocock-skills --skill validate-mermaid",{"tool":39,"command":40},"pnpm","pnpm dlx skills add RoyalBis\u002Fmattpocock-skills --skill validate-mermaid","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FRoyalBis\u002Fmattpocock-skills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fvalidate-mermaid\u002FSKILL.md",true,[44,50,56,60],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"agents\u002Fopenai.yaml","REFERENCE","参考文档",197,"https:\u002F\u002Fgithub.com\u002FRoyalBis\u002Fmattpocock-skills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fvalidate-mermaid\u002Fagents\u002Fopenai.yaml",{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"scripts\u002Fvalidate.mjs","SCRIPT","脚本",4846,"https:\u002F\u002Fgithub.com\u002FRoyalBis\u002Fmattpocock-skills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fvalidate-mermaid\u002Fscripts\u002Fvalidate.mjs",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"scripts\u002Fvalidate.py",7876,"https:\u002F\u002Fgithub.com\u002FRoyalBis\u002Fmattpocock-skills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fvalidate-mermaid\u002Fscripts\u002Fvalidate.py",{"path":61,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":62,"sourceHtmlUrl":63},"tests\u002Ftest_validate_mermaid.py",6720,"https:\u002F\u002Fgithub.com\u002FRoyalBis\u002Fmattpocock-skills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fvalidate-mermaid\u002Ftests\u002Ftest_validate_mermaid.py",[65,72,79,86,93,100],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7AR1S4YXPG3TSBPPG5JBBET","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002FRoyalBis\u002Fmattpocock-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7AR1QMKF01V3XXMTG2JEWVQ","wait-what","Stop. That last message did not land — re-pitch it.","https:\u002F\u002Fgithub.com\u002FRoyalBis\u002Fmattpocock-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fwait-what\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7AR1KZK9G7GV44MF6NK4KC8","to-questionnaire","Turn a decision you can't fully answer into a questionnaire for someone else to fill in.","https:\u002F\u002Fgithub.com\u002FRoyalBis\u002Fmattpocock-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fto-questionnaire\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7AR1HR1JPSNFQZAP1Q74Q1G","teach","Teach the user a new skill or concept, within this workspace.","https:\u002F\u002Fgithub.com\u002FRoyalBis\u002Fmattpocock-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fteach\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7AR1FB9QS9YH3SHA7XE13K7","slidev","Build, revise, and verify Slidev presentations as working web projects.","https:\u002F\u002Fgithub.com\u002FRoyalBis\u002Fmattpocock-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fslidev\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M7AR1CJY227HFWF14MARNJQS","handoff","Compact the current conversation into a handoff document for another agent to pick up.","https:\u002F\u002Fgithub.com\u002FRoyalBis\u002Fmattpocock-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fhandoff\u002FSKILL.md",[],[]]