source/skills/git-push/SKILL.md
You MUST use this when performing a git push. Pre-push checklist for README updates, tests/linters, commit hygiene, secret scanning, and branch/remote status. Use when preparing to run git push, reviewing a branch before publishing, or verifying release readiness.
npx skillsauth add scruffydan/AI-Agents git-pushInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Systematic checks to perform before pushing code to remote repositories.
CRITICAL: Verify README is current with changes
Before pushing, check if README needs updates:
# Check if README exists
ls -la README.md 2>/dev/null
Update README if:
Review commit messages:
git log origin/main..HEAD --oneline
Ensure commits:
Before pushing, verify:
.gitignore includes sensitive filesSearch for potential secrets:
git diff origin/main..HEAD | grep -i "password\|secret\|api_key\|token"
Check branch state:
git status
git log origin/main..HEAD
Verify:
Before force pushing:
git log origin/$(git branch --show-current)..HEAD
Never force push if:
Only force push if:
git push
git push -u origin branch-name
# Only after explicit user permission
git push --force-with-lease
After pushing:
Before git push:
testing
Use when creating new skills, editing existing skills, or verifying skills work before deployment
data-ai
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
development
How to use @docs-fetcher to pull current, targeted external documentation (APIs, SDKs, configs, errors, version changes). Use when you need authoritative docs or examples instead of relying on memory.
development
How and when to invoke code review agents (@code-security, @code-readability, @code-performance, @code-redundancy, @code-simplifier, @code-full-review). Use before major PRs, audits, refactors, or whenever targeted review feedback is needed.