cangjie-class
CommunityMaster 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~initfinalizers. - Inheritance & Polymorphism: Grasp single inheritance,
override, andredef. - Properties & Access Modifiers: Master
prop,mut prop, and access levels (private,internal,protected,public). - Use Case: Implement a robust
PaymentGatewayinterface with concrete implementations likeAliPay, 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 requiredComponents
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.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.