# Commit

> Safe git commit workflow that prevents commits to main branch. Use when the user asks to "commit changes", "save changes", "git commit", or when completing a task that needs version control. Automatically creates feature branches when on main. NEVER creates pull requests unless explicitly requested by the user. Use when this capability is needed.

- Skill: `tomevault-io/commit-26` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/commit-26`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/commit-26/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/commit-26

---


# Safe Commit Workflow

1. **Check branch**: `git branch --show-current`
2. **If on main**: Create branch `git checkout -b feat/<name>` or `fix/<name>`
3. **Format**: `moon fmt && moon info`
4. **Commit** with conventional message (`feat:`, `fix:`, `refactor:`, etc.)
5. **Never push or create PR** unless explicitly requested

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/milky2018) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

