cangjie-project-management

Manage Cangjie project workspaces with CJPM build, run, test, and clean commands.

4|1|Updated Mar 29, 2026
One-click install
npx skills add https://github.com/JunjieChen0/NJUST --skill cangjie-project-management-junjiechen0
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cangjie-project-management
Source: https://github.com/JunjieChen0/NJUST/tree/main/.njust-ai/skills/cangjie-project-management
Command: npx skills add https://github.com/JunjieChen0/NJUST --skill cangjie-project-management-junjiechen0

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

本 Skill 提供 CJPM(Cangjie Project Manager)在 Cangjie 项目中的端到端工作流使用指南,帮助开发者快速创建、配置和管理工作区及跨模块依赖,并在一个统一工具链中完成构建、运行、测试、清理、安装、工作区管理以及跨平台编译。

Core Features & Use Cases

  • 工作区初始化与配置管理:快速创建 cjpm.toml、工作区和模块结构,简化多模块协作。
  • 依赖与跨模块协作:清晰的依赖声明、版本控制和工作区依赖解析,支持本地路径和工作区成员引用。
  • 构建、运行、测试与清理:覆盖增量编译、交叉编译、测试执行、结果汇总以及清理产物的完整流程。
  • 典型工作流示例:在包含核心库与应用的工作区中,联合进行开发、构建与测试,确保正确的依赖关系和构建产物。

Quick Start

使用 cjpm 初始化一个工作区并创建你的第一个模块,然后通过 cjpm build、cjpm run 等命令完成开发流程。

Frequently Asked Questions about cangjie-project-management

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

FAQPage Schema
How do I manage multi-module workspaces with cjpm in Cangjie projects?

To manage multi-module workspaces with cjpm, you configure a root cjpm.toml declaring workspace members and local path dependencies. This setup enables unified build, run, and test workflows across interconnected Cangjie modules.

What is the best way to resolve cross-module dependencies in a Cangjie workspace?

Resolving cross-module dependencies in a Cangjie workspace involves declaring local path references and workspace member inclusion in cjpm.toml. cjpm automatically resolves these internal dependencies during project compilation and testing.

How to cross-compile Cangjie projects using cjpm?

Cross-compiling Cangjie projects using cjpm requires specifying the target platform parameters in your build commands. cjpm handles cross-compilation by applying the correct toolchain configurations defined in your workspace setup.

Does cjpm support incremental builds for Cangjie workspaces?

Yes, cjpm supports incremental builds for Cangjie workspaces. It tracks module modifications and compiles only the affected dependencies, significantly reducing build times during active development and testing cycles.

Why does my cjpm build fail when referencing local workspace modules?

A cjpm build fails when referencing local workspace modules if the cjpm.toml lacks proper workspace member declarations or local path configurations. Ensure all internal module dependencies are explicitly listed in the workspace setup.

Can I run and test specific modules within a Cangjie workspace using cjpm?

Yes, you can run and test specific modules within a Cangjie workspace using cjpm. By targeting specific workspace members, cjpm executes isolated builds and tests while correctly resolving their internal cross-module dependencies.