historic_sql_table_digest
仓库创建 2026年5月11日最近提交 7 天前SkillHot 收录 20 天前
▸ 精选理由
有助于了解表的实际使用与变更影响范围。
这个 Skill 做什么
将单表的历史 SQL 使用聚合为结构化的表使用证据。
把 historic-sql 适配器产出的单表 JSON(tables/<schema>.<name>.json)聚合为结构化的表使用证据,供后续的确定性 schema 投影使用。操作时先读 WorkUnit notes,再读原始表文件,只有在必要时才查 manifest.json,然后输出一条类型化的使用证据。适合处理逐表变更并把使用痕迹标准化的场景。
▸ 展开 SKILL.md 英文原文
Convert one changed historic-SQL table usage bucket into typed table usage evidence for deterministic _schema projection.
1.5k
Stars
96
Forks
17
仓库内 Skill
+49
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Kaelio/ktx/main/packages/cli/src/skills/historic_sql_table_digest/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Kaelio/ktx/main/packages/cli/src/skills/historic_sql_table_digest/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Historic SQL Table Digest
Use this skill when the WorkUnit raw file is one `tables/<schema>.<name>.json` file from the `historic-sql` adapter.
## Required Workflow
1. Read the WorkUnit notes first.
2. Call `read_raw_file` for the single `tables/<schema>.<name>.json` raw file.
3. Read `manifest.json` only if the table JSON omits the dialect or the WorkUnit notes are unclear.
4. Produce one concise usage narrative for this table from the staged table JSON.
5. Call `emit_historic_sql_evidence` exactly once with `kind: "table_usage"`.
6. Stop after the evidence tool succeeds.
## Identifier Verification Protocol
Before writing a wiki page or SL source on any topic:
1. `discover_data({quervia SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有