Install
openclaw skills install contextual-git-committerAI-powered Git assistant that analyzes staged changes and terminal history to craft meaningful, conventional commit messages.
openclaw skills install contextual-git-committerAn AI-powered Git assistant that writes descriptive, high-quality commit messages by analyzing your local workspace context.
git diff --cached to see exactly what you're about to commit.npm install? pytest?).git log to maintain consistency with your project's existing style.When the suggest_commit tool returns its output, use the gathered context to generate exactly 3 commit message options:
A short, standards-compliant message using the Conventional Commits format:
feat:, fix:, refactor:, docs:, test:, chore:, style:, perf:, build:, or ci:fix(auth): resolve null pointer when session expiresA narrative-style message that explains what the change achieves in plain English:
A casual, emoji-prefixed message for less formal projects:
Present the three options as a numbered list:
📝 Suggested Commit Messages:
1. **Conventional:**
`fix(auth): resolve null pointer when session expires`
2. **Story:**
Updated the header logic to prevent crashes when a user is logged out, which was causing intermittent 500 errors on the dashboard.
3. **Emoji:**
🐛 Fixed header crash on logout | 🛡️ Added null checks for session object
If no staged changes are found, inform the user and suggest running git add to stage their changes first.
/suggest_commit — Analyze staged changes and suggest 3 messages/suggest_commit --style detailed — Provide more verbose explanations/suggest_commit --scope api — Focus the message on the API module/suggest_commit --style detailed --scope auth — Detailed messages scoped to auth