[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KMCYTX2FXC810HE6RXTYTH":3,"skill-same:01M6KMCYTX2FXC810HE6RXTYTH":68},{"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":22,"publishedAt":29,"linkOnly":30,"markdownContent":31,"markdownBody":32,"frontMatter":33,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":13,"repositoryHtmlUrl":44,"repositoryHomepageUrl":6,"ownerHtmlUrl":45,"ownerBlogUrl":6,"ownerDescription":46,"updatedAt":47,"install":48,"resources":61},"01M6KMCYTX2FXC810HE6RXTYTH","refactor",null,"ahvcxa\u002Fagents-runtime","ahvcxa","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F66177097?v=4","01M6KMC1M42AY53F851R4PYQ86","BATUHAN INAN","01M6KMC1QYQESNZDK2PP0J9FJG",0,"MIT","https:\u002F\u002Fgithub.com\u002Fahvcxa\u002Fagents-runtime\u002Fblob\u002Fmain\u002Ftemplate\u002F.agents\u002Frefactor\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000007","代码审查","SCENARIO","使用场景",[5,23,24,25,26,27,28],"refactoring","js","patch","transformation","false","handler","2026-11-10 10:12:30",false,"---\nid: refactor\nversion: 1.0.0\nauthorization_required_level: 2\nbounded_context: Transformation\naggregate_root: Refactoring\noutput_event: RefactoringProposed\noutput_schema: Patch[]\nread_only: false\nhandler: .agents\u002Frefactor\u002Fhandler.js\n---\n\n\n# SKILL: Refactor\n\nConsumes `Finding` events where `auto_fixable: true` and produces safe,\nreviewable unified diff patches.\n\n**Patches MUST NOT be applied autonomously** — all patches must be reviewed\nand approved before application.\n\n---\n\n## Activation\n\n```yaml\nagent:\n  id: \"refactor-agent-01\"\n  skill_set:\n    - \"refactor\"\n  authorization_level: 2\n  read_only: false\n```\n\n---\n\n## Patch Generation Rules\n\n| Rule | Description |\n|------|-------------|\n| Minimal Diff | Smallest possible change that resolves the finding |\n| No Behavior Change | Semantically equivalent unless a security fix requires it (must be documented) |\n| Test Preservation | MUST NOT break existing tests; test changes must be in same diff |\n| One Finding, One Patch | Each patch addresses exactly one `Finding.id` |\n\n---\n\n## Output Contract\n\n```typescript\ninterface Patch {\n  id: string;                    \u002F\u002F uuid-v4\n  finding_id: string;            \u002F\u002F ID of the Finding being addressed\n  skill: \"refactor\";\n  status: \"proposed\" | \"approved\" | \"rejected\" | \"applied\";\n  diff: string;                  \u002F\u002F Unified diff format\n  files_modified: string[];\n  behavior_change: boolean;\n  behavior_change_reason?: string;\n  created_at: string;            \u002F\u002F ISO-8601\n  approved_by?: string;\n}\n```\n\n## Suppression\n\nIf a finding is suppressed via `\u002F\u002F agent-suppress`, this skill MUST NOT\ngenerate a patch for it.\n\n---\n\n*Schema version: 1.0.0 · Vendor-neutral*\n","# SKILL: Refactor\n\nConsumes `Finding` events where `auto_fixable: true` and produces safe,\nreviewable unified diff patches.\n\n**Patches MUST NOT be applied autonomously** — all patches must be reviewed\nand approved before application.\n\n---\n\n## Activation\n\n```yaml\nagent:\n  id: \"refactor-agent-01\"\n  skill_set:\n    - \"refactor\"\n  authorization_level: 2\n  read_only: false\n```\n\n---\n\n## Patch Generation Rules\n\n| Rule | Description |\n|------|-------------|\n| Minimal Diff | Smallest possible change that resolves the finding |\n| No Behavior Change | Semantically equivalent unless a security fix requires it (must be documented) |\n| Test Preservation | MUST NOT break existing tests; test changes must be in same diff |\n| One Finding, One Patch | Each patch addresses exactly one `Finding.id` |\n\n---\n\n## Output Contract\n\n```typescript\ninterface Patch {\n  id: string;                    \u002F\u002F uuid-v4\n  finding_id: string;            \u002F\u002F ID of the Finding being addressed\n  skill: \"refactor\";\n  status: \"proposed\" | \"approved\" | \"rejected\" | \"applied\";\n  diff: string;                  \u002F\u002F Unified diff format\n  files_modified: string[];\n  behavior_change: boolean;\n  behavior_change_reason?: string;\n  created_at: string;            \u002F\u002F ISO-8601\n  approved_by?: string;\n}\n```\n\n## Suppression\n\nIf a finding is suppressed via `\u002F\u002F agent-suppress`, this skill MUST NOT\ngenerate a patch for it.\n\n---\n\n*Schema version: 1.0.0 · Vendor-neutral*\n",{"id":5,"handler":34,"version":35,"read_only":30,"output_event":36,"output_schema":37,"aggregate_root":38,"bounded_context":39,"authorization_required_level":40},".agents\u002Frefactor\u002Fhandler.js","1.0.0","RefactoringProposed","Patch[]","Refactoring","Transformation",2,"main","f660bfb38f1f58be7aa35b3e67f77b2add4b048a","template\u002F.agents\u002Frefactor","https:\u002F\u002Fgithub.com\u002Fahvcxa\u002Fagents-runtime","https:\u002F\u002Fgithub.com\u002Fahvcxa","🍀 Data Scientist 🍀","2026-04-13 01:43:13",{"source":7,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add ahvcxa\u002Fagents-runtime --skill refactor",{"tool":54,"command":55},"bunx","bunx skills add ahvcxa\u002Fagents-runtime --skill refactor",{"tool":57,"command":58},"pnpm","pnpm dlx skills add ahvcxa\u002Fagents-runtime --skill refactor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fahvcxa\u002Fagents-runtime\u002Fblob\u002Fmain\u002Ftemplate\u002F.agents\u002Frefactor\u002FSKILL.md",true,[62],{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"handler.js","SCRIPT","脚本",9552,"https:\u002F\u002Fgithub.com\u002Fahvcxa\u002Fagents-runtime\u002Fblob\u002Fmain\u002Ftemplate\u002F.agents\u002Frefactor\u002Fhandler.js",[69,80,86,99,111,116],{"skillNo":70,"name":71,"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":72,"categories":73,"keywords":74,"publishedAt":29},"01M6KMDCFV4G3TY0VCFA65NVA4","security-audit","https:\u002F\u002Fgithub.com\u002Fahvcxa\u002Fagents-runtime\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fproject\u002F.agents\u002Fskills\u002Fsecurity-audit\u002FSKILL.md",[],[75,76,77,78,71,79],"security audit","audit","security","analysis","true",{"skillNo":81,"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":82,"categories":83,"keywords":85,"publishedAt":29},"01M6KMD96V3XP64WZR6MJQQZ8M","https:\u002F\u002Fgithub.com\u002Fahvcxa\u002Fagents-runtime\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fproject\u002F.agents\u002Fskills\u002Frefactor\u002FSKILL.md",[84],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[5,26,27],{"skillNo":87,"name":88,"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":89,"categories":90,"keywords":96,"publishedAt":29},"01M6KMD7A4W1DAJPQBAHVXCNBR","code-analysis","https:\u002F\u002Fgithub.com\u002Fahvcxa\u002Fagents-runtime\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fproject\u002F.agents\u002Fskills\u002Fcode-analysis\u002FSKILL.md",[91],{"categoryNo":92,"categoryName":93,"taxonomyType":94,"taxonomyTypeDesc":95},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[97,78,98,88,79],"code analysis","code",{"skillNo":100,"name":101,"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":102,"categories":103,"keywords":107,"publishedAt":29},"01M6KMD5AF1W8X1EFVZB0HS0JP","test-generator","https:\u002F\u002Fgithub.com\u002Fahvcxa\u002Fagents-runtime\u002Fblob\u002Fmain\u002Ftemplate\u002F.agents\u002Ftest-generator\u002FSKILL.md",[104],{"categoryNo":105,"categoryName":106,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000008","测试与质量",[108,109,110],"generator","test generator","test",{"skillNo":112,"name":71,"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":113,"categories":114,"keywords":115,"publishedAt":29},"01M6KMD1Q19ES77DCKNZXCRTQA","https:\u002F\u002Fgithub.com\u002Fahvcxa\u002Fagents-runtime\u002Fblob\u002Fmain\u002Ftemplate\u002F.agents\u002Fsecurity-audit\u002FSKILL.md",[],[77,75,76,28,79,24,71,78],{"skillNo":117,"name":118,"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":119,"categories":120,"keywords":121,"publishedAt":29},"01M6KMCTFVZT4DA2BQZCGF9XGH","orchestrator","https:\u002F\u002Fgithub.com\u002Fahvcxa\u002Fagents-runtime\u002Fblob\u002Fmain\u002Ftemplate\u002F.agents\u002Forchestrator\u002FSKILL.md",[],[118]]