sync-conflict-resolver · qdhenry — Claude Code command: setup and features
The sync-conflict-resolver command for Claude Code identifies and resolves data conflicts between GitHub issues and Linear tasks, merging non-conflicting fields or applying a chosen strategy.
no license ★ 1,357 updated 2026-03-01
.claude/commands/sync-conflict-resolver.mdWhat sync-conflict-resolver does
This command handles inconsistencies between GitHub items and Linear records. It scans fields such as issue titles, assignees, priorities, and descriptions, surfacing race conditions or deleted entities. Users can apply strategies like latest-wins, trigger step-by-step interactive resolution, or preview modifications via --dry-run.
The routine supports field merging for non-conflicting sections and creates backups prior to committing changes. Execution fails unless GitHub CLI is configured alongside active mcp-server-github and mcp-server-linear instances.
What it helps with
- detect mismatched fields between GitHub tickets and Linear items
- resolve issue discrepancies automatically with the latest-wins policy
- merge non-conflicting description changes without manual copy-pasting
- generate conflict analytics and frequency trends for recent sync runs
Example prompts for the agent
- Scan all tracked issues for collisions:
sync-conflict-resolver detect - Resolve differences interactively with a safety backup:
sync-conflict-resolver resolve --interactive --backup - Preview automated resolution without making changes:
sync-conflict-resolver resolve --auto-resolve --dry-run
How to install sync-conflict-resolver
Manually: put the files in place
.claude/commands/sync-conflict-resolver.mdCall it with /sync-conflict-resolver. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/sync-conflict-resolver.mdCall it with /prompts:sync-conflict-resolver. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/sync-conflict-resolver.prompt.mdManually: put the files in place
.gemini/commands/sync-conflict-resolver.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about sync-conflict-resolver
How to install sync-conflict-resolver in Claude Code?
Place the command definition file at .claude/commands/sync-conflict-resolver.md inside your repository.
What does sync-conflict-resolver do?
It compares records across GitHub and Linear, highlights diverging fields, and applies resolution rules to keep both systems aligned.
What prerequisites are needed to run this command?
You need GitHub CLI available in your environment along with running mcp-server-github and mcp-server-linear MCP servers.
Similar slash commands
All slash commands for Notes, tasks and projects →sync-conflict-resolver by other authors comes first.