/ai-dev:git:commitfrom ai-dev
Create a conventional commit with auto-generated message based on staged changes.
Ships in ai-dev. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Generate and execute a conventional commit based on staged changes.
git status - Check repository stategit diff --cached - View staged changesgit diff --cached --stat - View change statisticsgit log --oneline -10 - View recent commits for style referencegit commit -m "..." - Execute the commitCheck staged changes
git diff --cached --stat
If nothing staged: Prompt user to stage files first
Analyze changes to determine:
Generate commit message following conventional commits:
type(scope): description
[optional body]
[optional footer]
Execute commit
| Type | Description |
|---|---|
feat | New feature |
fix | Bug fix |
docs | Documentation only |
style | Formatting, no code change |
refactor | Code change that neither fixes nor adds |
perf | Performance improvement |
test | Adding or updating tests |
chore | Maintenance, deps, config |
# Feature
git commit -m "feat(auth): add password reset flow"
# Bug fix
git commit -m "fix(api): handle null response from external service"
# Refactor
git commit -m "refactor(utils): extract date formatting to shared module"
If the user provides hints, incorporate them:
commit auth → scope is "auth"commit "add login" → use as description hintcommit fix → type is "fix"Staged changes:
M src/auth/login.py
A src/auth/reset.py
Commit message:
feat(auth): add password reset functionality
Committed: abc1234
7-day visitors to each command page
20 commands in this plugin
/bridge:plan-issueai-dev:plan-issueBridge GitHub Issue to Technical Implementation Plan. Reads issue context, strategic documents, and generates a detailed technical plan./bridge:sync-strategyai-dev:sync-strategySync GitHub state (closed issues, merged PRs) back to /strategy/ documentation/git:commit-pushai-dev:commit-pushCommit staged changes and push directly to the current branch. Supports main-branch development workflow with quality gates./git:syncai-dev:syncPull the latest changes from origin. Essential for trunk-based development./quality:lint-fixai-dev:lint-fixAutomatically fix linting issues in the codebase./quality:run-testsai-dev:run-testsExecute the project's test suite with detailed reporting.npx claudepluginhub drewdresser/ai-dev-settings --plugin ai-devOther plugins' commands for the same job