[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BGQN1B44SYCW0PASFX4GDB":3,"skill-same:01M7BGQN1B44SYCW0PASFX4GDB":53},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7BGQN1B44SYCW0PASFX4GDB","codebase-exploration",null,"USE FOR: understanding an unfamiliar repository and how it got that way — its layout, where a behaviour is implemented, and when and why a particular function or line last changed. NOT FOR: editing files, or assessing whether a project is healthy overall.","github\u002Fgithub-mcp-server","github","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9919?v=4","01M6AC83DS133TPXFSP1DHNCC6","GitHub","01M7BGQFA8MGC5Z2H648SBHW0V",34465,"MIT","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgithub-mcp-server\u002Fblob\u002Fmain\u002Fpkg\u002Fskills\u002Fcatalog\u002Fskills\u002Fcodebase-exploration\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: codebase-exploration\ndescription: \"USE FOR: understanding an unfamiliar repository and how it got that way — its layout, where a behaviour is implemented, and when and why a particular function or line last changed. NOT FOR: editing files, or assessing whether a project is healthy overall.\"\n---\n\n# Understanding a repository you have not read\n\nTwo questions arrive dressed as one: where does this happen, and why is it like this.\nAnswer the first from the layout and the code, the second from the commits — and never\nguess at either from a file name.\n\n## Sequence\n\n1. **Take the shape before the contents.** `get_repository_tree` with `recursive: true`\n   returns the whole layout in one call. On a large repository, set `path_filter` to a\n   prefix and take the top level first; the directory names alone usually identify the\n   entry points, the tests and the generated code.\n2. **Read the documents the project wrote about itself.** `get_file_contents` on the\n   README and any contributing guide. They state intent, which no amount of code\n   reading recovers.\n3. **Establish where the current work is.** `list_branches` shows what exists beside\n   the default branch, and `list_tags` shows whether the project versions itself. If it\n   does, the newest tag is a better reading point than the default branch, because it\n   is a state someone chose to publish.\n4. **Find the behaviour, do not browse for it.** `search_code` with `repo:owner\u002Fname`\n   and a distinctive symbol goes straight there. Qualify with `path:` and\n   `language:` to cut noise; quote a phrase for an exact match. Keep the `query` under\n   256 characters, and use `fields` to return only `path` and `text_matches` when you\n   are locating rather than reading.\n5. **Read around every match.** A search result is a line; `get_file_contents` gives it\n   the context that decides whether it is the definition, a caller, or a test.\n6. **Ask why only once you know where.** `list_commits` with `path` set to the file\n   gives that file's history in change order. This is where the layout question ends\n   and the history question begins — `references\u002Fhistory-investigation.md` covers the\n   rest.\n7. **Report a route, not a conclusion.** Name the files, the symbols and the commits\n   you actually read, so the next person can start where you finished.\n\n## Decision points\n\n- **Structure first, always.** Reading files chosen by name before seeing the tree is\n  how exploration turns into a tour of the wrong directory.\n- **Search scope decides everything.** `search_code` spans all of GitHub unless\n  `repo:` or `org:` narrows it. An unscoped query returns other people's code, which\n  looks plausible and answers nothing.\n- **Prefer the smallest sufficient read.** A directory listing, then a search, then one\n  file. Pulling whole directories of contents to find one symbol is slow and buries the\n  answer.\n- **Generated code is not evidence.** Vendored trees, lock files and generated sources\n  will match a search and tell you nothing about intent. Exclude them by `path:` once\n  you have seen them appear.\n- **The default branch may not be the truth.** If the newest tag is well behind the\n  default branch, the two describe different software; say which one you read.\n\n## Fields that matter\n\n- `recursive` and `path_filter` — the difference between one call and a hundred, and\n  between a readable tree and an unreadable one.\n- `ref` versus `sha` on `get_file_contents` — `ref` reads a branch or tag as it is now,\n  `sha` reads one exact commit. Only the second is stable while you work.\n- `query` qualifiers on `search_code` — `repo:`, `org:`, `path:`, `filename:`,\n  `extension:`, `language:`, and `NOT` for exclusions. Ordering belongs in `sort` and\n  `order`, never inside the query text.\n- `path` on `list_commits` — restricts history to one file, which is the single most\n  useful narrowing available.\n- `detail` on `get_commit` — `stats` names the changed files, `full_patch` includes the\n  diff and can be enormous. Ask for `none` when you only want the message and author.\n- `fields` — on both the tree read and the searches, returning fewer fields is what\n  keeps a wide exploration affordable.\n\n## Confirm before going wider\n\nEverything here is read-only, so the risk is not damage but scope: an exploration that\nquietly becomes an audit, or that reads far more than was asked for.\n\n- **Agree the boundary when a question spans repositories.** Searching an entire\n  organisation is a different task from reading one repository, and costs\n  correspondingly more. Ask before widening.\n- **Ask before reading at volume.** If answering properly means pulling a large number\n  of files or a very large diff, say what it would take and get agreement rather than\n  starting.\n- **Say when a question has become a change.** \"Why is it like this\" sometimes ends in\n  \"so fix it\". Nothing here writes; stop at the finding and confirm the next step\n  separately.\n\n## Empty and failure cases\n\n- **The tree is truncated** — very large repositories exceed what one call returns.\n  Narrow with `path_filter` rather than treating the partial tree as complete, and say\n  it was partial.\n- **A search returns nothing** — the symbol may be constructed rather than written\n  literally, spelled differently, or in a language the index does not cover. Try a\n  distinctive fragment, then fall back to reading the directory the tree suggests.\n- **A search returns hundreds of matches** — the term is too common. Add `path:` or\n  `language:`, or quote a longer phrase. Do not page through them.\n- **A path is not found** — it may have been moved or deleted rather than never having\n  existed. `search_commits` for the old name distinguishes those, and the distinction\n  usually is the answer.\n- **The repository is empty or has no default branch** — report that rather than an\n  empty layout, which reads as \"nothing relevant here\".\n- **A file is too large to return** — say so and work from the tree, the search matches\n  and the commit history instead of pretending it was read.\n","# Understanding a repository you have not read\n\nTwo questions arrive dressed as one: where does this happen, and why is it like this.\nAnswer the first from the layout and the code, the second from the commits — and never\nguess at either from a file name.\n\n## Sequence\n\n1. **Take the shape before the contents.** `get_repository_tree` with `recursive: true`\n   returns the whole layout in one call. On a large repository, set `path_filter` to a\n   prefix and take the top level first; the directory names alone usually identify the\n   entry points, the tests and the generated code.\n2. **Read the documents the project wrote about itself.** `get_file_contents` on the\n   README and any contributing guide. They state intent, which no amount of code\n   reading recovers.\n3. **Establish where the current work is.** `list_branches` shows what exists beside\n   the default branch, and `list_tags` shows whether the project versions itself. If it\n   does, the newest tag is a better reading point than the default branch, because it\n   is a state someone chose to publish.\n4. **Find the behaviour, do not browse for it.** `search_code` with `repo:owner\u002Fname`\n   and a distinctive symbol goes straight there. Qualify with `path:` and\n   `language:` to cut noise; quote a phrase for an exact match. Keep the `query` under\n   256 characters, and use `fields` to return only `path` and `text_matches` when you\n   are locating rather than reading.\n5. **Read around every match.** A search result is a line; `get_file_contents` gives it\n   the context that decides whether it is the definition, a caller, or a test.\n6. **Ask why only once you know where.** `list_commits` with `path` set to the file\n   gives that file's history in change order. This is where the layout question ends\n   and the history question begins — `references\u002Fhistory-investigation.md` covers the\n   rest.\n7. **Report a route, not a conclusion.** Name the files, the symbols and the commits\n   you actually read, so the next person can start where you finished.\n\n## Decision points\n\n- **Structure first, always.** Reading files chosen by name before seeing the tree is\n  how exploration turns into a tour of the wrong directory.\n- **Search scope decides everything.** `search_code` spans all of GitHub unless\n  `repo:` or `org:` narrows it. An unscoped query returns other people's code, which\n  looks plausible and answers nothing.\n- **Prefer the smallest sufficient read.** A directory listing, then a search, then one\n  file. Pulling whole directories of contents to find one symbol is slow and buries the\n  answer.\n- **Generated code is not evidence.** Vendored trees, lock files and generated sources\n  will match a search and tell you nothing about intent. Exclude them by `path:` once\n  you have seen them appear.\n- **The default branch may not be the truth.** If the newest tag is well behind the\n  default branch, the two describe different software; say which one you read.\n\n## Fields that matter\n\n- `recursive` and `path_filter` — the difference between one call and a hundred, and\n  between a readable tree and an unreadable one.\n- `ref` versus `sha` on `get_file_contents` — `ref` reads a branch or tag as it is now,\n  `sha` reads one exact commit. Only the second is stable while you work.\n- `query` qualifiers on `search_code` — `repo:`, `org:`, `path:`, `filename:`,\n  `extension:`, `language:`, and `NOT` for exclusions. Ordering belongs in `sort` and\n  `order`, never inside the query text.\n- `path` on `list_commits` — restricts history to one file, which is the single most\n  useful narrowing available.\n- `detail` on `get_commit` — `stats` names the changed files, `full_patch` includes the\n  diff and can be enormous. Ask for `none` when you only want the message and author.\n- `fields` — on both the tree read and the searches, returning fewer fields is what\n  keeps a wide exploration affordable.\n\n## Confirm before going wider\n\nEverything here is read-only, so the risk is not damage but scope: an exploration that\nquietly becomes an audit, or that reads far more than was asked for.\n\n- **Agree the boundary when a question spans repositories.** Searching an entire\n  organisation is a different task from reading one repository, and costs\n  correspondingly more. Ask before widening.\n- **Ask before reading at volume.** If answering properly means pulling a large number\n  of files or a very large diff, say what it would take and get agreement rather than\n  starting.\n- **Say when a question has become a change.** \"Why is it like this\" sometimes ends in\n  \"so fix it\". Nothing here writes; stop at the finding and confirm the next step\n  separately.\n\n## Empty and failure cases\n\n- **The tree is truncated** — very large repositories exceed what one call returns.\n  Narrow with `path_filter` rather than treating the partial tree as complete, and say\n  it was partial.\n- **A search returns nothing** — the symbol may be constructed rather than written\n  literally, spelled differently, or in a language the index does not cover. Try a\n  distinctive fragment, then fall back to reading the directory the tree suggests.\n- **A search returns hundreds of matches** — the term is too common. Add `path:` or\n  `language:`, or quote a longer phrase. Do not page through them.\n- **A path is not found** — it may have been moved or deleted rather than never having\n  existed. `search_commits` for the old name distinguishes those, and the distinction\n  usually is the answer.\n- **The repository is empty or has no default branch** — report that rather than an\n  empty layout, which reads as \"nothing relevant here\".\n- **A file is too large to return** — say so and work from the tree, the search matches\n  and the commit history instead of pretending it was read.\n",{"name":5,"description":7},"main","0663b830582af923e30fb14cb2e10dd3248baa86","pkg\u002Fskills\u002Fcatalog\u002Fskills\u002Fcodebase-exploration",5349,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgithub-mcp-server","https:\u002F\u002Fgithub.com\u002Fgithub","https:\u002F\u002Fgithub.com\u002Fabout","How people build software.","2026-11-14 04:25:40",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add github\u002Fgithub-mcp-server --skill codebase-exploration",{"tool":39,"command":40},"bunx","bunx skills add github\u002Fgithub-mcp-server --skill codebase-exploration",{"tool":42,"command":43},"pnpm","pnpm dlx skills add github\u002Fgithub-mcp-server --skill codebase-exploration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgithub-mcp-server\u002Fblob\u002Fmain\u002Fpkg\u002Fskills\u002Fcatalog\u002Fskills\u002Fcodebase-exploration\u002FSKILL.md",true,[47],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fhistory-investigation.md","REFERENCE","参考文档",3957,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgithub-mcp-server\u002Fblob\u002Fmain\u002Fpkg\u002Fskills\u002Fcatalog\u002Fskills\u002Fcodebase-exploration\u002Freferences\u002Fhistory-investigation.md",[54,61,68,75,82,89],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7BGT3EPF1HCGVD1FREPH341","workflow-failure-triage","USE FOR: diagnosing a failing GitHub Actions workflow run — a build gone red, which jobs failed, what their logs say, where the failing step is, and whether a rerun is justified. NOT FOR: judging long-term reliability trends across a repository, or deciding whether a change is ready to ship.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgithub-mcp-server\u002Fblob\u002Fmain\u002Fpkg\u002Fskills\u002Fcatalog\u002Fskills\u002Fworkflow-failure-triage\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7BGSYRT2YATCHJVYG1HJV58","security-alert-triage","USE FOR: investigating GitHub security alerts — code scanning, Dependabot, secret scanning and advisories — and deciding what to fix now, schedule, dismiss, or escalate. NOT FOR: summarising overall repository health, or reviewing feedback on a pull request.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgithub-mcp-server\u002Fblob\u002Fmain\u002Fpkg\u002Fskills\u002Fcatalog\u002Fskills\u002Fsecurity-alert-triage\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7BGSSTX01K1SF73VTW372Z3","repository-health-review","USE FOR: judging how well a repository is maintained overall — release cadence, branch and proposal age, issue inflow, build reliability, how many people can maintain it, and outstanding alert counts. NOT FOR: acting on any individual issue, alert or proposed change, or cutting a specific release.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgithub-mcp-server\u002Fblob\u002Fmain\u002Fpkg\u002Fskills\u002Fcatalog\u002Fskills\u002Frepository-health-review\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7BGSN2K6WD9PP5YWGV5XX6G","repository-discovery","USE FOR: finding a library, tool or organisation you cannot yet name, judging whether a candidate project is worth depending on, and keeping a starred shortlist useful. NOT FOR: searching inside a repository you have already chosen, or setting one up.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgithub-mcp-server\u002Fblob\u002Fmain\u002Fpkg\u002Fskills\u002Fcatalog\u002Fskills\u002Frepository-discovery\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7BGSGH96DJFA2VTSKS57CAJ","repository-content-changes","USE FOR: changing what a repository holds or whether it exists at all — opening a working branch, committing files remotely, deleting what should go, and creating, forking or removing the repository itself. NOT FOR: proposing those changes for review, or reading code you do not intend to touch.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgithub-mcp-server\u002Fblob\u002Fmain\u002Fpkg\u002Fskills\u002Fcatalog\u002Fskills\u002Frepository-content-changes\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7BGSCD3HCWAG7NX35VT8XG2","release-preparation","USE FOR: cutting a release of a repository — picking the version, assembling the changelog since the last tag, confirming the branch is releasable, and drafting release notes. NOT FOR: assessing overall repository health, triaging security alerts, or working an issue backlog.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgithub-mcp-server\u002Fblob\u002Fmain\u002Fpkg\u002Fskills\u002Fcatalog\u002Fskills\u002Frelease-preparation\u002FSKILL.md",[],[]]