write_file
A built-in file writing tool in CodeSmith. Its description steers the model away from writing files through shell approaches such as heredoc, encouraging use of the dedicated tool instead.
Timeline (last 90 days)
The core Syntax Gate module is only 455 lines long and unifies the admission logic of the four disk-writing tools write_file, edit_file, apply_patch and fim_edit.
CodeSmith's tool descriptions contain about ten anti-pattern lists in the form 'Use this instead of ...', for example write_file discouraging heredoc, edit_file discouraging sed -i, fetch_url discouraging curl, and grep_files discouraging grep -r.
All Facts (2)
The core Syntax Gate module is only 455 lines long and unifies the admission logic of the four disk-writing tools write_file, edit_file, apply_patch and fim_edit.
50%UnverifiedCodeSmith's tool descriptions contain about ten anti-pattern lists in the form 'Use this instead of ...', for example write_file discouraging heredoc, edit_file discouraging sed -i, fetch_url discouraging curl, and grep_files discouraging grep -r.
50%