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