cangjie-macro-build

Compile Cangjie macro packages using cjc and cjpm project structures.

1|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/SunriseSummer/CangjieDocValidator --skill cangjie-macro-build
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cangjie-macro-build
Source: https://github.com/SunriseSummer/CangjieDocValidator/tree/main/.github/skills/macro_build
Command: npx skills add https://github.com/SunriseSummer/CangjieDocValidator --skill cangjie-macro-build

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides comprehensive guidance on building Cangjie macro packages, addressing challenges in compilation, project structure, and dependency management.

Core Features & Use Cases

  • CJC Compilation: Learn to use cjc with --compile-macro for standalone macro packages and linking.
  • CJPM Integration: Understand how to structure projects with cjpm.toml for seamless macro module dependency management.
  • Advanced Features: Explore parallel macro expansion and debugging modes for optimized development workflows.
  • Use Case: A developer needs to create a reusable library of macros for their team. This Skill guides them through setting up the project, compiling the macros, and integrating them into other projects using cjpm.

Quick Start

Use the cangjie-macro-build skill to learn how to compile a Cangjie macro package using cjpm.

Frequently Asked Questions about cangjie-macro-build

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compile a Cangjie macro package using cjc?

To compile a Cangjie macro package, use the `cjc` compiler with the `--compile-macro` flag to build standalone macro packages and manage linking for your project dependencies.

What is the recommended cjpm.toml structure for Cangjie macro modules?

The recommended `cjpm.toml` structure separates macro modules and main projects to ensure seamless dependency management and proper integration when building Cangjie macro packages with `cjpm`.

How does Cangjie macro package building handle multi-module scenarios?

Cangjie macro package building addresses multi-module scenarios by defining specific compilation rules and project structures that manage dependencies across multiple macro modules using `cjpm`.

Can I use parallel macro expansion and debugging modes with Cangjie macros?

Yes, you can use parallel macro expansion and debugging modes to optimize your Cangjie macro development workflow, allowing for faster processing and easier troubleshooting during compilation.

What are the platform-specific considerations when building Cangjie macros?

When building Cangjie macros, you must account for platform-specific considerations outlined in the compilation rules to ensure the `cjc` compiler and `cjpm` project structures function correctly across environments.