golden-master
由 leegitw 提供
Security & Passwords简介
Track source-of-truth relationships between files — know.
描述
该技能的功能
Golden Master tracks source-of-truth relationships between files using cryptographic checksums embedded as metadata comments. It identifies when derived files (like READMEs or guides) become stale relative to their source documents. Relationships require human confirmation before tracking is established.
Embedding checksums directly in files means staleness is detectable without a separate tracking database or external service.
何时使用
- Detecting when a README drifts from the architecture doc it summarizes
- Checking if quickstart guides are current after a source update
- Setting up staleness tracking across a documentation suite
- Finding which files depend on a specific source document
- Auditing freshness before a documentation release
示例工作流
User asks: Is my README still in sync with ARCHITECTURE.md?
- 1
Scan both files for existing golden-master metadata comments
- 2
Compare stored source checksum in README.md against current SHA256 of ARCHITECTURE.md
- 3
Report which lines in ARCHITECTURE.md changed since the checksum was recorded
- 4
Generate an updated metadata comment for README.md once user confirms they've synced it
Staleness report showing README.md is 12 days behind, with specific changed lines listed and a refreshed metadata comment ready to paste
安装
clawhub install leegitw/golden-master运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。