cangjie-for

Community

Master Cangjie for-in loops.

AuthorSunriseSummer
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps users understand and effectively utilize the for-in loop construct in the Cangjie programming language, covering iteration, data structures, and best practices.

Core Features & Use Cases

  • For-in Syntax: Learn the basic for (item in sequence) structure.
  • Iterable/Iterator: Understand how Iterable and Iterator interfaces enable looping.
  • Range Types: Explore half-open, closed, and step-based ranges (.., ..=, : step).
  • Advanced Features: Master tuple destructuring, where clauses, break/continue, and string iteration nuances.
  • Custom Iterables: Learn to implement custom types that support for-in loops.
  • Use Case: Efficiently process collections, iterate over ranges, and handle custom data sequences in Cangjie code.

Quick Start

Use the cangjie-for skill to demonstrate iterating over a range from 0 to 5 with a step of 1.

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

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.