[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JVQ172WHAWKAPW2Z4V2KNA":3,"skill-same:01M6JVQ172WHAWKAPW2Z4V2KNA":66},{"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":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":47,"ownerHtmlUrl":48,"ownerBlogUrl":49,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M6JVQ172WHAWKAPW2Z4V2KNA","finishing-a-development-branch",null,"Use when verified work needs integration or cleanup of an existing task-created branch\u002Fworktree, or the user explicitly requests merge, PR, or branch lifecycle handling.","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FGanyuanRan\u002FAegis\u002Fskills\u002Ffinishing-a-development-branch\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],"finishing a development branch","branch","development","pr","cleanup","worktree","integration","lifecycle","work","merge","user","use","task","requests","branch lifecycle","verified","Existing","when","2026-11-10 10:12:30",false,"---\nname: finishing-a-development-branch\ndescription: \"Use when verified work needs integration or cleanup of an existing task-created branch\u002Fworktree, or the user explicitly requests merge, PR, or branch lifecycle handling.\"\n---\n\n# Finishing a Development Branch\n\n## Overview\n\nIntegration choice and checkout lifetime are separate. Verify first, mutate only\ntask-owned resources, then prove what was removed or retained.\n\n**Core principle:** fresh evidence -> authorized integration -> ownership-aware\ncleanup -> Git\u002Fpath readback.\n\n**Announce at start:** explain which branch\u002Fworktree lifecycle is being closed.\n\n## Step 1: Environment and Ownership Detection\n\nRead the task's `TaskStartSnapshot` and current repository state. Record:\n\n- root, `HEAD`, branch\u002Fdetached state, upstream divergence, and active Git ops;\n- staged\u002Funstaged\u002Funtracked paths and the task-owned delta;\n- `git worktree list --porcelain`;\n- branch\u002Fworktree creator, task ownership, base branch, and cleanup trigger.\n\nStop on conflicts, unexplained detached state, failed verification, dirty\u002Funtracked state in\na cleanup target, or unknown ownership. Do not infer the base from the names\n`main` or `master`; use task records, repository authority, or explicit user\ndirection. Never auto-stash, reset, clean, pull, rebase, amend, force-push, or\nbypass hooks.\n\nFor a trusted host-managed detached checkout, follow the repository's approved\nmanaged-workspace contract: verify host binding, default cwd, root, and HEAD;\nthen use its scoped local-commit and native handoff path. Report detached HEAD\nin the receipt. This exception does not authorize automatic deletion of the\ndetached checkout or bypass unknown ownership\u002Fbinding.\n\nIf no task-created branch\u002Fworktree exists and integration was not requested,\nskip this workflow: report the local task commit plus `Task clean` and\n`Repository clean`; do not invent merge\u002FPR ceremony.\n\n## Step 2: Fresh Verification\n\nRun the smallest current-authority test set that proves the completed task. If\nit fails, preserve all work and return to diagnosis. Do not present the branch\nas ready.\n\n## Step 3: Choose the Authorized Outcome\n\nWhen a task branch actually needs disposition, present only applicable choices:\n\n1. merge into the recorded base locally;\n2. push and create\u002Fupdate a PR;\n3. keep the branch for later integration;\n4. discard the exact task-owned branch\u002Fworktree.\n\nPush, PR, remote deletion, release, and force operations require explicit user\nauthorization. Discard requires a fresh, exact typed confirmation naming branch,\nworktree path, and commits\u002Fdelta to lose. Generic agreement is insufficient.\n\n## Step 4: Execute Without Hidden Mutation\n\n### Local merge\n\nVerify the target checkout is safe, switch to the recorded base, merge without an implicit pull,\nand rerun verification on the merged result. If integration\nor verification fails, preserve both histories and stop.\n\n### Push or PR\n\nPush only the authorized task branch and create\u002Fupdate the PR with summary and\nfresh test evidence. PR creation does not itself prove merge and does not\nrequire the temporary worktree to remain.\n\n### Keep branch\n\nRetain the branch. Remove a clean task-created temporary worktree by default;\nretain it only for an explicit ongoing-checkout need and report why.\n\n### Discard\n\nAfter exact confirmation, remove only the named clean task-owned worktree, then\nthe named branch. If either differs from the confirmation, stop and ask again.\n\n## Step 5: Prove Integration Before Branch Deletion\n\nUse evidence matching the merge strategy:\n\n- merge\u002Ffast-forward: prove the task tip is an ancestor of the recorded base;\n- squash\u002Frebase: use fresh PR merge metadata plus strategy-appropriate patch\n  equivalence (`git cherry` for rebased commits; stable patch-id or bounded\n  changed-path\u002Ftree comparison for squashes), not an ancestor-only test;\n- unmerged\u002Fopen PR: keep the branch unless discard was exactly confirmed.\n\nNever delete a branch merely because a PR was opened or a similarly named\ncommit exists.\n\n## Step 6: Cleanup in Dependency Order\n\nFor a clean task-owned resource:\n\n1. move to another safe registered checkout; never remove the current working directory;\n2. remove\u002Funregister the worktree first with `git worktree remove \u003Cexact-path>`;\n3. read back `git worktree list --porcelain`;\n4. verify the exact path no longer exists;\n5. only then delete an integrated or exactly confirmed branch;\n6. read back branch refs, `HEAD`, and repository status.\n\nDo not use routine `--force`, global `git worktree prune`, wildcard deletion, or\ncleanup of resources absent from the task ownership record. On Windows, Git may\nunregister a worktree while its directory remains locked: re-check registration\nand the exact resolved path, remove only a proven task-owned clean residual when\nsafe, otherwise retain it and report the lock\u002Fpath. Never widen deletion scope.\n\n## Final Git Receipt\n\nReport:\n\n- current branch and commit SHA\u002Fmessage, or the reason no commit exists;\n- `Task clean: yes|no` and `Repository clean: yes|no` independently;\n- branch\u002Fworktree created, removed, or retained, with evidence\u002Freason;\n- integration evidence and any remaining user action.\n\n`Task clean` means no uncommitted task-owned delta remains. `Repository clean`\nmeans no staged, unstaged, or untracked repository state remains.\n\nThis is a local Git receipt, not authoritative completion or merge truth beyond\nthe evidence read back.\n\n## Integration\n\nCalled only when branch\u002Fworktree integration or explicit lifecycle handling is\nin scope. Pairs with `using-git-worktrees` and\n`verification-before-completion`.\n","# Finishing a Development Branch\n\n## Overview\n\nIntegration choice and checkout lifetime are separate. Verify first, mutate only\ntask-owned resources, then prove what was removed or retained.\n\n**Core principle:** fresh evidence -> authorized integration -> ownership-aware\ncleanup -> Git\u002Fpath readback.\n\n**Announce at start:** explain which branch\u002Fworktree lifecycle is being closed.\n\n## Step 1: Environment and Ownership Detection\n\nRead the task's `TaskStartSnapshot` and current repository state. Record:\n\n- root, `HEAD`, branch\u002Fdetached state, upstream divergence, and active Git ops;\n- staged\u002Funstaged\u002Funtracked paths and the task-owned delta;\n- `git worktree list --porcelain`;\n- branch\u002Fworktree creator, task ownership, base branch, and cleanup trigger.\n\nStop on conflicts, unexplained detached state, failed verification, dirty\u002Funtracked state in\na cleanup target, or unknown ownership. Do not infer the base from the names\n`main` or `master`; use task records, repository authority, or explicit user\ndirection. Never auto-stash, reset, clean, pull, rebase, amend, force-push, or\nbypass hooks.\n\nFor a trusted host-managed detached checkout, follow the repository's approved\nmanaged-workspace contract: verify host binding, default cwd, root, and HEAD;\nthen use its scoped local-commit and native handoff path. Report detached HEAD\nin the receipt. This exception does not authorize automatic deletion of the\ndetached checkout or bypass unknown ownership\u002Fbinding.\n\nIf no task-created branch\u002Fworktree exists and integration was not requested,\nskip this workflow: report the local task commit plus `Task clean` and\n`Repository clean`; do not invent merge\u002FPR ceremony.\n\n## Step 2: Fresh Verification\n\nRun the smallest current-authority test set that proves the completed task. If\nit fails, preserve all work and return to diagnosis. Do not present the branch\nas ready.\n\n## Step 3: Choose the Authorized Outcome\n\nWhen a task branch actually needs disposition, present only applicable choices:\n\n1. merge into the recorded base locally;\n2. push and create\u002Fupdate a PR;\n3. keep the branch for later integration;\n4. discard the exact task-owned branch\u002Fworktree.\n\nPush, PR, remote deletion, release, and force operations require explicit user\nauthorization. Discard requires a fresh, exact typed confirmation naming branch,\nworktree path, and commits\u002Fdelta to lose. Generic agreement is insufficient.\n\n## Step 4: Execute Without Hidden Mutation\n\n### Local merge\n\nVerify the target checkout is safe, switch to the recorded base, merge without an implicit pull,\nand rerun verification on the merged result. If integration\nor verification fails, preserve both histories and stop.\n\n### Push or PR\n\nPush only the authorized task branch and create\u002Fupdate the PR with summary and\nfresh test evidence. PR creation does not itself prove merge and does not\nrequire the temporary worktree to remain.\n\n### Keep branch\n\nRetain the branch. Remove a clean task-created temporary worktree by default;\nretain it only for an explicit ongoing-checkout need and report why.\n\n### Discard\n\nAfter exact confirmation, remove only the named clean task-owned worktree, then\nthe named branch. If either differs from the confirmation, stop and ask again.\n\n## Step 5: Prove Integration Before Branch Deletion\n\nUse evidence matching the merge strategy:\n\n- merge\u002Ffast-forward: prove the task tip is an ancestor of the recorded base;\n- squash\u002Frebase: use fresh PR merge metadata plus strategy-appropriate patch\n  equivalence (`git cherry` for rebased commits; stable patch-id or bounded\n  changed-path\u002Ftree comparison for squashes), not an ancestor-only test;\n- unmerged\u002Fopen PR: keep the branch unless discard was exactly confirmed.\n\nNever delete a branch merely because a PR was opened or a similarly named\ncommit exists.\n\n## Step 6: Cleanup in Dependency Order\n\nFor a clean task-owned resource:\n\n1. move to another safe registered checkout; never remove the current working directory;\n2. remove\u002Funregister the worktree first with `git worktree remove \u003Cexact-path>`;\n3. read back `git worktree list --porcelain`;\n4. verify the exact path no longer exists;\n5. only then delete an integrated or exactly confirmed branch;\n6. read back branch refs, `HEAD`, and repository status.\n\nDo not use routine `--force`, global `git worktree prune`, wildcard deletion, or\ncleanup of resources absent from the task ownership record. On Windows, Git may\nunregister a worktree while its directory remains locked: re-check registration\nand the exact resolved path, remove only a proven task-owned clean residual when\nsafe, otherwise retain it and report the lock\u002Fpath. Never widen deletion scope.\n\n## Final Git Receipt\n\nReport:\n\n- current branch and commit SHA\u002Fmessage, or the reason no commit exists;\n- `Task clean: yes|no` and `Repository clean: yes|no` independently;\n- branch\u002Fworktree created, removed, or retained, with evidence\u002Freason;\n- integration evidence and any remaining user action.\n\n`Task clean` means no uncommitted task-owned delta remains. `Repository clean`\nmeans no staged, unstaged, or untracked repository state remains.\n\nThis is a local Git receipt, not authoritative completion or merge truth beyond\nthe evidence read back.\n\n## Integration\n\nCalled only when branch\u002Fworktree integration or explicit lifecycle handling is\nin scope. Pairs with `using-git-worktrees` and\n`verification-before-completion`.\n",{"name":5,"description":7},"main","b0f0a87593c578a7898eccaf1b363f7f87c1f99b","plugins\u002FGanyuanRan\u002FAegis\u002Fskills\u002Ffinishing-a-development-branch",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill finishing-a-development-branch",{"tool":58,"command":59},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill finishing-a-development-branch",{"tool":61,"command":62},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill finishing-a-development-branch","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FGanyuanRan\u002FAegis\u002Fskills\u002Ffinishing-a-development-branch\u002FSKILL.md",true,[],[67,77,85,93,101,109],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":71,"licenseFileUrl":72,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":76},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"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":71,"licenseFileUrl":81,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":76},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":71,"licenseFileUrl":89,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":76},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":71,"licenseFileUrl":97,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":76},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":71,"licenseFileUrl":105,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":76},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":71,"licenseFileUrl":113,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":76},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]