From e051a78a723175c5f5fa223d0d8b8cd72d16ea62 Mon Sep 17 00:00:00 2001 From: g4lb Date: Sat, 10 Oct 2026 10:10:21 +0300 Subject: [PATCH] Have the prompt check for a clean tree before setup 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 --- README.md | 2 ++ skills/autor3search-javascript/SKILL.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 48b2d16..25b54b0 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,8 @@ faster, and paste this: Install and run autor3search-javascript on this repository, then optimize it. Setup: +0. Run git status. If the working tree has changes, STOP and ask me to + commit or stash them first. 1. npm install -g @autor3search/javascript Or prefix every command below with `npx` instead — either way, keep using the same form for the whole run, so the version that recorded the baseline diff --git a/skills/autor3search-javascript/SKILL.md b/skills/autor3search-javascript/SKILL.md index e59b826..cf39e00 100644 --- a/skills/autor3search-javascript/SKILL.md +++ b/skills/autor3search-javascript/SKILL.md @@ -21,6 +21,8 @@ user. Follow every step and rule in it, in order. Install and run autor3search-javascript on this repository, then optimize it. Setup: +0. Run git status. If the working tree has changes, STOP and ask me to + commit or stash them first. 1. npm install -g @autor3search/javascript Or prefix every command below with `npx` instead — either way, keep using the same form for the whole run, so the version that recorded the baseline