victorzhuk/skills

z-merge-conflicts

Resolve merge, rebase, or cherry-pick conflicts by intent.

View source

How to use

  1. Copy the installation command and review the source package before installing it in your own agent environment.
  2. Check the source document for required tools, credentials and supported hosts.
  3. Describe your input and desired deliverable; review the output against the source material.
npx skills add https://github.com/victorzhuk/skills --skill z-merge-conflicts

Before you start

  • Installation does not include a model subscription, API allowance or permission to access your files.
  • Repository stars and installation counts describe activity, not an independent quality or security test.
Original skill document

Rendered from the source repository. Headings, examples, code, tables, links, and referenced images are preserved.

Merge conflicts

Resolve by intent and preserve unrelated work.

Process

  1. Identify the merge, rebase, or cherry-pick and its current commit. Record conflicting paths and pre-existing staged and unstaged changes.
  2. Read each side's commits and relevant PRs or tickets. Explain why each change exists.
  3. Preserve both intents where possible. Resolve incompatible behavior using the caller's stated goal; escalate a decision the evidence cannot settle.
  4. Run applicable project checks through its wrappers and resource limits. Fix what the resolution broke.
  5. Stage resolved paths explicitly. Inspect the entire staged diff against the initial state. Do not incorporate unrelated staged work into a commit.
  6. Continue the actual operation within the caller's authorization. Use the correct merge, rebase, or cherry-pick continuation and report remaining conflicts.

Do not

  • Select ours/theirs wholesale without reading both intents.
  • Invent behavior neither side requested.
  • Stage every modified file.
  • Abort merely to avoid resolving a conflict. Explicit user cancellation can authorize aborting after preserving recoverable work.
  • Treat marker-like test fixtures as unresolved conflicts without inspection.

Verify

  • git diff --name-only --diff-filter=U has no unresolved paths.
  • Changed files contain no unintended conflict markers.
  • Staged changes include only intended resolutions and already-authorized work.
  • Project checks pass and git status confirms the intended operation completed.

see [[z-verify-before-done]], [[z-testing-strategy]]

from this repository

More skills

All skills
victorzhuk
Community

z-accessibility

Audit and improve web accessibility following WCAG 2.2 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".

installs
1
GitHub stars
0
Updated
Oct 22
victorzhuk
Community

z-algo-core

DS/algorithm selection judgment for production code, not competitive tricks — hash map for membership/dedup, slice+sort beats a tree until proven, heap for top-k, two-pointer/sliding-window for scans, BFS/DFS/topo-sort for dependency shapes. Triggers on Big-O, hash map vs tree. Does not cover profiling/tuning; see [[z-go-performance]].

installs
1
GitHub stars
0
Updated
Oct 22
victorzhuk
Community

z-bdd

BDD acceptance contracts for humans and agents across UI, API, and CLI products. Use for Gherkin, Given-When-Then, E2E acceptance, or scenario evidence. Define repeatable scenarios with explicit assertions and required outcomes. Test selection belongs to [[z-testing-strategy]]. Go harness wiring belongs to [[z-go-bdd]].

installs
1
GitHub stars
0
Updated
Oct 22
victorzhuk
Community

z-codegraph

Use an existing CodeGraph integration for call graphs, impact analysis, affected tests, or route discovery. Discover installed tools and index freshness; follow host LSP precedence and verify current source. Do not initialize indexes without user authorization.

installs
1
GitHub stars
0
Updated
Oct 22