Keeping One Source Of Truth Skill
- Installs
- 30.4k
- Repo stars
- 7
- Security scans passed
- 3/3
- Repo updated
- Dec 1, 2026
TL;DR
Prevents the same config, constant, or state from living in two places by deriving values from one owner instead of copying them.
npx skills add https://github.com/riekelt/principal-engineer --skill keeping-one-source-of-truthTry it first through the Skillselion MCP - nothing to install, nothing on disk.
1. Add the remote connector:
claude mcp add --transport http skillselion https://mcp.skillselion.com/mcp2. Ask your agent:
Use Skillselion load_skill to load skill:riekelt/principal-engineer#keeping-one-source-of-truth (Keeping One Source Of Truth) and follow it.Try it first through the Skillselion MCP - nothing to install, nothing on disk.
1. Add this URL as a custom connector (Claude.ai, ChatGPT or Cursor):
https://mcp.skillselion.com/mcp2. Ask your agent:
Use Skillselion load_skill to load skill:riekelt/principal-engineer#keeping-one-source-of-truth (Keeping One Source Of Truth) and follow it.What keeping-one-source-of-truth covers
- Applies a one-fact-one-source rule
- Prefers deriving values over storing copies
- Helps resolve disagreeing sources
keeping-one-source-of-truth by the numbers
| All-time installs | 30,383 (30.4k) | skills.sh registry |
|---|---|---|
| Repo stars | ★ 7 | GitHub |
| Security audit | 3 / 3 scanners passed | skills.sh audit |
| Repo last updated | December 1, 2026 | GitHub |
| Repository | riekelt/principal-engineer ↗ | |
Data as of Dec 3, 2026 (Skillselion catalog sync)
What files ship with keeping-one-source-of-truth?
Keeping one source of truth
REQUIRED BACKGROUND: the principal-engineering skill.
Overview
Every fact about the system lives in exactly one place, and every other part of the system reads it from there. This outranks convenience.
The doctrine
- Before adding data, find who already owns it. Extend that owner; do not start a rival.
- Derive rather than store. If the platform or an existing source can answer it at read time, read it there; do not copy the answer into a second source where it can go stale.
- Absorb duplicates you find on the way. When you touch code that hardcodes what a file already knows (or the reverse), fold the two together as part of the work instead of leaving a third variant behind.
- A missing entry fails loud (see
handling-failures): the single source is only authoritative if absence from it is an error, never a silent default. - Mark generated versus hand-edited, and never edit generated output. Every artifact states which it is.
- Vocabulary is typed, not stringly. Identifiers, kinds, states, and names that code branches on are constants, enums, sealed types, or registry entries; a free string spelled twice is two sources of truth with a typo between them.
- When two sources disagree, say so. Surfacing the contradiction is the first fix. The full fix determines which value is live, collapses to one source, and deletes the loser. Never silently follow either one; that launders the disagreement into whichever answer you happened to read first. On a declared critical path, a live disagreement earns a direct message to the owner, not only a tracked item; an unread ticket surfaces nothing.
Boundaries
- Caches and read models are legitimate derived copies when their derivation is automatic and their staleness is bounded and observable. The rule bans copies a person keeps in sync by hand.
- Test fixtures may freeze a copy of reality on purpose; the word fixture is the label that says so.
- Documentation follows the same rule (an index routes, never decides); the technical-writer plugin's
technical-writingskill carries that side where installed.
Common mistakes
- Copying a threshold, URL, or mapping "temporarily". Temporary copies have the same lifetime as the TODO above them.
- Creating
thing-v2besidethinginstead of editing in place. - A default value in code that shadows the config file's value. When someone changes the config and nothing happens, this is why.
- Two enums in two services spelling the same states. The day one gains a state, the boundary between them becomes a silent filter.
Which skills are related to keeping-one-source-of-truth?
Keeping One Source Of Truth skill FAQ
Is Keeping One Source Of Truth safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
Add a keeping-one-source-of-truth badge
Show developers this skill is listed on Skillselion. Paste this into your README.