Repository navigation
Prohibit git reset --hard in todo-handler skill - #8
Merged
Merged
Conversation
aphelps
approved these changes
Apr 18, 2026
- Never use git reset --hard (or checkout --/restore .): destroys gitignored files like todo.md/log/todo_plans/. Use git reset --soft to squash, git checkout -b to branch from a remote ref safely. - PR Handling: check all submodule PRs alongside the base repo PR in the same pass; never handle the base repo PR in isolation. - PR Handling: after addressing a review comment mark the conversation resolved. If a comment needs clarification, reply and ask the user in-session if present. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
aphelps
force-pushed
the
skill-no-hard-reset
branch
from
April 18, 2026 23:37
53ad6d6 to
70d01a2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
git reset --hard(andgit checkout -- ./git restore .) silently destroys gitignored files liketodo.md,todo.log, andtodo_plans/git reset --softto squash commits,git checkout -b <name> <ref>to branch from a remote refgit reset --hard origin/mainon thesparkle-smooth-fadebranch wiped the localtodo.mdTest plan
🤖 Generated with Claude Code