From claude-brain-sync
Resolves pending brain merge conflicts in Claude Code by presenting Machine A/B versions, AI suggestions with confidence, and user options: accept AI, keep A/B, both, or custom.
npx claudepluginhub toroleapinc/claude-brain --plugin claude-brain-syncThis skill uses the workspace's default tool permissions.
The user wants to resolve pending brain merge conflicts.
Analyzes git merge conflicts by type and context, proposes automated/manual resolutions, and validates fixes. Handles content, structural, semantic, and formatting issues.
Resolves Git merge and rebase conflicts efficiently using bulk strategies like `git checkout --theirs/--ours` over manual conflict marker editing. Activates on merge/rebase conflicts.
Resolves Git merge and rebase conflicts file-by-file using modern tooling. Activates for conflicted merges, rebases, PRs unable to merge, or diverged branches. Supports --ours, --theirs, auto-push.
Share bugs, ideas, or general feedback.
The user wants to resolve pending brain merge conflicts.
Read the conflicts file:
cat ~/.claude/brain-conflicts.json 2>/dev/null || echo '{"conflicts":[]}'
Filter to unresolved conflicts (where resolved is not true).
If no unresolved conflicts, tell the user: "No pending conflicts. Brain is fully synced."
For each unresolved conflict, present:
Ask the user to choose:
After each resolution:
resolved: true with the chosen resolution in brain-conflicts.jsonAfter all conflicts are resolved:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/push.sh"
Show summary: "X conflicts resolved. Brain is now fully synced."