@@ -5,8 +5,11 @@ description: Stage and commit all changes with a generated message
55
66 Run the following steps to stage and commit the code. If you want formatting and linting, run `/format-then-lint` first.
77
8+**IMPORTANT**: This command stages and commits ALL changes in the working directory. Do not cherry-pick or selectively stage files unless there are sensitive files (credentials, secrets) that should not be committed. Stage everything with `git add .` as instructed.
9+
810 1. **Stage Changes**:
911 - Run `git add .` to stage all modified and untracked files.
12+ - Do not selectively stage only some files - stage everything unless there are security concerns.
1013
1114 2. **Generate Commit**:
1215 - Analyze the staged changes (using `git diff --cached` if necessary to understand the context).