cangjie-fs

Provide file system operations for the Cangjie programming language.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive capabilities for interacting with the file system using the Cangjie language, enabling efficient file and directory management.

Core Features & Use Cases

  • File Operations: Create, read, write, append, and delete files with various open modes.
  • Directory Management: Create, list, and traverse directories.
  • Path Manipulation: Handle path joining, canonicalization, and property extraction.
  • File Information: Retrieve detailed metadata about files and directories.
  • Use Case: When developing in Cangjie, you need to read configuration files, write logs, create new project directories, or check if a file exists before processing it.

Quick Start

Use the cangjie-fs skill to create a directory named 'my_project' and then create a file named 'main.cj' inside it.

Frequently Asked Questions about cangjie-fs

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

FAQPage Schema
How do I perform file system operations in the Cangjie programming language?

File system operations in Cangjie are handled through a dedicated API that covers file I/O, directory manipulation, path resolution, and metadata retrieval for persistent storage.

How do I read configuration files and write logs using Cangjie?

You can read configuration files and write logs in Cangjie by utilizing the file operations API, which supports creating, reading, writing, appending, and deleting files with various open modes.

How do I create a project directory and add files inside it using Cangjie?

To create a project structure in Cangjie, use the directory management API to create a new directory, then use file operations to create and write files inside that specific directory.

Can I retrieve detailed file metadata and handle path resolution in Cangjie?

Yes, Cangjie provides capabilities for retrieving detailed metadata about files and directories, alongside path manipulation features for path joining, canonicalization, and property extraction.

What is the best way to check if a file exists before processing it in Cangjie?

Use the file information capabilities in Cangjie to check if a file exists and retrieve its metadata before processing, ensuring your application safely handles file system interaction.