oma-academic-writing
Draft and revise academic prose against a rubric, evidence, and
Manage Git branches, merges, conflicts, commits, and release
Claude Code
$ npx -y skills add first-fluke/oh-my-agent --skill oma-scm --agent claude-code
Codex
$ npx skills add first-fluke/oh-my-agent --skill oma-scm -a codex -y
Cursor
$ npx skills add first-fluke/oh-my-agent --skill oma-scm -a cursor -y
Gemini CLI
$ npx skills add first-fluke/oh-my-agent --skill oma-scm -a gemini-cli -y
GitHub Copilot
$ npx skills add first-fluke/oh-my-agent --skill oma-scm -a github-copilot -y
OpenCode
$ npx skills add first-fluke/oh-my-agent --skill oma-scm -a opencode -y
Windsurf
$ npx skills add first-fluke/oh-my-agent --skill oma-scm -a windsurf -y
name: oma-scm description: Manage Git branches, merges, conflicts, commits, and release baselines. Use for repository history and change-management operations.
Perform Git operations with explicit scope, traceable commits, and recoverable history.
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.
| 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.
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.
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.
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 `references/_shared/core/execution-policy.md` to authorization and verification.
Ship 400+ commits a day. oh-my-agent (oma) turns Claude Code, Codex CLI, Cursor and 11 other coding agents into a team. A planner splits the work, engineers build in parallel, a reviewer checks the result, and a debugger fixes the root cause.
Draft and revise academic prose against a rubric, evidence, and
Evaluate system boundaries and architectural tradeoffs. Use for
Implement server APIs, authentication, and application data access.
Explore goals, constraints, and alternative approaches before
Coordinate assigned specialist tasks and handoffs manually. Use
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.