[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6N84DYV3XBB5R1Q9D86B612":3,"skill-same:01M6N84DYV3XBB5R1Q9D86B612":76},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":22,"publishedAt":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":13,"repositoryHtmlUrl":53,"repositoryHomepageUrl":6,"ownerHtmlUrl":54,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":55,"install":56,"resources":69},"01M6N84DYV3XBB5R1Q9D86B612","codebase-cleanup-refactor-clean",null,"You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its quality, maintainability, and performance.","JackSmack1971\u002Fantigravity-meta","JackSmack1971","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128181597?v=4","01M6KS1FH32N6WNWZ68JC9FFDJ","01M6N7JCBG1NDFN2ZNKGMKMFMQ",0,"MIT","https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Fantigravity-meta\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-cleanup-refactor-clean\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000007","代码审查","SCENARIO","使用场景",[23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"refactor clean","codebase","codebase cleanup refactor clean","clean","refactor","cleanup","best practices","code","clean code","improve","analyze","design","design patterns","code refactoring","expert","community","software engineering","principles","you","performance","2026-11-10 10:12:30",false,"---\nname: codebase-cleanup-refactor-clean\ndescription: \"You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its quality, maintainability, and performance.\"\nrisk: safe\nsource: community\ndate_added: \"2026-02-27\"\n---\n\n# Refactor and Clean Code\n\nYou are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its quality, maintainability, and performance.\n\n## Use this skill when\n\n- Cleaning up large codebases with accumulated debt\n- Removing duplication and simplifying modules\n- Preparing a codebase for new feature work\n- Aligning implementation with clean code standards\n\n## Do not use this skill when\n\n- You only need a tiny targeted fix\n- Refactoring is blocked by policy or deadlines\n- The request is documentation-only\n\n## Context\nThe user needs help refactoring code to make it cleaner, more maintainable, and aligned with best practices. Focus on practical improvements that enhance code quality without over-engineering.\n\n## Requirements\n$ARGUMENTS\n\n## Instructions\n\n- Identify high-impact refactor candidates and risks.\n- Break work into small, testable steps.\n- Apply changes with a focus on readability and stability.\n- Validate with tests and targeted regression checks.\n- If detailed patterns are required, open `resources\u002Fimplementation-playbook.md`.\n\n## Safety\n\n- Avoid large rewrites without agreement on scope.\n- Keep changes reviewable and reversible.\n\n## Output Format\n\n- Cleanup plan with prioritized steps\n- Key refactor targets and rationale\n- Expected impact and risk notes\n- Test\u002Fverification plan\n\n## Resources\n\n- `resources\u002Fimplementation-playbook.md` for detailed patterns and examples.\n","# Refactor and Clean Code\n\nYou are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its quality, maintainability, and performance.\n\n## Use this skill when\n\n- Cleaning up large codebases with accumulated debt\n- Removing duplication and simplifying modules\n- Preparing a codebase for new feature work\n- Aligning implementation with clean code standards\n\n## Do not use this skill when\n\n- You only need a tiny targeted fix\n- Refactoring is blocked by policy or deadlines\n- The request is documentation-only\n\n## Context\nThe user needs help refactoring code to make it cleaner, more maintainable, and aligned with best practices. Focus on practical improvements that enhance code quality without over-engineering.\n\n## Requirements\n$ARGUMENTS\n\n## Instructions\n\n- Identify high-impact refactor candidates and risks.\n- Break work into small, testable steps.\n- Apply changes with a focus on readability and stability.\n- Validate with tests and targeted regression checks.\n- If detailed patterns are required, open `resources\u002Fimplementation-playbook.md`.\n\n## Safety\n\n- Avoid large rewrites without agreement on scope.\n- Keep changes reviewable and reversible.\n\n## Output Format\n\n- Cleanup plan with prioritized steps\n- Key refactor targets and rationale\n- Expected impact and risk notes\n- Test\u002Fverification plan\n\n## Resources\n\n- `resources\u002Fimplementation-playbook.md` for detailed patterns and examples.\n",{"name":5,"risk":48,"source":38,"date_added":49,"description":7},"safe","2026-02-27","main","d47cc0de4d70e7006abaebc8a07a7c7d626c6ccb",".agents\u002Fskills\u002Fcodebase-cleanup-refactor-clean","https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Fantigravity-meta","https:\u002F\u002Fgithub.com\u002FJackSmack1971","2026-04-19 04:53:59",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add JackSmack1971\u002Fantigravity-meta --skill codebase-cleanup-refactor-clean",{"tool":62,"command":63},"bunx","bunx skills add JackSmack1971\u002Fantigravity-meta --skill codebase-cleanup-refactor-clean",{"tool":65,"command":66},"pnpm","pnpm dlx skills add JackSmack1971\u002Fantigravity-meta --skill codebase-cleanup-refactor-clean","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Fantigravity-meta\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-cleanup-refactor-clean\u002FSKILL.md",true,[70],{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"resources\u002Fimplementation-playbook.md","REFERENCE","参考文档",22374,"https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Fantigravity-meta\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcodebase-cleanup-refactor-clean\u002Fresources\u002Fimplementation-playbook.md",[77,98,122,147,166,181],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":43},"01M6N8FMBDREJBRGQ37HAFBWWS","wcag-audit-patterns","Comprehensive guide to auditing web content against WCAG 2.2 guidelines with actionable remediation strategies.","https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Fantigravity-meta\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwcag-audit-patterns\u002FSKILL.md",[],[84,85,86,87,88,89,90,91,92,93,94,95,96,97,48,38],"wcag audit","audit","patterns","wcag audit patterns","WCAG","with","web content","strategies","actionable","content","guidelines","web","remediation","guide",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":107,"publishedAt":43},"01M6N8FEJG7PTGF6G16JW4HJV1","unit-testing-test-generate","Generate comprehensive, maintainable unit tests across languages with strong coverage and edge case focus.","https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Fantigravity-meta\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Funit-testing-test-generate\u002FSKILL.md",[104],{"categoryNo":105,"categoryName":106,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000008","测试与质量",[108,109,110,111,112,113,114,115,116,89,117,118,119,120,38,121],"testing","test","generate","unit testing","unit testing test generate","unit","unit tests","case","unknown","edge","tests","across","focus","coverage",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":132,"publishedAt":43},"01M6N8FAAMS0QNTPD51FMYHAXE","testing-qa","Comprehensive testing and QA workflow covering unit testing, integration testing, E2E testing, browser automation, and quality assurance.","https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Fantigravity-meta\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftesting-qa\u002FSKILL.md",[128,129],{"categoryNo":105,"categoryName":106,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":130,"categoryName":131,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发",[133,108,134,135,111,136,137,138,113,139,140,141,142,143,144,48,145,146],"qa","testing qa","quality assurance","quality","bundle","integration testing","e2e","integration","browser","personal","automation","workflow","browser automation","e2e testing",{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":154,"publishedAt":43},"01M6N8EXMACVX27C0TXFT0E48Q","test-fixing","Systematically identify and fix all failing tests using smart grouping strategies. Use when explicitly asks to fix tests (\"fix these tests\", \"make tests pass\"), reports test failures (\"tests are failing\", \"test suite is broken\"), or completes implementation and wants tests passing.","https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Fantigravity-meta\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftest-fixing\u002FSKILL.md",[153],{"categoryNo":105,"categoryName":106,"taxonomyType":20,"taxonomyTypeDesc":21},[155,109,38,156,157,118,91,158,159,160,161,162,163,164,165,48],"test fixing","suite","make","grouping","make tests","implementation","reports","test suite","use","fix","broken",{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":173,"publishedAt":43},"01M6N8ERMMBFTRRNK0T7H2S6R2","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Fantigravity-meta\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[172],{"categoryNo":105,"categoryName":106,"taxonomyType":20,"taxonomyTypeDesc":21},[174,175,176,109,177,178,38,160,163,30,179,180,116],"driven","development","test driven development","bugfix","feature","writing","implementing",{"skillNo":182,"name":183,"nameZh":6,"description":184,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":185,"categories":186,"keywords":191,"publishedAt":43},"01M6N8EKRM0XQX5BKR8NJ2YAGF","terraform-infrastructure","Terraform infrastructure as code workflow for provisioning cloud resources, creating reusable modules, and managing infrastructure at scale.","https:\u002F\u002Fgithub.com\u002FJackSmack1971\u002Fantigravity-meta\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fterraform-infrastructure\u002FSKILL.md",[187,190],{"categoryNo":188,"categoryName":189,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000011","运维与部署",{"categoryNo":130,"categoryName":131,"taxonomyType":20,"taxonomyTypeDesc":21},[192,193,194,195,196,197,198,137,199,200,201,202,203,204,30,144,48,142],"terraform","infrastructure","terraform infrastructure","resources","for","at","scale","as","reusable","modules","provisioning","cloud","infrastructure as code"]