Ccmanager Config
kbwo/ccmanager
Set up, review, or repair a CCManager config — .ccmanager.json at a git repository root, or the global ~/.config/ccmanager/config.json.
Provides comprehensive guidelines for resolving merge conflicts intelligently using git history and commit context.
$ npx skills add zgsm-ai/costrict --skill roo-conflict-resolution -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install zgsm-ai/costrict roo-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/zgsm-ai/costrict.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.roo/skills/roo-conflict-resolution .claude/skills/roo-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 "roo-conflict-resolution" agent skill from https://github.com/zgsm-ai/costrict/tree/main/.roo/skills/roo-conflict-resolution into .claude/skills/roo-conflict-resolution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "roo-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/zgsm-ai/costrict/tree/main/.roo/skills/roo-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 zgsm-ai/costrict --skill roo-conflict-resolution -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install zgsm-ai/costrict roo-conflict-resolution --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/zgsm-ai/costrict.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.roo/skills/roo-conflict-resolution .agents/skills/roo-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 "roo-conflict-resolution" agent skill from https://github.com/zgsm-ai/costrict/tree/main/.roo/skills/roo-conflict-resolution into .agents/skills/roo-conflict-resolution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "roo-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 zgsm-ai/costrict --skill roo-conflict-resolution -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install zgsm-ai/costrict roo-conflict-resolution --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/zgsm-ai/costrict.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.roo/skills/roo-conflict-resolution .cursor/skills/roo-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 "roo-conflict-resolution" agent skill from https://github.com/zgsm-ai/costrict/tree/main/.roo/skills/roo-conflict-resolution into .cursor/skills/roo-conflict-resolution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "roo-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/zgsm-ai/costrict.git --path .roo/skills/roo-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 zgsm-ai/costrict --skill roo-conflict-resolution -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install zgsm-ai/costrict roo-conflict-resolution --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/zgsm-ai/costrict.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.roo/skills/roo-conflict-resolution .gemini/skills/roo-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 "roo-conflict-resolution" agent skill from https://github.com/zgsm-ai/costrict/tree/main/.roo/skills/roo-conflict-resolution into .gemini/skills/roo-conflict-resolution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "roo-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 zgsm-ai/costrict roo-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 zgsm-ai/costrict --skill roo-conflict-resolution -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/zgsm-ai/costrict.git skills-src && mkdir -p .github/skills && cp -r skills-src/.roo/skills/roo-conflict-resolution .github/skills/roo-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 "roo-conflict-resolution" agent skill from https://github.com/zgsm-ai/costrict/tree/main/.roo/skills/roo-conflict-resolution into .github/skills/roo-conflict-resolution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "roo-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 zgsm-ai/costrict --skill roo-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 zgsm-ai/costrict roo-conflict-resolution --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/zgsm-ai/costrict.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.roo/skills/roo-conflict-resolution .opencode/skills/roo-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 "roo-conflict-resolution" agent skill from https://github.com/zgsm-ai/costrict/tree/main/.roo/skills/roo-conflict-resolution into .opencode/skills/roo-conflict-resolution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "roo-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.
roo-conflict-resolutionProvides comprehensive guidelines for resolving merge conflicts intelligently using git history and commit context.
Roo Conflict Resolution is an agent skill from zgsm-ai/costrict. Provides comprehensive guidelines for resolving merge conflicts intelligently using git history and commit context. Use when tasks involve merge conflicts, rebasing, PR conflicts, or git conflict resolution. This skill analyzes commit messages, git blame, and code intent to make intelligent resolution decisions.
Its SKILL.md is about 2.3k 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, Visual Studio Code, DeepSeek and Google Gemini. The repository describes itself as: Costrict - strict AI coder for enterprises, quality first, including AI Agent, AI CodeReview, AI Completion. The licence is Apache-2.0.
8 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit dd38f54. 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:
gitghFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git and gh, 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.
Roo Conflict Resolution loads about 2.3k tokens when it runs. Until then it costs about 84 tokens; SKILL.md has 955 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 zgsm-ai/costrict at commit dd38f54, republished under its Apache-2.0 licence (© zgsm-ai). 955 words, ~2,312 tokens.
.claude/skills/roo-conflict-resolution/SKILL.md (or your agent's skills folder).Use this skill when the task involves:
Do NOT use this skill when:
This skill resolves merge conflicts by analyzing git history, commit messages, and code changes to make intelligent resolution decisions. Given a PR number (e.g., "#123"), it handles the entire conflict resolution process.
Extract the PR number from input like "#123" or "PR #123". Validate that a PR number was provided.
gh pr view [PR_NUMBER] --json title,body,headRefName,baseRefNameGet PR title and description to understand the intent and identify the source and target branches.
gh pr checkout [PR_NUMBER] --force
git fetch origin main
GIT_EDITOR=true git rebase origin/mainGIT_EDITOR=true to ensure non-interactive rebasegit status --porcelain
git diff --name-only --diff-filter=UIdentify files with merge conflicts (marked with 'UU') and create a list of files that need resolution.
Analyze each conflicted file to understand the changes:
<<<<<<< and >>>>>>>Determine the best resolution strategy for each conflict:
Apply the resolution strategy to resolve conflicts:
git addVerify the resolution and prepare for commit:
git status to confirm all conflicts are resolved| Command | Purpose |
|---|---|
gh pr checkout [PR_NUMBER] --force | Force checkout the PR branch |
git fetch origin main | Get the latest main branch |
GIT_EDITOR=true git rebase origin/main | Rebase current branch onto main (non-interactive) |
git blame -L [start],[end] [commit] -- [file] | Get commit information for specific lines |
git show --format="%H%n%an%n%ae%n%ad%n%s%n%b" --no-patch [sha] | Get commit metadata |
git show [sha] -- [file] | Get the actual changes made in a commit |
git ls-files -u | List unmerged files with stage information |
GIT_EDITOR=true git rebase --continue | Continue rebase after resolving conflicts |
Always prioritize understanding the intent behind changes rather than just looking at the code differences. Commit messages, PR descriptions, and issue references provide crucial context.
Example: When there's a conflict between a bugfix and a refactor, apply the bugfix logic within the refactored structure rather than simply choosing one side.
When possible, combine non-conflicting changes from both sides rather than discarding one side entirely. Both sides of a conflict often contain valuable changes that can coexist if properly integrated.
When using apply_diff, always escape merge conflict markers with backslashes to prevent parsing errors:
\<<<<<<< HEAD<<<<<<< HEADLook beyond the immediate conflict to understand related changes in tests, documentation, or dependent code. A change might seem isolated but could be part of a larger feature or fix.
| Category | Rule | Exception |
|---|---|---|
| Bugfix vs Feature | Bugfixes generally take precedence | When features include the fix |
| Recent vs Old | More recent changes are often more relevant | When older changes are security patches |
| Test Updates | Changes with test updates are likely more complete | - |
| Formatting vs Logic | Logic changes take precedence over formatting | - |
Problem: You might lose important changes or introduce regressions. Solution: Always analyze both sides using git blame and commit history.
Problem: The PR description often explains the why behind changes. Solution: Always fetch and read the PR information before resolving.
Problem: Merged code might be syntactically incorrect or introduce logical errors. Solution: Always check for syntax errors and review the final diff.
Problem: Unescaped conflict markers (<<<<<<, =======, >>>>>>) will be interpreted as diff syntax.
Solution: Always escape with backslash (\) when they appear in content.
When resolving conflicts with apply_diff, use this pattern:
<<<<<<< SEARCH
:start_line:45
-------
\<<<<<<< HEAD
function oldImplementation() {
return "old";
}
\=======
function newImplementation() {
return "new";
}
\>>>>>>> feature-branch
=======
function mergedImplementation() {
// Combining both approaches
return "merged";
}
>>>>>>> REPLACEWhen reporting resolution progress:
Conflict in [file]:
- HEAD: [brief description of changes]
- Incoming: [brief description of changes]
- Resolution: [what was decided and why]Successfully resolved merge conflicts for PR #[number] "[title]".
Resolution Summary:
- [file1]: [brief description of resolution]
- [file2]: [brief description of resolution]
[Key decision explanation if applicable]
All conflicts have been resolved and files have been staged for commit.© zgsm-ai, Apache-2.0. 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 .roo/skills/roo-conflict-resolution of zgsm-ai/costrict.
Open the folder on GitHubat commit dd38f54
Roo 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 |
|---|---|---|---|---|---|---|
| Roo Conflict Resolution this skillzgsm-ai/costrict | 4.5k | — | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| Ccmanager Configkbwo/ccmanager | 1.3k | — | ~1.5k | Automated safety check: Pass | MIT | |
| Git Worktree Managermicrosoft/WindowsAppSDK | 4.7k | — | ~2k | Automated safety check: Pass | MIT | |
| SkillhoneTencent/SkillHone | 169 | — | ~3.4k | Automated safety check: Pass | Custom licence | |
| Git WorkflowJetBrains/ideavim | 10k | — | ~424 | Automated safety check: Pass | MIT | |
| Release Prepfinch-xu/cc-router | 277 | — | ~1.5k | Automated safety check: Pass | MIT |
kbwo/ccmanager
Set up, review, or repair a CCManager config — .ccmanager.json at a git repository root, or the global ~/.config/ccmanager/config.json.
microsoft/WindowsAppSDK
Creates and manages Git worktrees with PowerShell scripts so separate issues and Copilot sessions each get an isolated branch, build and test environment.
Tencent/SkillHone
Local Issue, pull-request, and Wiki workbench for agent skills.
JetBrains/ideavim
IdeaVim git workflow conventions covering commits, branches, PRs, and CI.
finch-xu/cc-router
cc-router 发版准备一条龙:升版本号 → 根据上一个 tag 以来的提交写 release-notes/<版本/ 的中英日三份更新内容 → 校验 → 给用户审 → 本地提交「Bump version to X.Y.Z」,停在打 tag 之前。当用户说「准备发版」「发个版」「发 6.1.0」「写发版说明 / 更新内容 / release notes」「bump 版本」时必须走本…
devlint/GitWand
Guide a clean GitWand release end-to-end: bump version, update CHANGELOG, commit, tag, and push.
zgsm-ai/costrict
Provides context about the CoStrict evals system structure in this monorepo.
zgsm-ai/costrict
Provides comprehensive guidelines for translating and localizing CoStrict extension strings.
Categories
Provides comprehensive guidelines for resolving merge conflicts intelligently using git history and commit context. Roo Conflict Resolution is an agent skill from zgsm-ai/costrict. Provides comprehensive guidelines for resolving merge conflicts intelligently using git history and commit context.
Roo Conflict Resolution fits situations like: tasks involve merge conflicts; Git conflict resolution.
Run `npx skills add zgsm-ai/costrict --skill roo-conflict-resolution -a claude-code`. Or copy the skill folder (.roo/skills/roo-conflict-resolution in zgsm-ai/costrict) into .claude/skills/roo-conflict-resolution in your project. Claude Code loads it when a task matches its description.
Run `npx skills add zgsm-ai/costrict --skill roo-conflict-resolution -a codex`. Or copy the skill folder (.roo/skills/roo-conflict-resolution in zgsm-ai/costrict) into .agents/skills/roo-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 zgsm-ai/costrict --skill roo-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/roo-conflict-resolution, .gemini/skills/roo-conflict-resolution, .github/skills/roo-conflict-resolution and .opencode/skills/roo-conflict-resolution in your project.
Going by SKILL.md and its folder, Roo Conflict Resolution needs the command-line tools its instructions call (git and gh).
SKILL.md contains no URLs. Its commands use git and gh, 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.
Roo Conflict Resolution is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.3k tokens (SKILL.md is roughly 9.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 Roo Conflict Resolution: Ccmanager Config (kbwo/ccmanager, 1.3k stars), Git Worktree Manager (microsoft/WindowsAppSDK, 4.7k stars), Skillhone (Tencent/SkillHone, 169 stars) and Git Workflow (JetBrains/ideavim, 10k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
zgsm-ai (a GitHub organization) maintains it in zgsm-ai/costrict, which has 4,450 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on September 30, 2026.
Source: zgsm-ai/costrict on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.