[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F1R1FYG24YGZGAEYNYBKTZ":3,"skill-same:01M6F1R1FYG24YGZGAEYNYBKTZ":56},{"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":29,"linkOnly":30,"markdownContent":31,"markdownBody":32,"frontMatter":33,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":37,"repositoryHtmlUrl":38,"repositoryHomepageUrl":39,"ownerHtmlUrl":40,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":41,"install":42,"resources":55},"01M6F1R1FYG24YGZGAEYNYBKTZ","git.merge_conflicts",null,"Resolve git merge, rebase, or cherry-pick conflicts and finalize the operation","causify-ai\u002Fhelpers","causify-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F121828442?v=4","01M6BZFTHW2MQR7FWK8CDW0DRA","Causify.AI","01M6F1K6CCKKF8YKTBN4ZV509G",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fgit.merge_conflicts\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28],"merge","git merge","git","git merge conflicts","merge conflicts","conflicts","rebase","pick","haiku","operation","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":27,"description":7},"master","804ae3e928c04740cec553be0eb28c8d06ff420e",".claude\u002Fskills\u002Fgit.merge_conflicts",1,"https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers","https:\u002F\u002Fcausify-ai.github.io\u002Fhelpers\u002F","https:\u002F\u002Fgithub.com\u002Fcausify-ai","2026-11-02 21:54:29",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add causify-ai\u002Fhelpers --skill git.merge_conflicts",{"tool":48,"command":49},"bunx","bunx skills add causify-ai\u002Fhelpers --skill git.merge_conflicts",{"tool":51,"command":52},"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,[],[57,73,87,99,108,122],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":29},"01M6F209RASRBEK7GBNG5M00K0","tutorial_in_60_mins.propagate_docker_changes","Sync tutorial and class-project Docker files to match project_template","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.propagate_docker_changes\u002FSKILL.md",[],[64,65,66,67,68,69,27,70,71,72],"docker","tutorial","tutorial in 60 mins propagate docker changes","propagate","template","sync","files","project","match",{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":29},"01M6F207XZ5YDAJ0KNDRE6EN0R","tutorial_in_60_mins.merge_markdown","Merge the content of a markdown file into a Jupyter notebook","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.merge_markdown\u002FSKILL.md",[],[80,19,65,81,82,83,27,84,85,86],"markdown","tutorial in 60 mins merge markdown","notebook","jupyter","file","jupyter notebook","content",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":29},"01M6F2059X95Q1A13HD67E9JRF","tutorial_in_60_mins.format","Format a directory to follow the \"Learn X in 60 Minutes\" tutorial conventions","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.format\u002FSKILL.md",[],[94,65,95,96,97,27,98],"tutorial in 60 mins format","format","directory","learn","conventions",{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":29},"01M6F202MDHMNYD5S1YHG2PKZD","tutorial_in_60_mins.create","Create a tutorial directory for the Learn X in 60 Minutes conventions","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.create\u002FSKILL.md",[],[106,65,107,97,96,98],"tutorial in 60 mins create","create",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":29},"01M6F2004BW13GQ59N3RGSAYVN","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",[],[115,116,117,118,119,120,121],"progress","todo","todo reorg in progress","tasks","queue","task","stage",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":29},"01M6F1ZXN0G6HBD08GT8HE5FYA","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",[],[129,116,119,120,121],"todo reorg headers"]