cangjie-fs

Perform file system operations using Cangjie language functions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive tools for interacting with the file system using the Cangjie programming language, enabling developers to manage files, directories, and paths programmatically.

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: Parse, join, and canonicalize file paths.
  • File Metadata: Access information like size, creation time, and modification time.
  • Use Case: Automate the process of reading configuration files, writing log entries, organizing project directories, or processing batches of files within a Cangjie application.

Quick Start

Use the cangjie-fs skill to create a directory named 'my_new_directory' and then create an empty file named 'config.txt' 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 read and write files in the Cangjie language?

File reading and writing in the Cangjie language is handled through standard file I/O operations with various open modes. You can create, read, append, and delete files programmatically using the cangjie-fs skill.

What is the best way to create directories recursively using Cangjie?

Creating directories recursively in Cangjie is supported natively by the cangjie-fs skill for directory management. It enables you to create, list, and traverse nested project structures programmatically without manual checks.

How do I parse and join file paths programmatically in Cangjie?

Path manipulation in Cangjie involves parsing, joining, and canonicalizing file paths using dedicated path resolution functions. The cangjie-fs skill provides these tools to construct valid file system paths.

Can I access file metadata like size and modification time in Cangjie?

Accessing file metadata in Cangjie allows you to retrieve attributes like file size, creation time, and modification time. The cangjie-fs skill provides functions to query this information directly from the file system.

Do I need standard Cangjie file system libraries to check file existence?

Checking file existence requires access to standard Cangjie file system libraries. The cangjie-fs skill wraps these dependencies to let you verify file existence before performing I/O operations.

Why use Cangjie for automating configuration file processing?

Automating configuration file processing in Cangjie is effective for reading configs, writing log entries, and organizing project directories. The cangjie-fs skill streamlines these batch file operations within your application.