Update prompts.

This commit is contained in:
Jay
2026-04-15 17:43:38 -04:00
parent 9fb00c3a78
commit 84f31ffdec
2 changed files with 4 additions and 1 deletions

3
prompts/get_staged_context.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
git diff --name-only --cached | xargs -I {} echo -i "{}" | xargs code2prompt -c .

View File

@@ -27,7 +27,7 @@ MODEL="gemini-3-flash-preview"
FALLBACK="claude-sonnet-4.6" FALLBACK="claude-sonnet-4.6"
context() { context() {
code2prompt $(git diff --name-only --cached | sed 's/.*/-i "&"/') . git diff --name-only --cached | xargs -I {} echo -i "{}" | xargs code2prompt .
} }
diff() { diff() {