historic_sql_patterns
仓库创建 2026年5月11日最近提交 7 天前SkillHot 收录 20 天前
▸ 精选理由
用于构建确定性的 wiki 投影和分析模板发现。
这个 Skill 做什么
从历史 SQL 使用中识别跨表的重复分析模式并生成证据。
从历史 SQL 的片段中找出跨表的重复分析模式,生成结构化、可类型化的模式证据,方便投影到 wiki 或知识库做确定性汇总。适用于处理 historic-sql 的 shard 或 patterns 输入文件时,先读 WorkUnit 说明再定位要分析的文件。特点是输出可验证的证据记录,便于自动化归档和后续复用。
▸ 展开 SKILL.md 英文原文
Identify recurring cross-table historic-SQL analytical intents from a bounded pattern shard and emit typed pattern evidence for deterministic wiki 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_patterns/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Kaelio/ktx/main/packages/cli/src/skills/historic_sql_patterns/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Historic SQL Patterns Use this skill when the WorkUnit raw file is a `patterns-input/part-0001.json` style shard from the `historic-sql` adapter. Older staged bundles may still provide root `patterns-input.json`; when that is the WorkUnit raw file, read it the same way. ## Required Workflow 1. Read the WorkUnit notes first. 2. Find the single pattern input file listed under the WorkUnit `rawFiles` section. 3. Call `read_raw_file` for that exact raw file path. 4. Identify recurring analytical intents that span at least two tables and have repeated usage signal. 5. Emit one `pattern` evidence object per durable cross-table intent by calling `emit_historic_sql_evidence`. 6. Stop after all
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有