omh-git-workflow
Skill3.1k starsChanged 3 months agoMITView on GitHub
[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, merge conflicts, rebase conflict, resolve the conflict, resolve this conflict, conflict markers.
Trending
Less talk lately.about the whole repository
Who's talking about rlaope/oh-my-hermes
- @github-trending.bsky.social“📦 rlaope / oh-my-hermes ⭐ 1,823 (+52) 🗒 Python All in one plugin for Hermes Agent ⚚ the coding …”Bluesky · Sep 15, 2026 · 2 likes
- kailiu42/awesome-coding-agents“Add Oh My Hermes”GitHub · Jul 4, 2026 · 1 reactions
- sudosubin/agents.nix“agent-skills.github.rlaope.oh-my-hermes: init at 3.0.0”GitHub · Oct 3, 2026
- skerishKang/ai-revenue-lab“[P1][CLAW][OSS-REF] oh-my-hermes agent operating-layer reference audit”GitHub · Sep 23, 2026
- todoroki-godai/evolve-anything“[tech-eval] 記憶が指すパス参照を想起時に実在照合する(読み出し時導出・sha256 保存は採らない)”GitHub · Sep 20, 2026
The biggest 5 of 16 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 16
Talked about on GitHub and Bluesky (16 times).
On GitHub · 15
- Jul 4, 2026Add Oh My Hermes — kailiu42/awesome-coding-agents1 reaction · 1 comment
- Oct 3, 2026agent-skills.github.rlaope.oh-my-hermes: init at 3.0.0 — sudosubin/agents.nix0 reactions
- Sep 23, 2026[P1][CLAW][OSS-REF] oh-my-hermes agent operating-layer reference audit — skerishKang/ai-revenue-lab0 reactions · 1 comment
- Sep 20, 2026[tech-eval] 記憶が指すパス参照を想起時に実在照合する(読み出し時導出・sha256 保存は採らない) — todoroki-godai/evolve-anything0 reactions
- Sep 15, 2026Github trending [rlaope/oh-my-hermes] Hermes专业操作层 — web1992/github-trending0 reactions
10 more on GitHub
- Sep 1, 2026[开源推荐] 让 Hermes Agent 工作可规划、可验证 — 521xueweihan/HelloGitHub0 reactions
- Sep 1, 2026[开源推荐] 让 Hermes Agent 工作可规划、可验证 — 521xueweihan/HelloGitHub0 reactions
- Aug 18, 2026templates/conformance: 完了記録 linter — T-5/L1-7 必須欄の決定論チェッカー — OMH adoption C — caty-ai/family-dev-handbook0 reactions · 3 comments
- Aug 18, 2026docs/templates: 防御機構の正直台帳 — enforced / declared_not_enforced(+blocked_by) の2値ラベル — OMH adoption B — caty-ai/family-dev-handbook0 reactions · 2 comments
- Aug 18, 2026docs/templates: 完了・状態語彙に「自己申告 (reported done) ≠ 観測済み (verified)」の2値を導入 — OMH adoption A — caty-ai/family-dev-handbook0 reactions · 2 comments
- Jul 23, 2026[Submission]: oh-my-hermes — Hermes-native wrapper orchestration layer & skill workflow pack — 0xNyk/awesome-hermes-agent0 reactions · 3 comments
- Jul 4, 2026Add Oh My Hermes — jim-schwoebel/awesome_ai_agents0 reactions
- Jul 4, 2026Add Oh My Hermes — quome-cloud/awesome-coding-agents0 reactions
- Jul 4, 2026Add Oh My Hermes — kaushikb11/awesome-llm-agents0 reactions · 1 comment
- Jul 4, 2026Add Oh My Hermes — e2b-dev/awesome-ai-sdks0 reactions · 1 comment
On Bluesky · 1
- Sep 15, 2026📦 rlaope / oh-my-hermes ⭐ 1,823 (+52) 🗒 Python All in one plugin for Hermes Agent ⚚ the coding intelligence, a long-term memory system… — @github-trending.bsky.social2 likes and reposts
In this repository146 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- model-onboardingSkill
- review-sweepSkill
- triage-sweepSkill
- omh-accessibility-auditSkill
- omh-achievementsSkill
- omh-adversarial-consensusSkill
- omh-agent-boardSkill
- omh-agent-debugSkill
- omh-agent-evaluationSkill
- omh-agent-instructionsSkill
- omh-agent-ops-reviewSkill
- omh-ai-slop-cleanerSkill
- omh-app-debuggingSkill
- omh-apple-designSkill
- omh-application-threat-modelSkill
- omh-appsSkill
- omh-askSkill
- omh-automation-blueprintSkill
- omh-award-bar-scoreSkill
- omh-backendSkill
- omh-browserSkill
- omh-build-failure-triageSkill
- omh-buzzSkill
- omh-cancelSkill
- omh-capability-toggleSkill
- omh-codebase-onboardingSkill
- omh-codebase-umlSkill
- omh-codegraph-refreshSkill
- omh-code-reviewSkill
- omh-commit-pr-authoringSkill
- omh-content-operatorSkill
- omh-context-budget-reviewSkill
- omh-cto-loopSkill
- omh-curriculum-designSkill
- omh-data-analysisSkill
- omh-data-pipelinesSkill
- omh-decideSkill
- omh-decision-prototypeSkill
- omh-decision-recallSkill
- omh-deliverable-packageSkill
- omh-deploy-and-monitorSkill
- omh-design-orchestrationSkill
- omh-design-quality-gateSkill
- omh-docsSkill
- omh-doctorSkill
- omh-executor-runtime-readinessSkill
- omh-external-connector-readinessSkill
- omh-failure-signal-auditSkill
- omh-feedback-triageSkill
- omh-filesSkill
- omh-finance-analysisSkill
- omh-frontend-refactorSkill
- omh-frontendSkill
- omh-gateway-intent-cardSkill
- omh-github-event-opsSkill
- omh-github-issue-intakeSkill
- omh-harness-session-inventorySkill
- omh-iac-changeSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 11 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Before any step that rewrites history, name its recovery point.
- Distinctive: line 50
Every rewriting step has a recovery point in front of it.
- Very specific: line 51
Every force-push in the plan uses --force-with-lease.
- Distinctive: line 57
If the remote state is unknown, plan git fetch and the inventory first and rewrite nothing until it is observed.
- Distinctive: line 58
If a rewrite went wrong, recover from the recovery point or the reflog entry before trying anything else.
- Very specific: line 63
If intent belongs to another lane, hand back to oh-my-hermes or name the adjacent workflow.
- Distinctive: line 82
Start with the pushed-state inventory.
- Distinctive: line 90
Keep the pushed-state inventory, the step plan, and the recovery points in Hermes.
- Distinctive: line 121
Create a recovery point -- a backup branch or a noted reflog entry -- before every step that rewrites history.
- Distinctive: line 122
Never resolve a conflict in a generated or counted file by picking a side.
- Distinctive: line 123
Do not run git commands from OMH core, and do not claim a resolution, a bisect verdict, or a pushed rewrite until its output is observed.
- Distinctive: line 129
Treat wrapper memory/context summaries as advisory local context, not proof of opaque Hermes memory reads or changes.
- Distinctive: line 133
Use Hermes-native subagent/delegation features when available: native subagents -> Hermes delegation when available, otherwise sequential …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Git Workflow
This is a Hermes-native git-workflow workflow skill.
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
- Name what is already pushed: each branch involved with its local head, its remote head, and whether others may have fetched it.
- Before any step that rewrites history, name its recovery point.
Do Not Use When
- The request is to write the commit message or the PR body for a finished change; use
commit-pr-authoring. - The request is to find defects in a diff before merging it; use
code-review. - The build or CI job fails and the question is why; use
build-failure-triage. - The request is a code change to deliver rather than branch or history repair; use
ultrawork.
Examples
Good example:
- Prompt: clean up this branch's history before review
- Expected behavior: Prepare pushed_state_inventory/v1 first, then history_rewrite_plan/v1 with a backup branch before the interactive rebase and
--force-with-leasefor the push, naming who must re-fetch. - Why: Whether the branch is pushed decides whether the cleanup is local or shared.
Bad example:
- Prompt: just force push my rebased branch over main
- Expected behavior: Refuse the bare force-push: inventory what is pushed on main, and plan
--force-with-leaseonto the feature branch only. - Why: A bare force-push over a shared branch discards other people's commits without a check.
Completion Checklist
- The pushed-state inventory names every branch the plan touches.
- Every rewriting step has a recovery point in front of it.
- Every force-push in the plan uses
--force-with-lease. - Generated and counted files in a conflict are re-derived, not picked.
- Resolution, bisect verdict, and push are reported only from observed output.
Recovery Notes
- If the remote state is unknown, plan
git fetchand the inventory first and rewrite nothing until it is observed. - If a rewrite went wrong, recover from the recovery point or the reflog entry before trying anything else.
Workflow Lane
- Current lane: Coding handoff (
idea-to-deploy,llm-app-dev,cto-loop,deploy-and-monitor,code-review,build-failure-triage,verification-gate,security-safety-review,+28 more) - coding owners, handoffs, review, CI, and merge evidence. - If intent belongs to another lane, hand back to
oh-my-hermesor name the adjacent workflow. - Shared product, routing, compatibility, and evidence rules:
omh-routing/references/skill-common-rail.md.
Use When
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:
- Start with the pushed-state inventory; a plan without it cannot say which steps are safe.
- Mark every step that rewrites history and put its recovery point in front of it.
- Load
references/git-repair-method.mdfor the conflict, bisect, rewrite, and stacked-branch procedures instead of improvising them. - For a stack of branches, rebase each onto the new head of the one below with
--ontoand the old base, never with a merge-base computed after the base moved. - Report each step's observed output, and keep resolved, verified, and pushed as separate states.
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.
Required inputs:
- 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
Expected outputs:
- 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
Artifact expectations:
- pushed_state_inventory/v1 lists each branch with its local head, its remote head, whether they match, and whether anyone else may have the remote commits
- git_repair_plan/v1 orders the steps, marks each one that rewrites history, and names the recovery point (a backup ref or reflog entry) before it
- conflict_resolution_plan/v1 decides each conflicted hunk by what both sides intended, and re-derives generated or counted files from their producer instead of picking a side
- bisect_plan/v1 names the good and bad commits and the exact test command, so each step is a run rather than a judgement
- history_rewrite_plan/v1 uses
--force-with-leasefor every force-push and says which collaborators must re-fetch
Safety rules:
- Name what is already pushed before planning any rewrite; a rewrite of pushed commits is a decision for everyone who fetched them, not a local cleanup.
- Force-push only with
--force-with-lease; a bare--forceor-fpush is never part of the plan. - Create a recovery point -- a backup branch or a noted reflog entry -- before every step that rewrites history.
- Never resolve a conflict in a generated or counted file by picking a side; re-derive it from its producer after the merge.
- Do not run git commands from OMH core, and do not claim a resolution, a bisect verdict, or a pushed rewrite until its output is observed.
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.
- Treat wrapper memory/context summaries as advisory local context, not proof of opaque Hermes memory reads or changes. 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; OMH's record terms (surface, lane, wrapper, handoff, evidence boundary, not_observed) stay in records and tool calls, never in the sentence the user reads unless they ask about one; and when a stop condition or a decision the user owns ends the turn, offer the next action as a question rather than declaring what will not be done.
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: omh-routing/references/skill-common-rail.md. Load it when applicable; otherwise name an unavailable capability.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

