AGENT SKILL

schema-guardian

Check for producer-consumer contract drift around candidate and witness artifacts and block silent schema changes.

License 许可
AGPL-3.0
所属仓库
poppet-t/madelin
最近更新
2026-04-05
Stars
★ 0
Forks
0

01 前言 Front Matter

name
schema-guardian
description
Check for producer-consumer contract drift around candidate and witness artifacts and block silent schema changes.

02 资源文件 1

03 SKILL.md 正文

schema-guardian

Use this when

  • any artifact field may change
  • adding, renaming, or reinterpreting fields
  • extraction, solver, emitter, or importer may alter schema expectations
  • ordering semantics encoded in artifacts may change
  • updating validators or typed consumers

Read first

  • AGENTS.md
  • context/invariants.md
  • relevant schema files
  • relevant producers
  • relevant consumers
  • relevant smoke scripts
  • plans/current.md

Steps

  1. List producers of the touched artifact.
  2. List consumers of the touched artifact.
  3. Classify the change as additive, risky, or breaking.
  4. Write plans/schema-impact.md.
  5. Refuse silent drift.

Output

  • producer list
  • consumer list
  • compatibility verdict
  • required downstream updates
  • explicit warning if the change is breaking

Guardrails

  • do not approve silent producer-consumer mismatch
  • treat ordering semantics changes as schema-impacting unless proven otherwise
  • prefer explicit impact notes over implicit compatibility claims
  • if the requested task would create silent schema drift, stop and report that explicitly

04 同仓库更多 Skills