Commit all current changes with an auto-generated message based on context.
Generates AI commit messages from changes and pushes with optional user confirmation.
/plugin marketplace add foolishimp/ai_sdlc_method/plugin install aisdlc-methodology@aisdlcCommit all current changes with an auto-generated message based on context.
<!-- Implements: REQ-TOOL-003 (Workflow Commands) -->Usage: /aisdlc-commit or /aisdlc-commit "optional message"
Instructions:
Check git status
git status --short
git diff --stat
If no changes, report "Nothing to commit" and exit
Gather context (if available):
.ai-workspace/tasks/active/ACTIVE_TASKS.md for in-progress tasksGenerate commit message:
Format:
{type}: {brief description}
{optional: bullet points of key changes}
{Implements: REQ-* if applicable}
š¤ Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Types: feat, fix, docs, refactor, test, chore
Show commit message and ask user to confirm or edit
If confirmed, commit and push:
git add -A
git commit -m "{message}"
git push
Report result:
ā
Committed and pushed: {short_hash}
{commit message summary}
Examples:
> /aisdlc-commit
Proposed commit message:
āāāāāāāāāāāāāāāāāāāāāāāāā
fix: Update installer to clear plugin cache correctly
- Fixed cache path from /cache/ to /marketplaces/
- Added troubleshooting docs to help and installer
š¤ Generated with Claude Code
āāāāāāāāāāāāāāāāāāāāāāāāā
Commit and push? [Y/n]
> /aisdlc-commit "WIP: auth feature"
ā
Committed and pushed: a1b2c3d
WIP: auth feature
Note: Use /aisdlc-release when you want to commit + tag a new version.