[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BZKE3DMND7EQY7XBPS8C4D":3,"skill-same:01M6BZKE3DMND7EQY7XBPS8C4D":65},{"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":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":48,"ownerHtmlUrl":49,"ownerBlogUrl":17,"ownerDescription":17,"updatedAt":50,"install":51,"resources":64},"01M6BZKE3DMND7EQY7XBPS8C4D","git.merge_conflicts","Git 合并冲突解决","Resolve git merge, rebase, or cherry-pick conflicts and finalize the operation","解决 git 合并（merge）、变基（rebase）或拣选（cherry-pick）冲突，并完成该操作","causify-ai\u002Fhelpers","causify-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F121828442?v=4","01M6BZFTHW2MQR7FWK8CDW0DRA","Causify.AI","01M6BZFTPJ193AB5N089Z82HQG",155,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fgit.merge_conflicts\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,37],"merge","git merge","git","git merge conflicts","rebase","pick","haiku","2026-11-10 10:12:30",false,"---\ndescription: Resolve git merge, rebase, or cherry-pick conflicts and finalize the operation\nmodel: haiku\n---\n\n# Goal\n- Given a repo with unresolved Git conflicts, understand why each conflict happened,\n  resolve it, verify the result, and finalize the in-progress operation\n\n# Workflow\n\n## Identify the Operation In Progress\n- Determine whether the repo is in the middle of a `merge`, `rebase`, or\n  `cherry-pick`, since finalizing the resolution differs by operation\n  ```bash\n  > ls -a .git | grep -E \"MERGE_HEAD|rebase-merge|rebase-apply|CHERRY_PICK_HEAD\"\n  ```\n- Note `\u003CSOURCE>`, the branch\u002Fcommit being merged, rebased, or cherry-picked in, and\n  `\u003CTARGET>`, the branch that already contains history (e.g., `main` during a merge,\n  or the branch being rebased onto)\n\n## Find the Files with Conflicts\n- Find the files with conflicts running\n  ```bash\n  > git diff --name-only --diff-filter=U\n  ```\n\n## Understand the Context\n- Understand the context, e.g., by looking at the PR description, if present\n  ```bash\n  > gh pr view\n  ```\n  - If there is no open PR, `gh pr view` fails: skip it and rely on commit history\n    instead\n- Look at the previous commits on `\u003CSOURCE>` and `\u003CTARGET>` that lead to the\n  conflict, to understand the intent behind each side\n  ```bash\n  > git log \u003CTARGET>..\u003CSOURCE>\n  > git log \u003CSOURCE>..\u003CTARGET>\n  ```\n\n## Propose Fixes\n- For each file with conflicts:\n  - List every conflict hunk in the file (a file can have more than one `\u003C\u003C\u003C\u003C\u003C\u003C\u003C` \u002F\n    `=======` \u002F `>>>>>>>` block)\n  - For each hunk (or set of similar hunks), explain why the conflict happened and\n    propose what needs to be done\n\n- Example\n  ```verbatim\n  1. tutorials\u002FGitHub_Stats\u002FMaster_GitHub_analysis.py\n     - Issue: Jupytext version conflict.\n     - Resolution: Use \u003CTARGET>, it's the newer version.\n\n  2. tutorials\u002FGitHub_Stats\u002Fdocker_jupyter.sh\n     - Issue: \u003CSOURCE> adds -e GITHUB_ACCESS_TOKEN to Docker env; \u003CTARGET>\n       removes it.\n     - Resolution: Use \u003CTARGET> (remove the line)\n  ```\n\n- If unsure what to do, prefer the changes from `\u003CSOURCE>` over `\u003CTARGET>`\n  - `\u003CTARGET>`'s history is already saved, while discarding `\u003CSOURCE>`'s changes\n    could lose them permanently\n\n## Ask User and Apply the Changes\n- Ask the user which resolution to apply for each ambiguous case\n- Edit each conflicted file to remove the conflict markers and apply the chosen\n  resolution\n- Confirm no conflict markers remain in any resolved file\n  ```bash\n  > grep -rn '^\u003C\u003C\u003C\u003C\u003C\u003C\u003C\\|^=======\\|^>>>>>>>' \u003CRESOLVED_FILES>\n  ```\n- Stage each resolved file\n  ```bash\n  > git add \u003CFILE>\n  ```\n\n## Finalize the Operation\n- You MUST ask for user permission before finalizing, per the repo rule of never\n  committing without permission\n- Once approved, finalize based on the operation identified above:\n  - `merge`: `git commit`\n  - `rebase`: `git rebase --continue`\n  - `cherry-pick`: `git cherry-pick --continue`\n- Do not skip hooks (e.g., `--no-verify`) or force anything unless the user\n  explicitly asks for it\n\n# Verification\n- [ ] Run the related unit tests to make sure everything is fine\n- [ ] Confirm there are no conflict markers `\u003C\u003C\u003C\u003C\u003C\u003C\u003C` \u002F `=======` \u002F `>>>>>>>`\n- [ ] Confirm the operation finished cleanly\n  ```bash\n  > git status\n  ```\n\n# Ask for Help If Unsure How to Do\n- If the task is not perfectly clear, you MUST not perform it, but ask for\n  clarifications\n  - When the task is complex, create a plan.md with 5 bullet points explaining\n    what the plan is\n","# Goal\n- Given a repo with unresolved Git conflicts, understand why each conflict happened,\n  resolve it, verify the result, and finalize the in-progress operation\n\n# Workflow\n\n## Identify the Operation In Progress\n- Determine whether the repo is in the middle of a `merge`, `rebase`, or\n  `cherry-pick`, since finalizing the resolution differs by operation\n  ```bash\n  > ls -a .git | grep -E \"MERGE_HEAD|rebase-merge|rebase-apply|CHERRY_PICK_HEAD\"\n  ```\n- Note `\u003CSOURCE>`, the branch\u002Fcommit being merged, rebased, or cherry-picked in, and\n  `\u003CTARGET>`, the branch that already contains history (e.g., `main` during a merge,\n  or the branch being rebased onto)\n\n## Find the Files with Conflicts\n- Find the files with conflicts running\n  ```bash\n  > git diff --name-only --diff-filter=U\n  ```\n\n## Understand the Context\n- Understand the context, e.g., by looking at the PR description, if present\n  ```bash\n  > gh pr view\n  ```\n  - If there is no open PR, `gh pr view` fails: skip it and rely on commit history\n    instead\n- Look at the previous commits on `\u003CSOURCE>` and `\u003CTARGET>` that lead to the\n  conflict, to understand the intent behind each side\n  ```bash\n  > git log \u003CTARGET>..\u003CSOURCE>\n  > git log \u003CSOURCE>..\u003CTARGET>\n  ```\n\n## Propose Fixes\n- For each file with conflicts:\n  - List every conflict hunk in the file (a file can have more than one `\u003C\u003C\u003C\u003C\u003C\u003C\u003C` \u002F\n    `=======` \u002F `>>>>>>>` block)\n  - For each hunk (or set of similar hunks), explain why the conflict happened and\n    propose what needs to be done\n\n- Example\n  ```verbatim\n  1. tutorials\u002FGitHub_Stats\u002FMaster_GitHub_analysis.py\n     - Issue: Jupytext version conflict.\n     - Resolution: Use \u003CTARGET>, it's the newer version.\n\n  2. tutorials\u002FGitHub_Stats\u002Fdocker_jupyter.sh\n     - Issue: \u003CSOURCE> adds -e GITHUB_ACCESS_TOKEN to Docker env; \u003CTARGET>\n       removes it.\n     - Resolution: Use \u003CTARGET> (remove the line)\n  ```\n\n- If unsure what to do, prefer the changes from `\u003CSOURCE>` over `\u003CTARGET>`\n  - `\u003CTARGET>`'s history is already saved, while discarding `\u003CSOURCE>`'s changes\n    could lose them permanently\n\n## Ask User and Apply the Changes\n- Ask the user which resolution to apply for each ambiguous case\n- Edit each conflicted file to remove the conflict markers and apply the chosen\n  resolution\n- Confirm no conflict markers remain in any resolved file\n  ```bash\n  > grep -rn '^\u003C\u003C\u003C\u003C\u003C\u003C\u003C\\|^=======\\|^>>>>>>>' \u003CRESOLVED_FILES>\n  ```\n- Stage each resolved file\n  ```bash\n  > git add \u003CFILE>\n  ```\n\n## Finalize the Operation\n- You MUST ask for user permission before finalizing, per the repo rule of never\n  committing without permission\n- Once approved, finalize based on the operation identified above:\n  - `merge`: `git commit`\n  - `rebase`: `git rebase --continue`\n  - `cherry-pick`: `git cherry-pick --continue`\n- Do not skip hooks (e.g., `--no-verify`) or force anything unless the user\n  explicitly asks for it\n\n# Verification\n- [ ] Run the related unit tests to make sure everything is fine\n- [ ] Confirm there are no conflict markers `\u003C\u003C\u003C\u003C\u003C\u003C\u003C` \u002F `=======` \u002F `>>>>>>>`\n- [ ] Confirm the operation finished cleanly\n  ```bash\n  > git status\n  ```\n\n# Ask for Help If Unsure How to Do\n- If the task is not perfectly clear, you MUST not perform it, but ask for\n  clarifications\n  - When the task is complex, create a plan.md with 5 bullet points explaining\n    what the plan is\n",{"model":37,"description":7},"master","39143a859859181eff7e774457997b5278fd9e99",".claude\u002Fskills\u002Fgit.merge_conflicts",170,"https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers","https:\u002F\u002Fcausify.ai","https:\u002F\u002Fgithub.com\u002Fcausify-ai","2026-11-02 02:09:15",{"source":9,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add causify-ai\u002Fhelpers --skill git.merge_conflicts",{"tool":57,"command":58},"bunx","bunx skills add causify-ai\u002Fhelpers --skill git.merge_conflicts",{"tool":60,"command":61},"pnpm","pnpm dlx skills add causify-ai\u002Fhelpers --skill git.merge_conflicts","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fgit.merge_conflicts\u002FSKILL.md",true,[],[66,87,106,123,136,145],{"skillNo":67,"name":68,"nameZh":69,"description":70,"descriptionZh":71,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":72,"categories":73,"keywords":80,"publishedAt":38},"01M6C9ZMM0XSXCHHABMJ9XB1JB","tutorial_in_60_mins.propagate_docker_changes","Docker 文件同步与模板对齐","Sync tutorial and class-project Docker files to match project_template","同步教程和课程项目的 Docker 文件，使其与 project_template 保持一致。","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.propagate_docker_changes\u002FSKILL.md",[74,77],{"categoryNo":75,"categoryName":76,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理",{"categoryNo":78,"categoryName":79,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BVB0FJ0RR8KXYVFTKEA3XX","技术文档工程师",[81,82,83,84,37,85,86],"tutorial in 60 mins propagate docker changes","tutorial","docker","files","template","sync",{"skillNo":88,"name":89,"nameZh":90,"description":91,"descriptionZh":92,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":93,"categories":94,"keywords":99,"publishedAt":38},"01M6C9ZJK8QJ9FNCY39WVF3GMG","tutorial_in_60_mins.merge_markdown","Markdown 合并至 Jupyter Notebook","Merge the content of a markdown file into a Jupyter notebook","将 Markdown 文件的内容合并到 Jupyter Notebook 中。","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.merge_markdown\u002FSKILL.md",[95,98],{"categoryNo":96,"categoryName":97,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TK1MPB82068236GSXDE","文档处理",{"categoryNo":78,"categoryName":79,"taxonomyType":23,"taxonomyTypeDesc":24},[31,100,82,101,102,37,103,104,105],"tutorial in 60 mins merge markdown","markdown","jupyter","file","content","jupyter notebook",{"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":118,"publishedAt":38},"01M6C9ZFYK13ZCT1E8BEEC4NG4","tutorial_in_60_mins.format","60 分钟教程格式规范化","Format a directory to follow the \"Learn X in 60 Minutes\" tutorial conventions","格式化目录，使其遵循「Learn X in 60 Minutes」（60 分钟学会 X）教程约定。","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.format\u002FSKILL.md",[114,115],{"categoryNo":78,"categoryName":79,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":116,"categoryName":117,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8CFCW1CKQHXFV91HEWYD9W6","课程开发与教学制作",[119,82,120,121,122,37],"tutorial in 60 mins format","format","directory","learn",{"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":133,"publishedAt":38},"01M6C9ZDKXSBKNKX7M3X4W38G5","tutorial_in_60_mins.create","60 分钟教程目录创建","Create a tutorial directory for the Learn X in 60 Minutes conventions","按照「Learn X in 60 Minutes」（60 分钟学会 X）约定创建教程目录。","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.create\u002FSKILL.md",[131,132],{"categoryNo":78,"categoryName":79,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":116,"categoryName":117,"taxonomyType":28,"taxonomyTypeDesc":29},[134,82,135,121,122],"tutorial in 60 mins create","create",{"skillNo":137,"name":138,"nameZh":17,"description":139,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":38},"01M6BZS5Z0QE03WRS1TM3XJEY9","todo.reorg_in_progress","Reorganize ai_task_queue.md so in-progress tasks, not-started tasks, and mislabeled topic headers sit under the right H1 stage","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftodo.reorg_in_progress\u002FSKILL.md",[],[143,144],"todo reorg in progress","tasks",{"skillNo":146,"name":147,"nameZh":17,"description":148,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":38},"01M6BZS4CQZ6KK2KQ26SVB7QCS","todo.reorg_headers","Reorganize ai_task_queue.md .md so every H2 topic matches ALL TOPICS and every H3 task sits under the right topic, keeping its H1 stage","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftodo.reorg_headers\u002FSKILL.md",[],[152],"todo reorg headers"]