Commit and push code with automatic task discovery. Finds completed tasks from done/ since last commit and includes them in the commit message. Runs pre-push build validation.
Commit and push code changes with intelligent commit message generation that includes completed tasks from the task board.
Use this skill when:
Run these commands in parallel:
# Get git status
git status --porcelain
# Get staged and unstaged changes
git diff --stat
# Find tasks moved to done/ since last commit
git diff --name-status HEAD -- "task-board/done/"
# Recent commit history
git log -3 --oneline
CRITICAL: Run build verification before committing.
# Backend build
dotnet build --configuration Release
# Frontend build (if frontend files changed)
cd client && npm run build
If either build fails: STOP. Fix the build errors before committing. Do NOT commit broken code.
Parse the git diff output for task-board/done/ folder:
Look for:
A task-board/done/XXX-TYPE-name.md — New task completed (added to done/){number}-{TYPE}-{description}.mdExtract from each task file:
001)FEATURE, REFACTOR)Example:
A task-board/done/001-FEATURE-guest-upgrade-flow.md
A task-board/done/002-REFACTOR-consolidate-utils.md
Becomes:
#001 FEATURE: guest-upgrade-flow#002 REFACTOR: consolidate-utilsFormat:
{summary}
Tasks completed:
- #{number} {TYPE}: {description}
Co-Authored-By: Claude <[email protected]>
Summary rules:
Example — Single task:
Add guest upgrade flow
Tasks completed:
- #001 FEATURE: guest-upgrade-flow
Co-Authored-By: Claude <[email protected]>
Example — Multiple tasks:
Improve user management and code quality
Tasks completed:
- #001 FEATURE: guest-upgrade-flow
- #002 REFACTOR: consolidate-utils
- #003 BUG: fix-leaderboard-flawless
Co-Authored-By: Claude <[email protected]>
Example — No tasks:
Update frontend styling and fix minor bugs
Co-Authored-By: Claude <[email protected]>
Stage all changes:
git add -A
Commit with generated message (HEREDOC for multiline):
git commit -m "$(cat <<'EOF'
{commit message here}
EOF
)"
Push to remote:
git push
Verify:
git status
git log -1 --oneline
Nothing to commit, working tree clean.
Push existing commits before creating new one (or just push without committing).
Only include tasks that were ADDED to done/ folder (status A), not modified (M).
STOP and fix the build before committing. Report the error to the user.
dotnet build --configuration Release + cd client && npm run buildA, not M or D--no-verify flag--force flag unless explicitly requestedUser can invoke with: