intersystems-community/iris-agentic-dev/objectscript-review

Claude Code and agent skill by intersystems-community/iris-agentic-dev

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Reviews ObjectScript code for common LLM mistakes before presenting to the user

Install

npx vskill@latest install intersystems-community/iris-agentic-dev/objectscript-review

SKILL.md

Purpose

Automatically confirm generated ObjectScript follows the critical project rules before showing it to the user.

HARD GATE

Do not show ObjectScript code to the user until this review passes.

Review Checklist

For each item, check the generated code and flag any violations:

  • [ ] QUIT/RETURN: No Quit <value> inside TRY/CATCH or loops
  • [ ] Method calls: Intra-class calls use ..MethodName() syntax
  • [ ] Error handling: Uses $$$ThrowOnError / $$$ISERR macros, not raw status checks
  • [ ] THROW: Never throws a %Status directly — uses %Exception objects
  • [ ] Precedence: Complex arithmetic has explicit parentheses
  • [ ] Transactions: A method rolls back only its own level: Set entry=$TLevel, TSTART, then TROLLBACK:$TLevel>entry 1. A bare TROLLBACK rolls back every level, the caller's too (IRIS 2026.2)
  • [ ] NEW: No New on a plain variable inside a procedure block (ERROR #1038). New $Namespace is fine: it is how a method switches namespace and gets the caller's back on exit (IRIS 2026.2)
  • [ ] %TimeStamp: Uses YYYY-MM-DD HH:MM:SS format, not ISO 8601 with T
  • [ ] %Status returns: Methods returning %Status use $$$OK and check with $$$ISOK/$$$ISERR
  • [ ] Globals: No temporary data stored in globals when locals suffice
  • [ ] Storage blocks: Never edit Storage Default { ... } — compiler auto-maps properties on compile, added or removed (orphans are fine). Rename exception: also rename its Storage entry. Reset needs explicit user confirmation.

Output Format

If violations found:

⚠️ ObjectScript review flagged [N] issues — correcting before showing:
- [rule]: [what was wrong] → [correct pattern]

Then show the corrected code.

If clean:

✅ ObjectScript review passed.

Then show the code.

Related skills

  • objectscript-guardrails — all-in-one hard gate that works without MCP tools
  • objectscript-tdd — compile-test-fix loop to apply after review
  • objectscript-sql-patterns — load alongside this skill when writing SQL in ObjectScript

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/intersystems-community/iris-agentic-dev/objectscript-review/badge)](https://verified-skill.com/skills/intersystems-community/iris-agentic-dev/objectscript-review)

Something wrong with this skill or its page? Tell us.