‹ 首页

alias-resolution

@yogsoth-ai · 收录于 5 天前 · 上游提交 2 周前

SOP for detecting and resolving concept aliases — merge duplicate pages, redirect edges.

适合你,如果经常需要处理概念别名导致的页面重复问题

/ 通过 npx 安装 校验哈希
npx oh-my-skill add yogsoth-ai/de-anthropocentric-research-engine/alias-resolution
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- yogsoth-ai/de-anthropocentric-research-engine/alias-resolution
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify yogsoth-ai/de-anthropocentric-research-engine/alias-resolution
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
388GitHub stars
~224上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 59ace64 · 表述以原文为准
它做什么

Claude 会自动检查知识库中是否有名称不同但含义相同的概念页面。如果发现,它会合并内容到一个规范页面,并更新所有链接指向它。

什么时候触发

当用户要求处理重复概念、合并页面或解决别名问题时触发。

装好后可以这样说
Claude 会检测并合并。
Claude 会自动扫描合并。
技能原文 SKILL.md作者撰写 · Apache-2.0 · 59ace64

Alias Resolution

Detect when two concept pages refer to the same thing under different names. Merge into canonical page.

Tool

vault_search + CC file operations + vault_add_edge

Protocol
  1. Search vault for the concept name and common synonyms
  2. If multiple pages cover the same concept: choose canonical name
  3. Merge content from duplicate into canonical page
  4. Redirect all edges from duplicate to canonical
  5. Inline wikilinks: After edge redirection, ensure the canonical page body contains [[dir/slug]] for all targets (dir/slug = target path minus .md). Place inline at semantically relevant locations. Skip if already present.
  6. Delete duplicate page
  7. Update index
HARD-GATE

<HARD-GATE> Before merging, verify the pages truly refer to the same concept (not related but distinct concepts). </HARD-GATE>

Yield

Returns: { merged: boolean, canonical: string, aliases_resolved: string[] }

按 Apache-2.0 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。