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