[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ECNVFNC45Y7V2ZFFMVVSWH":3,"skill-same:01M7ECNVFNC45Y7V2ZFFMVVSWH":49},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":13,"repositoryHtmlUrl":25,"repositoryHomepageUrl":6,"ownerHtmlUrl":26,"ownerBlogUrl":6,"ownerDescription":27,"updatedAt":28,"install":29,"resources":42},"01M7ECNVFNC45Y7V2ZFFMVVSWH","review-pr",null,"jonahthan433\u002FCortexOS","jonahthan433","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F211465495?v=4","01M7ECH9HPHGA89DCXHHJBTS3C","jonah.ai","01M7ECH9JCEM45DZMWPT7148S1",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002Fcode-review-graph\u002Freview-pr\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# review-pr\n\n# Review PR\n\nPerform a comprehensive code review of a pull request or branch diff using the knowledge graph.\n\n**Token optimization:** Before starting, call `get_docs_section_tool(section_name=\"review-pr\")` for the optimized workflow. Never include full files unless explicitly asked.\n\n## Steps\n\n1. **Identify the changes** for the PR:\n   - If a PR number or branch is provided, use `git diff main...\u003Cbranch>` to get changed files\n   - Otherwise auto-detect from the current branch vs main\u002Fmaster\n\n2. **Update the graph** by calling `build_or_update_graph_tool(base=\"main\")` to ensure the graph reflects the current state.\n\n3. **Get the full review context** by calling `get_review_context_tool(base=\"main\")`:\n   - This uses `main` (or the specified base branch) as the diff base\n   - Returns all changed files across all commits in the PR\n\n4. **Analyze impact** by calling `get_impact_radius_tool(base=\"main\")`:\n   - Review the blast radius across the entire PR\n   - Identify high-risk areas (widely depended-upon code)\n\n5. **Deep-dive each changed file**:\n   - Read the full source of files with significant changes\n   - Use `query_graph_tool(pattern=\"callers_of\", target=\u003Cfunc>)` for high-risk functions\n   - Use `query_graph_tool(pattern=\"tests_for\", target=\u003Cfunc>)` to verify test coverage\n   - Check for breaking changes in public APIs\n\n6. **Generate structured review output**:\n\n   ```\n   ## PR Review: \u003Ctitle>\n\n   ### Summary\n   \u003C1-3 sentence overview>\n\n   ### Risk Assessment\n   - **Overall risk**: Low \u002F Medium \u002F High\n   - **Blast radius**: X files, Y functions impacted\n   - **Test coverage**: N changed functions covered \u002F M total\n\n   ### File-by-File Review\n   #### \u003Cfile_path>\n   - Changes: \u003Cdescription>\n   - Impact: \u003Cwho depends on this>\n   - Issues: \u003Cbugs, style, concerns>\n\n   ### Missing Tests\n   - \u003Cfunction_name> in \u003Cfile> - no test coverage found\n\n   ### Recommendations\n   1. \u003Cactionable suggestion>\n   2. \u003Cactionable suggestion>\n   ```\n\n## Tips\n\n- For large PRs, focus on the highest-impact files first (most dependents)\n- Use `semantic_search_nodes_tool` to find related code the PR might have missed\n- Check if renamed\u002Fmoved functions have updated all callers\n",{},"main","38b32c99e7ed0b8e215d638e92cfa452c1ec3079","skills\u002Fimported\u002Fcode-review-graph\u002Freview-pr","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS","https:\u002F\u002Fgithub.com\u002Fjonahthan433","AI Consultant","2026-10-24 05:13:39",{"source":7,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add jonahthan433\u002FCortexOS --skill review-pr",{"tool":35,"command":36},"bunx","bunx skills add jonahthan433\u002FCortexOS --skill review-pr",{"tool":38,"command":39},"pnpm","pnpm dlx skills add jonahthan433\u002FCortexOS --skill review-pr","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002Fcode-review-graph\u002Freview-pr\u002FSKILL.md",true,[43],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"skill.json","REFERENCE","参考文档",414,"https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002Fcode-review-graph\u002Freview-pr\u002Fskill.json",[50,56,62,68,74,80],{"skillNo":51,"name":52,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":18},"01M7EDQZDQX3Q8Y7GCQX6KN9V7","opportunity-brief","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fsales\u002Fopportunity-brief\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M7EDQYA0V9Y99VKBREJJ3MRT","morning-intel","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fmorning-intel\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M7EDQVX1JVY0B6PDHKKGM19G","decision-brief","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fdecision-brief\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M7EDQV1GENZAC2SZSD8KZ3GM","weekly-review","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fweekly-review\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M7EDQT2KETJ1Y3CGVN9EKW2J","system-health","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fops\u002Fsystem-health\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7EDQQN2JK3XPWMS1M4T0F3K","backup-restore","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fops\u002Fbackup-restore\u002FSKILL.md",[],[]]