compile

Upload and compile ObjectScript classes via Atelier REST with structured errors.

27|10|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/intersystems-community/iris-dev --skill compile-intersystems-community
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compile
Source: https://github.com/intersystems-community/iris-dev/tree/main/skills/compile
Command: npx skills add https://github.com/intersystems-community/iris-dev --skill compile-intersystems-community

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Uploads and compiles an ObjectScript class via Atelier REST, returning structured errors for immediate fixes and ensuring reliable deployments to IRIS.

Core Features & Use Cases

  • Upload a .cls file to IRIS via Atelier REST and trigger compilation.
  • Parse compile errors into a structured, actionable format to guide quick repairs.
  • Compile a single class, a package, or run unit tests post-compile to validate behavior.
  • Handle optimistic concurrency with ignoreConflict=1 and verify results after writing.

Quick Start

Upload your MyPackage.MyClass.cls to IRIS and run the compile loop to receive structured errors for immediate fixes.

Frequently Asked Questions about compile

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compile an ObjectScript class via Atelier REST and get structured errors?

To compile an ObjectScript class via Atelier REST, upload the .cls file and trigger the compile action to receive parsed, structured errors. This enables immediate fixes by identifying exact issues during IRIS deployment.

Can I compile a full ObjectScript package instead of a single class against a remote IRIS instance?

Yes, you can compile a full ObjectScript package or a single class against a local or remote IRIS instance. The process uses Atelier endpoints for document upload and compile action to verify results.

How do I handle optimistic concurrency conflicts when compiling ObjectScript on IRIS?

To handle optimistic concurrency conflicts when compiling ObjectScript, apply the ignoreConflict parameter set to 1. This overwrites stale versions and verifies results after writing to ensure reliable deployments.

Does the Atelier REST API support running unit tests post-compile for ObjectScript?

Yes, the Atelier REST workflow supports running unit tests post-compile to validate behavior. After uploading and compiling your ObjectScript class, you can execute tests to ensure reliable deployments to IRIS.

What is the best way to automate ObjectScript compilation and error reporting for DevOps?

Automating ObjectScript compilation for DevOps involves using Atelier REST endpoints to upload documents, trigger compilation, and parse errors into a structured, actionable format. This guides quick repairs and ensures reliable deployments to IRIS.