| name | commiat |
| description | Use this skill when the user wants to generate AI-assisted git commit messages. |
Commiat Plugin
AI-assisted git commit message plugin that generates meaningful commit messages using AI.
Commands
Commit Message Generation
commiat _ _ — Generate AI commit message for current git changes (passthrough)
Usage Examples
- "commiat" — Generate commit message for staged changes
- "commiat --model gpt-4" — Use specific AI model
- "commiat --context" — Include additional context in prompt
Installation
npm install -g commiat
Examples
commiat
commiat --model gpt-4
commiat --context "Fix authentication bug"
commiat --unstaged
commiat --dry-run
commiat --api-key YOUR_KEY
Key Features
- AI-powered commit message generation
- Supports multiple AI models
- Custom context injection
- Dry-run mode for preview
- Works with staged or unstaged changes
- Configurable API keys
Workflow
- Stage your changes:
git add .
- Run commiat:
commiat
- Review the generated commit message
- Commit if satisfied, or edit and commit manually
Troubleshooting
- "command not found" — Ensure commiat is installed globally:
npm install -g commiat
- "API key not configured" — Set
COMMIAT_OPENROUTER_API_KEY in your environment or run commiat interactively
- No staged changes detected — Run
git add first, or use --unstaged for unstaged changes
- LLM returns errors — Check your API key validity and model availability; errors are logged to
~/.commiat/error.log
- Unexpected behavior — Run with
--dry-run first to preview the generated message without committing