nim-c-bindings

Community

Ship portable Nim-to-C bindings with CI

Authorplanetis-m
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents fragile Nim-to-C integrations by standardizing how you define bindings, link native libraries, and manage platform-specific runtime behavior across Linux, macOS, and Windows.

Core Features & Use Cases

  • Portable binding rules: Defines prescriptive conventions for importc, calling conventions, opaque handles, incomplete structs, and by-value passing.
  • Deterministic linking & runtime loading: Standardizes system vs local/third-party library linking, rpath usage, and placement of shared libraries for predictable execution.
  • Production-grade CI/release workflows: Provides copy-paste-ready GitHub Actions pipelines for cross-platform testing and tagged release artifacts.

Use case: You are wrapping a C library (vendored or system-installed) in Nim and need consistent builds plus reliable tests and release packaging without guesswork about include/lib paths, DLL placement, or CI toolchain mismatches.

Quick Start

Use the nim-c-bindings guidance to write or review your Nim importc bindings and to generate the matching GitHub Actions CI/release workflow for your target platforms.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: nim-c-bindings
Download link: https://github.com/planetis-m/skills_experiment/archive/main.zip#nim-c-bindings

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.