Lean Ctx Review
yvgude/lean-ctx
Review how the lean-ctx ctx MCP tools performed in the current session and file upstream issues for confirmed problems.
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.
$ npx skills add Goldziher/ai-rulez --skill cgo-bindings -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Goldziher/ai-rulez cgo-bindings --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Goldziher/ai-rulez.git skills-src && mkdir -p .claude/skills && cp -r skills-src/internal/builtins/bindings/cgo/skills/cgo-bindings .claude/skills/cgo-bindings && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "cgo-bindings" agent skill from https://github.com/Goldziher/ai-rulez/tree/main/internal/builtins/bindings/cgo/skills/cgo-bindings into .claude/skills/cgo-bindings/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cgo-bindings", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Goldziher/ai-rulez/tree/main/internal/builtins/bindings/cgo/skills/cgo-bindingsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Goldziher/ai-rulez --skill cgo-bindings -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Goldziher/ai-rulez cgo-bindings --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Goldziher/ai-rulez.git skills-src && mkdir -p .agents/skills && cp -r skills-src/internal/builtins/bindings/cgo/skills/cgo-bindings .agents/skills/cgo-bindings && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cgo-bindings" agent skill from https://github.com/Goldziher/ai-rulez/tree/main/internal/builtins/bindings/cgo/skills/cgo-bindings into .agents/skills/cgo-bindings/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cgo-bindings", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Goldziher/ai-rulez --skill cgo-bindings -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Goldziher/ai-rulez cgo-bindings --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Goldziher/ai-rulez.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/internal/builtins/bindings/cgo/skills/cgo-bindings .cursor/skills/cgo-bindings && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cgo-bindings" agent skill from https://github.com/Goldziher/ai-rulez/tree/main/internal/builtins/bindings/cgo/skills/cgo-bindings into .cursor/skills/cgo-bindings/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cgo-bindings", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Goldziher/ai-rulez.git --path internal/builtins/bindings/cgo/skills/cgo-bindings--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Goldziher/ai-rulez --skill cgo-bindings -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Goldziher/ai-rulez cgo-bindings --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Goldziher/ai-rulez.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/internal/builtins/bindings/cgo/skills/cgo-bindings .gemini/skills/cgo-bindings && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cgo-bindings" agent skill from https://github.com/Goldziher/ai-rulez/tree/main/internal/builtins/bindings/cgo/skills/cgo-bindings into .gemini/skills/cgo-bindings/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cgo-bindings", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Goldziher/ai-rulez cgo-bindingsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Goldziher/ai-rulez --skill cgo-bindings -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Goldziher/ai-rulez.git skills-src && mkdir -p .github/skills && cp -r skills-src/internal/builtins/bindings/cgo/skills/cgo-bindings .github/skills/cgo-bindings && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cgo-bindings" agent skill from https://github.com/Goldziher/ai-rulez/tree/main/internal/builtins/bindings/cgo/skills/cgo-bindings into .github/skills/cgo-bindings/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cgo-bindings", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Goldziher/ai-rulez --skill cgo-bindings -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Goldziher/ai-rulez cgo-bindings --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Goldziher/ai-rulez.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/internal/builtins/bindings/cgo/skills/cgo-bindings .opencode/skills/cgo-bindings && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cgo-bindings" agent skill from https://github.com/Goldziher/ai-rulez/tree/main/internal/builtins/bindings/cgo/skills/cgo-bindings into .opencode/skills/cgo-bindings/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cgo-bindings", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
cgo-bindingscgo 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.
Cgo Bindings is an agent skill from Goldziher/ai-rulez. 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.
Its SKILL.md is about 370 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Agent Workflows. It works with Rust. The repository describes itself as: One source of truth for AI assistant configs: 14 built-in presets (Claude, Cursor, Copilot, Codex, Gemini, Xum, …), full-parity custom presets, and distributable plugin bundles… The licence is MIT.
Read from SKILL.md and the folder at commit 1192ada. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
goFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Cgo Bindings loads about 371 tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 156 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Goldziher/ai-rulez at commit 1192ada, republished under its MIT licence (© Goldziher). 156 words, ~371 tokens.
.claude/skills/cgo-bindings/SKILL.md (or your agent's skills folder).import "C" with // #cgo LDFLAGS: and // #cgo CFLAGS: directives for linking.import "C" — no blank line between.C.int, C.long, C.char. Use C.CString() and C.GoString() for string conversion.C.CString() allocates — always defer C.free(unsafe.Pointer(cStr)) immediately after creation.error values. Check all return values.// #cgo LDFLAGS: -L./target/release -lmylib. Build Rust with crate-type = ["staticlib"].runtime.LockOSThread() when needed.runtime.Pinner (Go 1.21+) to pin Go memory passed to C. Never pass Go pointers without pinning.go test (requires CGO_ENABLED=1). Mock C layer for unit tests, use integration tests for real FFI.CGO_ENABLED=1 go build. Cross-compilation requires appropriate C toolchain.C.CString memory, passing unpinned Go pointers to C, ignoring C return codes.© Goldziher, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in internal/builtins/bindings/cgo/skills/cgo-bindings of Goldziher/ai-rulez.
Open the folder on GitHubat commit 1192ada
Cgo Bindings next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Cgo Bindings this skillGoldziher/ai-rulez | 159 | — | ~371 | Automated safety check: Pass | MIT | |
| Lean Ctx Reviewyvgude/lean-ctx | 3.9k | — | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Bd To Br MigrationDicklesworthstone/beads_rust | 1.1k | — | ~2.2k | Automated safety check: Pass | Custom licence | |
| Manage Skills Hubqufei1993/skills-hub | 1.7k | — | ~3.2k | Automated safety check: Pass | MIT | |
| Ourmemourmem/omem | 174 | 1 repos | ~3.4k | Automated safety check: Pass | Custom licence | |
| Foremergenaw103/foremerge | 538 | — | ~2.4k | Automated safety check: Pass | Apache-2.0 |
yvgude/lean-ctx
Review how the lean-ctx ctx MCP tools performed in the current session and file upstream issues for confirmed problems.
Dicklesworthstone/beads_rust
Migrate docs from bd (beads) to br (beadsrust). An agent skill from Dicklesworthstone/beads_rust.
qufei1993/skills-hub
A skill your agent uses whenever an Agent needs to query, find, install, deploy, update, tag, adopt, diagnose, or safely remove Skills Hub content, including natural-language requests to manage…
ourmem/omem
Shared memory that never forgets. An agent skill from ourmem/omem.
naw103/foremerge
Coordinate parallel coding agents with Foremerge's local Git-compatible CLI and MCP server.
ChristopherKahler/base
Coach mode for the base CLI: teaches what to do and why, rather than just answering.
Goldziher/ai-rulez
Standards-compliant lifecycle tool for agent knowledge and capabilities: author in .ai-rulez/, generate for 52 harnesses (Claude Code, Cursor, Codex, Copilot, Gemini CLI, OpenCode, Devin, and more)…
Goldziher/ai-rulez
Concrete code-quality thresholds and anti-patterns: 120-char lines, max 20 cyclomatic complexity, max 4 nesting levels, max 50 lines per function, no magic numbers, no global state, composition over…
Goldziher/ai-rulez
Rust code conventions covering edition 2024, cargo fmt/clippy, Result-based error handling, unsafe discipline, async with tokio, API-guideline naming, trait implementations, benchmarking, and…
Goldziher/ai-rulez
How to write a good test: behaviour-describing names (shouldreturnerrorwheninputisempty, givenwhenthen), exact-value assertions over truthiness, snapshot and property-based testing…
Goldziher/ai-rulez
vite+ unified TypeScript toolchain conventions: the vp CLI for package/node management, oxlint/oxfmt, type-aware linting, vitest, rolldown/tsdown bundling, task caching, and migration.
Goldziher/ai-rulez
Cross-language binding architecture rules: bindings as minimal glue, canonical API surface ordering (core, ABI, language), per-language test suites in CI, generated-code discipline, and error/async…
Works with
Categories
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. Cgo Bindings is an agent skill from Goldziher/ai-rulez. 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.
Cgo Bindings fits situations like: agent Workflows work in your project.
Run `npx skills add Goldziher/ai-rulez --skill cgo-bindings -a claude-code`. Or copy the skill folder (internal/builtins/bindings/cgo/skills/cgo-bindings in Goldziher/ai-rulez) into .claude/skills/cgo-bindings in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Goldziher/ai-rulez --skill cgo-bindings -a codex`. Or copy the skill folder (internal/builtins/bindings/cgo/skills/cgo-bindings in Goldziher/ai-rulez) into .agents/skills/cgo-bindings in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Goldziher/ai-rulez --skill cgo-bindings -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cgo-bindings, .gemini/skills/cgo-bindings, .github/skills/cgo-bindings and .opencode/skills/cgo-bindings in your project.
Going by SKILL.md and its folder, Cgo Bindings needs the command-line tools its instructions call (go).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Cgo Bindings is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 371 tokens (SKILL.md is roughly 1.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Cgo Bindings: Lean Ctx Review (yvgude/lean-ctx, 3.9k stars), Bd To Br Migration (Dicklesworthstone/beads_rust, 1.1k stars), Manage Skills Hub (qufei1993/skills-hub, 1.7k stars) and Ourmem (ourmem/omem, 174 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Goldziher (a GitHub user) maintains it in Goldziher/ai-rulez, which has 159 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 10, 2026.
Source: Goldziher/ai-rulez on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.