--- name: ase-repo-resolve argument-hint: "[--help|-h] [--dir|-d ] [--safe|-s] [--interactive|-i] [ ...]" description: > Resolve the Git merge conflicts of a working directory -- of an in-progress merge, rebase, cherry-pick, revert, stash apply, or of conflict markers left by patch -- carefully and semantically, never losing any change, escalate unresolvable hunks as-is, continue the in-progress operation, and emit a RESOLVED, PARTIAL, NONE, or FAILED verdict. Use when the user calls to "resolve" or "fix" merge conflicts. user-invocable: true disable-model-invocation: false effort: high allowed-tools: - "Bash(git *)" - "Bash(mkdir -p *)" - "Bash(cp -p *)" - "Bash(rm -rf *)" - "Bash(rm -f *)" - "Read" - "Edit" - "Write" --- @${CLAUDE_SKILL_DIR}/../../meta/ase-control.md @${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md @${CLAUDE_SKILL_DIR}/../../meta/ase-dialog.md @${CLAUDE_SKILL_DIR}/../../meta/ase-getopt.md Resolve Merge Conflicts $ARGUMENTS *Resolve* the merge conflicts of the working directory *semantically*, *never* losing any change, *escalate* the unresolvable hunks as-is, *continue* the in-progress operation, and report the *resolve verdict*. During the entire operation, you *MUST* *NEVER* create, switch, or check out any branch, and always continue the operation on the branch currently checked out, as a branch switch destroys the in-progress operation state like `MERGE_HEAD` or `REBASE_HEAD` -- this overrides any general rule like "branch first if on the default branch". @${CLAUDE_SKILL_DIR}/../../meta/ase-common-resolve.md Procedure --------- 1. 1. Set to with any leading and trailing whitespace stripped. Do not output anything. 2. Resolve the conflicts by expanding the following: 3. Only output the following