cangjie-ffi-build

Community

Build Cangjie C/C++ interoperability.

AuthorSunriseSummer
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides comprehensive guidance on configuring, building, and running Cangjie C interoperability projects, including dynamic and static libraries across different platforms.

Core Features & Use Cases

  • Platform-Specific Library Naming: Details naming conventions for dynamic and static libraries on Linux, macOS, and Windows.
  • Compiler Linker Options: Explains essential cjc linker flags like -L and -l.
  • Direct Compilation with cjc: Provides step-by-step instructions for compiling C code into libraries and linking them with Cangjie code on various OS.
  • cjpm Project Integration: Guides users on configuring cjpm.toml for FFI dependencies and building/running projects.
  • Security Best Practices: Includes recommendations for secure compilation and linking options.

Quick Start

Use the cangjie-ffi-build skill to learn how to compile a Cangjie project that links against a C dynamic library on Linux.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: cangjie-ffi-build
Download link: https://github.com/SunriseSummer/CangjieDocValidator/archive/main.zip#cangjie-ffi-build

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 223,000+ vetted skills library on demand.