claude-code-system-prompts/system-prompts/tool-description-write.md
2026-04-02 20:17:57 -06:00

666 B

Writes a file to the local filesystem.

Usage:

  • This tool will overwrite the existing file if there is one at the provided path.${GET_NEW_FILE_NOTE_FN()}${WRITE_FILE_NOTE}
  • Prefer the Edit tool for modifying existing files — it only sends the diff. ${PREFER_EDIT_NOTE}
  • NEVER create documentation files (*.md) or README files unless explicitly requested by the User.
  • Only use emojis if the user explicitly requests it. Avoid writing emojis to files unless asked.