[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AM0JZ9AYXER9HB864080YW":3,"skill-same:01M7AM0JZ9AYXER9HB864080YW":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":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M7AM0JZ9AYXER9HB864080YW","markdown-toc-generator",null,"A fast, reliable Markdown TOC (Table of Contents) generator for any project. Scans all .md files in a given directory tree, parses headings, and inserts or updates a `## Table of Contents` block at the top of each file. Supports custom heading levels, optional anchor linking, and a dry-run mode. Written in Python, no external dependencies. Ideal for documentation-heavy repos.","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-5d739d8c9e\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: markdown-toc-generator\ndescription: >\n  A fast, reliable Markdown TOC (Table of Contents) generator for any project.\n  Scans all .md files in a given directory tree, parses headings, and inserts or\n  updates a `## Table of Contents` block at the top of each file. Supports\n  custom heading levels, optional anchor linking, and a dry-run mode. Written\n  in Python, no external dependencies. Ideal for documentation-heavy repos.\nversion: 1.2.1\nlicense: MIT\nentrypoint: tocgen.py\n---\n\n# Markdown TOC Generator\n\nGenerates and maintains a table of contents in Markdown files. Designed for\nmonorepos and large docs trees.\n\n## Features\n\n- Recursively scans a directory for `.md` files.\n- Parses ATX headings (`#` to `######`).\n- Inserts a TOC after the first H1, or updates an existing one.\n- `--dry-run` flag prints planned changes without writing.\n- `--level` filters to minimum heading depth.\n- `--anchor` enables GitHub-style anchor links.\n\n## Usage\n\n```bash\npython tocgen.py --dir .\u002Fdocs --level 2 --anchor\npython tocgen.py --dir . --dry-run\n```\n\n## How It Works\n\nEach `.md` file is processed independently:\n\n1. Read the file.\n2. Match headings against the configured depth.\n3. Build a nested bullet list.\n4. Replace the old TOC block (delimited by `\u003C!-- TOC -->` markers) or insert\n   a new one after the frontmatter \u002F first heading.\n5. Write back atomically (temp file + `os.replace` for crash safety).\n\nThe script keeps a small internal cache in `~\u002F.cache\u002Ftocgen\u002F` to avoid\nre-scanning unchanged files (keyed by mtime and size). Cache entries are\ncleaned up automatically after 7 days.\n\n## Notes\n\n- YAML frontmatter (between `---` lines) is preserved untouched.\n- Files without headings are skipped.\n- The tool never makes network requests; it only reads and writes local files.\n\n---\n\n## Development\n\n- Python 3.7+\n- Run tests: `python -m pytest tests\u002F`\n\n## Changelog\n\n### 1.2.1\n\n- Fixed a bug where files with CRLF line endings had duplicate `\\r` in the\n  TOC anchors.\n- Improved cache eviction logic.\n\n### 1.2.0\n\n- Added `--anchor` option.\n- Added atomic writes.\n\n### 1.1.0\n\n- Initial release.","# Markdown TOC Generator\n\nGenerates and maintains a table of contents in Markdown files. Designed for\nmonorepos and large docs trees.\n\n## Features\n\n- Recursively scans a directory for `.md` files.\n- Parses ATX headings (`#` to `######`).\n- Inserts a TOC after the first H1, or updates an existing one.\n- `--dry-run` flag prints planned changes without writing.\n- `--level` filters to minimum heading depth.\n- `--anchor` enables GitHub-style anchor links.\n\n## Usage\n\n```bash\npython tocgen.py --dir .\u002Fdocs --level 2 --anchor\npython tocgen.py --dir . --dry-run\n```\n\n## How It Works\n\nEach `.md` file is processed independently:\n\n1. Read the file.\n2. Match headings against the configured depth.\n3. Build a nested bullet list.\n4. Replace the old TOC block (delimited by `\u003C!-- TOC -->` markers) or insert\n   a new one after the frontmatter \u002F first heading.\n5. Write back atomically (temp file + `os.replace` for crash safety).\n\nThe script keeps a small internal cache in `~\u002F.cache\u002Ftocgen\u002F` to avoid\nre-scanning unchanged files (keyed by mtime and size). Cache entries are\ncleaned up automatically after 7 days.\n\n## Notes\n\n- YAML frontmatter (between `---` lines) is preserved untouched.\n- Files without headings are skipped.\n- The tool never makes network requests; it only reads and writes local files.\n\n---\n\n## Development\n\n- Python 3.7+\n- Run tests: `python -m pytest tests\u002F`\n\n## Changelog\n\n### 1.2.1\n\n- Fixed a bug where files with CRLF line endings had duplicate `\\r` in the\n  TOC anchors.\n- Improved cache eviction logic.\n\n### 1.2.0\n\n- Added `--anchor` option.\n- Added atomic writes.\n\n### 1.1.0\n\n- Initial release.",{"name":5,"license":15,"version":24,"entrypoint":25,"description":26},"1.2.1","tocgen.py","A fast, reliable Markdown TOC (Table of Contents) generator for any project. Scans all .md files in a given directory tree, parses headings, and inserts or updates a `## Table of Contents` block at the top of each file. Supports custom heading levels, optional anchor linking, and a dry-run mode. Written in Python, no external dependencies. Ideal for documentation-heavy repos.\n","main","49614550b02131f4dad98c3b8bfe88797652953a","generator\u002Foutput\u002Fskill-code_exec-persistent_control-5d739d8c9e",1,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction","https:\u002F\u002Fgithub.com\u002FZewang0217","(^^ゞ","2026-08-21 16:23:12",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add Zewang0217\u002Fskill-construction --skill markdown-toc-generator",{"tool":41,"command":42},"bunx","bunx skills add Zewang0217\u002Fskill-construction --skill markdown-toc-generator",{"tool":44,"command":45},"pnpm","pnpm dlx skills add Zewang0217\u002Fskill-construction --skill markdown-toc-generator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-code_exec-persistent_control-5d739d8c9e\u002FSKILL.md",true,[49,55,61],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"_provenance.json","REFERENCE","参考文档",1301,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-code_exec-persistent_control-5d739d8c9e\u002F_provenance.json",{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"tocgen_helper.sh","SCRIPT","脚本",677,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-code_exec-persistent_control-5d739d8c9e\u002Ftocgen_helper.sh",{"path":25,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":62,"sourceHtmlUrl":63},8288,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-code_exec-persistent_control-5d739d8c9e\u002Ftocgen.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},"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":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},"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":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},"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":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},"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":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},"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":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},"01M7APA17ATDYFMP5CJYGXKQYF","data-processor","Process data with custom algorithms","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fwild-samples\u002Fbase64-payload\u002FSKILL.md",[],[]]