Atomic commit and push

From OutlineDriven/odin-codex-plugin · View interactive version

Atomic commit and push is an AI agent skill from the GitHub repository OutlineDriven/odin-codex-plugin. Run the atomic-commit workflow on the current changes, then publish the resulting commits to the remote. Use whenever the user says \"commit and push\", \"ship these changes\", \"atomic commit and push\", \"publish my work\", or wants atomic commits delivered to origin in one step. Prefers `git subm

How to use this skill

Skill file

Atomic Commit and Push

Phase 1 — Atomic commit

Review staged + unstaged changes. Group by mechanism/file boundary.

Create one commit per logical change. Run repo-native type-checker and linter before each commit.

Do NOT bundle unrelated changes.

Phase 2 — Publish

Prefer git submit when git-branchless is installed and the forge is supported.

Fallback: pick a descriptive branch name, then git push origin HEAD:refs/heads/<branch>.

Set upstream only when the user explicitly wants tracking.

Never --force or --force-with-lease without explicit user authorization.

Never push directly to protected branches (e.g., main, master, release/*).

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.