Keeping One Source Of Truth

Use when adding data, config, state, constants, an enum-like string, a cache, or anything that could exist in two places - or when two sources already disagree. Encodes the one-fact-one-source doctrine for code and data: derive rather than store, extend the owner, absorb duplicates. Use at the moment copying a value feels faster than referencing it.

riekelt b19e6c9 3.5 KB Updated

File contents

riekelt/principal-engineer/tree/main/plugins/principal-engineer/skills/keeping-one-source-of-truth commit b19e6c962e

Frequently asked questions

npx skillmds add riekelt-principal-engineer/keeping-one-source-of-truth