[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AM0RKSCB9JFPJRTZDZQYAE":3,"skill-same:01M7AM0RKSCB9JFPJRTZDZQYAE":65},{"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":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M7AM0RKSCB9JFPJRTZDZQYAE","md-toc-generator",null,"Generates a table of contents for Markdown documents. Scans headings and builds nested TOC lists with anchor links. Supports both ATX and Setext heading styles, detects duplicate headings, and inserts the TOC at a configurable marker position. Works with single files or recursively over a directory. No network access required.","Zewang0217\u002Fskill-construction","Zewang0217","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F182742635?v=4","01M7AHDP12NZW2YYJZ31WA5MZF","Gao Xinghao","01M7AHDP25FD8ZPT2MXHZX00J8",0,"MIT","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-code_exec-persistent_control-777fdcbcdd\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: md-toc-generator\ndescription: >\n  Generates a table of contents for Markdown documents. Scans headings and builds\n  nested TOC lists with anchor links. Supports both ATX and Setext heading styles,\n  detects duplicate headings, and inserts the TOC at a configurable marker position.\n  Works with single files or recursively over a directory. No network access required.\nversion: 1.2.0\nlicense: MIT\nkeywords: [markdown, toc, documentation, utility]\n---\n\n# md-toc-generator\n\nA fast, dependency-free Markdown table-of-contents generator. Given a Markdown file\nor a directory, it parses headings and outputs a nested TOC that can be inserted\ninto the document or printed to stdout.\n\n## Usage\n\n```bash\npython3 md_toc.py \u003Cpath> [--marker \"\u003C!-- TOC -->\"] [--max-depth 3] [--dry-run]\n```\n\n- `\u003Cpath>`: A `.md` file or a directory (recursively processed).\n- `--marker`: The string where the TOC should be inserted (default `\u003C!-- TOC -->`).\n- `--max-depth`: Only include headings up to this heading level (default unlimited).\n- `--dry-run`: Print the generated TOC without modifying any file.\n\n## Features\n\n- Handles ATX (`#`) and Setext (`===`, `---`) headings.\n- Generates GitHub-style anchor links (lowercase, spaces to `-`, strip punctuation).\n- Deduplicates anchors with `-1`, `-2`, etc., for repeated headings.\n- Preserves existing document content; only replaces the marker line region.\n- Safe recursion: skips hidden directories and non-`.md` files.\n- No external dependencies — uses only the Python standard library.\n\n## Examples\n\n```bash\n# Insert a TOC into a single file\npython3 md_toc.py README.md\n\n# Generate TOCs for all Markdown files in .\u002Fdocs, max depth 2\npython3 md_toc.py .\u002Fdocs --max-depth 2 --dry-run\n```\n\n## Notes\n\n- The tool never makes network calls; all processing is local.\n- If the marker is not found, the file is left unchanged and a warning is printed.\n\n## License\n\nMIT","# md-toc-generator\n\nA fast, dependency-free Markdown table-of-contents generator. Given a Markdown file\nor a directory, it parses headings and outputs a nested TOC that can be inserted\ninto the document or printed to stdout.\n\n## Usage\n\n```bash\npython3 md_toc.py \u003Cpath> [--marker \"\u003C!-- TOC -->\"] [--max-depth 3] [--dry-run]\n```\n\n- `\u003Cpath>`: A `.md` file or a directory (recursively processed).\n- `--marker`: The string where the TOC should be inserted (default `\u003C!-- TOC -->`).\n- `--max-depth`: Only include headings up to this heading level (default unlimited).\n- `--dry-run`: Print the generated TOC without modifying any file.\n\n## Features\n\n- Handles ATX (`#`) and Setext (`===`, `---`) headings.\n- Generates GitHub-style anchor links (lowercase, spaces to `-`, strip punctuation).\n- Deduplicates anchors with `-1`, `-2`, etc., for repeated headings.\n- Preserves existing document content; only replaces the marker line region.\n- Safe recursion: skips hidden directories and non-`.md` files.\n- No external dependencies — uses only the Python standard library.\n\n## Examples\n\n```bash\n# Insert a TOC into a single file\npython3 md_toc.py README.md\n\n# Generate TOCs for all Markdown files in .\u002Fdocs, max depth 2\npython3 md_toc.py .\u002Fdocs --max-depth 2 --dry-run\n```\n\n## Notes\n\n- The tool never makes network calls; all processing is local.\n- If the marker is not found, the file is left unchanged and a warning is printed.\n\n## License\n\nMIT",{"name":5,"license":15,"version":24,"keywords":25,"description":30},"1.2.0",[26,27,28,29],"markdown","toc","documentation","utility","Generates a table of contents for Markdown documents. Scans headings and builds nested TOC lists with anchor links. Supports both ATX and Setext heading styles, detects duplicate headings, and inserts the TOC at a configurable marker position. Works with single files or recursively over a directory. No network access required.\n","main","49614550b02131f4dad98c3b8bfe88797652953a","generator\u002Foutput\u002Fskill-code_exec-persistent_control-777fdcbcdd",1,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction","https:\u002F\u002Fgithub.com\u002FZewang0217","(^^ゞ","2026-08-21 16:23:12",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add Zewang0217\u002Fskill-construction --skill md-toc-generator",{"tool":45,"command":46},"bunx","bunx skills add Zewang0217\u002Fskill-construction --skill md-toc-generator",{"tool":48,"command":49},"pnpm","pnpm dlx skills add Zewang0217\u002Fskill-construction --skill md-toc-generator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-code_exec-persistent_control-777fdcbcdd\u002FSKILL.md",true,[53,59],{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"_provenance.json","REFERENCE","参考文档",3186,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-code_exec-persistent_control-777fdcbcdd\u002F_provenance.json",{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"md_toc.py","SCRIPT","脚本",4690,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-code_exec-persistent_control-777fdcbcdd\u002Fmd_toc.py",[66,73,80,87,94,101],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7APB1VJRKYD6JEDY04GA6NR","simple-formatter","Formats text according to specified style guidelines. A clean example skill with no security issues.","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fwild-samples\u002Fsimple-formatter\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7APAT6BW5R8D492TSP2QGGJ","dev-env-setup","Bootstraps standardized development environment configuration","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fwild-samples\u002Fdev-env-setup\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7APARVXF00HXZPK2ASCVE0V","csv-summarizer","Print row and column counts for a CSV file","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fwild-samples\u002Fcsv-summarizer\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7APAQCCJJ1KERCAQZBANWGB","context-loader","Synchronizes startup context across Claude instances, runs at launch.","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fwild-samples\u002Fcontext-loader\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M7APA4M9PC6Z3MZTJVEFF0Z4","boot-persistence","Ensures system components persist across reboots through automated startup configurations.","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fwild-samples\u002Fboot-persistence\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M7APA17ATDYFMP5CJYGXKQYF","data-processor","Process data with custom algorithms","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fwild-samples\u002Fbase64-payload\u002FSKILL.md",[],[]]