[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AGHCW7TH5FXVH4GVFG158P":3,"skill-same:01M7AGHCW7TH5FXVH4GVFG158P":55},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":33,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":48},"01M7AGHCW7TH5FXVH4GVFG158P","trove-refactor",null,"Behavior-preserving change to structure: rename, extract, inline, dedupe, move, or migrate an internal API. Pin behavior first, migrate callers and delete the legacy API in one wave, prove behavior unchanged on the real artifact. Use for refactors and internal-API migrations.","bravew\u002Ftrove","bravew","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F10855844?v=4","01M7ACJ91JZSQYHT81XPVYR7VA","Yong","01M7AFERNR92HDPGNGP5QA16DM",10,"MIT","https:\u002F\u002Fgithub.com\u002Fbravew\u002Ftrove\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Ftrove-refactor\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: trove-refactor\ndescription: \"Behavior-preserving change to structure: rename, extract, inline, dedupe, move, or migrate an internal API. Pin behavior first, migrate callers and delete the legacy API in one wave, prove behavior unchanged on the real artifact. Use for refactors and internal-API migrations.\"\nwhen_to_use: \"refactor this; migrate callers; extract this; delete the legacy api\"\nuser-invocable: true\nmetadata:\n  trove-category: code\n  trove-category-label: Code\n---\n\u003C!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly -->\n\u003C!-- Regenerate: bun run build:skills -->\n\n## Session Init\n\nThis skill ships Trove conventions. Prefer existing project patterns over generic best practices when they conflict.\n\nIf a sibling skill in this plugin matches the request more directly, defer to it. See `AGENTS.md` (or `docs\u002Frouting.md` in the marketplace) for the per-plugin routing index.\n\n# trove-refactor\n\nA refactor changes structure while holding behavior constant. The discipline is proving that \"constant\" is true.\n\n## Workflow\n\n1. **Pin the behavior.** Characterization test or snapshot of current behavior first. A type-check and a lint passing are **not** a behavior pin — they don't catch a changed result.\n2. **Name the target shape.** What the structure should be after (use `trove-architect` for non-trivial reshapes).\n3. **Subtract before adding.** Remove dead weight and duplication first, then build on the simpler base.\n4. **Small behavior-preserving steps.** Migrate callers and delete the legacy API in the same wave (`trove-principle-migrate-then-delete`); don't leave a compatibility shim.\n5. **Prove it unchanged.** Re-run the pinned behavior against the real artifact — same inputs, same outputs. `trove-verify`.\n6. **Confirm reader load dropped.** If the change didn't make the code easier to trace, question whether it earned its place.\n\n## Anti-patterns\n\n- **Smuggling behavior change into a refactor.** If behavior must change, that's a separate, named change with its own test — split it out.\n- **Calling a green type-check \"proof\".** Behavior parity needs a behavioral check, not a compile.\n- **Leaving the old API alive \"just in case.\"** That's two ways to do one thing; delete it in the same wave.\n\nFor a large or cross-cutting refactor (a migration across many call sites), treat each component as its own small step with its own behavior pin.\n","\u003C!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly -->\n\u003C!-- Regenerate: bun run build:skills -->\n\n## Session Init\n\nThis skill ships Trove conventions. Prefer existing project patterns over generic best practices when they conflict.\n\nIf a sibling skill in this plugin matches the request more directly, defer to it. See `AGENTS.md` (or `docs\u002Frouting.md` in the marketplace) for the per-plugin routing index.\n\n# trove-refactor\n\nA refactor changes structure while holding behavior constant. The discipline is proving that \"constant\" is true.\n\n## Workflow\n\n1. **Pin the behavior.** Characterization test or snapshot of current behavior first. A type-check and a lint passing are **not** a behavior pin — they don't catch a changed result.\n2. **Name the target shape.** What the structure should be after (use `trove-architect` for non-trivial reshapes).\n3. **Subtract before adding.** Remove dead weight and duplication first, then build on the simpler base.\n4. **Small behavior-preserving steps.** Migrate callers and delete the legacy API in the same wave (`trove-principle-migrate-then-delete`); don't leave a compatibility shim.\n5. **Prove it unchanged.** Re-run the pinned behavior against the real artifact — same inputs, same outputs. `trove-verify`.\n6. **Confirm reader load dropped.** If the change didn't make the code easier to trace, question whether it earned its place.\n\n## Anti-patterns\n\n- **Smuggling behavior change into a refactor.** If behavior must change, that's a separate, named change with its own test — split it out.\n- **Calling a green type-check \"proof\".** Behavior parity needs a behavioral check, not a compile.\n- **Leaving the old API alive \"just in case.\"** That's two ways to do one thing; delete it in the same wave.\n\nFor a large or cross-cutting refactor (a migration across many call sites), treat each component as its own small step with its own behavior pin.\n",{"name":5,"metadata":24,"description":7,"when_to_use":27,"user-invocable":28},{"trove-category":25,"trove-category-label":26},"code","Code","refactor this; migrate callers; extract this; delete the legacy api",true,"main","f88db1f1cf0e0703dd962051ebc142db961d7799","skills\u002Fworkflow\u002Ftrove-refactor",1,"https:\u002F\u002Fgithub.com\u002Fbravew\u002Ftrove","https:\u002F\u002Fgithub.com\u002Fbravew","2026-11-12 07:56:32",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":28},[38,41,44],{"tool":39,"command":40},"npx","npx skills add bravew\u002Ftrove --skill trove-refactor",{"tool":42,"command":43},"bunx","bunx skills add bravew\u002Ftrove --skill trove-refactor",{"tool":45,"command":46},"pnpm","pnpm dlx skills add bravew\u002Ftrove --skill trove-refactor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbravew\u002Ftrove\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Ftrove-refactor\u002FSKILL.md",[49],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"SKILL.md.tmpl","OTHER","其他",2047,"https:\u002F\u002Fgithub.com\u002Fbravew\u002Ftrove\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Ftrove-refactor\u002FSKILL.md.tmpl",[56,63,70,77,84,91],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7AGJDHTQAS1VK6P7VJAV79G","using-trove","Skill discipline anchor for the Trove marketplace. Loaded once per session; routes the agent to the right trove-* skill before code, planning, review, or git actions.","https:\u002F\u002Fgithub.com\u002Fbravew\u002Ftrove\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Fusing-trove\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7AGJAS4V4TXE6TV6F839BGZ","trove-write-skill","Skill authoring workflow. Use when creating or updating a Codex or Trove skill, including rubrics, tasks, metadata, and validation.","https:\u002F\u002Fgithub.com\u002Fbravew\u002Ftrove\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Ftrove-write-skill\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7AGJ87K41ZAC8DDBAV17QFW","trove-worktree","Git worktree workflow for spikes, risky experiments, and broad refactors that should not disturb the user's current branch.","https:\u002F\u002Fgithub.com\u002Fbravew\u002Ftrove\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Ftrove-worktree\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7AGJ32V58VYBFYMS9EMHRY4","trove-why","Reconstruct design rationale and decision history from evidence — source control, issue tracker (Linear), docs (Notion), chat (Slack), error tracking (Sentry) — with calibrated confidence. Use for \"why does X work this way\", \"why did we pick Y\", regressions, and postmortems. Use trove-explain for how it works now.","https:\u002F\u002Fgithub.com\u002Fbravew\u002Ftrove\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Ftrove-why\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7AGJ0FHJSRR8MMXC3V8XNHF","trove-verify","Completion verification workflow. Use before claiming done, fixed, complete, ready, or shipped.","https:\u002F\u002Fgithub.com\u002Fbravew\u002Ftrove\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Ftrove-verify\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7AGHWV4B9SDS60RH5W0B0K5","trove-unslop","Cut AI tells from writing — PR descriptions, release notes, specs, commit bodies, and replies. Use before finalizing prose, or when the user asks to clean up, de-slop, or make text sound human.","https:\u002F\u002Fgithub.com\u002Fbravew\u002Ftrove\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Ftrove-unslop\u002FSKILL.md",[],[]]