How this skill is triggered — by the user, by Claude, or both
Slash command
/dev:commit-and-pushThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Status:
Status:
!git status
Changes:
!git diff
Recent commits:
!if git rev-parse --verify HEAD >/dev/null 2>&1; then git log --oneline -5; else echo "(no commits yet)"; fi
Review the conversation context above to understand what the user was working on. Then:
Identify related changes: From the diff, determine which files are related to the work discussed in the conversation. Unrelated changes (e.g., unfinished work on a different feature) should NOT be staged.
Stage selectively: Only git add files that are related to the conversation context. If all changes appear related, stage everything.
Generate commit message: Write a clear commit message describing what was accomplished.
Commit and push: Commit the staged changes and push to the remote branch.
If you're unsure whether certain files are related, ask the user before staging.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub computomatic/claude-plugin --plugin dev