mirror of
https://github.com/Piebald-AI/claude-code-system-prompts.git
synced 2026-05-31 06:04:19 +08:00
12 lines
523 B
Markdown
12 lines
523 B
Markdown
<!--
|
|
name: 'Tool Description: Write (read existing file first)'
|
|
description: Tool description for Write in environments where existing files must be read before overwrite
|
|
ccVersion: 2.1.140
|
|
variables:
|
|
- READ_TOOL_NAME
|
|
- EDIT_TOOL_NAME
|
|
-->
|
|
Writes a file to the local filesystem, overwriting if one exists.
|
|
|
|
When to use: creating a new file, or fully replacing one you've already ${READ_TOOL_NAME}. Overwriting an existing file you haven't ${READ_TOOL_NAME} will fail. For partial changes, use ${EDIT_TOOL_NAME} instead.
|