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

15 lines
652 B
Markdown

<!--
name: 'Tool Description: Write'
description: Tool for writing files to the local filesystem
ccVersion: 2.1.97
variables:
- GET_NEW_FILE_NOTE_FN
-->
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()}
- Prefer the Edit tool for modifying existing files — it only sends the diff. Only use this tool to create new files or for complete rewrites.
- 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.