← 返回 Skills 市场
michaelversus

swiftfindrefs

作者 michaelversus · GitHub ↗ · v1.0.5
cross-platform ✓ 安全检测通过
1889
总下载
1
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install swiftfindrefs
功能描述
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.
安全使用建议
This skill is coherent and appears to do what it says: run the swiftfindrefs tool and act only on the files it reports. Before installing or running anything: (1) verify the swiftfindrefs binary source (the SKILL suggests a third‑party brew tap on GitHub) — review that repository and its releases; (2) run swiftfindrefs manually on a small project to confirm output; (3) be aware the agent will need local filesystem and command execution rights to read DerivedData and edit source files — grant those only if you trust the tool and environment. If you want extra caution, run the tool yourself and let the agent operate only on its output rather than installing a new binary automatically.
功能分析
Type: OpenClaw Skill Name: swiftfindrefs Version: 1.0.5 The skill bundle is designed to use `swiftfindrefs` for Swift code analysis, such as finding symbol references and fixing missing imports. All commands (`brew`, `swiftfindrefs`, `grep`) are directly related to the stated purpose, and the instructions in `SKILL.md` and other documentation files serve as guardrails for the AI agent, ensuring precise and minimal code changes. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, or prompt injection attempts aimed at subverting the agent for harmful objectives. The `brew tap` instruction points to a clear GitHub repository (`https://github.com/michaelversus/SwiftFindRefs.git`) for installation.
能力评估
Purpose & Capability
Name, description, and runtime instructions consistently describe using the swiftfindrefs IndexStoreDB tool to find Swift references. The declared preconditions (macOS, Xcode, DerivedData, swiftfindrefs on PATH) match the stated purpose; no unrelated capabilities or credentials are requested.
Instruction Scope
SKILL.md confines behavior to running swiftfindrefs, interpreting its file-list output, and optionally editing only the returned files (e.g., adding imports). It references DerivedData/IndexStore paths and local file edits — expected for this task. There are no instructions to read unrelated system files, send data to external endpoints, or access secrets.
Install Mechanism
The skill is instruction-only and does not perform an automated install. The README suggests using a brew tap pointing at a third‑party GitHub repo (michaelversus/SwiftFindRefs). That is a plausible install route, but because the tap is third‑party you should inspect the repository or prefer an official release before running brew tap/install.
Credentials
No environment variables, credentials, or config paths are declared or required. The skill implicitly requires filesystem and command execution access (to read DerivedData, run swiftfindrefs, and edit returned source files), which is proportionate to its purpose.
Persistence & Privilege
The skill is not forced always-on (always: false) and does not request persistent elevated privileges or modify other skills. Model invocation is allowed (the platform default) and appropriate for a user-invocable tooling skill.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install swiftfindrefs
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /swiftfindrefs 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.5
- Added installation instructions using Homebrew for swiftfindrefs. - Updated optional argument: replaced --derivedDataPath with --dataStorePath for specifying IndexStoreDB location.
v1.0.4
- Initial documentation added with clear description, rules, canonical command, output expectations, and standard workflows for using swiftfindrefs. - Emphasizes that swiftfindrefs must be used instead of grep, rg, or IDE search for finding Swift symbol references. - Provides example commands and step-by-step instructions for common workflows: finding references, fixing missing imports, and usage audits before deleting/renaming. - Lists strict rules for file editing and error handling to ensure accurate and reproducible results.
元数据
Slug swiftfindrefs
版本 1.0.5
许可证
累计安装 0
当前安装数 0
历史版本数 2
常见问题

swiftfindrefs 是什么?

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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1889 次。

如何安装 swiftfindrefs?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install swiftfindrefs」即可一键安装,无需额外配置。

swiftfindrefs 是免费的吗?

是的,swiftfindrefs 完全免费(开源免费),可自由下载、安装和使用。

swiftfindrefs 支持哪些平台?

swiftfindrefs 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 swiftfindrefs?

由 michaelversus(@michaelversus)开发并维护,当前版本 v1.0.5。

💬 留言讨论