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.
$ インストール
git clone https://github.com/Milky2018/wasmoon /tmp/wasmoon && cp -r /tmp/wasmoon/.claude/skills/commit ~/.claude/skills/wasmoon// tip: Run this command in your terminal to install the skill
SKILL.md
name: commit 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
- Check branch:
git branch --show-current - If on main: Create branch
git checkout -b feat/<name>orfix/<name> - Format:
moon fmt && moon info - Commit with conventional message (
feat:,fix:,refactor:, etc.) - Never push or create PR unless explicitly requested
Repository

Milky2018
Author
Milky2018/wasmoon/.claude/skills/commit
14
Stars
0
Forks
Updated6d ago
Added1w ago