Agent skill
idempotent-redundancy
Idempotent Redundancy
Install this agent skill to your Project
npx add-skill https://github.com/parcadei/Continuous-Claude-v3/tree/main/.claude/skills/idempotent-redundancy
SKILL.md
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"
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
tdd-migration-pipeline
Orchestrator-only workflow for migrating/rewriting codebases with full TDD and agent delegation
agentica-prompts
Write reliable prompts for Agentica/REPL agents that avoid LLM instruction ambiguity
planning-agent
Planning agent that creates implementation plans and handoffs from conversation context
recall
Query the memory system for relevant learnings from past sessions
implement_task
Implementation agent that executes a single task and creates handoff on completion
braintrust-tracing
Braintrust tracing for Claude Code - hook architecture, sub-agent correlation, debugging
Didn't find tool you were looking for?