objectscript-repair

Coordinate multi-file ObjectScript repairs across dependent .cls files.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Perform coordinated fixes across multiple ObjectScript files when a change in one class requires updates in dependent classes (e.g., method signature changes, renames).

Core Features & Use Cases

  • Dependency discovery: identify all call sites and affected files before editing any file.
  • Multi-file planning: enumerate root cause and dependent files in dependency order to guide patching.
  • Coordinated patching: apply edits to all target files in a single pass, writing definitions before callers.
  • Atomic verification: compile changed files and run tests to ensure changes are sound, with a rollback option if failures occur.
  • Real-world scenarios: handle method signature updates, class/member renames, and interface sync across a codebase.

Quick Start

Identify the affected files and patch them in a single pass to ensure consistency.

Frequently Asked Questions about objectscript-repair

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

FAQPage Schema
How do I update ObjectScript method signatures across multiple files?

Coordinated multi-file repair updates method signatures across dependent ObjectScript files by discovering all call sites first, planning the dependency order, patching definitions before callers, then compiling and testing to verify results.

What is the best way to refactor ObjectScript classes and their dependencies?

Refactoring ObjectScript classes requires coordinating repairs across dependent files, using introspection and symbol tools to identify affected call sites, applying atomic patches in a single pass, and running tests to ensure changes are sound.

How do I find all call sites for an ObjectScript class method before renaming?

Finding all call sites for an ObjectScript class method involves using dependency analysis tools like docs_introspect, iris_symbols, and grep to identify affected files and plan target updates before editing any code.

Can I apply atomic patches to multiple ObjectScript files and verify them together?

Atomic patching applies edits to all target ObjectScript files in a single pass, writing definitions before callers, then compiles changed files and runs tests to ensure changes are sound with a rollback option if failures occur.

When do I need coordinated multi-file repairs for ObjectScript code?

Coordinated multi-file repairs are needed when changing a public ClassMethod, Method, or Property in one ObjectScript class requires updating dependent files such as callers and subclasses to maintain codebase consistency.

What happens if compilation fails after patching ObjectScript files?

If compilation fails after patching ObjectScript files, the atomic verification workflow includes a rollback option to revert changes, ensuring the codebase remains sound and consistent when failures occur.