원클릭으로
objectscript-tdd
Compile-test-fix loop for ObjectScript development. Use when writing or modifying ObjectScript classes.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Compile-test-fix loop for ObjectScript development. Use when writing or modifying ObjectScript classes.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when creating or modifying InterSystems IRIS interoperability production components in Python — Business Services, Business Processes, Business Operations, Adapters, Messages, or Production definitions.
Measure ObjectScript line coverage using %Monitor.System.LineByLine. Wraps a %UnitTest.Manager.RunTest() call, collects per-class hit/total counts, prints a coverage table. Prerequisite: iris-coverage-setup (bbsiz=4096, IRIS restarted).
Measure ObjectScript line coverage using iris_coverage. Use when a user asks about test coverage, coverage reports, or wants to know how well their test suite exercises their code.
InterSystems AI Hub EAP (Early Access Program) — accurate API patterns for builds 158/159/161/162 (current). Covers %AI.Agent declarative Parameters, %AI.Provider.Create, ConfigStore/GetProviderForConfig, @{env/config/wallet} substitution, session management, streaming, tool sets, and known breaking changes from build 141. Load when helping EAP participants set up, build, or debug AI Hub projects.
Use after writing or editing any ObjectScript .cls file, after applying a fix to a compile error, or before declaring a task done — uploads the class to IRIS via Atelier REST, compiles it, and returns structured errors for immediate fixing.
Manage and observe IRIS Interoperability productions — lifecycle, logs, queues, and message tracing
| name | objectscript-tdd |
| description | Compile-test-fix loop for ObjectScript development. Use when writing or modifying ObjectScript classes. |
| license | MIT |
| metadata | {"version":"1.0.0","author":"InterSystems Developer Community","compatibility":"objectscript, iris, healthconnect"} |
Close the feedback loop: write → compile → fix errors → run tests → fix failures → done.
Use the objectscript MCP tool when available (check /mcp):
iris_compile(target="MyPackage/MyClass.cls", namespace="USER")
Fallback when MCP is unavailable:
iris session IRIS -U USER "Do $System.OBJ.Load(\"<ClassName>.cls\",\"ck\")"
Never present code to the user that hasn't compiled. If you can't compile (no IRIS access), flag this explicitly:
⚠️ No IRIS connection available — code is unverified. Recommend compiling before use.
| Error | Cause | Fix |
|---|---|---|
QUIT argument not allowed | Quit <val> inside TRY/CATCH or loop | Change to Return <val> |
Expected a compilable class | Missing Class keyword or malformed header | Check class declaration line |
Method does not exist | Intra-class call without .. | Add .. prefix |
<UNDEFINED> at runtime | Variable used before SET | Initialize variable before use |
Expected white space | Missing space after command keyword | Add space: Set x=1 not Setx=1 |