Skip to content
OpenSmartRoute
Skillv1.0.0

resolving-merge-conflicts

Use when you need to resolve an in-progress git merge/rebase conflict.

by mattpocock(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from mattpocock/skills (skills/engineering/resolving-merge-conflicts/SKILL.md) via skills.sh. Install upstream with npx skills add mattpocock/skills --skill resolving-merge-conflicts. Copyright stays with the author.

  1. See the current state of the merge/rebase. Check git history, and the conflicting files.

  2. Find the primary sources for each conflict. Understand deeply why each change was made, and what the original intent was. Read the commit messages, check the PRs, check original issues/tickets.

  3. Resolve each hunk. Preserve both intents where possible. Where incompatible, pick the one matching the merge's stated goal and note the trade-off. Do not invent new behaviour. Always resolve; never --abort.

  4. Discover the project's automated checks and run them, typically typecheck, then tests, then format. Fix anything the merge broke.

  5. Finish the merge/rebase. Stage everything and commit. If rebasing, continue the rebase process until all commits are rebased.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/mattpocock-skills-resolving-merge-conflicts/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

mattpocock-skills-resolving-merge-conflicts.ocm.jsonjson
{
  "ocm": "1",
  "id": "mattpocock-skills-resolving-merge-conflicts",
  "kind": "skill",
  "name": "resolving-merge-conflicts",
  "description": "Use when you need to resolve an in-progress git merge/rebase conflict.",
  "publisher": "mattpocock",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "coding"
    ],
    "tags": [
      "skill-md",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Use when you need to resolve an in-progress git merge/rebase conflict."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/mattpocock/skills",
      "path": "skills/engineering/resolving-merge-conflicts/SKILL.md",
      "ref": "HEAD",
      "url": "https://www.skills.sh/mattpocock/skills/resolving-merge-conflicts",
      "key": "mattpocock/skills/skills/engineering/resolving-merge-conflicts/SKILL.md"
    }
  },
  "instructions": "1. **See the current state** of the merge/rebase. Check git history, and the conflicting files.\n\n2. **Find the primary sources** for each conflict. Understand deeply why each change was made, and what the original intent was. Read the commit messages, check the PRs, check original issues/tickets.\n\n3. **Resolve each hunk.** Preserve both intents where possible. Where incompatible, pick the one matching the merge's stated goal and note the trade-off. Do **not** invent new behaviour. Always resolve; never `--abort`.\n\n4. Discover the project's **automated checks** and run them, typically typecheck",
  "cost": {
    "context_tokens": 197
  }
}

Fetch it by URL: GET /api/v1/registry/mattpocock-skills-resolving-merge-conflicts/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.