diff --git a/README.md b/README.md index f05d6e1..771c8d9 100644 --- a/README.md +++ b/README.md @@ -9,13 +9,25 @@ useful prompts for working with large language models. Bring an existing repo up to standards (run from within the repo): ```bash -P=$(mktemp -d) && git clone --depth 1 https://git.eeqj.de/sneak/prompts.git "$P" && claude "Read $P/prompts/REPO_POLICIES.md and $P/prompts/EXISTING_REPO_CHECKLIST.md, then bring this repo up to those standards." +export TD="$(mktemp -d)" +export INSTRUCTIONS="Read $TD/prompts/REPO_POLICIES.md and +$TD/prompts/EXISTING_REPO_CHECKLIST.md, then bring this repo up to those +standards. Be very careful to follow the policies yourself while +making these changes, ie: do your work on a feature branch, make each +change as a separate commit, make a formatting commit up front, et cetera." +git clone --depth 1 https://git.eeqj.de/sneak/prompts.git "$TD" && claude "$INSTRUCTIONS" ``` Start a new repo from scratch: ```bash -P=$(mktemp -d) && git clone --depth 1 https://git.eeqj.de/sneak/prompts.git "$P" && claude "Read $P/prompts/REPO_POLICIES.md and $P/prompts/NEW_REPO_CHECKLIST.md, then set up this new repo according to those standards." +export TD="$(mktemp -d)" +export INSTRUCTIONS="Read $TD/prompts/REPO_POLICIES.md and +$TD/prompts/NEW_REPO_CHECKLIST.md, then set up this new repo according +to those standards. Be very careful to follow the policies yourself while +making these changes, ie: do your work on a feature branch, make each +change as a separate commit, et cetera." +git clone --depth 1 https://git.eeqj.de/sneak/prompts.git "$TD" && claude "$INSTRUCTIONS" ``` ## Getting Started