You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: prompt-template/block/git-not-clean.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,12 @@ You are trying to stop, but you have **{{GIT_ISSUES}}**.
5
5
**Required Actions**:
6
6
0. If the `code-simplifier` plugin is installed, use it to review and simplify your code before committing. Invoke via: `/code-simplifier`, `@agent-code-simplifier`, or `@code-simplifier:code-simplifier (agent)`
7
7
1. Review untracked files - add build artifacts to `.gitignore`
8
-
2. Stage real changes: `git add <files>` (or `git add -A` if all files should be tracked)
8
+
2. Stage only real changes with specific paths: `git add <files>`
9
9
3. Commit with a descriptive message following project conventions
10
10
11
11
**Important Rules**:
12
+
- Do NOT use `git add -A`, `git add --all`, or `git add .` during an active RLCR loop
13
+
- Never stage `.humanize/` or legacy `.humanize-*` loop artifacts
12
14
- Commit message must follow project conventions
13
15
- AI tools (Claude, Codex, etc.) must NOT have authorship in commits
14
16
- Do NOT include `Co-Authored-By: Claude` or similar AI attribution
0 commit comments