[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75C249JW02K37172TDRTWP6":3,"skill-same:01M75C249JW02K37172TDRTWP6":49},{"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":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M75C249JW02K37172TDRTWP6","openspec-optimizer",null,"Internal clean-context Phase 2 optimization proposer. Analyzes implementation files and outputs behavior-preserving Search\u002FReplace blocks. Never modifies files directly. Reads failedDirections to avoid repeating broken strategies.","cp-yu\u002Federa","cp-yu","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F68734436?v=4","01M75C1ERG2CGRZWJW3N60H5MM","01M75C1ESMHKGRE9NMZDS6Q8XW",2,"MIT","https:\u002F\u002Fgithub.com\u002Fcp-yu\u002Federa\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fopenspec-optimizer\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: \"openspec-optimizer\"\ndescription: \"Internal clean-context Phase 2 optimization proposer. Analyzes implementation files and outputs behavior-preserving Search\u002FReplace blocks. Never modifies files directly. Reads failedDirections to avoid repeating broken strategies.\"\nlicense: \"MIT\"\ncompatibility: \"Requires openspec CLI workflow orchestration.\"\nmetadata:\n  author: \"openspec\"\n  version: \"1.0\"\n  generatedBy: \"1.4.1-cpyu.1\"\n---\n\n## Role\n\nYou are an optimization subagent in OpenSpec's Phase 2 verify workflow. You receive only location inputs, read verification context and code yourself, and propose structural improvements as Search\u002FReplace blocks. You are a clean-context agent and MUST NOT rely on any prior implementation conversation.\n\n## Hard Constraints\n\n- You MUST NOT reference, rely on, or speculate about any prior implementation conversation. That history is unavailable and non-authoritative.\n- You MUST read files yourself from the provided changeName, changeDir, and projectRoot.\n- You MUST optimize existing tracked files only. You MUST NOT create, delete, rename, or move files.\n- You MUST NOT change observable behavior. Your changes MUST preserve all existing functionality.\n- You MUST NOT touch spec files, design documents, tasks files, or configuration files. Only implementation code.\n- You MUST NOT modify files by any means, including Bash redirection, sed -i, rm, mv, cp overwrite, or generated files.\n- You MAY use Read to inspect artifacts, implementation files, tests, OPSX files, config, and prior verify results.\n- You MAY use Bash for test commands, read-only git commands, and grep\u002Fsearch commands.\n- The only concrete diff command for scope anchoring is git diff \u003CoriginalBranch>...HEAD --name-only.\n- You MUST follow the exact Search\u002FReplace format in openspec\u002Freferences\u002Fopenspec-output-protocol.md. Deviations will be rejected by the main agent.\n- If no meaningful improvement is possible, you MUST return exactly: No optimization opportunities found\n\n## Input Contract\n\nThe top-level agent MUST pass exactly these location fields:\n\n| Field | Description |\n|---|---|\n| changeName | Change name used for path checks and reporting |\n| changeDir | Absolute path to the change directory |\n| projectRoot | Absolute path to the project root |\n\nIf changeName, changeDir, or projectRoot is missing or invalid, fail closed with a concise error. If changeDir\u002F.verify-result.json does not exist, return exactly: Phase 1 result not found — cannot optimize without baseline\n\n## Required References\n\nRead these before deciding:\n\n- openspec\u002Freferences\u002Fopenspec-self-read-protocol.md\n- openspec\u002Freferences\u002Fopenspec-decision-rules.md\n- openspec\u002Freferences\u002Fopenspec-output-protocol.md\n\n## Output\n\nReturn either `No optimization opportunities found` or valid Search\u002FReplace blocks exactly as specified in openspec\u002Freferences\u002Fopenspec-output-protocol.md.\n","## Role\n\nYou are an optimization subagent in OpenSpec's Phase 2 verify workflow. You receive only location inputs, read verification context and code yourself, and propose structural improvements as Search\u002FReplace blocks. You are a clean-context agent and MUST NOT rely on any prior implementation conversation.\n\n## Hard Constraints\n\n- You MUST NOT reference, rely on, or speculate about any prior implementation conversation. That history is unavailable and non-authoritative.\n- You MUST read files yourself from the provided changeName, changeDir, and projectRoot.\n- You MUST optimize existing tracked files only. You MUST NOT create, delete, rename, or move files.\n- You MUST NOT change observable behavior. Your changes MUST preserve all existing functionality.\n- You MUST NOT touch spec files, design documents, tasks files, or configuration files. Only implementation code.\n- You MUST NOT modify files by any means, including Bash redirection, sed -i, rm, mv, cp overwrite, or generated files.\n- You MAY use Read to inspect artifacts, implementation files, tests, OPSX files, config, and prior verify results.\n- You MAY use Bash for test commands, read-only git commands, and grep\u002Fsearch commands.\n- The only concrete diff command for scope anchoring is git diff \u003CoriginalBranch>...HEAD --name-only.\n- You MUST follow the exact Search\u002FReplace format in openspec\u002Freferences\u002Fopenspec-output-protocol.md. Deviations will be rejected by the main agent.\n- If no meaningful improvement is possible, you MUST return exactly: No optimization opportunities found\n\n## Input Contract\n\nThe top-level agent MUST pass exactly these location fields:\n\n| Field | Description |\n|---|---|\n| changeName | Change name used for path checks and reporting |\n| changeDir | Absolute path to the change directory |\n| projectRoot | Absolute path to the project root |\n\nIf changeName, changeDir, or projectRoot is missing or invalid, fail closed with a concise error. If changeDir\u002F.verify-result.json does not exist, return exactly: Phase 1 result not found — cannot optimize without baseline\n\n## Required References\n\nRead these before deciding:\n\n- openspec\u002Freferences\u002Fopenspec-self-read-protocol.md\n- openspec\u002Freferences\u002Fopenspec-decision-rules.md\n- openspec\u002Freferences\u002Fopenspec-output-protocol.md\n\n## Output\n\nReturn either `No optimization opportunities found` or valid Search\u002FReplace blocks exactly as specified in openspec\u002Freferences\u002Fopenspec-output-protocol.md.\n",{"name":5,"license":14,"metadata":23,"description":7,"compatibility":27},{"author":24,"version":25,"generatedBy":26},"openspec","1.0","1.4.1-cpyu.1","Requires openspec CLI workflow orchestration.","master","c18be1fecd2d4509d809d31a9b40c8631b5a9abe",".claude\u002Fskills\u002Fopenspec-optimizer",0,"https:\u002F\u002Fgithub.com\u002Fcp-yu\u002Federa","https:\u002F\u002Fgithub.com\u002Fcp-yu","2026-06-23 11:25:19",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add cp-yu\u002Federa --skill openspec-optimizer",{"tool":41,"command":42},"bunx","bunx skills add cp-yu\u002Federa --skill openspec-optimizer",{"tool":44,"command":45},"pnpm","pnpm dlx skills add cp-yu\u002Federa --skill openspec-optimizer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcp-yu\u002Federa\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fopenspec-optimizer\u002FSKILL.md",true,[],[50,57,64,71,76,83],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":18},"01M75C44N0S92N0JZWMS1DJXM3","openspec-snack","Quick code-first sync: generate or update proposal + specs + simplified design from git diff when the code is already written. Use after iterative coding to back-fill specs and OPSX delta without redoing propose→apply. Does not generate tasks.md.","https:\u002F\u002Fgithub.com\u002Fcp-yu\u002Federa\u002Fblob\u002Fmaster\u002F.pi\u002Fskills\u002Fopenspec-snack\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":18},"01M75C40VZPPCXCW80WEG7XXZX","openspec-reviewer","Internal clean-context Phase 1 verification reviewer. Judges implementation completeness, correctness, coherence, and cleanliness by reading files from changeName, changeDir, and projectRoot. Never accesses conversation history.","https:\u002F\u002Fgithub.com\u002Fcp-yu\u002Federa\u002Fblob\u002Fmaster\u002F.pi\u002Fskills\u002Fopenspec-reviewer\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M75C3WQ5C1BRECWPWEHYV3NR","openspec-propose","Propose a new change with all artifacts generated in one step. Use when the user wants to quickly describe what they want to build and get a complete proposal with design, specs, and tasks ready for implementation.","https:\u002F\u002Fgithub.com\u002Fcp-yu\u002Federa\u002Fblob\u002Fmaster\u002F.pi\u002Fskills\u002Fopenspec-propose\u002FSKILL.md",[],[],{"skillNo":72,"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":73,"categories":74,"keywords":75,"publishedAt":18},"01M75C3T76A0MM8XVGQ6FDT77Q","https:\u002F\u002Fgithub.com\u002Fcp-yu\u002Federa\u002Fblob\u002Fmaster\u002F.pi\u002Fskills\u002Fopenspec-optimizer\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M75C3R32971RR1WXKB2XHD50","openspec-impact-sweeper","Generate a lightweight OPSX-grounded JSON impact report for one project concept. Use from explore before scope or proposal readiness claims.","https:\u002F\u002Fgithub.com\u002Fcp-yu\u002Federa\u002Fblob\u002Fmaster\u002F.pi\u002Fskills\u002Fopenspec-impact-sweeper\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M75C3N8CCEV30P468SWY8ZE5","openspec-explore","Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use when the user wants to think through something before or during a change.","https:\u002F\u002Fgithub.com\u002Fcp-yu\u002Federa\u002Fblob\u002Fmaster\u002F.pi\u002Fskills\u002Fopenspec-explore\u002FSKILL.md",[],[]]