cangjie-project-management

Guide Cangjie project management with cjpm for initialization, dependencies, builds, and tests.

2|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/zhenzhizhi12/NexusAgent --skill cangjie-project-management-zhenzhizhi12
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cangjie-project-management
Source: https://github.com/zhenzhizhi12/NexusAgent/tree/main/.opencode/skills/common-skill-l1/project_management
Command: npx skills add https://github.com/zhenzhizhi12/NexusAgent --skill cangjie-project-management-zhenzhizhi12

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance on using cjpm, the official Cangjie language project manager, to streamline all aspects of your project lifecycle.

Core Features & Use Cases

  • Project Initialization: Create new executable or library projects.
  • Dependency Management: Configure and manage local, Git, and FFI dependencies.
  • Build & Run: Compile projects with various options, including cross-compilation and incremental builds, and run executables.
  • Testing & Benchmarking: Execute unit tests and performance benchmarks with advanced filtering and reporting.
  • Configuration: Understand and utilize cjpm.toml for detailed project settings, profiles, and target-specific configurations.
  • Build Scripts: Implement custom build logic using build.cj.
  • Use Case: When you need to understand how to set up a new Cangjie project, manage its dependencies, build it for a specific target platform, and run its tests, this Skill is your go-to resource.

Quick Start

Use the cangjie-project-management skill to initialize a new Cangjie executable project named 'my_app'.

Frequently Asked Questions about cangjie-project-management

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

FAQPage Schema
How do I initialize a new Cangjie project using cjpm?

To initialize a Cangjie project, use cjpm to create a new project structure tailored for either an executable or a library. This process generates the necessary directories and a default cjpm.toml configuration file to establish your project baseline.

How does dependency management work in a Cangjie project?

Dependency management in Cangjie involves configuring cjpm.toml to specify local paths, Git repositories, or FFI bindings. The cjpm tool automatically resolves and fetches these dependencies to integrate external code into your build process.

Can I configure cross-compilation and incremental builds for Cangjie?

You can configure cross-compilation and incremental builds by adjusting settings within cjpm.toml. These options allow cjpm to compile projects for specific target platforms and optimize build times by only recompiling modified components.

What is the best way to run unit tests and benchmarks in a Cangjie project?

The best way to run unit tests and benchmarks is using cjpm commands, which support advanced filtering and detailed reporting. This allows you to execute tests and measure performance directly within the Cangjie project lifecycle.

How do I implement custom build logic for a Cangjie project?

To implement custom build logic, you utilize a build.cj script within your Cangjie project. This script integrates with cjpm to execute tailored commands and extensions during the compilation process.