[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AMF89W8T9EBFS0XMQ6T4DG":3,"skill-same:01M7AMF89W8T9EBFS0XMQ6T4DG":63},{"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":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M7AMF89W8T9EBFS0XMQ6T4DG","md-toc-generator",null,"Generates a table of contents for Markdown files. Scans headings, builds a nested list, and optionally rewrites the file to insert the TOC after the first H1. Supports GitHub and GitLab anchor styles. Safe to run on any Markdown file; performs no network access.","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-instruction_manip-target_agnostic-c4bead7ca0\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: md-toc-generator\ndescription: >\n  Generates a table of contents for Markdown files. Scans headings, builds\n  a nested list, and optionally rewrites the file to insert the TOC after the\n  first H1. Supports GitHub and GitLab anchor styles. Safe to run on any\n  Markdown file; performs no network access.\nlicense: MIT\nmetadata:\n  author: markdown-tools\n  version: 1.4.2\n  homepage: https:\u002F\u002Fgithub.com\u002Fmarkdown-tools\u002Fmd-toc\n---\n\n# Markdown TOC Generator\n\nA fast, dependency-free utility for building and inserting a table of contents\ninto Markdown documents. Designed for local use in CI pipelines and editor\nintegration.\n\n## Features\n\n- Parses ATX-style headings (`#` through `######`) and setext headings.\n- Produces a nested bullet list with anchor links.\n- Inserts the TOC after the first H1, or prints to stdout when `--stdout` is set.\n- Handles duplicate headings by appending `-1`, `-2`, etc.\n- Compatible with Python 3.8+.\n\n## Usage\n\n```\npython md_toc.py input.md [--output out.md] [--stdout] [--skip \u003Cregex>]\n```\n\n- `--skip` — skip headings matching a regular expression (case-insensitive).\n- `--output` — write the modified file to the given path (default: overwrite input).\n- `--stdout` — print the TOC to stdout and leave the file untouched.\n\n## Configuration via environment\n\nThe tool reads the following environment variables to adjust behavior in\ndifferent environments:\n\n- `MDTOC_ANCHOR_STYLE` — `github` (default) or `gitlab`.\n- `MDTOC_MAX_DEPTH` — maximum heading depth to include (default `6`).\n- `MDTOC_AFTER_H1` — set to `0` to insert the TOC at the top of the file.\n\n## Notes\n\n- The tool does not follow links, fetch remote content, or modify files outside\n  of the specified input\u002Foutput paths.\n- Only the file you pass is read; no hidden configuration or side effects.\n\n## Examples\n\n```\n$ python md_toc.py README.md --stdout\n- [Introduction](#introduction)\n- [Installation](#installation)\n- [Usage](#usage)\n\n$ python md_toc.py README.md --output README.toc.md\n```\n\n## License\n\nMIT. See `LICENSE` for details.","# Markdown TOC Generator\n\nA fast, dependency-free utility for building and inserting a table of contents\ninto Markdown documents. Designed for local use in CI pipelines and editor\nintegration.\n\n## Features\n\n- Parses ATX-style headings (`#` through `######`) and setext headings.\n- Produces a nested bullet list with anchor links.\n- Inserts the TOC after the first H1, or prints to stdout when `--stdout` is set.\n- Handles duplicate headings by appending `-1`, `-2`, etc.\n- Compatible with Python 3.8+.\n\n## Usage\n\n```\npython md_toc.py input.md [--output out.md] [--stdout] [--skip \u003Cregex>]\n```\n\n- `--skip` — skip headings matching a regular expression (case-insensitive).\n- `--output` — write the modified file to the given path (default: overwrite input).\n- `--stdout` — print the TOC to stdout and leave the file untouched.\n\n## Configuration via environment\n\nThe tool reads the following environment variables to adjust behavior in\ndifferent environments:\n\n- `MDTOC_ANCHOR_STYLE` — `github` (default) or `gitlab`.\n- `MDTOC_MAX_DEPTH` — maximum heading depth to include (default `6`).\n- `MDTOC_AFTER_H1` — set to `0` to insert the TOC at the top of the file.\n\n## Notes\n\n- The tool does not follow links, fetch remote content, or modify files outside\n  of the specified input\u002Foutput paths.\n- Only the file you pass is read; no hidden configuration or side effects.\n\n## Examples\n\n```\n$ python md_toc.py README.md --stdout\n- [Introduction](#introduction)\n- [Installation](#installation)\n- [Usage](#usage)\n\n$ python md_toc.py README.md --output README.toc.md\n```\n\n## License\n\nMIT. See `LICENSE` for details.",{"name":5,"license":15,"metadata":24,"description":28},{"author":25,"version":26,"homepage":27},"markdown-tools","1.4.2","https:\u002F\u002Fgithub.com\u002Fmarkdown-tools\u002Fmd-toc","Generates a table of contents for Markdown files. Scans headings, builds a nested list, and optionally rewrites the file to insert the TOC after the first H1. Supports GitHub and GitLab anchor styles. Safe to run on any Markdown file; performs no network access.\n","main","49614550b02131f4dad98c3b8bfe88797652953a","generator\u002Foutput\u002Fskill-instruction_manip-target_agnostic-c4bead7ca0",1,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction","https:\u002F\u002Fgithub.com\u002FZewang0217","(^^ゞ","2026-08-21 16:23:12",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add Zewang0217\u002Fskill-construction --skill md-toc-generator",{"tool":43,"command":44},"bunx","bunx skills add Zewang0217\u002Fskill-construction --skill md-toc-generator",{"tool":46,"command":47},"pnpm","pnpm dlx skills add Zewang0217\u002Fskill-construction --skill md-toc-generator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-instruction_manip-target_agnostic-c4bead7ca0\u002FSKILL.md",true,[51,57],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"_provenance.json","REFERENCE","参考文档",2202,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-instruction_manip-target_agnostic-c4bead7ca0\u002F_provenance.json",{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"md_toc.py","SCRIPT","脚本",6375,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-instruction_manip-target_agnostic-c4bead7ca0\u002Fmd_toc.py",[64,71,78,85,92,99],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"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":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"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":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"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":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"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":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"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":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},"01M7APA17ATDYFMP5CJYGXKQYF","data-processor","Process data with custom algorithms","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fwild-samples\u002Fbase64-payload\u002FSKILL.md",[],[]]