This skill should be used when the user asks to "fetch FFI bindings", "update zx.rs", "update zx.h", "update zx.zig", "get latest bindings", "download FFI", "refresh bindings", "update FFI module", or mentions updating, fetching, or downloading Nethercore ZX FFI bindings for their game project.
/plugin marketplace add nethercore-systems/nethercore-ai-plugins/plugin install zx-dev@nethercore-ai-pluginsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Nethercore ZX FFI bindings are auto-generated at build time and hosted publicly on GitHub. Always fetch the complete bindings file - never copy individual functions inline.
| Language | GitHub URL |
|---|---|
| Rust | https://raw.githubusercontent.com/nethercore-systems/nethercore/main/include/zx.rs |
| C | https://raw.githubusercontent.com/nethercore-systems/nethercore/main/include/zx.h |
| Zig | https://raw.githubusercontent.com/nethercore-systems/nethercore/main/include/zx.zig |
# Fetch to src/zx.rs
curl -o src/zx.rs https://raw.githubusercontent.com/nethercore-systems/nethercore/main/include/zx.rs
Usage in code:
// src/lib.rs
mod zx;
use zx::*;
// src/player.rs (or any other module)
use crate::zx::*;
# Fetch to project root
curl -o zx.h https://raw.githubusercontent.com/nethercore-systems/nethercore/main/include/zx.h
Usage in code:
#include "zx.h"
# Fetch to src/zx.zig
curl -o src/zx.zig https://raw.githubusercontent.com/nethercore-systems/nethercore/main/include/zx.zig
Usage in code:
const zx = @import("zx.zig");
When using Claude Code's WebFetch tool to retrieve bindings:
Prompt: "Return the complete file contents exactly as-is. This is FFI bindings code."
Save the fetched content to the appropriate location:
src/zx.rszx.h (project root)src/zx.zigUpdate bindings when:
When generating game code, follow these limits:
| File | Max Lines | Purpose |
|---|---|---|
| lib.rs/main.zig/game.c | 50 | Entry points + mod declarations only |
| System files | 300 | Individual game systems |
| Feature directories | 300/file | Complex features split into modules |
The bindings files contain (~1700 lines for Rust):
All 250+ FFI functions are included - no need to add anything manually.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.