Installable skillApache-2.0

Safe Commit Workflow

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 request...

BY David-Li0406UPDATED Oct 28, 2026
INTENDED FOR✳Claude Code>_Codex↗Cursor✦GeminiInstall in a listed agent.

instructions.md

---
name: commit-41a1fc2ee419
description: 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.
---

# 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
COMPATIBILITY & REFERENCES

Platform guidance

Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.