cangjie-extension

Community

Extend Cangjie language capabilities.

AuthorSunriseSummer
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the need to enhance and customize the Cangjie programming language by adding new functionalities and implementing interfaces, allowing for more expressive and tailored code.

Core Features & Use Cases

  • Direct Extension: Add new member functions, operator overloads, and properties to existing types.
  • Interface Implementation: Enable types to fulfill contracts defined by interfaces, even if the original type didn't declare it.
  • Generic Extensions: Apply extensions to generic types with flexible constraints.
  • Access Control & Rules: Understand and apply Cangjie's specific rules for visibility, access, and the orphan rule.
  • Use Case: You can extend a built-in String type to add a reverse() method or make a custom User struct conform to a Displayable interface.

Quick Start

Use the cangjie-extension skill to add a printSize function to the String type.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cangjie-extension
Download link: https://github.com/SunriseSummer/CangjieDocValidator/archive/main.zip#cangjie-extension

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.