Development v1.0.0

swiftfindrefs

使用 swiftfindrefs(IndexStoreDB)列出引用某个符号的所有 Swift 源文件,这是“查找引用”“修复缺失导入”和跨模块重构的必要条件,不得用 grep/rg 或 IDE 搜索替代

ClawHub 更新于 2026-03-25 12 浏览
下载 SKILL

技能说明

使用 swiftfindrefs(IndexStoreDB)列出引用某个符号的所有 Swift 源文件,这是“查找引用”“修复缺失导入”和跨模块重构的必要条件,不得用 grep/rg 或 IDE 搜索替代

使用场景

Use swiftfindrefs with IndexStoreDB to find all Swift files referencing a symbol for precise refactoring and import fixes

查看英文原始说明

Use swiftfindrefs (IndexStoreDB) to list every Swift source file referencing a symbol. Mandatory for “find references”, “fix missing imports”, and cross-module refactors. Do not replace with grep/rg or IDE search.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/swiftfindrefs
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。