Skip to content
Back to skills

Truth Delta

ASecurity

維護每次 plan package 內的 `truth-delta.md`,讓 truth owner skill 以共同格式記錄本輪對 `specs/truth/**` 的 ADD / MODIFY / DELETE / NOOP 語意單元變更。Use when a truth owner skill has inspected or changed truth specs and must initialize, append, update, or validate the current plan package truth delta handoff.

  • 44 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 7, 2026
developmentapi

Works with

  • cursor
  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned October 7, 2026

npx -y skills add YuDefine/nuxt-supabase-starter --skill truth-delta --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Truth Delta?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Truth Delta
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yudefine-truth-delta/badge)](https://www.skillsdirectory.com/skills/yudefine-truth-delta)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: truth-delta
description: >-
  維護每次 plan package 內的 `truth-delta.md`,讓 truth owner skill 以共同格式記錄本輪對
  `specs/truth/**` 的 ADD / MODIFY / DELETE / NOOP 語意單元變更。Use when a truth owner
  skill has inspected or changed truth specs and must initialize, append,
  update, or validate the current plan package truth delta handoff.
metadata:
  clade:
    invocation: explicit
---
<!-- LOCKED: mirrored from Waterball-Software-Academy/aixbdd@bc8fdebe2d30db384f77911aaed81888ad03bf5f, modified by clade (added this banner and clade metadata lines) via scripts/sync-upstream-mirrors.ts — edit upstream, never here -->
<!-- clade-targets: claude,codex,cursor -->
> clade 覆寫:clade lifecycle repo(本次 plan package 的 `plan.md` frontmatter 同時含 `work_id:` 與 `truth_baseline:`)或適用 canonical doctor 的 clade consumer:執行本 skill 前先讀 `work-route` skill 根下的 `rules/上游覆寫-lifecycle落點與doctor.md`,命中該檔判準的條目以該檔為準,未命中照本檔原文。

# Truth Delta

`truth-delta` 是 truth owner skill 的共同 handoff skill。它不決定要怎麼改 truth,也不替 owner 寫 OpenAPI、DBML、feature 或 DSL;它只負責把已確認的 truth 變更,以固定格式寫入當前 plan package 的 `truth-delta.md`,讓下游 skill 能接續推理。

# SOP

## Phase 1 -- 對齊 plan package 與 truth owner

1. READ 讀取呼叫者 handoff、當前 plan package 路徑、truth root、truth owner 名稱、已檢查或已修改的 truth 規格清單,以及既有 `truth-delta.md` 內容。
2. READ 讀取 `rules/Truth變更分類與粒度判準.md`,確認 owner section、動作分類、語意單元粒度與 NOOP 記錄規則。
   - 命中 clade lifecycle repo 判準(本次 plan package 的 `plan.md` frontmatter 同時含 `work_id:` 與 `truth_baseline:`;判準只看那兩個鍵,NEVER 用 repo 名、manifest 或其他檔案推斷)時,本輪 truth 變更的載體是 `plan.md` 的 `## Truth delta` 表(欄位固定 `id`、`action`、`unit`、`reason`、`state`,`state` ∈ `proposed` / `applied` / `withdrawn`):NEVER 建立 `truth-delta.md`,Phase 1 步驟 3、4 與 Phase 3 的 owner section 操作全部改對該表的列進行。新寫入的列 `state` 一律 `proposed`。
3. READ 若 `truth-delta.md` 尚不存在,讀取 `templates/truth-delta.md` 與 `templates/truth-delta.example.md`,確認初始化骨架與完成樣貌。
4. WRITE 若 `truth-delta.md` 尚不存在,於當前 plan package 建立該檔案,並填入 plan package、truth root 與四個 truth owner section。

## Phase 2 -- 收斂本輪 truth 變更紀錄

1. THINK 依已載入規則,把呼叫者提供的 truth 改動整理成語意單元列;每列必須包含 `ADD`、`MODIFY`、`DELETE` 或 `NOOP`,以及 truth 規格、改動摘要與原因。
2. THINK 若呼叫者宣稱有高影響 `MODIFY` 或 `DELETE`,但 handoff 未說明已完成 `/clarify` 或明確風險決策,停止寫入並要求呼叫者先補齊確認依據。
3. THINK 若同一 truth owner 本輪沒有 truth 變更,收斂一列 `NOOP`,明示已檢查但無需變更的 truth 範圍與原因。

## Phase 3 -- 更新 owner section

1. WRITE 在 `truth-delta.md` 的對應 owner section 追加或更新本輪表格列;若該 section 仍是 placeholder 或既有 `NOOP` 已被實際改動取代,先清理再寫入。
2. READ 回頭檢查 `truth-delta.md` 是否仍保留每個 truth owner 各一張表,且所有列都符合固定欄位、動作值與語意單元粒度;若不符合,立即修正。

## Phase 4 -- 交付下游 handoff

1. WRITE 向呼叫者回報已更新的 `truth-delta.md` 路徑、owner section、ADD / MODIFY / DELETE / NOOP 數量,以及是否仍有需回到 `/clarify` 的高影響 truth 變更。

Files in this skill

  • SKILL.md3.8 KB
  • rules/Truth變更分類與粒度判準.md6.6 KB
  • templates/truth-delta.example.md1.7 KB
  • templates/truth-delta.md1.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.