金色时刻 · 15:48
让好资源,触手可及
AGENT SKILL

idempotent-redundancy

idempotent-redundancy 是面向软件开发的 Agent Skill,来自 parcadei/Continuous-Claude-v3。查看技能说明、操作步骤与使用约定,并通过原项目了解详细用法。

Idempotent Redundancy

SKILL.md

下载 MD ↓
nameidempotent-redundancy
descriptionIdempotent Redundancy
user-invocable

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: true for 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"

来源:parcadei/Continuous-Claude-v3 · MIT 许可 · 许可原文 · MD 为来源页保存的历史版本