Receber por email
← Voltar para o catálogo

brain-conflicts

Review and resolve unresolved brain merge conflicts.

66estrelas
Atualizado há 4 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add toroleapinc/claude-brain

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/brain-conflicts/svg)](https://www.skillteca.com.br/skills/brain-conflicts)

Skills relacionadas

Ver todas de Desenvolvimento →

Alerta por categoria

Receba novas skills de Desenvolvimento toda segunda

1 email curto, só com as skills novas de Desenvolvimento. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

The user wants to resolve pending brain merge conflicts.

Steps

  1. Read the conflicts file:

``bash cat ~/.claude/brain-conflicts.json 2>/dev/null || echo '{"conflicts":[]}' ``

  1. Filter to unresolved conflicts (where resolved is not true).
  1. If no unresolved conflicts, tell the user: "No pending conflicts. Brain is fully synced."
  1. For each unresolved conflict, present:
  2. The topic
  3. What Machine A says
  4. What Machine B says
  5. The AI's suggestion and confidence level

Ask the user to choose:

  • Accept AI suggestion: Apply the suggestion
  • Keep Machine A's version: Use A's content
  • Keep Machine B's version: Use B's content
  • Keep both (machine-specific): Tag each with its machine name
  • Custom: Let the user type their own resolution
  1. After each resolution:
  2. Mark the conflict as resolved: true with the chosen resolution in brain-conflicts.json
  3. Apply the resolution to the appropriate brain file (CLAUDE.md, memory, etc.)
  1. After all conflicts are resolved:

``bash bash "${CLAUDE_PLUGIN_ROOT}/scripts/push.sh" ``

  1. Show summary: "X conflicts resolved. Brain is now fully synced."
Compartilhar X LinkedIn