Finishing a Development Branch
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
Resolve git merge/rebase conflicts safely without losing intended changes.
$ npx skills add oocx/tfplan2md --skill merge-conflict-resolution -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install oocx/tfplan2md merge-conflict-resolution --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/oocx/tfplan2md.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/merge-conflict-resolution .claude/skills/merge-conflict-resolution && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "merge-conflict-resolution" agent skill from https://github.com/oocx/tfplan2md/tree/main/.agents/skills/merge-conflict-resolution into .claude/skills/merge-conflict-resolution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "merge-conflict-resolution", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/oocx/tfplan2md/tree/main/.agents/skills/merge-conflict-resolutionType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add oocx/tfplan2md --skill merge-conflict-resolution -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install oocx/tfplan2md merge-conflict-resolution --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/oocx/tfplan2md.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/merge-conflict-resolution .agents/skills/merge-conflict-resolution && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "merge-conflict-resolution" agent skill from https://github.com/oocx/tfplan2md/tree/main/.agents/skills/merge-conflict-resolution into .agents/skills/merge-conflict-resolution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "merge-conflict-resolution", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add oocx/tfplan2md --skill merge-conflict-resolution -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install oocx/tfplan2md merge-conflict-resolution --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/oocx/tfplan2md.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/merge-conflict-resolution .cursor/skills/merge-conflict-resolution && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "merge-conflict-resolution" agent skill from https://github.com/oocx/tfplan2md/tree/main/.agents/skills/merge-conflict-resolution into .cursor/skills/merge-conflict-resolution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "merge-conflict-resolution", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/oocx/tfplan2md.git --path .agents/skills/merge-conflict-resolution--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add oocx/tfplan2md --skill merge-conflict-resolution -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install oocx/tfplan2md merge-conflict-resolution --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/oocx/tfplan2md.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/merge-conflict-resolution .gemini/skills/merge-conflict-resolution && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "merge-conflict-resolution" agent skill from https://github.com/oocx/tfplan2md/tree/main/.agents/skills/merge-conflict-resolution into .gemini/skills/merge-conflict-resolution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "merge-conflict-resolution", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install oocx/tfplan2md merge-conflict-resolutionInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add oocx/tfplan2md --skill merge-conflict-resolution -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/oocx/tfplan2md.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/merge-conflict-resolution .github/skills/merge-conflict-resolution && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "merge-conflict-resolution" agent skill from https://github.com/oocx/tfplan2md/tree/main/.agents/skills/merge-conflict-resolution into .github/skills/merge-conflict-resolution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "merge-conflict-resolution", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add oocx/tfplan2md --skill merge-conflict-resolution -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install oocx/tfplan2md merge-conflict-resolution --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/oocx/tfplan2md.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/merge-conflict-resolution .opencode/skills/merge-conflict-resolution && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "merge-conflict-resolution" agent skill from https://github.com/oocx/tfplan2md/tree/main/.agents/skills/merge-conflict-resolution into .opencode/skills/merge-conflict-resolution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "merge-conflict-resolution", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
merge-conflict-resolutionResolve git merge/rebase conflicts safely without losing intended changes.
Merge Conflict Resolution is an agent skill from oocx/tfplan2md. Resolve git merge/rebase conflicts safely without losing intended changes.
Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Git workflow. It works with Git. The repository describes itself as: Convert terraform plans (json) into human readable markdown for easier review of changes in pull requests. The licence is MIT.
8 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit aa2fa28. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Merge Conflict Resolution loads about 1.8k tokens when it runs. Until then it costs about 25 tokens; SKILL.md has 834 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from oocx/tfplan2md at commit aa2fa28, republished under its MIT licence (© oocx). 834 words, ~1,810 tokens.
.claude/skills/merge-conflict-resolution/SKILL.md (or your agent's skills folder).Prevent accidental loss of intended changes when a git merge or rebase hits conflicts (e.g., documentation regressions like the docs/architecture.md incident referenced in Feature 024).
This skill is intended for any agent that can commit changes.
A conflict is not a “choose ours/theirs” problem — it’s an intent reconciliation problem.
You must understand the intent of both changes before resolving anything. The correct resolution depends on intent, not on which side is main.
Often the right answer is “keep the intent of both changes”, which may require a manual edit that combines or restructures content.
Sometimes, intent is genuinely contradictory and cannot be resolved automatically. In that case, ask the user how to proceed.
<<<<<<<, =======, >>>>>>>).git status shows no unmerged paths.git checkout --ours <file> / git checkout --theirs <file> without validating intent.If the conflict touches source-of-truth docs (e.g., docs/spec.md, docs/architecture.md) and the correct content is not unambiguous from the current task context, you must ask the maintainer which version to keep/merge before committing.
If the two change intents are contradictory (both cannot be true at the same time), you must ask the user to choose a direction. Do not attempt to “average” or invent a new intent.
Before you modify any conflicted file, produce an explicit analysis in chat using this template:
Conflict analysis
Change A intent:
- <what this change is trying to achieve>
Change B intent:
- <what this change is trying to achieve>
Compatibility:
- Compatible / Partially compatible / Contradictory
- Notes: <why>
Proposed resolution:
- <how you will preserve the intent of both changes>
Open questions (must answer before proceeding):
- <question 1>If you cannot confidently state the intent for both changes, stop and ask.
If you are in doubt about the intent of a change, ask questions until you understand it. Useful prompts:
Use git to confirm the conflict state and list conflicted files:
git status
git diff --name-only --diff-filter=Ugit status
# or (machine-friendly)
git diff --name-only --diff-filter=Ugit merge ...)For each conflicted file:
# See conflict hunks and surrounding context
sed -n '1,200p' <file>
# Compare current index stages (2=ours, 3=theirs) if available
# (These commands are safe even if a stage is missing.)
git show :2:<file> 2>/dev/null | head -50 || true
git show :3:<file> 2>/dev/null | head -50 || trueWhile inspecting, explicitly determine intent:
# Review what you’re about to commit
git diff
# Ensure git sees conflicts as resolved
git statusAlso do a repo-wide check that no conflict markers remain. Prefer tooling that searches files directly (no scripts required), for example:
<<<<<<<, =======, and >>>>>>><<<<<<<, =======, and >>>>>>>git grep -n '^<<<<<<< ' || true (repeat for the other markers)After conflicts are resolved, validate correctness based on file type:
Documentation changes:
Code changes:
If this is a merge:
git add <file>...
git commitIf this is a rebase:
git add <file>...
git rebase --continueWhen you create a commit that resolves conflicts, the commit message must describe:
Template:
<type>: resolve merge conflicts
Conflicts:
- <file/group>: <what conflicted>
Resolution:
- <how you preserved intent of both changes OR what decision was made>
Why:
- <why this is correct>© oocx, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/merge-conflict-resolution of oocx/tfplan2md.
Open the folder on GitHubat commit aa2fa28
Merge Conflict Resolution next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Merge Conflict Resolution this skilloocx/tfplan2md | 174 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Finishing a Development Branchobra/superpowers | 297k | 5 repos | ~1.9k | Automated safety check: Pass | MIT | |
| Contributor-First PR MergeHKUDS/OpenHarness | 16k | 1 repos | ~847 | Automated safety check: Pass | MIT | |
| Migrate Internal Package into GhostTryGhost/Ghost | 56k | — | ~3.8k | Automated safety check: Pass | MIT | |
| Create Pull Requestcline/cline | 70k | 1 repos | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Git Merge Conflict Resolvertailcallhq/forgecode | 7.6k | 1 repos | ~4.5k | Automated safety check: Pass | Apache-2.0 |
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
HKUDS/OpenHarness
Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.
TryGhost/Ghost
Moves a package from another TryGhost repository into Ghost as an internal workspace package while keeping its Git history, with checkpoints for the steps that need an administrator.
cline/cline
Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.
tailcallhq/forgecode
Resolves Git merge conflicts with a plan-first workflow that keeps both sides' intent, regenerates lock files and backs up deleted-but-modified files.
makeplane/plane
Names a new Git branch with a type prefix, the lowercased work item ID and a short kebab-case description, so the ID can be extracted later from the branch name.
oocx/tfplan2md
Create a new Agent Skill following project standards and templates.
oocx/tfplan2md
Detect and analyze edge crossings and overlaps in SVG workflow diagrams using geometric intersection algorithms and visual analysis.
oocx/tfplan2md
Generate PNG screenshots for release notes using the repository's HtmlRenderer and ScreenshotGenerator tools.
oocx/tfplan2md
Safely rebase the current feature branch on top of the latest origin/main.
oocx/tfplan2md
Determine the next available issue number across all change types (feature, fix, workflow, website) by checking both local docs and remote branches, then reserve it by pushing an empty branch.
oocx/tfplan2md
Run User Acceptance Testing by creating a PR with rendered markdown on GitHub or Azure DevOps.
Works with
Categories
Resolve git merge/rebase conflicts safely without losing intended changes. Merge Conflict Resolution is an agent skill from oocx/tfplan2md. Resolve git merge/rebase conflicts safely without losing intended changes.
Merge Conflict Resolution fits situations like: tasks that involve Git workflow.
Run `npx skills add oocx/tfplan2md --skill merge-conflict-resolution -a claude-code`. Or copy the skill folder (.agents/skills/merge-conflict-resolution in oocx/tfplan2md) into .claude/skills/merge-conflict-resolution in your project. Claude Code loads it when a task matches its description.
Run `npx skills add oocx/tfplan2md --skill merge-conflict-resolution -a codex`. Or copy the skill folder (.agents/skills/merge-conflict-resolution in oocx/tfplan2md) into .agents/skills/merge-conflict-resolution in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add oocx/tfplan2md --skill merge-conflict-resolution -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/merge-conflict-resolution, .gemini/skills/merge-conflict-resolution, .github/skills/merge-conflict-resolution and .opencode/skills/merge-conflict-resolution in your project.
Going by SKILL.md and its folder, Merge Conflict Resolution needs the command-line tools its instructions call (git).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Merge Conflict Resolution is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.8k tokens (SKILL.md is roughly 7.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Merge Conflict Resolution: Finishing a Development Branch (obra/superpowers, 297k stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars), Migrate Internal Package into Ghost (TryGhost/Ghost, 56k stars) and Create Pull Request (cline/cline, 70k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
oocx (a GitHub user) maintains it in oocx/tfplan2md, which has 174 GitHub stars. The repository holds 28 skills in this directory. The repository was last updated on October 9, 2026.
Source: oocx/tfplan2md on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.