[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75M28A76ZZV86R8QC4QYCVB":3,"skill-same:01M75M28A76ZZV86R8QC4QYCVB":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M75M28A76ZZV86R8QC4QYCVB","codegraph",null,"使用 codegraph MCP 进行代码结构查询时加载此 Skill。 触发场景：查找函数定义、理解调用链、分析代码影响范围、 回答\"X 是怎么实现的\"等结构性代码问题时使用。","ydf0509\u002Flc-agent","ydf0509","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F26890690?v=4","01M75KX7AQYS5FN6KPSDJAVM43","01M75KX7C61TGAM4RM0M3K4XG6",8,"MIT","https:\u002F\u002Fgithub.com\u002Fydf0509\u002Flc-agent\u002Fblob\u002Fmain\u002Flc_agent\u002Fskills\u002Fthird_party_skills\u002Fcodegraph\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: codegraph\ndescription: >-\n  使用 codegraph MCP 进行代码结构查询时加载此 Skill。\n  触发场景：查找函数定义、理解调用链、分析代码影响范围、\n  回答\"X 是怎么实现的\"等结构性代码问题时使用。\n---\n\n# CodeGraph 使用指南\n\n本项目配置了 CodeGraph MCP 服务器，只暴露一个工具：`codegraph_explore`。CodeGraph 是基于 tree-sitter 解析的知识图谱，索引了代码库中的每个符号、边和文件。查询亚毫秒级，返回 grep 无法提供的结构化信息。\n\n## 用 `codegraph_explore` 代替读文件\n\n在任何**结构性问题**（X 是怎么工作的、X 怎么到达 Y、谁调用了谁、X 在哪里定义、了解某个区域）上，优先用 `codegraph_explore`，而不是 grep\u002Ffind\u002Fsearch_files 或 read_file。它接受自然语言问题或一组符号名\u002F文件名，返回相关符号的**逐行带编号的完整源码**（按文件分组，与 read_file 格式一致，可直接用于编辑），加上符号之间的**调用路径**（包括动态分发跳转：回调、React 重渲染、JSX children 等 grep 无法追踪的路径），以及**影响范围摘要**（哪些代码依赖了这些符号）。在查询中指定文件名或符号名即可读取其当前源码。\n\n## 使用原则\n\n1. **直接回答，不要委派探索任务**。一次 `codegraph_explore` 通常就能回答整个问题；如果需要更多细节，再次调用 `codegraph_explore` 指定更具体的符号名即可。codegraph 本身就是预构建的索引，不需要再派子 agent 去读文件——也不需要跑 grep + read 循环——那是在重复 codegraph 已经做过的工作，且消耗更多 token。\n\n2. **信任 codegraph 的结果**。它来自完整的 AST 解析。不要用 grep 重新验证——那样更慢、更不准确、且浪费上下文。\n\n3. **不要先 grep 或 read_file**。一次 `codegraph_explore` 就能在一个来回中返回相关源码。只有在需要确认 codegraph 未覆盖的细节，或查看 codegraph 不索引的内容（配置文件、文档）时，才用 read_file \u002F search_files。\n\n4. **索引延迟——看过期提示，不要猜等待时间**。如果 codegraph 返回 \"⚠️ Some files referenced below were edited since the last index sync…\"，对列出的文件使用 `read_file` 获取最新内容。未列出的文件仍然可信，codegraph 对它们是权威的。\n\n## 未初始化时\n\n如果 codegraph 返回 \"not initialized\"，提示用户：\n\n> 这个项目还没有初始化 CodeGraph 索引。需要我运行 `codegraph init -i` 来构建索引吗？\n","# CodeGraph 使用指南\n\n本项目配置了 CodeGraph MCP 服务器，只暴露一个工具：`codegraph_explore`。CodeGraph 是基于 tree-sitter 解析的知识图谱，索引了代码库中的每个符号、边和文件。查询亚毫秒级，返回 grep 无法提供的结构化信息。\n\n## 用 `codegraph_explore` 代替读文件\n\n在任何**结构性问题**（X 是怎么工作的、X 怎么到达 Y、谁调用了谁、X 在哪里定义、了解某个区域）上，优先用 `codegraph_explore`，而不是 grep\u002Ffind\u002Fsearch_files 或 read_file。它接受自然语言问题或一组符号名\u002F文件名，返回相关符号的**逐行带编号的完整源码**（按文件分组，与 read_file 格式一致，可直接用于编辑），加上符号之间的**调用路径**（包括动态分发跳转：回调、React 重渲染、JSX children 等 grep 无法追踪的路径），以及**影响范围摘要**（哪些代码依赖了这些符号）。在查询中指定文件名或符号名即可读取其当前源码。\n\n## 使用原则\n\n1. **直接回答，不要委派探索任务**。一次 `codegraph_explore` 通常就能回答整个问题；如果需要更多细节，再次调用 `codegraph_explore` 指定更具体的符号名即可。codegraph 本身就是预构建的索引，不需要再派子 agent 去读文件——也不需要跑 grep + read 循环——那是在重复 codegraph 已经做过的工作，且消耗更多 token。\n\n2. **信任 codegraph 的结果**。它来自完整的 AST 解析。不要用 grep 重新验证——那样更慢、更不准确、且浪费上下文。\n\n3. **不要先 grep 或 read_file**。一次 `codegraph_explore` 就能在一个来回中返回相关源码。只有在需要确认 codegraph 未覆盖的细节，或查看 codegraph 不索引的内容（配置文件、文档）时，才用 read_file \u002F search_files。\n\n4. **索引延迟——看过期提示，不要猜等待时间**。如果 codegraph 返回 \"⚠️ Some files referenced below were edited since the last index sync…\"，对列出的文件使用 `read_file` 获取最新内容。未列出的文件仍然可信，codegraph 对它们是权威的。\n\n## 未初始化时\n\n如果 codegraph 返回 \"not initialized\"，提示用户：\n\n> 这个项目还没有初始化 CodeGraph 索引。需要我运行 `codegraph init -i` 来构建索引吗？\n",{"name":5,"description":7},"main","c9d35c0e379f9b59b3807abb9a04d98437ffbffa","lc_agent\u002Fskills\u002Fthird_party_skills\u002Fcodegraph",2,"https:\u002F\u002Fgithub.com\u002Fydf0509\u002Flc-agent","https:\u002F\u002Fgithub.com\u002Fydf0509","研究oop编程思想","2026-11-05 17:49:50",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add ydf0509\u002Flc-agent --skill codegraph",{"tool":37,"command":38},"bunx","bunx skills add ydf0509\u002Flc-agent --skill codegraph",{"tool":40,"command":41},"pnpm","pnpm dlx skills add ydf0509\u002Flc-agent --skill codegraph","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fydf0509\u002Flc-agent\u002Fblob\u002Fmain\u002Flc_agent\u002Fskills\u002Fthird_party_skills\u002Fcodegraph\u002FSKILL.md",true,[],[46,52,59,66,73,80],{"skillNo":47,"name":48,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":18},"01M75M719FJ3D75G010QKKGS9P","vision-bridge","https:\u002F\u002Fgithub.com\u002Fydf0509\u002Flc-agent\u002Fblob\u002Fmain\u002Flc_agent\u002Fskills\u002Fthird_party_skills\u002Fvision-bridge\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M75M6WQ4JP3HHP635A4VA6XE","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002Fydf0509\u002Flc-agent\u002Fblob\u002Fmain\u002Flc_agent\u002Fskills\u002Fthird_party_skills\u002Fsuperpowers\u002Fwriting-skills\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"01M75M6SNFFXN1WM46XAJTZM2B","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002Fydf0509\u002Flc-agent\u002Fblob\u002Fmain\u002Flc_agent\u002Fskills\u002Fthird_party_skills\u002Fsuperpowers\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M75M6PR8M5KYVWT4XJGMY9Y9","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002Fydf0509\u002Flc-agent\u002Fblob\u002Fmain\u002Flc_agent\u002Fskills\u002Fthird_party_skills\u002Fsuperpowers\u002Fverification-before-completion\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M75M6KQX25K40ZP204NFF89K","using-superpowers","Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions","https:\u002F\u002Fgithub.com\u002Fydf0509\u002Flc-agent\u002Fblob\u002Fmain\u002Flc_agent\u002Fskills\u002Fthird_party_skills\u002Fsuperpowers\u002Fusing-superpowers\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"01M75M6FYAG0D8EP8WXYNMVKQM","using-git-worktrees","Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback","https:\u002F\u002Fgithub.com\u002Fydf0509\u002Flc-agent\u002Fblob\u002Fmain\u002Flc_agent\u002Fskills\u002Fthird_party_skills\u002Fsuperpowers\u002Fusing-git-worktrees\u002FSKILL.md",[],[]]