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
Atualizado 3/24/2026
Estrelas
4934
Forks
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.

Instalação
$ install --globalskills.sh
Uso

Depois de instalar, você pode usar esta skill executando o seguinte comando no terminal:

skills use idempotent-file-replace