Omh git workflow

From rlaope/oh-my-hermes · View interactive version

Omh git workflow is an AI agent skill from the GitHub repository rlaope/oh-my-hermes. [omh] Git branch in trouble: a merge conflict, a commit that broke something, history to repair; plan the resolution, the bisect, or the rewrite, name what is already pushed first, and force-push only with `--force-with-lease`. Use when the user says: git-workflow, git workflow, merge conflict, merg

How to use this skill

Skill file

Git Workflow

Required: the branch or branches involved and their upstreams, what is already pushed, and who else may have fetched it, the conflict, the regression, or the history problem as observed, for a bisect: a known good commit, a known bad commit, and the command that tells them apart, the repository's merge policy: merge commits, squash, or rebase. Output: pushed_state_inventory/v1, git_repair_plan/v1, conflict_resolution_plan/v1 when files conflict, bisect_plan/v1 when a regression is hunted, history_rewrite_plan/v1 when commits are rewritten, observed_git_result/v1 when observed.

Why This Exists

git-workflow exists because conflict resolution, bisect, and history repair had no owner: "resolve this merge conflict" reached a file operator and "clean up this branch's history" a live-information lane, while this repository's own incidents -- a stack that replayed its base commits, a commit landing on another session's branch -- each had a known correct procedure.

First Steps

Contract: references/full-contract.md (examples, sibling boundaries, full artifact details).

Workflow Lane

When to Use

Use when a git branch needs repair rather than new code: a merge or rebase conflict to resolve, a regression to bisect to the commit that introduced it, or history to rewrite, squash, recover, or rebase -- including a stack of branches. The work is a plan that names what is already pushed, what each step rewrites, and how to get back.

Strong routing signals: git-workflow, git workflow, merge conflict, merge conflicts, rebase conflict, resolve the conflict, resolve this conflict, conflict markers, git bisect, bisect, which commit broke, find the commit that broke, rewrite history, rewrite the history, branch history, branch's history, clean up the history, interactive rebase, squash commits, squash the commits, force push, force-push, force-with-lease, reflog, git reset, lost commit, recover the commit, undo the last commit, cherry-pick, stacked prs, stacked branches, rebase the stack, detached head

Catalog Metadata

Category: verification

Phase: git-repair

Hermes role: reviewer

Quality tier: history-safety-gated

Reasoning demand: standard

Quality bar:

Handoff policy:

Keep the pushed-state inventory, the step plan, and the recovery points in Hermes. Every git command is run by the user or the executor; a resolution, a bisect verdict, or a rewrite is recorded only from their observed output.

Safety rules:

Completion Checklist

Recovery Notes

Runtime Evidence

Record observed delegation results; otherwise return not_available or not_observed.

Prepared OMH routing is not execution, review, CI, merge-readiness, or merge evidence.

Preserve workflow intent and stop conditions; verify before claiming completion.

Reply in the user's own words and the host's own voice: its SOUL.md persona owns reply language, tone, speech level, and sentence endings, progress updates included (where it sets no language, use the one the user wrote in), and OMH shapes structure and content only. When the requested output is delivered, put any open points inside the result and end with no question or offer; only when the person asked to choose or decide and that choice is still theirs, end with one specific question about it, not a list, a generic offer, or a footer; the shared rail's Reply Language And Host Voice and Turn Ending sections hold the full rule.

Use Hermes-native subagent/delegation features when available: native subagents -> Hermes delegation when available, otherwise sequential lanes.

Shared product, compatibility, topology, memory, harness, and execution rules: skill_view(name='omh-routing', file_path='references/skill-common-rail.md'). Load it when applicable; otherwise name an unavailable capability.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.