一键导入
cgo-bindings
Handles C-bindings, building/testing of C/CGo assets, code generation, and C header verification. Use when working on C/CGo files under insights/C/.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Handles C-bindings, building/testing of C/CGo assets, code generation, and C header verification. Use when working on C/CGo files under insights/C/.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Handles Debian package building, dependency management, sbuild, and autopkgtest runs. Use when working under insights/debian/ or compiling .deb archives.
Handles Go dependency bootstrapping, testing (including -race detector), and linting. Use when checking, validating, or running test suites for Go modules.
| name | cgo-bindings |
| description | Handles C-bindings, building/testing of C/CGo assets, code generation, and C header verification. Use when working on C/CGo files under insights/C/. |
insights/C/.If building or testing Go modules with dynamic C dependencies locally on your host (rather than inside a clean build environment or runner):
sudo apt update && sudo apt install -y libwayland-dev
When any C-headers, CGo files, or bindings are modified:
go generate ./insights/C/...
clang-format:
insights/C/ using your preferred clang-format wrapper.C/CGo boundaries are highly susceptible to memory access violations, thread linkage errors, and race conditions.
go-development skill for general test execution):
(cd insights && go test -count=1 -race ./C/...)
(Note: A pre-existing nakedret warning in insights/C/libinsights.go is known; call it out in PR comments if unrelated to your changes).