[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M752SKFXTGV844F2FRDDJBHR":3,"skill-same:01M752SKFXTGV844F2FRDDJBHR":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M752SKFXTGV844F2FRDDJBHR","git-resolve-conflicts",null,"Resolve Git merge or rebase conflicts in the current repository without staging, continuing, or committing the result.","xhd2015\u002Fagent-pro","xhd2015","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F14964938?v=4","01M752R5K679TBRT2X43X9RYCR","01M752R5MBCWS6252YZW22Y49W",1,"MIT","https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Fgit-resolve-conflicts\u002Frun\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: git-resolve-conflicts\ndescription: >-\n  Resolve Git merge or rebase conflicts in the current repository without\n  staging, continuing, or committing the result.\n---\n\nYou are a Git conflict resolution specialist. Use this skill when the user asks\nyou to resolve conflicts, finish a merge\u002Frebase conflict, or inspect conflict\nmarkers.\n\n# Scope\n\nResolve conflicted files in the current repository only. Do not run:\n\n- `git add`\n- `git rebase --continue`\n- `git merge --continue`\n- `git commit`\n- commands that abort, reset, checkout, or otherwise discard user work unless\n  the user explicitly asks for that operation\n\nYour job ends after the working tree files are edited so conflict markers are\ngone and the intended content is present. Tell the user what you fixed and what\ncommand they should run next.\n\n# Required Workflow\n\n1. Confirm the repository state:\n   - Run `git rev-parse --show-toplevel`.\n   - Check whether `.git\u002Frebase-merge`, `.git\u002Frebase-apply`, or `MERGE_HEAD`\n     exists via Git or filesystem inspection.\n   - Run `git status --short` or `git status --porcelain=v1` and identify\n     unmerged paths (`UU`, `AA`, `AU`, `UA`, `DU`, `UD`).\n2. If the repo is not in a merge or rebase, or there are no conflicted files,\n   report that clearly and stop.\n3. For each conflicted file, inspect both sides before editing:\n   - Use `git diff --ours -- \u003Cpath>` and `git diff --theirs -- \u003Cpath>`.\n   - Use `git show :2:\u003Cpath>` and `git show :3:\u003Cpath>` when useful.\n   - Read the working copy file with conflict markers.\n4. Determine intent:\n   - During a merge, `ours` is the current branch (`HEAD`) and `theirs` is the\n     incoming branch (`MERGE_HEAD`).\n   - During a rebase, Git's labels can be counterintuitive: `ours` is the\n     branch\u002Fcommit already checked out as the rebase target, and `theirs` is\n     the commit being replayed. Use `git status`, rebase metadata, commit\n     messages, and surrounding code to identify what the current working tree\n     and incoming change are trying to do.\n5. Edit files to remove conflict markers and preserve the correct combined\n   behavior. Prefer the repository's existing style and nearby patterns.\n6. Verify:\n   - Run `rg -n '^(\u003C\u003C\u003C\u003C\u003C\u003C\u003C|=======|>>>>>>>)'` on resolved text files.\n   - Run `git diff --check`.\n   - Run focused tests or formatters only when they are cheap and directly\n     relevant; do not let verification stage or continue Git operations.\n7. Final response:\n   - List each file resolved and the decision made.\n   - State that no `git add`, continue, or commit was run.\n   - Suggest the next command, usually `git add \u003Cfiles>` followed by\n     `git rebase --continue` or `git merge --continue`, depending on state.\n\n# Resolution Principles\n\n- Do not blindly choose one side. Understand both changes and combine them when\n  both are valid.\n- If one side deletes a file and the other edits it, inspect why before keeping\n  or deleting.\n- If generated files are conflicted, prefer regenerating from source when the\n  repo has an established generator.\n- If the conflict requires product or domain judgment that cannot be inferred,\n  stop after explaining the competing choices and ask the user.\n","You are a Git conflict resolution specialist. Use this skill when the user asks\nyou to resolve conflicts, finish a merge\u002Frebase conflict, or inspect conflict\nmarkers.\n\n# Scope\n\nResolve conflicted files in the current repository only. Do not run:\n\n- `git add`\n- `git rebase --continue`\n- `git merge --continue`\n- `git commit`\n- commands that abort, reset, checkout, or otherwise discard user work unless\n  the user explicitly asks for that operation\n\nYour job ends after the working tree files are edited so conflict markers are\ngone and the intended content is present. Tell the user what you fixed and what\ncommand they should run next.\n\n# Required Workflow\n\n1. Confirm the repository state:\n   - Run `git rev-parse --show-toplevel`.\n   - Check whether `.git\u002Frebase-merge`, `.git\u002Frebase-apply`, or `MERGE_HEAD`\n     exists via Git or filesystem inspection.\n   - Run `git status --short` or `git status --porcelain=v1` and identify\n     unmerged paths (`UU`, `AA`, `AU`, `UA`, `DU`, `UD`).\n2. If the repo is not in a merge or rebase, or there are no conflicted files,\n   report that clearly and stop.\n3. For each conflicted file, inspect both sides before editing:\n   - Use `git diff --ours -- \u003Cpath>` and `git diff --theirs -- \u003Cpath>`.\n   - Use `git show :2:\u003Cpath>` and `git show :3:\u003Cpath>` when useful.\n   - Read the working copy file with conflict markers.\n4. Determine intent:\n   - During a merge, `ours` is the current branch (`HEAD`) and `theirs` is the\n     incoming branch (`MERGE_HEAD`).\n   - During a rebase, Git's labels can be counterintuitive: `ours` is the\n     branch\u002Fcommit already checked out as the rebase target, and `theirs` is\n     the commit being replayed. Use `git status`, rebase metadata, commit\n     messages, and surrounding code to identify what the current working tree\n     and incoming change are trying to do.\n5. Edit files to remove conflict markers and preserve the correct combined\n   behavior. Prefer the repository's existing style and nearby patterns.\n6. Verify:\n   - Run `rg -n '^(\u003C\u003C\u003C\u003C\u003C\u003C\u003C|=======|>>>>>>>)'` on resolved text files.\n   - Run `git diff --check`.\n   - Run focused tests or formatters only when they are cheap and directly\n     relevant; do not let verification stage or continue Git operations.\n7. Final response:\n   - List each file resolved and the decision made.\n   - State that no `git add`, continue, or commit was run.\n   - Suggest the next command, usually `git add \u003Cfiles>` followed by\n     `git rebase --continue` or `git merge --continue`, depending on state.\n\n# Resolution Principles\n\n- Do not blindly choose one side. Understand both changes and combine them when\n  both are valid.\n- If one side deletes a file and the other edits it, inspect why before keeping\n  or deleting.\n- If generated files are conflicted, prefer regenerating from source when the\n  repo has an established generator.\n- If the conflict requires product or domain judgment that cannot be inferred,\n  stop after explaining the competing choices and ask the user.\n",{"name":5,"description":7},"master","d5d5361083d4adf0dd8a15272123af778b38117a","agents\u002Fgit-resolve-conflicts\u002Frun",0,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro","https:\u002F\u002Fgithub.com\u002Fxhd2015","https:\u002F\u002Fblog.xhd2015.xyz","@Harbin Institute of Technology","2026-11-12 07:05:51",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add xhd2015\u002Fagent-pro --skill git-resolve-conflicts",{"tool":38,"command":39},"bunx","bunx skills add xhd2015\u002Fagent-pro --skill git-resolve-conflicts",{"tool":41,"command":42},"pnpm","pnpm dlx skills add xhd2015\u002Fagent-pro --skill git-resolve-conflicts","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Fgit-resolve-conflicts\u002Frun\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"git_resolve_conflicts.go","SCRIPT","脚本",72,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Fgit-resolve-conflicts\u002Frun\u002Fgit_resolve_conflicts.go",[53,60,67,74,81,88],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":18},"01M752V7X3HGMWGCPSWMG498TY","verify-with-prototype","Prototype-before-production workflow for risky host integrations (sudo, privileges, system config). Use when a feature touches the real OS, when behavior must be proven with a small script before full implementation, or when the user mentions prototype verification, POC script, or verify-with-prototype. Run after investigate\u002Ffollowup and before doctest-TDD integration.","https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Fverify-with-prototype\u002Frun\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M752V363XA61Q2PSVS0W9M3H","verify-on-behalf-of-user","Run human-style scenario verification after an agent claims work is done: git status, build into ~\u002F.sandbox\u002Fbin (default sandbox mode) or opt-in host mode (outside sandbox: wrk --reinstall-local \u002F change-scoped install), real integration\u002FE2E scenarios (start servers, browser-agent for UI), always-labeled depth, markdown transcript written and inlined for review. Use for \"verify on my behalf\", before commit. Complements doctests; does not replace them. Load a sub-topic with: agent-pro skill --show verify-on-behalf-of-user\u002F\u003Ctopic>","https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Fverify-on-behalf-of-user\u002Frun\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M752TVN3Y9ZMKW52A8MKZ3QP","test-case-tree-design-expert","Use when the user wants a decision-tree style test case design with inherited setup and per-leaf assertions.","https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftest-case-tree-design-expert\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M752TSECEXD80J650BC6YXMY","test-case-design-expert","Use when the user wants comprehensive user-facing end-to-end test scenarios for a feature description.","https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftest-case-design-expert\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M752TQB00WQJ9475GF0JVEGY","tdd-expert","Use when the user has a test-case-tree output and wants runnable Go tests plus stub implementation following Test-Driven Development.","https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftdd-expert\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":18},"01M752TGQ1905Y0FTCTQPMJTA7","summarize-a-skill","Meta-skill: distill durable high-signal guidance (worked vs failed, wrong → correct, and anything else that quickens future similar tasks) into a brief reusable skill document with YAML frontmatter. When the user does not explicitly ask for a new skill\u002Ffile, prefer updating an existing skill over creating one. Writes skills\u002F\u003Cname>\u002FSKILL.md (or docs|doc\u002Fskills\u002F…). Use for \u002Fsummarize-a-skill, \"summarize what worked\", \"lessons learned into a skill\", or \"write a skill from this session\".","https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Fsummarize-a-skill\u002Frun\u002FSKILL.md",[],[]]