objectscript-list-patterns
OfficialMaster ObjectScript list patterns and lists.
Authorintersystems-community
Version1.0.0
Installs0
System Documentation
What problem does it solve?
ObjectScript list manipulation is verbose and error-prone. This Skill provides ready-made patterns to build, iterate, deduplicate, convert, and manage lists efficiently.
Core Features & Use Cases
- Build and accumulate lists using %ListOfDataTypes and $LISTBUILD, with final conversion to strings via $LISTTOSTRING.
- Iterate safely over lists using $LISTNEXT and the 1-based %List API, enabling robust processing even for empty lists.
- Deduplicate values using a local hash-like array pattern to achieve linear-time performance.
- Convert between raw lists and object wrappers and demonstrate common workflows such as CSV creation and element extraction.
- Use case: normalize a dataset by merging two lists with unique items and exporting to a delimited string for reporting.
Quick Start
Instruct the AI to build a sample list, deduplicate it, and output a comma-delimited string using the provided patterns.
Dependency Matrix
Required Modules
None requiredComponents
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: objectscript-list-patterns Download link: https://github.com/intersystems-community/iris-dev/archive/main.zip#objectscript-list-patterns 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 471,000+ vetted skills library on demand.