cgo conventions for linking Go to a C or Rust static library: import "C" directives, type/string conversion, CString memory management, thread safety, and Go pointer pinning. Load when generating or reviewing cgo bindings that call a C or Rust core from Go.
$npx -y skills add goldziher/ai-rulez --skill cgo-bindingsInstalls into the current project.
Run `npx skills use "https://github.com/goldziher/ai-rulez" --skill "goldziher/ai-rulez/cgo-bindings"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/goldziher/ai-rulez" that are relevant to the current task. Run `npx skills add "https://github.com/goldziher/ai-rulez"` and select the relevant skills, then follow their instructions.