Commit 47c9b01
2026-08-25 06:08:51
1 parent
328fbef
Changed files (2)
.elelem
prompts
lib
elelem
prompts
.elelem/prompts/build.erb
@@ -28,7 +28,7 @@ New files: write tool
# Search
`rg -n "pattern" .` - text search
`fd -e rb .` - file discovery
-`sg -p 'def $NAME' -l ruby` - structural search
+`ast-grep -p 'def $NAME' -l ruby` - structural search
# Task Completion
When a task is done, edit the story file:
lib/elelem/prompts/default.erb
@@ -15,7 +15,7 @@ GNU: `find -printf`, `du -b`; size `stat -c%s`; in place `sed -i`.
# Search
- text: `rg -n "pattern" .`
- files: `fd -e rb .`
-- structure: `sg -p 'def $NAME' -l ruby`
+- structure: `ast-grep -p 'def $NAME' -l ruby`
- the repository means tracked files: `git ls-files`, never `.git`
# Policy