tdyar/objectscript-mac-routines
OfficialPreflight MAC routines to ensure correct code.
Authorintersystems-community
Version1.0.0
Installs0
System Documentation
What problem does it solve?
MAC routines are prone to subtle errors that break legacy CHUI and label-based code. This skill provides a preflight discipline that enforces best practices before writing any MAC code, reducing syntax, structural, and runtime issues.
Core Features & Use Cases
- Hard-gate checks before writing MAC routines, including routine entry style, label indentation, include syntax, and extrinsic call conventions.
- Guidance for robust error handling with $ZTRAP and safe cross-routine calls, improving code reliability in legacy IRIS projects.
- Use Case: when maintaining or upgrading .mac files and legacy routines in CHUI-based applications, this skill helps ensure consistent, correct patterns across teams.
Quick Start
Review the MAC routine guidelines and apply the eight pre-write checks to your next .MAC routine before coding.
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: tdyar/objectscript-mac-routines Download link: https://github.com/intersystems-community/iris-dev/archive/main.zip#tdyar-objectscript-mac-routines 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.