save-work
Save Steve's code changes to GitHub (git commit + push) in a safe, beginner-friendly way. Use when Steve says save, back up, commit, push, or after finishing a change.
SKILL.md.claude/skills/save-work/SKILL.md
GitHubSave work to GitHub
Here "saving" means two things. A commit is a labelled save point on this computer. A push copies that save point to GitHub as a backup.
- Run
git status. If nothing changed, tell Steve "Nothing new to save" and stop. - Safety check: never save
.env, anything indata/, or any file that holds an API key or an owner's personal details. If you see one, stop and tell Steve. - Run the tests:
uv run pytest. If they fail, fix the problem first, or ask Steve whether to save anyway. - Add the changed files by name:
git add <file> <file>. Never usegit add .. - Commit with a short, clear message, as the
git-commitskill describes. For example:git commit -m "feat: add Laguna Beach to my cities". - Push:
git push. If it fails because GitHub has newer changes, rungit pull --no-rebase, thengit pushagain. If there is a conflict, stop and explain it to Steve simply. Never force push. - Tell Steve in one line what you saved. For example: "Saved and backed up: added Laguna Beach to your cities."
If the project has no GitHub copy of its own yet (git remote -v shows no
origin), only commit. Then offer the GitHub step in docs/SETUP.md.