1---2name: idempotent-redundancy3description: Idempotent Redundancy4---567# Idempotent Redundancy89When adding redundant paths (fallbacks, belt-and-suspenders), make them idempotent.1011## Pattern1213Redundancy without idempotency causes loops, churn, or data corruption.1415## DO16- Use `_is_merge: true` for Braintrust updates17- Check if value exists before writing (fallback only if missing)18- Use atomic write/rename for file operations19- Make reconciliation steps safe to run repeatedly2021## DON'T22- Write unconditionally in fallback paths23- Allow multiple writers to overwrite each other24- Fire "repair" actions that can trigger more repairs2526## Source Sessions27- a541f08a: "Redundancy is good only if idempotent"28- 1c21e6c8: "Belt-and-suspenders, but make it idempotent"29- 6a9f2d7a: "Idempotent repair hooks"3031---3233**Source:** [`parcadei/Continuous-Claude-v3`](https://github.com/parcadei/Continuous-Claude-v3) → `.claude/skills/idempotent-redundancy/SKILL.md`
Run npx skillmds add thedixitjain/idempotent-redundancy in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Idempotent Redundancy It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: makes network calls. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
thedixitjain (@thedixitjain) published this skill. Their other Agent Skills are listed on their SkillMD profile.