[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72Y030B4BTQAECMF4P0P5HE":3,"skill-same:01M72Y030B4BTQAECMF4P0P5HE":50},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":43},"01M72Y030B4BTQAECMF4P0P5HE","research-codebase",null,"Map how the code a ticket touches works today, then name the next step: develop, refactor, or grill-with-docs.","lithammer\u002Fai","lithammer","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F177685?v=4","01M72XZ1CBM905458R0T7AGP87","Peter Lithammer","01M72XZ1CYWE22YVYQ43NJQZQB",0,"MIT","https:\u002F\u002Fgithub.com\u002Flithammer\u002Fai\u002Fblob\u002Fmain\u002Fskills\u002Fresearch-codebase\u002FSKILL.md",[],[],"2026-11-10 22:39:42",false,"---\nname: research-codebase\ndescription: \"Map how the code a ticket touches works today, then name the next step: develop, refactor, or grill-with-docs.\"\ndisable-model-invocation: true\n---\n\n# Research codebase\n\nMap the code a ticket touches as it stands, so the next step starts from\nfacts instead of finding them again. The map describes; the next step\ndecides, so every choice stays open for the user.\n\n## 1. Frame the questions\n\nRead the ticket and the files it names before dispatching anything. Turn the\nticket into questions about the current code: where the relevant parts live,\nhow data and control flow through them, which callers, tests, and\nconfiguration depend on them, which patterns nearby code follows, and where\nthe need the ticket addresses originates, such as a bug's cause. Each\nquestion asks how the code works now.\n\nWhen the ticket names no area of code to change, there is nothing to map yet:\nroute to `grill-with-docs` and stop.\n\n## 2. Investigate\n\nDispatch a sub-agent for each independent question, so the main context\nholds the questions and findings, not the reading. Each sub-agent returns\nobservations with `path:line`.\n\nThe step is done when every question has an answer backed by `path:line`, or\nis marked open with the places searched.\n\n## 3. Write the map\n\nWrite one Markdown file:\n\n```markdown\n# \u003Ctopic>\n\nTicket: \u003Creference>\nCommit: \u003Cshort sha>\n\n## Questions\n\n\u003Cnumbered, as framed in step 1>\n\n## Findings\n\n\u003Cper question: what exists, where, how it works, how parts connect>\n\n## Open\n\n\u003Cquestions the code did not answer, with the places searched>\n```\n\nWrite every finding as an observation of the current code. A gap or quirk is\na fact with a location like any other.\n\nThe map describes one commit and goes stale as the change lands. Save it where\nthe repository keeps working notes for tasks; when it has none, under\n`.research\u002F` at the repository root, with `.research\u002F` listed in\n`.git\u002Finfo\u002Fexclude` to keep it out of commits.\n\n## 4. Route\n\nBefore naming the route, open the cited lines for each fact it rests on.\nReply with a short summary of the map, its path, and the first route that\napplies:\n\n- **`refactor`** when the map traces the ticket's need to a cause outside\n  the code the ticket names, and a structural change no larger than the\n  ticket's own could remove the need.\n- **`develop`** when the ticket and the map leave one reasonable way to make\n  the change: no open choice alters observable behavior or an interface.\n- **`grill-with-docs`** when a choice remains that is the user's to make.\n  List each choice in one line.\n\nThe user starts the next step, often in a fresh session given the map's path.\n","# Research codebase\n\nMap the code a ticket touches as it stands, so the next step starts from\nfacts instead of finding them again. The map describes; the next step\ndecides, so every choice stays open for the user.\n\n## 1. Frame the questions\n\nRead the ticket and the files it names before dispatching anything. Turn the\nticket into questions about the current code: where the relevant parts live,\nhow data and control flow through them, which callers, tests, and\nconfiguration depend on them, which patterns nearby code follows, and where\nthe need the ticket addresses originates, such as a bug's cause. Each\nquestion asks how the code works now.\n\nWhen the ticket names no area of code to change, there is nothing to map yet:\nroute to `grill-with-docs` and stop.\n\n## 2. Investigate\n\nDispatch a sub-agent for each independent question, so the main context\nholds the questions and findings, not the reading. Each sub-agent returns\nobservations with `path:line`.\n\nThe step is done when every question has an answer backed by `path:line`, or\nis marked open with the places searched.\n\n## 3. Write the map\n\nWrite one Markdown file:\n\n```markdown\n# \u003Ctopic>\n\nTicket: \u003Creference>\nCommit: \u003Cshort sha>\n\n## Questions\n\n\u003Cnumbered, as framed in step 1>\n\n## Findings\n\n\u003Cper question: what exists, where, how it works, how parts connect>\n\n## Open\n\n\u003Cquestions the code did not answer, with the places searched>\n```\n\nWrite every finding as an observation of the current code. A gap or quirk is\na fact with a location like any other.\n\nThe map describes one commit and goes stale as the change lands. Save it where\nthe repository keeps working notes for tasks; when it has none, under\n`.research\u002F` at the repository root, with `.research\u002F` listed in\n`.git\u002Finfo\u002Fexclude` to keep it out of commits.\n\n## 4. Route\n\nBefore naming the route, open the cited lines for each fact it rests on.\nReply with a short summary of the map, its path, and the first route that\napplies:\n\n- **`refactor`** when the map traces the ticket's need to a cause outside\n  the code the ticket names, and a structural change no larger than the\n  ticket's own could remove the need.\n- **`develop`** when the ticket and the map leave one reasonable way to make\n  the change: no open choice alters observable behavior or an interface.\n- **`grill-with-docs`** when a choice remains that is the user's to make.\n  List each choice in one line.\n\nThe user starts the next step, often in a fresh session given the map's path.\n",{"name":5,"description":7,"disable-model-invocation":24},true,"main","df264950149be91206d42ffeebdeb6b5289aa23b","skills\u002Fresearch-codebase","https:\u002F\u002Fgithub.com\u002Flithammer\u002Fai","https:\u002F\u002Fgithub.com\u002Flithammer","2026-11-13 19:30:46",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":24},[33,36,39],{"tool":34,"command":35},"npx","npx skills add lithammer\u002Fai --skill research-codebase",{"tool":37,"command":38},"bunx","bunx skills add lithammer\u002Fai --skill research-codebase",{"tool":40,"command":41},"pnpm","pnpm dlx skills add lithammer\u002Fai --skill research-codebase","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flithammer\u002Fai\u002Fblob\u002Fmain\u002Fskills\u002Fresearch-codebase\u002FSKILL.md",[44],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"agents\u002Fopenai.yaml","REFERENCE","参考文档",119,"https:\u002F\u002Fgithub.com\u002Flithammer\u002Fai\u002Fblob\u002Fmain\u002Fskills\u002Fresearch-codebase\u002Fagents\u002Fopenai.yaml",[51,59,66,73,80,87],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":58},"01M74AAAPNY933TSRZHM4PSKZ3","shape","Review a working change for its shape (cause, ownership, states, names, size, reuse, cost), then apply what you accept.","https:\u002F\u002Fgithub.com\u002Flithammer\u002Fai\u002Fblob\u002Fmain\u002Fskills\u002Fshape\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":58},"01M74AA65VBXVA11AA8JPBNYW6","correctness","Review a working change for defects (logic, state, lifecycle, concurrency, regression) and for drift from its ticket, docs, and rules, then apply what you accept.","https:\u002F\u002Fgithub.com\u002Flithammer\u002Fai\u002Fblob\u002Fmain\u002Fskills\u002Fcorrectness\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M72Y19CBNJ6SDBY29A9JZ0GV","zero-tech-debt","Rework a change as if the intended UX and architecture existed from day one, deleting compatibility cruft and accidental complexity.","https:\u002F\u002Fgithub.com\u002Flithammer\u002Fai\u002Fblob\u002Fmain\u002Fskills\u002Fzero-tech-debt\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M72Y1441P3HZAT87MT4MWMQQ","waterfall-review","Review a code change by dispatching specialized review subagents in parallel — each focused on a single dimension (correctness, security, architecture, etc.) — then triaging their findings into a unified report. Works standalone on a branch or as part of the waterfall flow after implementation. Invoke when the user explicitly asks to review a branch or diff, or as a step inside waterfall-implement; avoid auto-triggering on casual mentions of \"review\".","https:\u002F\u002Fgithub.com\u002Flithammer\u002Fai\u002Fblob\u002Fmain\u002Fskills\u002Fwaterfall\u002Fwaterfall-review\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M72Y0ZGMWP5EZHRD5DB3SHKM","waterfall-refactor","Identify refactoring opportunities in code that a feature will touch. Runs at strategic level during design (looking for structural moves that could change which approach is chosen) or tactical level before implementation (looking for pre-work that gives the feature a better foundation). Primarily invoked by waterfall-design or waterfall-implement; avoid auto-triggering on casual mentions of \"refactor\".","https:\u002F\u002Fgithub.com\u002Flithammer\u002Fai\u002Fblob\u002Fmain\u002Fskills\u002Fwaterfall\u002Fwaterfall-refactor\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M72Y0X02J7VCBG9S3AJV7W16","waterfall-plan","Detail a chosen design approach into an implementation plan (objective, file manifest, execution order, test strategy), then auto-proceed to waterfall-challenge. Convergent phase of the waterfall flow.","https:\u002F\u002Fgithub.com\u002Flithammer\u002Fai\u002Fblob\u002Fmain\u002Fskills\u002Fwaterfall\u002Fwaterfall-plan\u002FSKILL.md",[],[]]