/oma-security:oma-scmfrom oma-security
Manages Git branches, merges, conflicts, commits, and release baselines with traceable history and governance checks.
Ships in oma-security. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Perform Git operations with explicit scope, traceable commits, and recoverable history.
oma-pm; security/testing review -> use oma-qa.Requested Git operation, repository state, and effective scm settings from project configuration.
Requested Git changes or an advisory plan, commit/branch identifiers, checks performed, and unresolved work.
Git CLI; project configuration and hooks. Read the references below only for the selected operation.
Inspect branch, upstream, staged/unstaged changes, and existing authorization. Select the commit path below or the configuration-management resource for broader operations.
resources/cm-operations.md.resources/merge-risk.md before selecting merge order or recovery steps.| 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 |
Report created commits/refs and verification. A failed commit, rejected push, or unresolved conflict is not completion.
git status -sb
git diff --staged
git diff
git log --oneline -5
resources/conventional-commits.md for message syntax, type, footer, and branch naming; apply repository hook/config limits.git add -- <specific-files>
git diff --cached --check
git diff --cached
git commit -F <message-file>
git add -A or git add . without explicit authorization, and never include credentials or secret files.--force-with-lease, never plain --force.OMA_SCM_ALLOW_BUSY=1 only after the user confirms those agents are not editing this tree.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.scm.merge_invariants declares applicable base branches, run the cheap project-declared invariant against the current proposed merge result immediately before merge or supported default-branch push. Do not accept a stale checkout or path non-overlap as semantic independence.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.
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 ../_shared/core/execution-policy.md to authorization and verification.
resources/conventional-commits.md (commit requests)resources/cm-operations.md (governance/history/worktree tasks)resources/merge-risk.md (large merges)resources/codeowners-playbook.md (CODEOWNERS work)resources/onboarding-risk-signals.md (repository-risk assessment)../oma-observability/SKILL.md §Integrations (release markers and baseline comparisons)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub first-fluke/oh-my-agent --plugin oma-security4 plugins in one repository ship this exact skill · first indexed Dec 5, 2026
6 skills in this plugin
/oma-architectureEvaluate system boundaries and architectural tradeoffs. Use for architecture decisions, design reviews, and ADRs./oma-debugDiagnose a reproducible failure, fix its cause, and verify the regression. Use for crashes, incorrect behavior, and failing tests./oma-qaReview changes for correctness, security, accessibility, and performance. Use for scoped quality reviews or verification plans; bug fixes use oma-debug.Other plugins' skills for the same job