[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C4Q674DDXYP66M45PDAS3S":3,"skill-same:01M6C4Q674DDXYP66M45PDAS3S":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":22,"publishedAt":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":43,"ownerDescription":6,"updatedAt":44,"install":45,"resources":58},"01M6C4Q674DDXYP66M45PDAS3S","awa-refactor",null,"Refactor code or docs while preserving behavior, meaning, and traceability. Use this when asked to refactor, restructure, or improve code quality.","ncoderz\u002Fawa","ncoderz","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F124541034?v=4","01M6C4PHT3RMHEY3TK3TJKYX5F","01M6C4PHXT7RAP268HGXCRF8QA",1,"BSD-3-Clause","https:\u002F\u002Fgithub.com\u002Fncoderz\u002Fawa\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fawa-refactor\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000007","代码审查","SCENARIO","使用场景",[23,24,25,26,27,28,29,30,31],"refactor","awa refactor","docs","code quality","code","improve","quality","behavior","use","2026-11-10 10:12:30",false,"---\nname: awa-refactor\ndescription: Refactor code or docs while preserving behavior, meaning, and traceability. Use this when asked to refactor, restructure, or improve code quality.\n---\n\n# Refactor Code\n\n## Bootstrap\n\n\u003Ctool name=\"read_file\">\n \u003Cread path=\".awa\u002F.agent\u002Fawa.core.md\" required=\"true\" error=\"on not found\" \u002F>\n \u003Cread path=\".awa\u002Frules\u002F*.md\" required=\"true\" \u002F>\n \u003Cread path=\".awa\u002Fspecs\u002FARCHITECTURE.md\" required=\"true\" error=\"on not found\" \u002F>\n\u003C\u002Ftool>\n\n## User Input\n\n```text\n${input}\n```\n\nYou **MUST** consider the user input before proceeding (if not empty).\n\n## Inputs\n\n\u003Cfile type=\"architecture\" path=\".awa\u002Fspecs\u002FARCHITECTURE.md\" \u002F>\n\u003Cfile type=\"requirements\" path=\".awa\u002Fspecs\u002FREQ-{CODE}-{feature-name}.md\" required=\"if relevant\" \u002F>\n\u003Cfile type=\"design\" path=\".awa\u002Fspecs\u002FDESIGN-{CODE}-{feature-name}.md\" required=\"if relevant\" \u002F>\n\u003Cfile type=\"api\" path=\".awa\u002Fspecs\u002FAPI-{CODE}-{feature-name}.md\" required=\"if relevant\" \u002F>\n\u003Cfile type=\"tasks\" path=\".awa\u002Ftasks\u002FTASK-{CODE}-{feature-name}-{nnn}.md\" required=\"if relevant\" \u002F>\n\u003Cfile type=\"code\" required=\"if relevant\" \u002F>\n\n## Action\n\nRefactor the specified cod or docs as instructed, following awa conventions.\n\n## Outputs\n\n- Refactored source code files with preserved markers\n- Updated test files if structure changed\n- Refactored documentation\n\n## Rules\n\nYou SHALL preserve existing behavior unless explicitly asked to change it.\nYou SHALL maintain all traceability markers (@awa-component, @awa-impl, @awa-test).\nYou SHALL run `awa check` after refactoring to verify all traceability markers are preserved and still resolve correctly.\nYou SHALL ensure tests pass before and after refactoring.\nYou SHALL make incremental changes, not wholesale rewrites.\nYou SHALL NOT change public interfaces without explicit approval.\nYou SHALL update user-facing documentation when implementation changes user-facing behavior, CLI, API, or configuration.\nYou SHALL clarify scope and risks with user before major refactors.\nYou MAY use todos and tools as needed.\n","# Refactor Code\n\n## Bootstrap\n\n\u003Ctool name=\"read_file\">\n \u003Cread path=\".awa\u002F.agent\u002Fawa.core.md\" required=\"true\" error=\"on not found\" \u002F>\n \u003Cread path=\".awa\u002Frules\u002F*.md\" required=\"true\" \u002F>\n \u003Cread path=\".awa\u002Fspecs\u002FARCHITECTURE.md\" required=\"true\" error=\"on not found\" \u002F>\n\u003C\u002Ftool>\n\n## User Input\n\n```text\n${input}\n```\n\nYou **MUST** consider the user input before proceeding (if not empty).\n\n## Inputs\n\n\u003Cfile type=\"architecture\" path=\".awa\u002Fspecs\u002FARCHITECTURE.md\" \u002F>\n\u003Cfile type=\"requirements\" path=\".awa\u002Fspecs\u002FREQ-{CODE}-{feature-name}.md\" required=\"if relevant\" \u002F>\n\u003Cfile type=\"design\" path=\".awa\u002Fspecs\u002FDESIGN-{CODE}-{feature-name}.md\" required=\"if relevant\" \u002F>\n\u003Cfile type=\"api\" path=\".awa\u002Fspecs\u002FAPI-{CODE}-{feature-name}.md\" required=\"if relevant\" \u002F>\n\u003Cfile type=\"tasks\" path=\".awa\u002Ftasks\u002FTASK-{CODE}-{feature-name}-{nnn}.md\" required=\"if relevant\" \u002F>\n\u003Cfile type=\"code\" required=\"if relevant\" \u002F>\n\n## Action\n\nRefactor the specified cod or docs as instructed, following awa conventions.\n\n## Outputs\n\n- Refactored source code files with preserved markers\n- Updated test files if structure changed\n- Refactored documentation\n\n## Rules\n\nYou SHALL preserve existing behavior unless explicitly asked to change it.\nYou SHALL maintain all traceability markers (@awa-component, @awa-impl, @awa-test).\nYou SHALL run `awa check` after refactoring to verify all traceability markers are preserved and still resolve correctly.\nYou SHALL ensure tests pass before and after refactoring.\nYou SHALL make incremental changes, not wholesale rewrites.\nYou SHALL NOT change public interfaces without explicit approval.\nYou SHALL update user-facing documentation when implementation changes user-facing behavior, CLI, API, or configuration.\nYou SHALL clarify scope and risks with user before major refactors.\nYou MAY use todos and tools as needed.\n",{"name":5,"description":7},"main","bea98700680b1eafbad3f739117ef66e30c4b9ae",".github\u002Fskills\u002Fawa-refactor",0,"https:\u002F\u002Fgithub.com\u002Fncoderz\u002Fawa","https:\u002F\u002Fgithub.com\u002Fncoderz","https:\u002F\u002Fncoderz.com","2026-08-13 06:47:47",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add ncoderz\u002Fawa --skill awa-refactor",{"tool":51,"command":52},"bunx","bunx skills add ncoderz\u002Fawa --skill awa-refactor",{"tool":54,"command":55},"pnpm","pnpm dlx skills add ncoderz\u002Fawa --skill awa-refactor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fncoderz\u002Fawa\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fawa-refactor\u002FSKILL.md",true,[],[60,75,86,99,113,123],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":32},"01M6C4ZTJ9714M6WEBACQTV8ED","awa-vibe","Implement an idea from start to finish using the full awa workflow. Use this when asked to take an idea through the complete development cycle.","https:\u002F\u002Fgithub.com\u002Fncoderz\u002Fawa\u002Fblob\u002Fmain\u002Ftemplates\u002Fawa\u002F_tests\u002Fcopilot\u002F.github\u002Fskills\u002Fawa-vibe\u002FSKILL.md",[],[67,68,31,69,70,71,72,73,74],"awa vibe","vibe","start","development","workflow","implement","finish","take",{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":32},"01M6C4ZQZR114ABJE8HP0S0BDJ","awa-usage","Understand awa, its CLI, and configuration. Use this when asked about awa itself, how to use it, or how to configure it.","https:\u002F\u002Fgithub.com\u002Fncoderz\u002Fawa\u002Fblob\u002Fmain\u002Ftemplates\u002Fawa\u002F_tests\u002Fcopilot\u002F.github\u002Fskills\u002Fawa-usage\u002FSKILL.md",[],[82,31,83,84,85],"awa usage","configure","how","cli",{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":32},"01M6C4ZPBC19QXDJ09KW3Z18QR","awa-upgrade","Upgrade specs to match current schemas. Use this when asked to upgrade, migrate, or update specification documents to conform to schema changes.","https:\u002F\u002Fgithub.com\u002Fncoderz\u002Fawa\u002Fblob\u002Fmain\u002Ftemplates\u002Fawa\u002F_tests\u002Fcopilot\u002F.github\u002Fskills\u002Fawa-upgrade\u002FSKILL.md",[],[93,94,31,95,96,97,98],"awa upgrade","schema","migrate","update specification","update","documents",{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":32},"01M6C4ZM0E11A21P1ZQPDNSS9J","awa-tasks","Create or update task list documents. Use this when asked to create tasks, generate implementation steps, or break down requirements and designs into work items.","https:\u002F\u002Fgithub.com\u002Fncoderz\u002Fawa\u002Fblob\u002Fmain\u002Ftemplates\u002Fawa\u002F_tests\u002Fcopilot\u002F.github\u002Fskills\u002Fawa-tasks\u002FSKILL.md",[],[106,107,31,108,109,110,97,111,112,98],"awa tasks","tasks","list","work","create tasks","generate","create",{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":32},"01M6C4ZJKZ7VHHX22G1WX6Z6HD","awa-spec-tidy","Tidy and reorganise the specifications logically. Use this when asked to tidy or reorganise the specifications.","https:\u002F\u002Fgithub.com\u002Fncoderz\u002Fawa\u002Fblob\u002Fmain\u002Ftemplates\u002Fawa\u002F_tests\u002Fcopilot\u002F.github\u002Fskills\u002Fawa-spec-tidy\u002FSKILL.md",[],[120,121,122,31],"spec","awa spec tidy","tidy",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":32},"01M6C4ZH1RWPRW21G4RBWTX73M","awa-spec-merge","Merge two feature codes into one. Use this when asked to combine, merge, or consolidate feature codes.","https:\u002F\u002Fgithub.com\u002Fncoderz\u002Fawa\u002Fblob\u002Fmain\u002Ftemplates\u002Fawa\u002F_tests\u002Fcopilot\u002F.github\u002Fskills\u002Fawa-spec-merge\u002FSKILL.md",[],[130,120,131,31],"merge","awa spec merge"]