{"id":"50ed5019-bf4f-4d6b-ad41-8399faa7784a","shortId":"8EHUuY","kind":"skill","title":"Refactor Plan","tagline":"Awesome Copilot skill by Github","description":"# Refactor Plan\n\nCreate a detailed plan for this refactoring task.\n\n## Refactor Goal\n\n{{refactor_description}}\n\n## Instructions\n\n1. Search the codebase to understand current state\n2. Identify all affected files and their dependencies\n3. Plan changes in a safe sequence (types first, then implementations, then tests)\n4. Include verification steps between changes\n5. Consider rollback if something fails\n\n## Output Format\n\n```markdown\n## Refactor Plan: [title]\n\n### Current State\n[Brief description of how things work now]\n\n### Target State\n[Brief description of how things will work after]\n\n### Affected Files\n| File | Change Type | Dependencies |\n|------|-------------|--------------|\n| path | modify/create/delete | blocks X, blocked by Y |\n\n### Execution Plan\n\n#### Phase 1: Types and Interfaces\n- [ ] Step 1.1: [action] in `file.ts`\n- [ ] Verify: [how to check it worked]\n\n#### Phase 2: Implementation\n- [ ] Step 2.1: [action] in `file.ts`\n- [ ] Verify: [how to check]\n\n#### Phase 3: Tests\n- [ ] Step 3.1: Update tests in `file.test.ts`\n- [ ] Verify: Run `npm test`\n\n#### Phase 4: Cleanup\n- [ ] Remove deprecated code\n- [ ] Update documentation\n\n### Rollback Plan\nIf something fails:\n1. [Step to undo]\n2. [Step to undo]\n\n### Risks\n- [Potential issue and mitigation]\n```\n\nShall I proceed with Phase 1?","tags":["refactor","plan","awesome","copilot","github"],"capabilities":["skill","source-github","category-awesome-copilot"],"categories":["awesome-copilot"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/github/awesome-copilot/refactor-plan","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"install_from":"skills.sh"}},"qualityScore":"0.300","qualityRationale":"deterministic score 0.30 from registry signals: · indexed on skills.sh · published under github/awesome-copilot","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill:v1","enrichmentVersion":1,"enrichedAt":"2026-04-22T17:40:17.229Z","embedding":null,"createdAt":"2026-04-18T20:25:25.748Z","updatedAt":"2026-04-22T17:40:17.229Z","lastSeenAt":"2026-04-22T17:40:17.229Z","tsv":"'1':23,105,158,176 '1.1':110 '2':31,121,162 '2.1':124 '3':39,133 '3.1':136 '4':52,146 '5':58 'action':111,125 'affect':34,89 'awesom':3 'block':97,99 'brief':72,81 'category-awesome-copilot' 'chang':41,57,92 'check':117,131 'cleanup':147 'code':150 'codebas':26 'consid':59 'copilot':4 'creat':10 'current':29,70 'depend':38,94 'deprec':149 'descript':21,73,82 'detail':12 'document':152 'execut':102 'fail':63,157 'file':35,90,91 'file.test.ts':140 'file.ts':113,127 'first':47 'format':65 'github':7 'goal':19 'identifi':32 'implement':49,122 'includ':53 'instruct':22 'interfac':108 'issu':168 'markdown':66 'mitig':170 'modify/create/delete':96 'npm':143 'output':64 'path':95 'phase':104,120,132,145,175 'plan':2,9,13,40,68,103,154 'potenti':167 'proceed':173 'refactor':1,8,16,18,20,67 'remov':148 'risk':166 'rollback':60,153 'run':142 'safe':44 'search':24 'sequenc':45 'shall':171 'skill':5 'someth':62,156 'source-github' 'state':30,71,80 'step':55,109,123,135,159,163 'target':79 'task':17 'test':51,134,138,144 'thing':76,85 'titl':69 'type':46,93,106 'understand':28 'undo':161,165 'updat':137,151 'verif':54 'verifi':114,128,141 'work':77,87,119 'x':98 'y':101","prices":[{"id":"415abb3f-e29b-4431-a683-b98d8caa7be8","listingId":"50ed5019-bf4f-4d6b-ad41-8399faa7784a","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"github","category":"awesome-copilot","install_from":"skills.sh"},"createdAt":"2026-04-18T20:25:25.748Z"}],"sources":[{"listingId":"50ed5019-bf4f-4d6b-ad41-8399faa7784a","source":"github","sourceId":"github/awesome-copilot/refactor-plan","sourceUrl":"https://github.com/github/awesome-copilot/tree/main/skills/refactor-plan","isPrimary":false,"firstSeenAt":"2026-04-18T21:51:01.873Z","lastSeenAt":"2026-04-22T12:52:22.359Z"},{"listingId":"50ed5019-bf4f-4d6b-ad41-8399faa7784a","source":"skills_sh","sourceId":"github/awesome-copilot/refactor-plan","sourceUrl":"https://skills.sh/github/awesome-copilot/refactor-plan","isPrimary":true,"firstSeenAt":"2026-04-18T20:25:25.748Z","lastSeenAt":"2026-04-22T17:40:17.229Z"}],"details":{"listingId":"50ed5019-bf4f-4d6b-ad41-8399faa7784a","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"github","slug":"refactor-plan","source":"skills_sh","category":"awesome-copilot","skills_sh_url":"https://skills.sh/github/awesome-copilot/refactor-plan"},"updatedAt":"2026-04-22T17:40:17.229Z"}}