home/categories/code-quality/hkuds-openspace-showcase-skills-idempotent-file-replace-skill-md
code-qualitytesting-security

idempotent-file-replace

Read-then-diff before writing a file to ensure the write is skipped when the content already matches, preventing unnecessary modifications and downstream side effects.

HKUDS
maintainer
HKUDS
更新于 3/24/2026
星标
4934
分支
588
quick start

Installation and usage

Read-then-diff before writing a file to ensure the write is skipped when the content already matches, preventing unnecessary modifications and downstream side effects.

安装
$ install --globalskills.sh
使用

安装后,您可以通过在终端运行以下命令来使用此技能:

skills use idempotent-file-replace