什么是 analyze-rust-ffi-crate-surface?
确定 C 代码库的哪些部分使用 Rust 定义的 C 符号。当您想要了解哪些 C 代码文件可能会受到 Rust FFI crate 更改的影响时,请使用此选项。 来源:redisearch/redisearch。
确定 C 代码库的哪些部分使用 Rust 定义的 C 符号。当您想要了解哪些 C 代码文件可能会受到 Rust FFI crate 更改的影响时,请使用此选项。
通过命令行快速安装 analyze-rust-ffi-crate-surface AI 技能到你的开发环境
来源:redisearch/redisearch。
Compile a list of all C-visible symbols defined in a given Rust FFI crate or file (e.g. an extern "C" fn annotated with #[unsafe(nomangle)] or a type definition). Then determine which parts of the C codebase use these symbols.
If the path doesn't start with src/, assume it to be in the src/redisearchrs/centrypoint directory. E.g. numericrangetreeffi becomes src/redisearchrs/numericrangetreeffi. If the path points to a directory, review the documentation of all Rust files in that directory.
You can use the corresponding auto-generated header file in src/redisearchrs/headers, if it helps.
确定 C 代码库的哪些部分使用 Rust 定义的 C 符号。当您想要了解哪些 C 代码文件可能会受到 Rust FFI crate 更改的影响时,请使用此选项。 来源:redisearch/redisearch。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/redisearch/redisearch --skill analyze-rust-ffi-crate-surface确定 C 代码库的哪些部分使用 Rust 定义的 C 符号。当您想要了解哪些 C 代码文件可能会受到 Rust FFI crate 更改的影响时,请使用此选项。 来源:redisearch/redisearch。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/redisearch/redisearch --skill analyze-rust-ffi-crate-surface 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/redisearch/redisearch