[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M787WMDPB8QDB3BA0PQ34A75":3,"skill-same:01M787WMDPB8QDB3BA0PQ34A75":48},{"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":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M787WMDPB8QDB3BA0PQ34A75","gitnexus-refactoring",null,"Use when the user wants to rename, extract, split, move, or restructure code safely. Examples: \"Rename this function\", \"Extract this into a module\", \"Refactor this class\", \"Move this to a separate file\"","RobinHoodO\u002Fjomo-guide","RobinHoodO","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F8345562?v=4","01M787V7P0JMXX586KQW23Z2WP","Robin T. Sverd","01M787V7Q2FW30DXR1T946T4DX",3,"MIT","https:\u002F\u002Fgithub.com\u002FRobinHoodO\u002Fjomo-guide\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgitnexus\u002Fgitnexus-refactoring\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: gitnexus-refactoring\ndescription: \"Use when the user wants to rename, extract, split, move, or restructure code safely. Examples: \\\"Rename this function\\\", \\\"Extract this into a module\\\", \\\"Refactor this class\\\", \\\"Move this to a separate file\\\"\"\n---\n\n# Refactoring with GitNexus\n\n## When to Use\n\n- \"Rename this function safely\"\n- \"Extract this into a module\"\n- \"Split this service\"\n- \"Move this to a new file\"\n- Any task involving renaming, extracting, splitting, or restructuring code\n\n## Workflow\n\n```\n1. impact({target: \"X\", direction: \"upstream\"})  → Map all dependents\n2. query({search_query: \"X\"})                            → Find execution flows involving X\n3. context({name: \"X\"})                           → See all incoming\u002Foutgoing refs\n4. Plan update order: interfaces → implementations → callers → tests\n```\n\n> If \"Index is stale\" → run `node .gitnexus\u002Frun.cjs analyze` in terminal.\n\n## Checklists\n\n### Rename Symbol\n\n```\n- [ ] rename({symbol_name: \"oldName\", new_name: \"newName\", dry_run: true}) — preview all edits\n- [ ] Review graph edits (high confidence) and text_search edits (review carefully)\n- [ ] If satisfied: rename({..., dry_run: false}) — apply edits\n- [ ] detect_changes() — verify only expected files changed\n- [ ] Run tests for affected processes\n```\n\n### Extract Module\n\n```\n- [ ] context({name: target}) — see all incoming\u002Foutgoing refs\n- [ ] impact({target, direction: \"upstream\"}) — find all external callers\n- [ ] Define new module interface\n- [ ] Extract code, update imports\n- [ ] detect_changes() — verify affected scope\n- [ ] Run tests for affected processes\n```\n\n### Split Function\u002FService\n\n```\n- [ ] context({name: target}) — understand all callees\n- [ ] Group callees by responsibility\n- [ ] impact({target, direction: \"upstream\"}) — map callers to update\n- [ ] Create new functions\u002Fservices\n- [ ] Update callers\n- [ ] detect_changes() — verify affected scope\n- [ ] Run tests for affected processes\n```\n\n## Tools\n\n**rename** — automated multi-file rename:\n\n```\nrename({symbol_name: \"validateUser\", new_name: \"authenticateUser\", dry_run: true})\n→ 12 edits across 8 files\n→ 10 graph edits (high confidence), 2 text_search edits (review)\n→ Changes: [{file_path, edits: [{line, old_text, new_text, confidence}]}]\n```\n\n**impact** — map all dependents first:\n\n```\nimpact({target: \"validateUser\", direction: \"upstream\"})\n→ d=1: loginHandler, apiMiddleware, testUtils\n→ Affected Processes: LoginFlow, TokenRefresh\n```\n\n**detect_changes** — verify your changes after refactoring:\n\n```\ndetect_changes({scope: \"all\"})\n→ Changed: 8 files, 12 symbols\n→ Affected processes: LoginFlow, TokenRefresh\n→ Risk: MEDIUM\n```\n\n**cypher** — custom reference queries:\n\n```cypher\nMATCH (caller)-[:CodeRelation {type: 'CALLS'}]->(f:Function {name: \"validateUser\"})\nRETURN caller.name, caller.filePath ORDER BY caller.filePath\n```\n\n## Risk Rules\n\n| Risk Factor         | Mitigation                                |\n| ------------------- | ----------------------------------------- |\n| Many callers (>5)   | Use rename for automated updates |\n| Cross-area refs     | Use detect_changes after to verify scope  |\n| String\u002Fdynamic refs | query to find them               |\n| External\u002Fpublic API | Version and deprecate properly            |\n\n## Example: Rename `validateUser` to `authenticateUser`\n\n```\n1. rename({symbol_name: \"validateUser\", new_name: \"authenticateUser\", dry_run: true})\n   → 12 edits: 10 graph (safe), 2 text_search (review)\n   → Files: validator.ts, login.ts, middleware.ts, config.json...\n\n2. Review text_search edits (config.json: dynamic reference!)\n\n3. rename({symbol_name: \"validateUser\", new_name: \"authenticateUser\", dry_run: false})\n   → Applied 12 edits across 8 files\n\n4. detect_changes({scope: \"all\"})\n   → Affected: LoginFlow, TokenRefresh\n   → Risk: MEDIUM — run tests for these flows\n```\n","# Refactoring with GitNexus\n\n## When to Use\n\n- \"Rename this function safely\"\n- \"Extract this into a module\"\n- \"Split this service\"\n- \"Move this to a new file\"\n- Any task involving renaming, extracting, splitting, or restructuring code\n\n## Workflow\n\n```\n1. impact({target: \"X\", direction: \"upstream\"})  → Map all dependents\n2. query({search_query: \"X\"})                            → Find execution flows involving X\n3. context({name: \"X\"})                           → See all incoming\u002Foutgoing refs\n4. Plan update order: interfaces → implementations → callers → tests\n```\n\n> If \"Index is stale\" → run `node .gitnexus\u002Frun.cjs analyze` in terminal.\n\n## Checklists\n\n### Rename Symbol\n\n```\n- [ ] rename({symbol_name: \"oldName\", new_name: \"newName\", dry_run: true}) — preview all edits\n- [ ] Review graph edits (high confidence) and text_search edits (review carefully)\n- [ ] If satisfied: rename({..., dry_run: false}) — apply edits\n- [ ] detect_changes() — verify only expected files changed\n- [ ] Run tests for affected processes\n```\n\n### Extract Module\n\n```\n- [ ] context({name: target}) — see all incoming\u002Foutgoing refs\n- [ ] impact({target, direction: \"upstream\"}) — find all external callers\n- [ ] Define new module interface\n- [ ] Extract code, update imports\n- [ ] detect_changes() — verify affected scope\n- [ ] Run tests for affected processes\n```\n\n### Split Function\u002FService\n\n```\n- [ ] context({name: target}) — understand all callees\n- [ ] Group callees by responsibility\n- [ ] impact({target, direction: \"upstream\"}) — map callers to update\n- [ ] Create new functions\u002Fservices\n- [ ] Update callers\n- [ ] detect_changes() — verify affected scope\n- [ ] Run tests for affected processes\n```\n\n## Tools\n\n**rename** — automated multi-file rename:\n\n```\nrename({symbol_name: \"validateUser\", new_name: \"authenticateUser\", dry_run: true})\n→ 12 edits across 8 files\n→ 10 graph edits (high confidence), 2 text_search edits (review)\n→ Changes: [{file_path, edits: [{line, old_text, new_text, confidence}]}]\n```\n\n**impact** — map all dependents first:\n\n```\nimpact({target: \"validateUser\", direction: \"upstream\"})\n→ d=1: loginHandler, apiMiddleware, testUtils\n→ Affected Processes: LoginFlow, TokenRefresh\n```\n\n**detect_changes** — verify your changes after refactoring:\n\n```\ndetect_changes({scope: \"all\"})\n→ Changed: 8 files, 12 symbols\n→ Affected processes: LoginFlow, TokenRefresh\n→ Risk: MEDIUM\n```\n\n**cypher** — custom reference queries:\n\n```cypher\nMATCH (caller)-[:CodeRelation {type: 'CALLS'}]->(f:Function {name: \"validateUser\"})\nRETURN caller.name, caller.filePath ORDER BY caller.filePath\n```\n\n## Risk Rules\n\n| Risk Factor         | Mitigation                                |\n| ------------------- | ----------------------------------------- |\n| Many callers (>5)   | Use rename for automated updates |\n| Cross-area refs     | Use detect_changes after to verify scope  |\n| String\u002Fdynamic refs | query to find them               |\n| External\u002Fpublic API | Version and deprecate properly            |\n\n## Example: Rename `validateUser` to `authenticateUser`\n\n```\n1. rename({symbol_name: \"validateUser\", new_name: \"authenticateUser\", dry_run: true})\n   → 12 edits: 10 graph (safe), 2 text_search (review)\n   → Files: validator.ts, login.ts, middleware.ts, config.json...\n\n2. Review text_search edits (config.json: dynamic reference!)\n\n3. rename({symbol_name: \"validateUser\", new_name: \"authenticateUser\", dry_run: false})\n   → Applied 12 edits across 8 files\n\n4. detect_changes({scope: \"all\"})\n   → Affected: LoginFlow, TokenRefresh\n   → Risk: MEDIUM — run tests for these flows\n```\n",{"name":5,"description":7},"main","9bb42127ade419897b72a5b808cf41586ebb94fe",".claude\u002Fskills\u002Fgitnexus\u002Fgitnexus-refactoring",0,"https:\u002F\u002Fgithub.com\u002FRobinHoodO\u002Fjomo-guide","https:\u002F\u002Fjomo-guide.vercel.app","https:\u002F\u002Fgithub.com\u002FRobinHoodO","https:\u002F\u002Fthrivbe.com","Founder of Thrivbe · building infrastructure for a regenerative world · AI that amplifies people","2026-10-28 03:28:31",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add RobinHoodO\u002Fjomo-guide --skill gitnexus-refactoring",{"tool":40,"command":41},"bunx","bunx skills add RobinHoodO\u002Fjomo-guide --skill gitnexus-refactoring",{"tool":43,"command":44},"pnpm","pnpm dlx skills add RobinHoodO\u002Fjomo-guide --skill gitnexus-refactoring","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FRobinHoodO\u002Fjomo-guide\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgitnexus\u002Fgitnexus-refactoring\u002FSKILL.md",true,[],[49,55,61,67,73,79],{"skillNo":50,"name":51,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M787XVZP53ARGM7EWRHDBEBZ","unfreeze","https:\u002F\u002Fgithub.com\u002FRobinHoodO\u002Fjomo-guide\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Funfreeze\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":6,"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},"01M787XTGEVEJNZK83E3VBQPZ4","sync-gbrain","https:\u002F\u002Fgithub.com\u002FRobinHoodO\u002Fjomo-guide\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsync-gbrain\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M787XSK3YFKQ9936DZNDB98Q","spec","https:\u002F\u002Fgithub.com\u002FRobinHoodO\u002Fjomo-guide\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fspec\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":6,"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},"01M787XR6SYGG4DKVVNNCSZBG0","skillify","https:\u002F\u002Fgithub.com\u002FRobinHoodO\u002Fjomo-guide\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fskillify\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M787XPRPKC9GPEVHNSYAZPHN","ship","https:\u002F\u002Fgithub.com\u002FRobinHoodO\u002Fjomo-guide\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fship\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M787XNQAPPYHGZWES0M2N3BY","setup-gbrain","https:\u002F\u002Fgithub.com\u002FRobinHoodO\u002Fjomo-guide\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsetup-gbrain\u002FSKILL.md",[],[]]