[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BX781V7YFJGEF73W8EC29V":3,"skill-same:01M6BX781V7YFJGEF73W8EC29V":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":15,"repositoryHtmlUrl":47,"repositoryHomepageUrl":17,"ownerHtmlUrl":48,"ownerBlogUrl":49,"ownerDescription":17,"updatedAt":50,"install":51,"resources":63},"01M6BX781V7YFJGEF73W8EC29V","rebase-context","Context 分支变基与冲突解决","Rebase one context branch onto another in the context repo, resolving glossary + ADR conflicts as you go. Use when the base a branch forked from has advanced, or to re-parent a context branch. Distinct from merge-context (reconcile into trunk via merge) and offload-context (commit + push, no cross-branch).","在 context 仓库中将一个 context 分支变基（rebase）到另一个分支上，并同步解决术语表（glossary）与 ADR 冲突。当分支派生自的基础分支已前进，或需要为 context 分支重新指定父分支时使用。区别于 merge-context（通过合并整合到主干）和 offload-context（仅提交并推送，不涉及跨分支）。","epr3\u002Fdotfiles","epr3","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F17836403?v=4","01M6BX69256YXCM19NTC0GJZ65","Eduard Predescu","01M6BX696ESQMPA9YYH6XXR72R",0,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fepr3\u002Fdotfiles\u002Fblob\u002Fmain\u002Fskills\u002Frebase-context\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理","SCENARIO","使用场景",[31,32,33,34,35,36],"rebase","rebase context","go","commit","merge","push","2026-11-10 10:12:30",false,"---\nname: rebase-context\ndescription: Rebase one context branch onto another in the context repo, resolving glossary + ADR conflicts as you go. Use when the base a branch forked from has advanced, or to re-parent a context branch. Distinct from merge-context (reconcile into trunk via merge) and offload-context (commit + push, no cross-branch).\nargument-hint: \"\u003Csource> onto \u003Conto>: branch whose context to rebase, and the branch to rebase it onto (source defaults to the current branch; onto defaults to its base)\"\ndisable-model-invocation: true\n---\n\n# Rebase Context\n\nResolve the **context store** first: [GLOSSARY-FORMAT.md](..\u002Fdomain-modeling\u002FGLOSSARY-FORMAT.md) → *Resolving the context store*. **In-repo context** → this skill is a no-op; say so and stop.\n\nUnder a **context repo**, replay a source context branch's commits on top of a target so its history sits linearly on top of where it's now based. This is `git rebase` between two context branches plus conflict resolution with the glossary discipline in `merge-context`. See [GLOSSARY-FORMAT.md](..\u002Fdomain-modeling\u002FGLOSSARY-FORMAT.md) → *Publish + reconcile across branches*.\n\nTypical use: a branch's context was forked off its base (e.g. `feature-3` off `feature-2`); the base has since advanced, so you rebase the branch's context onto the updated base to stay current and linear. Bringing a branch **into** the context trunk is reconciliation (a merge), not a rebase; use `merge-context`.\n\n## Process\n\n### 1. Resolve source + onto\n\nParse the argument as `[\u003Csource>] onto \u003Conto>`. Source context branch: the named branch, else the current code branch's context. Onto: the named target, else the source's recorded **base**: the fork parent `ctx-init.sh` persisted for that context branch at fork time; read it at `${AGENT_CONTEXT_HOME:-${XDG_DATA_HOME:-$HOME\u002F.local\u002Fshare}\u002Fagent\u002Fctx}\u002F\u003Cslug>\u002F.git\u002Finfo\u002Ffork-parent\u002F\u003Cbranch>` (slug formula in [GLOSSARY-FORMAT.md](..\u002Fdomain-modeling\u002FGLOSSARY-FORMAT.md) → *Layout*), with cwd inside the code repo. An absent record falls back to the designated master. An explicit named `onto` always wins. Both are branches in this repo's **context repo**, their **context worktree**s pairing 1:1 with the code branches. Resolve the source **context worktree**; ensure `onto` exists (materialise its **context worktree** if needed). Confirm direction before any rewrite: the rebase **rewrites the source branch** on top of `onto`; `onto` is read, never changed.\n\n### 2. Rebase\n\nIn the source **context worktree**, replay onto the target: `git rebase \u003Conto>`. Clean commits apply untouched; the first conflicting commit stops the rebase for resolution. `git rebase --abort` at any point restores the branch exactly; nothing is lost.\n\n### 3. Resolve each conflict by meaning\n\nAt each stop git marks the conflicted files. Resolve by **meaning**, not just markers, running `merge-context`'s classify-and-interview discipline over the conflicted glossary and unioning ADRs by date-slug (superseding, never deleting). Pause the rebase on any divergence, alias clash, or ADR contradiction for review; never auto-pick meaning.\n\nStage the resolved files (`git add`) and `git rebase --continue`; repeat until the rebase finishes.\n\n### 4. Ground against the source's code\n\nThe authoritative universe after a rebase is the **source code worktree**, never onto's. Take its path universe via `\u003Csetup-context skill dir>\u002Fmanifest.sh`, invoked by path with **cwd anywhere inside the source code worktree**. Follow *Running the helper scripts* in [GLOSSARY-FORMAT.md](..\u002Fdomain-modeling\u002FGLOSSARY-FORMAT.md). A `\u003Cdir>\u002FGLOSSARY.md`, a term keyed to a missing module, or an ADR about absent code that the source's manifest lacks is **dangling**: surface it as a report + question and keep all context content until the user decides: never silently keep or drop anything. A dangling base-inherited path (present on onto, absent from the source) says \"context rebased before code\".\n\nSource-only feature paths stay valid: they exist on the source, just not on the base. This step completes once every dangling reference is surfaced and decided; grounding alone drops nothing.\n\n### 5. Finish\n\nRefresh the index with `\u003Csetup-context skill dir>\u002Fctx-index.sh`. Report: rebased `\u003Csource>` onto `\u003Conto>`, conflicts resolved, anything held or flagged dangling. Because the history is rewritten, republishing an already-pushed branch needs `git push --force-with-lease`; a deliberate act. Never force a shared trunk.\n","# Rebase Context\n\nResolve the **context store** first: [GLOSSARY-FORMAT.md](..\u002Fdomain-modeling\u002FGLOSSARY-FORMAT.md) → *Resolving the context store*. **In-repo context** → this skill is a no-op; say so and stop.\n\nUnder a **context repo**, replay a source context branch's commits on top of a target so its history sits linearly on top of where it's now based. This is `git rebase` between two context branches plus conflict resolution with the glossary discipline in `merge-context`. See [GLOSSARY-FORMAT.md](..\u002Fdomain-modeling\u002FGLOSSARY-FORMAT.md) → *Publish + reconcile across branches*.\n\nTypical use: a branch's context was forked off its base (e.g. `feature-3` off `feature-2`); the base has since advanced, so you rebase the branch's context onto the updated base to stay current and linear. Bringing a branch **into** the context trunk is reconciliation (a merge), not a rebase; use `merge-context`.\n\n## Process\n\n### 1. Resolve source + onto\n\nParse the argument as `[\u003Csource>] onto \u003Conto>`. Source context branch: the named branch, else the current code branch's context. Onto: the named target, else the source's recorded **base**: the fork parent `ctx-init.sh` persisted for that context branch at fork time; read it at `${AGENT_CONTEXT_HOME:-${XDG_DATA_HOME:-$HOME\u002F.local\u002Fshare}\u002Fagent\u002Fctx}\u002F\u003Cslug>\u002F.git\u002Finfo\u002Ffork-parent\u002F\u003Cbranch>` (slug formula in [GLOSSARY-FORMAT.md](..\u002Fdomain-modeling\u002FGLOSSARY-FORMAT.md) → *Layout*), with cwd inside the code repo. An absent record falls back to the designated master. An explicit named `onto` always wins. Both are branches in this repo's **context repo**, their **context worktree**s pairing 1:1 with the code branches. Resolve the source **context worktree**; ensure `onto` exists (materialise its **context worktree** if needed). Confirm direction before any rewrite: the rebase **rewrites the source branch** on top of `onto`; `onto` is read, never changed.\n\n### 2. Rebase\n\nIn the source **context worktree**, replay onto the target: `git rebase \u003Conto>`. Clean commits apply untouched; the first conflicting commit stops the rebase for resolution. `git rebase --abort` at any point restores the branch exactly; nothing is lost.\n\n### 3. Resolve each conflict by meaning\n\nAt each stop git marks the conflicted files. Resolve by **meaning**, not just markers, running `merge-context`'s classify-and-interview discipline over the conflicted glossary and unioning ADRs by date-slug (superseding, never deleting). Pause the rebase on any divergence, alias clash, or ADR contradiction for review; never auto-pick meaning.\n\nStage the resolved files (`git add`) and `git rebase --continue`; repeat until the rebase finishes.\n\n### 4. Ground against the source's code\n\nThe authoritative universe after a rebase is the **source code worktree**, never onto's. Take its path universe via `\u003Csetup-context skill dir>\u002Fmanifest.sh`, invoked by path with **cwd anywhere inside the source code worktree**. Follow *Running the helper scripts* in [GLOSSARY-FORMAT.md](..\u002Fdomain-modeling\u002FGLOSSARY-FORMAT.md). A `\u003Cdir>\u002FGLOSSARY.md`, a term keyed to a missing module, or an ADR about absent code that the source's manifest lacks is **dangling**: surface it as a report + question and keep all context content until the user decides: never silently keep or drop anything. A dangling base-inherited path (present on onto, absent from the source) says \"context rebased before code\".\n\nSource-only feature paths stay valid: they exist on the source, just not on the base. This step completes once every dangling reference is surfaced and decided; grounding alone drops nothing.\n\n### 5. Finish\n\nRefresh the index with `\u003Csetup-context skill dir>\u002Fctx-index.sh`. Report: rebased `\u003Csource>` onto `\u003Conto>`, conflicts resolved, anything held or flagged dangling. Because the history is rewritten, republishing an already-pushed branch needs `git push --force-with-lease`; a deliberate act. Never force a shared trunk.\n",{"name":5,"description":7,"argument-hint":42,"disable-model-invocation":43},"\u003Csource> onto \u003Conto>: branch whose context to rebase, and the branch to rebase it onto (source defaults to the current branch; onto defaults to its base)",true,"main","65bf09779e3f07885f06c48871a49186950e4f73","skills\u002Frebase-context","https:\u002F\u002Fgithub.com\u002Fepr3\u002Fdotfiles","https:\u002F\u002Fgithub.com\u002Fepr3","https:\u002F\u002Feduar.dev","2026-11-14 21:58:53",{"source":9,"skillName":5,"commands":52,"prompt":62,"zipAvailable":43},[53,56,59],{"tool":54,"command":55},"npx","npx skills add epr3\u002Fdotfiles --skill rebase-context",{"tool":57,"command":58},"bunx","bunx skills add epr3\u002Fdotfiles --skill rebase-context",{"tool":60,"command":61},"pnpm","pnpm dlx skills add epr3\u002Fdotfiles --skill rebase-context","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fepr3\u002Fdotfiles\u002Fblob\u002Fmain\u002Fskills\u002Frebase-context\u002FSKILL.md",[],[65,83,106,123,140,158],{"skillNo":66,"name":67,"nameZh":68,"description":69,"descriptionZh":70,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":71,"categories":72,"keywords":79,"publishedAt":37},"01M6BX801Z8NPQWTCRDMW3SX7S","writing-for-agents","智能体技能文档编写","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","为智能体编写文档。在创建或编辑技能（skill），或修改 AGENTS.md、CLAUDE.md 时使用。","https:\u002F\u002Fgithub.com\u002Fepr3\u002Fdotfiles\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[73,76],{"categoryNo":74,"categoryName":75,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",{"categoryNo":77,"categoryName":78,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发",[80,81,82],"writing for agents","writing","documents",{"skillNo":84,"name":85,"nameZh":86,"description":87,"descriptionZh":88,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":89,"categories":90,"keywords":97,"publishedAt":37},"01M6BX7XYN6BGV4QVHQDV3P0BN","wizard","交互式 Bash 向导生成","Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.","生成交互式 bash 向导，引导人类逐步完成只有本人才能执行的步骤。适用于配置基础设施、设置凭证或 CI 密钥、熟悉陌生的第三方仪表板，或执行一次性迁移\u002F切换。不要将其用于智能体自身即可执行的步骤。","https:\u002F\u002Fgithub.com\u002Fepr3\u002Fdotfiles\u002Fblob\u002Fmain\u002Fskills\u002Fwizard\u002FSKILL.md",[91,94],{"categoryNo":92,"categoryName":93,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师",{"categoryNo":95,"categoryName":96,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQNXPY1AV6BSR5VKHDMWRH","部署与发布管理",[85,98,99,100,101,102,103,104,105],"ci","infrastructure","secrets","Bash","generate","dashboard","provisioning","credentials",{"skillNo":107,"name":108,"nameZh":109,"description":110,"descriptionZh":111,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":112,"categories":113,"keywords":120,"publishedAt":37},"01M6BX7WS9T1Z0ERRAAMYVZB1J","wayfinder","大型任务决策规划","Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.","将大量工作（超出单个 agent 会话可承载的范围）规划为问题跟踪器上的决策工单共享地图，并逐个解决，直到通往目标的路径清晰明了。","https:\u002F\u002Fgithub.com\u002Fepr3\u002Fdotfiles\u002Fblob\u002Fmain\u002Fskills\u002Fwayfinder\u002FSKILL.md",[114,117],{"categoryNo":115,"categoryName":116,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTBRTQXJ9T5TABNS7XP1A0","任务规划与分解",{"categoryNo":118,"categoryName":119,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C31AVFVV99RWJEGF9PS85F","项目经理",[108,121,122],"plan","chunk",{"skillNo":124,"name":125,"nameZh":126,"description":127,"descriptionZh":128,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":129,"categories":130,"keywords":137,"publishedAt":37},"01M6BX7V35DB7K3MW5GWNSVTSG","wait-what","重述上一条消息","Stop. That last message did not land: re-pitch it.","停。上一条消息没有被理解：重新表述它。","https:\u002F\u002Fgithub.com\u002Fepr3\u002Fdotfiles\u002Fblob\u002Fmain\u002Fskills\u002Fwait-what\u002FSKILL.md",[131,134],{"categoryNo":132,"categoryName":133,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BS5011KJDVSRXG1DC4P666","普通用户",{"categoryNo":135,"categoryName":136,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C1YEW2680C003GGBD6QCKB","回复风格与输出控制",[138,139],"wait what","land",{"skillNo":141,"name":142,"nameZh":143,"description":144,"descriptionZh":145,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":146,"categories":147,"keywords":154,"publishedAt":37},"01M6BX7S81DD62SEEM2HCBWK7P","triage","工单与 PR 分诊","Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.","让问题和外部 PR 经过分诊角色的状态机流转，进行分类、验证，必要时深入质询，并编写可供 agent 直接使用的简报。","https:\u002F\u002Fgithub.com\u002Fepr3\u002Fdotfiles\u002Fblob\u002Fmain\u002Fskills\u002Ftriage\u002FSKILL.md",[148,151],{"categoryNo":149,"categoryName":150,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C2MZSDTE56BDKER3VPW2JM","工单与问题跟踪管理",{"categoryNo":152,"categoryName":153,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C76K09CC8W2T14CWAVWBKD","开源社区运营专员",[142,155,156,157],"issues","verify","state",{"skillNo":159,"name":160,"nameZh":161,"description":162,"descriptionZh":163,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":164,"categories":165,"keywords":168,"publishedAt":37},"01M6BX7QBN7VK4YWBM7PC4M5MG","to-tickets","计划拆解为工单","Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, published to the configured tracker (edges as text in one file per ticket locally, or native blocking links on a real tracker).","将计划、规格说明或当前对话拆分为一系列环环相扣的工单，每个工单声明其阻塞依赖关系，并发布到配置的跟踪器（本地以文本形式记录在每个工单一个文件中，或在真实跟踪器上使用原生阻塞链接）。","https:\u002F\u002Fgithub.com\u002Fepr3\u002Fdotfiles\u002Fblob\u002Fmain\u002Fskills\u002Fto-tickets\u002FSKILL.md",[166,167],{"categoryNo":149,"categoryName":150,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":118,"categoryName":119,"taxonomyType":23,"taxonomyTypeDesc":24},[169,170,171,121,172,173],"to tickets","spec","file","SET","text"]