[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BYZPPJA984XPTWVVWQD1QN":3,"skill-same:01M6BYZPPJA984XPTWVVWQD1QN":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":33,"linkOnly":34,"markdownContent":35,"markdownBody":36,"frontMatter":37,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":43,"ownerHtmlUrl":44,"ownerBlogUrl":45,"ownerDescription":46,"updatedAt":47,"install":48,"resources":61},"01M6BYZPPJA984XPTWVVWQD1QN","mcp","tree-sitter-language-pack MCP 参考文档","Use tree-sitter-language-pack mcp reference documentation.","使用 tree-sitter-language-pack 的 MCP 参考文档。","xberg-io\u002Ftree-sitter-language-pack","xberg-io","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F241328462?v=4","01M6BYYMACFMK5WNT338Y71K58","Xberg.io","01M6BYYMEGM63ZCEYZJRTVS9JT",485,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Ftree-sitter-language-pack\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fmcp\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TKQDF2K4KQS863Q79P4","开发参考","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",[31,32],"MCP","documentation","2026-11-10 10:12:30",false,"---\nname: \"mcp\"\ndescription: \"Use tree-sitter-language-pack mcp reference documentation.\"\n---\n\n\u003C!-- This file is auto-generated by alef — DO NOT EDIT. -->\n\u003C!-- alef:hash:0d9d6e5ae7656e342db4c129d1eabd1ecab3e24a92346809cf7c5ddf850c2f85 -->\n\u003C!-- To regenerate: alef docs -->\n\u003C!-- To verify freshness: alef verify -->\n\n# tree-sitter-language-pack MCP Reference\n\nUse this skill when integrating tree-sitter-language-pack through Model Context Protocol tools, prompts, or resources.\n\n- `cache_dir`: Return the effective parser cache directory path.\n- `clean_cache`: Delete all cached parser libraries from the cache directory.\n- `detect_language`: Detect the language for a file path or source content. Returns the detected language name.\n- `download`: Download parser libraries from the remote registry. Pass languages list, groups, or all=true. Set fresh=true to clean the cache first.\n- `info`: Show whether a language is known, downloaded, and its cache path.\n- `list_languages`: List languages. source: 'available' (default), 'downloaded', or 'manifest'. Optional substring filter.\n- `parse`: Parse source code with a tree-sitter grammar. Returns the syntax tree as sexp or JSON.\n- `process`: Run the code-intelligence pipeline on source code. Extracts structure, imports, exports, symbols, and more.\n","\u003C!-- This file is auto-generated by alef — DO NOT EDIT. -->\n\u003C!-- alef:hash:0d9d6e5ae7656e342db4c129d1eabd1ecab3e24a92346809cf7c5ddf850c2f85 -->\n\u003C!-- To regenerate: alef docs -->\n\u003C!-- To verify freshness: alef verify -->\n\n# tree-sitter-language-pack MCP Reference\n\nUse this skill when integrating tree-sitter-language-pack through Model Context Protocol tools, prompts, or resources.\n\n- `cache_dir`: Return the effective parser cache directory path.\n- `clean_cache`: Delete all cached parser libraries from the cache directory.\n- `detect_language`: Detect the language for a file path or source content. Returns the detected language name.\n- `download`: Download parser libraries from the remote registry. Pass languages list, groups, or all=true. Set fresh=true to clean the cache first.\n- `info`: Show whether a language is known, downloaded, and its cache path.\n- `list_languages`: List languages. source: 'available' (default), 'downloaded', or 'manifest'. Optional substring filter.\n- `parse`: Parse source code with a tree-sitter grammar. Returns the syntax tree as sexp or JSON.\n- `process`: Run the code-intelligence pipeline on source code. Extracts structure, imports, exports, symbols, and more.\n",{"name":5,"description":7},"main","c14405493731b34089b4aae085abe5527b5000c7",".github\u002Fskills\u002Fmcp",71,"https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Ftree-sitter-language-pack","https:\u002F\u002Fdocs.tree-sitter-language-pack.xberg.io","https:\u002F\u002Fgithub.com\u002Fxberg-io","https:\u002F\u002Fxberg.io","Open-source content intelligence with a Rust core: documents, web, LLMs and code, with native bindings for every major language.","2026-11-15 00:20:30",{"source":9,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add xberg-io\u002Ftree-sitter-language-pack --skill mcp",{"tool":54,"command":55},"bunx","bunx skills add xberg-io\u002Ftree-sitter-language-pack --skill mcp",{"tool":57,"command":58},"pnpm","pnpm dlx skills add xberg-io\u002Ftree-sitter-language-pack --skill mcp","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Ftree-sitter-language-pack\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fmcp\u002FSKILL.md",true,[62],{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"prompt.md","REFERENCE","参考文档",5764,"https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fconfigs\u002Fskills\u002Fskill-new\u002Fprompt.md",[69,102,122,143,167,185],{"skillNo":70,"name":71,"nameZh":72,"description":73,"descriptionZh":74,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":75,"categories":76,"keywords":81,"publishedAt":33},"01M6BZ48YBWAZH9X1XZ6QVA5TD","tree-sitter-language-pack","tree-sitter 代码智能解析","Parse and extract code intelligence from 371 programming languages using tree-sitter grammars. Use when writing code that parses source, extracts structure\u002Fimports\u002Fexports\u002Fsymbols\u002Fdocstrings\u002Fcomments, detects a language, runs syntax diagnostics, or produces syntax-aware chunks for LLMs — in Rust, Python, Node.js\u002FTypeScript, or the ts-pack CLI. Covers installation, the CLI surface, the SDK surface, and parser-cache management.","使用 tree-sitter 语法从 371 种编程语言中解析并提取代码智能信息。适用于编写解析源代码、提取结构\u002F导入\u002F导出\u002F符号\u002F文档字符串\u002F注释、检测语言、运行语法诊断或为大模型（LLM）生成语法感知分块的代码——支持 Rust、Python、Node.js\u002FTypeScript 或 ts-pack CLI。涵盖安装、CLI 接口、SDK 接口以及解析器缓存管理。","https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Ftree-sitter-language-pack\u002Fblob\u002Fmain\u002Fskills\u002Ftree-sitter-language-pack\u002FSKILL.md",[77,78],{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":79,"categoryName":80,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8CBEPE1MJTS9ARYEK7J8BH4","代码解析与结构分析",[82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101],"tree sitter language pack","language pack","tree sitter","tree","language","pack","rust","writing","code","llms","cli","node","parser","typescript","io","structure","chunks","imports","parse","when",{"skillNo":103,"name":104,"nameZh":105,"description":106,"descriptionZh":107,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":108,"categories":109,"keywords":112,"publishedAt":33},"01M6BZ461Q0A0TZJG56G6J5QF0","tree-sitter-language-pack-using-the-mcp-server","tree-sitter MCP 服务使用","Use when parsing source, extracting code structure, or detecting a language through the tree-sitter-language-pack MCP server's tools, rather than shelling out to the ts-pack CLI. Covers the tool surface, the auto-installing launcher, and when MCP beats the CLI or SDK.","当需要通过 tree-sitter-language-pack 的 MCP 服务器工具来解析源代码、提取代码结构或检测语言（而非调用 ts-pack CLI）时使用。涵盖工具接口、自动安装启动器，以及 MCP 相较于 CLI 或 SDK 的优势场景。","https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Ftree-sitter-language-pack\u002Fblob\u002Fmain\u002Fskills\u002Ftree-sitter-language-pack-using-the-mcp-server\u002FSKILL.md",[110,111],{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":79,"categoryName":80,"taxonomyType":23,"taxonomyTypeDesc":24},[113,31,82,114,115,83,84,85,86,87,90,92,116,117,118,119,97,120,121,101],"tree sitter language pack using the mcp server","mcp server","server","detecting","extracting","launcher","auto","source","Tools",{"skillNo":123,"name":124,"nameZh":125,"description":126,"descriptionZh":127,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":128,"categories":129,"keywords":132,"publishedAt":33},"01M6BZ437CE3DZQ22GYHMNMMVK","tree-sitter-language-pack-parsing-source","源代码语法树解析","Use when the user wants a tree-sitter syntax tree for a source file — an s-expression dump or JSON tree. Covers `ts-pack parse`, language auto-detection vs `--language`, stdin input, and reading `has_errors`.","当用户需要为源文件生成 tree-sitter 语法树时使用——以 s-表达式转储或 JSON 树的形式呈现。涵盖 `ts-pack parse`、语言自动检测与 `--language` 的对比、标准输入（stdin）输入以及读取 `has_errors`。","https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Ftree-sitter-language-pack\u002Fblob\u002Fmain\u002Fskills\u002Ftree-sitter-language-pack-parsing-source\u002FSKILL.md",[130,131],{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":79,"categoryName":80,"taxonomyType":23,"taxonomyTypeDesc":24},[133,134,82,83,84,85,120,86,87,135,136,137,138,139,140,119,141,142,100,101],"parsing","tree sitter language pack parsing source","file","json","syntax","for","errors","expression","use","reading",{"skillNo":144,"name":145,"nameZh":146,"description":147,"descriptionZh":148,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":149,"categories":150,"keywords":155,"publishedAt":33},"01M6BZ40QMB2C6QF2N09MM15GF","tree-sitter-language-pack-managing-parsers","解析器缓存管理","Use when the user needs to manage the tree-sitter parser cache — prefetch parsers for offline or CI runs, list what is downloaded, inspect a language, find the cache directory, or clean it. Covers `ts-pack download`, `list`, `info`, `cache-dir`, `clean`, and `init`.","当用户需要管理 tree-sitter 解析器缓存时使用——为离线或 CI 运行预取解析器、列出已下载内容、检查某种语言、查找缓存目录或清理缓存。涵盖 `ts-pack download`、`list`、`info`、`cache-dir`、`clean` 和 `init`。","https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Ftree-sitter-language-pack\u002Fblob\u002Fmain\u002Fskills\u002Ftree-sitter-language-pack-managing-parsers\u002FSKILL.md",[151,152],{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":153,"categoryName":154,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理",[156,157,82,83,84,85,86,87,158,159,160,161,162,138,163,164,165,141,166,101],"parsers","tree sitter language pack managing parsers","ci","init","prefetch","cache","find","inspect","manage","clean","info",{"skillNo":168,"name":169,"nameZh":170,"description":171,"descriptionZh":172,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":173,"categories":174,"keywords":177,"publishedAt":33},"01M6BZ3Y1E46H4CPXVJD6SB03D","tree-sitter-language-pack-extracting-code-structure","代码结构提取","Use when the user wants structured code metadata from a source file — functions, classes, imports, exports, symbols, docstrings, comments, or syntax diagnostics. Covers `ts-pack process` feature flags, the JSON result shape, and the default feature set.","当用户需要从源文件获取结构化代码元数据时使用——包括函数、类、导入、导出、符号、文档字符串、注释或语法诊断。涵盖 `ts-pack process` 的功能开关、JSON 结果结构以及默认功能集。","https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Ftree-sitter-language-pack\u002Fblob\u002Fmain\u002Fskills\u002Ftree-sitter-language-pack-extracting-code-structure\u002FSKILL.md",[175,176],{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":79,"categoryName":80,"taxonomyType":23,"taxonomyTypeDesc":24},[178,82,90,83,84,117,97,85,86,87,179,180,181,137,182,183,120,99,184,101],"tree sitter language pack extracting code structure","extracting code structure","code structure","SET","default","flags","result",{"skillNo":186,"name":187,"nameZh":188,"description":189,"descriptionZh":190,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":191,"categories":192,"keywords":195,"publishedAt":33},"01M6BZ3VAJEY26GESPCWQ2JSXA","tree-sitter-language-pack-detecting-languages","编程语言检测","Use when the user wants to know which programming language a file or snippet is. Covers implicit detection in `ts-pack parse`\u002F`process`, confirming support with `ts-pack list`\u002F`info`, and the SDK detection functions for path, extension, and raw content.","当用户想知道某个文件或代码片段属于哪种编程语言时使用。涵盖 `ts-pack parse`\u002F`process` 中的隐式检测、通过 `ts-pack list`\u002F`info` 确认是否支持某种语言，以及用于路径、扩展名和原始内容的 SDK 检测函数。","https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Ftree-sitter-language-pack\u002Fblob\u002Fmain\u002Fskills\u002Ftree-sitter-language-pack-detecting-languages\u002FSKILL.md",[193,194],{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":79,"categoryName":80,"taxonomyType":23,"taxonomyTypeDesc":24},[196,82,83,84,85,116,86,87,197,135,198,199,200,138,141,201,202,166,100,101],"tree sitter language pack detecting languages","programming language","programming","support","which","functions","with"]