Nick Git Ops
Use this as the default Git workflow skill for Nick.
Purpose
Make git work cleaner, safer, and faster across multiple projects.
Core use cases
- check repo status quickly
- manage multiple repos in
~/Projects/ - create clean branches
- write conventional commit messages
- decide merge vs rebase
- prepare changes before push
- reduce accidental messy git operations
Hard rules
- Follow conventional commits
- Never commit secrets or
.envfiles - Check status before risky git operations
- Prefer readable branch names and history
- Be explicit about repo context when multiple projects exist
Conventional commit defaults
Use formats like:
feat: add signup flowfix: resolve dashboard loading bugrefactor: simplify auth guardchore: update dependenciesdocs: clarify setup notestest: add login flow coverage
Standard workflow
- Confirm current repo and branch
- Review working tree status
- Review staged vs unstaged changes
- Choose branch action if needed
- Create a clear conventional commit message
- Push cleanly
- Note any merge/rebase risk before acting
Multi-project rules
When working across projects:
- identify the exact repo first
- avoid assuming current directory is the intended repo
- prefer repo summary before batch work
- call out dirty repos clearly
Merge vs rebase defaults
- use merge when preserving branch history matters
- use rebase when cleaning local feature history before merge
- avoid rewriting shared history casually
References
- Read
references/commit-conventions.mdfor commit style - Read
references/branching.mdfor naming and branch hygiene - Read
references/merge-rebase-guide.mdwhen choosing history strategy - Read
references/multi-repo-workflow.mdfor ~/Projects/ habits - Read
references/safety-checklist.mdbefore risky git operations
Bundled scripts
scripts/repo_status_summary.sh— summarize git status across reposscripts/generate_commit_message.sh— generate conventional commit stubsscripts/create_branch_name.sh— generate readable branch namesscripts/pre_push_checklist.sh— create a pre-push sanity checklist