Skip to content

Have the prompt check for a clean tree before setup - #6

Merged
g4lb merged 1 commit into
mainfrom
prompt-clean-tree
Oct 10, 2026
Merged

g4lb merged 1 commit into
mainfrom
prompt-clean-tree

Conversation

@g4lb

@g4lb g4lb commented Oct 10, 2026

Copy link
Copy Markdown
Collaborator

Adds a step 0 to the Start here prompt (and the same block in skills/autor3search-python/SKILL.md):

0. Run git status. If the working tree has changes, STOP and ask me to
   commit or stash them first.

The init step commits with git add -A, so any uncommitted work the user already had would be swept into the init commit on their current branch. baseline refuses a dirty tree, but only after that commit has happened. Steps 1+ keep their numbers. The landing site's prompts follow in a separate PR.

🤖 Generated with Claude Code

Step 3 commits with git add -A, so uncommitted work the user already had
would land in the init commit on their current branch. baseline refuses a
dirty tree, but only after that commit. Step 0 stops and asks first. The
skill carries the same block.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@g4lb
g4lb merged commit cd75981 into main Oct 10, 2026
9 checks passed
@g4lb
g4lb deleted the prompt-clean-tree branch October 10, 2026 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant