Skip to content
K

keeping-one-source-of-truth

Adding data, config, state, constants, an enum-like string, a cache

by riekeltFree

5
#4455in AI Skills
0In stores

Description

keeping-one-source-of-truth is an agent skill from the riekelt/principal-engineer collection, listed on skills.sh. It is used when adding da…

Highlights

  • One owner per fact, extended not duplicated
  • Derive at read time instead of storing copies
  • Missing entries fail loudly
  • Typed identifiers instead of free strings
  • Disagreements surfaced and resolved

Ratings & Reviews

No ratings yet

Be the first to rate keeping-one-source-of-truth.

People also visit

S

ssotize

Audit and consolidate a fact that's scattered across places into one canonical

AI Skills
Get
S

source-driven-development

Grounds every implementation decision in official documentation

AI Skills
Get
C

clanker-discipline

Catches state bloat, grab-bag models

AI Skills
Get
M

maintaining-agent-context

You MUST use this when creating, auditing, optimizing

AI Skills
Get
C

correct

Find the mistakes agents keep repeating in this repo

AI Skills
Get
P

principle-model-the-domain

Apply when writing stateful logic

AI Skills
Get

keeping-one-source-of-truth FAQ

What does the keeping-one-source-of-truth skill do?

It guides an AI agent to add data and config in the one place that owns each fact, rather than creating a second copy.

How do I install it?

Run: npx skills add https://github.com/riekelt/principal-engineer --skill keeping-one-source-of-truth

What if two sources disagree?

The skill says to surface the contradiction, decide which value is live, and delete the other, never silently follow either.

Should generated files be edited?

No. The skill says every artifact must state whether it is generated or hand-edited, and generated output is never edited.

Why avoid free strings?

The skill says a free string spelled twice is two sources of truth with a typo between them.

What do the security audits say?

Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.

What are the best keeping-one-source-of-truth alternatives?

Popular alternatives to keeping-one-source-of-truth include ssotize, source-driven-development and clanker-discipline. See all keeping-one-source-of-truth alternatives

Developer Stuff

Badges