stage
Installation
SKILL.md
Stage Changes
Stage implementation changes with precise file selection.
Step 1: Identify Changes
Run git status to see all modified, added, and deleted files.
Step 2: Stage Files
Stage only the files relevant to the current task:
git add <file1> <file2> ...
- Do not use
git add -A,git add ., orgit add -u— all three sweep in unrelated changes - If a file contains both relevant and unrelated changes, write
git diff <file>to a patch file, back the unrelated changes out of it (delete their+lines and turn their-lines into context lines), and stage it withgit apply --cached --recount <patch> - Never stage files containing secrets (
.env, credentials, API keys). Warn if detected.