cangjie-class

Community

Master Cangjie's object-oriented features.

AuthorSunriseSummer
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers understand and implement complex object-oriented programming concepts within the Cangjie language, from basic class definitions to advanced inheritance and property management.

Core Features & Use Cases

  • Class Definition: Learn syntax for classes, abstract classes, and sealed classes.
  • Constructors & Destructors: Understand init, main constructors, and ~init finalizers.
  • Inheritance & Polymorphism: Grasp single inheritance, override, and redef.
  • Properties & Access Modifiers: Master prop, mut prop, and access levels (private, internal, protected, public).
  • Use Case: Implement a robust PaymentGateway interface with concrete implementations like AliPay, ensuring proper encapsulation and inheritance.

Quick Start

Explain how to define a simple class named Dog with a name property and a bark method.

Dependency Matrix

Required Modules

None required

Components

references

💻 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-class
Download link: https://github.com/SunriseSummer/CangjieDocValidator/archive/main.zip#cangjie-class

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.