cangjie-enum

Community

Master Cangjie's enum types.

AuthorSunriseSummer
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill clarifies the intricacies of defining and using enumeration types in the Cangjie programming language, ensuring correct and robust code.

Core Features & Use Cases

  • Enum Definition: Learn the rules for defining enums, including constructors (with/without parameters, same name), non-exhaustive enums, and recursive definitions.
  • Usage and Naming Conflicts: Understand how to create enum values and resolve naming conflicts with keywords or other identifiers.
  • Advanced Features: Explore member functions, operator functions, properties, and integration with interfaces like Equatable.
  • Use Case: You need to represent a set of distinct states or options in your Cangjie program, like different colors or command types, and ensure type safety and clarity.

Quick Start

Use the cangjie-enum skill to learn how to define an enum with named parameters in Cangjie.

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

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.