cangjie-pattern-match

Community

Master Cangjie's powerful pattern matching.

AuthorSunriseSummer
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers understand and effectively utilize Cangjie's sophisticated pattern matching capabilities, reducing bugs and improving code clarity.

Core Features & Use Cases

  • Match Expressions: Learn how to use match for conditional logic with exhaustive checking.
  • Pattern Types: Explore various patterns including constants, wildcards, bindings, tuples, types, and enums.
  • Advanced Constructs: Understand pattern guards (where), if-let, and while-let for conditional matching and looping.
  • Use Case: Debugging complex conditional logic or implementing robust data parsing based on different data structures.

Quick Start

Use the cangjie-pattern-match skill to demonstrate a match expression with enum patterns and a pattern guard.

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

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.