Automated summary
Guides an agent through conservative Git merge or rebase conflict resolution, preserving both sides' behavior and staging only fully understood hunks.
Strengths
- Requires hunk-by-hunk understanding before editing and explicit preservation of both branches' intent.
- Includes fail-honest stop conditions for unclear, unsafe, or binary/generated conflicts.
- Provides Go-specific guidance for error wrapping, context.Context propagation, and synchronization ownership.
- Defines a concrete workflow: inspect, edit, format, git add, and verify no unmerged entries remain.
Limitations
- Does not cover language-specific conflict patterns beyond Go except through general principles.
- Assumes an orchestrator (Compozy) owns the final commit and rollback, so it is not a standalone commit workflow.
- Does not automate conflict detection or resolution; it depends on the agent's judgment.
Use when an integration worktree has Git merge or rebase conflicts that need careful, behavior-preserving resolution before a final squash commit.
Do not use for trivial fast-forward merges, lockfile conflicts that should be regenerated automatically, or when you need the skill to author the final commit itself.
Security analysis
SafeThe skill is a conservative Git conflict-resolution guide. It only uses benign git operations (git add, git status) and editing of conflicted files, explicitly forbids committing, and instructs leaving unsafe/unclear conflicts unresolved rather than guessing. There are no destructive commands, no network exfiltration, no obfuscated payloads, and no attempts to disable safety checks. The only mild consideration is the open-ended instruction to run formatters, but it is scoped and cautioned, so overall risk is low.
- •Step 4 allows running unspecified "language-specific formatting commands," which in some repos can trigger npm scripts or generators; still bounded to formatting and cautioned to be repo-safe.
Examples
Resolve the rebase conflicts in this integration worktree conservatively. Preserve both branches' behavior, stage only conflicts you fully understand, and leave anything unsafe unresolved with a clear report.We have merge conflicts in `internal/service/user.go` and `internal/api/handler.go`. Resolve them for Go, keep `fmt.Errorf("context: %w", err)` wrapping and `context.Context` propagation, combine table-test cases where both sides added cases, then run gofmt and stage the files.Check the conflicted files in this worktree. If you cannot tell which side owns the invariant or resolving would require deleting behavior without evidence, leave the conflict unresolved and report why.name: git-rebase description: Resolve Git merge and rebase conflicts conservatively, preserving both sides' intent, staging only understood resolutions, and leaving a git-clean conflict state.
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
- Understand every conflicted hunk before editing it.
- Preserve important behavior from both sides whenever possible.
- Prefer the smallest readable merge that keeps the code idiomatic for the affected language and project.
- Do not delete tests, weaken assertions, suppress lint, swallow errors, or otherwise hide a failing invariant.
- Do not commit. Compozy owns the final squash commit.
- Do not leave conflict markers in any file.
- If a conflict is unsafe or unclear, leave it unresolved so Compozy can abort and roll back honestly.
Required Workflow
- Inspect the conflicted files listed in the prompt.
- For each hunk, identify what the integration branch changed and what the incoming task changed.
- Edit the file so both sides' required behavior is represented.
- Run only language-specific formatting commands that are clearly required for the files you edited and are safe for this repository.
- Stage resolved files with
git add. - Check
git status --porcelain; no unmerged entries may remain. - 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.Contextpropagation 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.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/git-rebase-conflict-resolution-mrwaka5z/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/git-rebase-conflict-resolution-mrwaka5z' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/git-rebase-conflict-resolution-mrwaka5z/download' --output '.skill-downloads/git-rebase-conflict-resolution-mrwaka5z/SKILL.md.part' && mv '.skill-downloads/git-rebase-conflict-resolution-mrwaka5z/SKILL.md.part' '.skill-downloads/git-rebase-conflict-resolution-mrwaka5z/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/git-rebase-conflict-resolution-mrwaka5z/SKILL.md' && test -s '.skill-downloads/git-rebase-conflict-resolution-mrwaka5z/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/git-rebase' && cp -R '.skill-downloads/git-rebase-conflict-resolution-mrwaka5z' '.claude/skills/git-rebase'Codex
test -f '.skill-downloads/git-rebase-conflict-resolution-mrwaka5z/SKILL.md' && test -s '.skill-downloads/git-rebase-conflict-resolution-mrwaka5z/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/git-rebase' && cp -R '.skill-downloads/git-rebase-conflict-resolution-mrwaka5z' '.agents/skills/git-rebase'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/git-rebase-conflict-resolution-mrwaka5z'openskills read 'git-rebase-conflict-resolution-mrwaka5z'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/git-rebase-conflict-resolution-mrwaka5z/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.