Skip to main content

single-source-of-truth

Language-agnostic engineering philosophy for eliminating drift and double-apply bugs — one authoritative home per fact, derive/generate the rest, declare desired state over imperative steps, idempotent convergence, make illegal states unrepresentable, colocate truth with the thing, gate unavoidable hand-sync, and extract proven-reused logic into a shared package (earning the abstraction via the Rule of Three). Each rule carries its root-cause rationale. Use when designing config/schemas/DSLs/codegen/migrations/build-systems/shared libraries, when reviewing code with copy-pasted constants, hand-synced docs, name-keyed side tables, read-modify-write counters, run-once-only operations, or the same logic copied across repos/teams, and when user mentions 幂等 idempotent, 声明式 declarative, single source of truth, DRY, drift, convergence, derive, extract a reusable package, premature/wrong abstraction, Rule of Three.

Jump to install

Source facts

Repository
sunfmin/single-source-of-truth
Last source activity
June 8, 2026 at 01:30
Detected SKILL.md language
English
Stars
0
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.