pedronauck/kodebase-go · Archived

git-rebase

Resolve Git merge and rebase conflicts conservatively, preserving both sides' intent, staging only understood resolutions, and leaving a git-clean conflict state.

First seen Apr 15, 2026

Installation

$ npx skills add pedronauck/kodebase-go --skill git-rebase

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from pedronauck/kodebase-go · top by installs.

npx skills add pedronauck/kodebase-go

Browse all from pedronauck/kodebase-go

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 2
License LICENSE
Default branch main
Open issues 0
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,522 B
  • docs SUMMARY.md 180 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Git Rebase Conflict Resolution

Use this skill when Compozy asks you to resolve conflicts in an integration worktree. The goal is a clean merge result, not a clever shortcut.

Core Rules

  1. Understand every conflicted hunk before editing it.
  2. Preserve important behavior from both sides whenever possible.
  3. Prefer the smallest readable merge that keeps the code idiomatic for the

affected language and project.

  1. Do not delete tests, weaken assertions, suppress lint, swallow errors, or

otherwise hide a failing invariant.

  1. Do not commit. Compozy owns the final squash commit.
  2. Do not leave conflict markers in any file.
  3. If a conflict is unsafe or unclear, leave it unresolved so Compozy can abort

and roll back honestly.

Required Workflow

  1. Inspect the conflicted files listed in the prompt.
  2. For each hunk, identify what the integration branch changed and what the

incoming task changed.

  1. Edit the file so both sides' required behavior is represented.
  2. Run only language-specific formatting commands that are clearly required for

the files you edited and are safe for this repository.

  1. Stage resolved files with git add.
  2. Check git status --porcelain; no unmerged entries may remain.
  3. Report what was resolved and any files that remain unsafe.

Resolution Guidance

  • For Go files, keep error wrapping with fmt.Errorf("context: %w", err).
  • For Go files, preserve context.Context propagation and cancellation behavior.
  • Preserve synchronization ownership; do not introduce unmanaged background

work.

  • Keep tests focused on behavior and invariants, not implementation details.
  • When both sides add cases to a table test, combine the cases unless they prove

the same invariant twice.

  • When both sides alter an interface, update every implementation instead of

guessing from the conflicted file alone.

Fail-Honestly Criteria

Stop and leave the conflict unresolved when:

  • you cannot tell which side owns the invariant,
  • resolving would require deleting behavior from either side without evidence,
  • conflict markers remain, or
  • a binary/generated file conflict cannot be validated safely.

Compozy will roll back the integration branch when resolution is exhausted, so an honest unresolved conflict is safer than a speculative broken merge.