Idempotent redundancy
Skill parcadei/Continuous-Claude-v3/.claude/skills/idempotent-redundancy
Idempotent RedundancyFrom its SKILL.md
npx -y skills add parcadei/Continuous-Claude-v3 --skill idempotent-redundancyAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
0.8 KB, 196 tokens by cl100k_base, as published. Nobody here has run it
Idempotent Redundancy
When adding redundant paths (fallbacks, belt-and-suspenders), make them idempotent.
Pattern
Redundancy without idempotency causes loops, churn, or data corruption.
DO
- Use
_is_merge: truefor Braintrust updates - Check if value exists before writing (fallback only if missing)
- Use atomic write/rename for file operations
- Make reconciliation steps safe to run repeatedly
DON'T
- Write unconditionally in fallback paths
- Allow multiple writers to overwrite each other
- Fire "repair" actions that can trigger more repairs
Source Sessions
- a541f08a: "Redundancy is good only if idempotent"
- 1c21e6c8: "Belt-and-suspenders, but make it idempotent"
- 6a9f2d7a: "Idempotent repair hooks"
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.