git-commit · nimbalyst — Claude Code skill: AI commit proposals
This skill prepares a commit proposal in Nimbalyst’s interactive widget. Use it after clicking “Commit with AI” or explicitly requesting a smart commit.
npx skills add nimbalyst/nimbalyst --skill git-commit -a claude-codeWhat git-commit does
The skill gathers files changed during the current session and sends them to Nimbalyst’s commit proposal widget. If the prompt already contains the file list, it uses that; otherwise it calls mcp__nimbalyst__get_session_edited_files and checks the results against git status.
It then calls mcp__nimbalyst__developer_git_commit_proposal with every changed session file, a reason for selecting them, and a commit message. The message starts with a prefix such as fix: or feat:, describes the user-facing result, and keeps each line within the stated length limit. The widget lets you review the files and edit the message before confirming. This is not the path for a routine commit request: the skill avoids running git add or git commit directly.
What it helps with
- prepare a commit proposal from changes made in the current session
- include all changed session files in the proposal
- write a commit message focused on the outcome
- review proposed files and message before confirming
Example prompts for the agent
- Prepare a smart commit for the changes in this session.
- Use Commit with AI and show me the files selected for the proposal.
- Draft a commit message based on every changed file from this session.
How to install git-commit
1Skills CLI (Vercel)
npx skills add nimbalyst/nimbalyst --skill git-commit -a claude-code2Manually: put the files in place
~/.claude/skills/git-commit/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/git-commit/
1Skills CLI (Vercel)
npx skills add nimbalyst/nimbalyst --skill git-commit -a codex2Manually: put the files in place
.agents/skills/git-commit/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add nimbalyst/nimbalyst --skill git-commit -a cursor2Manually: put the files in place
.cursor/skills/git-commit/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install nimbalyst/nimbalyst git-commit2Manually: put the files in place
.github/skills/git-commit/SKILL.md1Skills CLI (Vercel)
npx skills add nimbalyst/nimbalyst --skill git-commit -a gemini-cli2Platform CLI
gemini skills install https://github.com/nimbalyst/nimbalyst --path packages/extensions/developer/claude-plugin/skills/git-commitManually: put the files in place
.devin/skills/git-commit/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add nimbalyst/nimbalyst --skill git-commit -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about git-commit
How do I install git-commit in Claude Code?
Run npx skills add nimbalyst/nimbalyst --skill git-commit -a claude-code. The skill file is placed at ~/.claude/skills/git-commit/SKILL.md.
What does git-commit do?
It gathers files changed during the session and sends them with a proposed message to Nimbalyst’s widget, where you can review them before confirming.
When should I use git-commit?
Use it after clicking “Commit with AI” or when you explicitly ask for a smart commit. For a regular commit request, the skill directs the agent to standard Git commands.
Source text
SKILL.md · MIT
--- name: git-commit description: Create git commits using Nimbalyst's interactive commit proposal widget. ONLY use when the user explicitly clicks "Commit with AI" button or asks for "smart commit". For regular commit requests, use standard git commands instead. --- # Git Commit Workflow in Nimbalyst This skill is for the "Commit with AI" feature which provides an interactive commit proposal widget. **IMPORTANT: Only use this when:** - The user clicks the "Commit with AI" button (you'll see a message asking you to use developer_git_commit_proposal) - The user explicitly asks for "smart commit" or "commit with AI" **Do NOT use this for:** - Generic commit requests like "commit this", "commit the changes", "make a commit" - For those, use standard git commands: `git add` and `git commit` ## Required Steps 1. **Check if file context is already provided in the prompt** When the user clicks "Commit with AI", the prompt includes a pre-fetched list of session-edited files with uncommitted changes. If you see a file list in the prompt (lines like `- path/to/file.ts (modified)`), skip step 2 and go directly to step 3 using those files. 2. **Get session-edited files (fallback only)** Only if no file list was provided in the prompt: Call `mcp__nimbalyst__get_session_edited_files` to get ALL files you edited during this AI session, then cross-reference with git status. 3. **Propose the commit** Call `mcp__nimbalyst__developer_git_commit_proposal` with: - `filesToStage`: ALL session-edited files that have changes (do not cherry-pick a subset) - `commitMessage`: A well-crafted commit message following the guidelines below - `reasoning`: Explanation of why these files were selected ## Commit Message Guidelines - Start with type prefix: `feat:`, `fix:`, `refactor:`, `docs:`, `test:`, `chore:` - **Focus on IMPACT and WHY, not implementation details** - Title describes user-visible outcome or bug fixed - Use bullet points (dash prefix) only for multiple distinct changes - Keep lines under 72 characters - No emojis - Lead with problem solved or capability added, not technique used ### Good vs Bad Examples **BAD**: "feat: add pre-edit tagging for non-agentic AI providers" **GOOD**: "fix: OpenAI/LMStudio diffs now persist across app restarts" **BAD**: "refactor: extract helper function for validation" **GOOD**: "fix: prevent crash when user input is empty" ## Important - Do NOT run `git add` or `git commit` commands directly - Do NOT add "Co-Authored-By" or attribution lines - Do NOT add marketing taglines or links - Include ALL session-edited files that have changes - the user can deselect files in the widget if needed - The widget allows users to review, edit the message, and select/deselect files before confirming
© nimbalyst · MIT · nimbalyst/nimbalyst
Similar skills
All skills for Git and GitHub →git-commit by other authors comes first.