stage-routine-files
Installation
SKILL.md
Stage Routine Files
Input
- Files changed by this agent during the current work.
Do not inspect file contents or Git diffs to rediscover these changes. Do not stage files whose author is uncertain.
Workflow
- From current-work knowledge, select changed
index.ts,entrysmith.config.js, and*.lockfiles. Rungit add -- <selected-paths>. Skip this command when no path qualifies. - Select each changed
package.jsononly when its change is limited to dependency declarations. Rungit add -- <package-path>. Leave it unstaged whenscriptsor any non-dependency field changed. - Select each changed
tsconfig.*.jsononly when nocompilerOptionsvalue changed. Rungit add -- <tsconfig-path>. Leave it unstaged when anycompilerOptionsvalue changed. - Run
git diff --cached --name-only -- <selected-paths>. Confirm every selected path appears in output. Report paths left unstaged and why.