SkillAgentSearch skills...

oma-scm

Manage Git branches, merges, conflicts, commits, and release

Install / Use

npx skills add first-fluke/oh-my-agent --skill oma-scm

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

82/100

Supported Platforms

Universal

Our assessment of oma-scm

oma-scm scores 82/100 on our quality scale, 2505th of 4,259 Development & Engineering skills we index.

Its SKILL.md is 5.9 KB long, well organised into 21 sections and no code examples: a thorough specification that gives an agent plenty to work with.

With 1,324 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
29/30
Structure
13/20
Description
12/15
Adoption
13/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 7 days ago, so oma-scm is actively maintained.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

oma-scm compared with similar skills

All 4 of these similar skills score higher than oma-scm; compare them before choosing.

SkillScoreStarsUpdatedFormat
oma-scm (this skill)by first-fluke821.3k7d agoSKILL.md
Agent-Reachby Panniantong10086.6k15d agoCLAUDE.md
ai-job-searchby MadsLorentzen10044.6k1d agoCLAUDE.md
claude-howtoby luongnv8910041.7ktodayCLAUDE.md
algorithmic-artby anthropics100177.9k8d agoSKILL.md

Frequently asked questions

How do I install oma-scm?
Run npx skills add first-fluke/oh-my-agent --skill oma-scm. The install tabs above show the steps for each supported agent.
Which AI agents does oma-scm work with?
It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
Is oma-scm safe to use?
It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is oma-scm still maintained?
The repository was last updated 7 days ago, so oma-scm is actively maintained.

name: oma-scm description: Manage Git branches, merges, conflicts, commits, and release baselines. Use for repository history and change-management operations.

Software Configuration Management

Scheduling

Goal

Perform Git operations with explicit scope, traceable commits, and recoverable history.

Intent signature

  • Commit, stage, push, branch, merge, rebase, resolve conflicts, manage worktrees, or inspect SCM governance.

When to use

  • Commit and push requests, including Conventional Commit messages and logical splitting.
  • Branch/history operations, releases, baselines, CODEOWNERS, and configuration-management reviews.

When NOT to use

  • Implementing a feature or fixing application code -> use the owning specialist.
  • General requirements planning -> use oma-pm; security/testing review -> use oma-qa.

Expected inputs

Requested Git operation, repository state, and effective scm settings from project configuration.

Expected outputs

Requested Git changes or an advisory plan, commit/branch identifiers, checks performed, and unresolved work.

Dependencies

Git CLI; project configuration and hooks. Read the references below only for the selected operation.

Structural Flow

Entry

Inspect branch, upstream, staged/unstaged changes, and existing authorization. Select the commit path below or the configuration-management resource for broader operations.

Transitions

  • Commit-only request: finish after committing. Push or create a PR only when requested or required by the applicable workflow.
  • Independent changes: split by feature. One logical change remains one commit even across code, tests, and docs; an explicit grouping instruction wins. File count is only a tiebreaker (at most five files lean single).
  • Governance, worktrees, releases, or history operations: load resources/cm-operations.md.
  • Large merges: load resources/merge-risk.md before selecting merge order or recovery steps.
  • Default-branch push: apply the Push and PR safety section below.

Failure and recovery

| Failure | Recovery | |---|---| | Unrelated dirty or staged files | Keep them outside the requested commit; never silently absorb them into an amend | | Commit hook rejects a message | Fix the message or actual defect according to the hook; do not bypass it | | Push is non-fast-forward | Fetch, inspect divergence, and integrate locally; do not retry with force | | Conflicting changes | Preserve both intents, resolve, and run affected checks before completion | | Likely secrets in the proposed diff | Stop before staging and identify the affected path without exposing the value |

Exit

Report created commits/refs and verification. A failed commit, rejected push, or unresolved conflict is not completion.

Logical Operations

Canonical command path

  1. Inspect the worktree and recent conventions:
    git status -sb
    git diff --staged
    git diff
    git log --oneline -5
    
  2. Select logical commit groups under Transitions. Read resources/conventional-commits.md for message syntax, type, footer, and branch naming; apply repository hook/config limits.
  3. Show the selected message. Stage explicit paths, inspect the staged diff, and commit using the prepared message file:
    git add -- <specific-files>
    git diff --cached --check
    git diff --cached
    git commit -F <message-file>
    
  4. Inspect the resulting commit and remaining worktree. If push was requested, follow Push and PR safety, then report the remote result.

Guardrails

  1. Explicit, unambiguous user instructions take precedence over SCM defaults, including commit grouping and direct default-branch pushes. Existing authorization persists; do not ask for it again. Likely-secret material still requires stopping before staging.
  2. Stage explicit paths. Do not use git add -A or git add . without explicit authorization, and never include credentials or secret files.
  3. Do not rewrite shared history without explicit authorization. For an authorized rewrite, use --force-with-lease, never plain --force.
  4. Read the staged diff before an amend. Unpushed commits may be amended or reorganized within the requested scope; pushed commits are shared history.
  5. User-facing responses follow the configured language; commit messages, branch names, and PR titles/bodies stay in English.

Push and PR safety (only when requested)

  • Confirm the branch, upstream, and ahead/behind state before pushing.
  • If scm.require_pr_for_default_branch is true, use a topic branch and PR for default-branch changes, unless the user explicitly requested a direct push.
  • Keep the repository's required hooks/checks. A failure requires repair or an accurate partial result, not an assertion of success.
  • Verify that the requested commits reached the intended remote branch.

Amend, fixup, autosquash

Determine whether the target commit is shared using git log --oneline @{u}..HEAD when an upstream exists. If there is no upstream, inspect remote refs before assuming a commit is unshared. Keep unrelated staged changes out of the operation.

Resource scope and effects

Git operations change the index, local commits/refs, worktrees, and possibly remote refs. Read only relevant project configuration; never copy credential values into messages or reports. Apply .agents/skills/_shared/core/execution-policy.md to authorization and verification.

References

  • Commit syntax, types, co-author policy, and branch naming: resources/conventional-commits.md (commit requests)
  • Configuration-management operations: resources/cm-operations.md (governance/history/worktree tasks)
  • Merge risk and rollback: resources/merge-risk.md (large merges)
  • Ownership detail: resources/codeowners-playbook.md (CODEOWNERS work)
  • Onboarding indicators: resources/onboarding-risk-signals.md (repository-risk assessment)
  • Release observability: ../oma-observability/SKILL.md §Integrations (release markers and baseline comparisons)

Related Skills

View on GitHub
GitHub Stars1.3k
CategoryDevelopment
Updated7d ago
Forks151

Languages

TypeScript

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions