intersystems-community/iris-agentic-dev/objectscript-tdd
Claude Code and agent skill by intersystems-community/iris-agentic-dev
- community
Checking that the SKILL.md file is still in the repository.
Compile-test-fix loop for ObjectScript development. Use when writing or modifying ObjectScript classes.
Install
npx vskill@latest install intersystems-community/iris-agentic-dev/objectscript-tddSKILL.md
Purpose
Close the feedback loop: write → compile → fix errors → run tests → fix failures → done.
Process Flow
- Write the class
- Review — run objectscript-review skill first
- Compile — run the compile command for this project
- If compile errors: read the error, identify the line, fix it. Return to step 3.
- Run tests — run the unit test suite
- If test failures: read the failure message, fix the code or the test. Return to step 3.
- Done when: compiles clean + all tests pass
Compile Command
Use the objectscript MCP tool when available (check /mcp):
Fallback when MCP is unavailable:
Key Principle
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.
A class that compiles clean has not been tested. The compiler does not check that a local is set before it is read, and it cannot check a method name built at runtime. Both of these compile with no error and fail when called:
A literal ..Nope() is caught at compile time, but a dynamic call is not. Call every method you changed at least once, through iris_execute or a test, before you call it done.
Common Compile Errors and Fixes
| Error | Cause | Fix | |
|---|---|---|---|
#1043: QUIT argument not allowed | Quit <val> inside TRY/CATCH | Change to Return <val> | |
<COMMAND> at runtime | Quit <val> inside a For/While block | 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 |
Related skills
- objectscript-review — run before compiling to catch common mistakes early
- objectscript-unit-test — writing %UnitTest scaffolding
- objectscript-coverage — measuring whether your test suite exercises the code (requires merged toolset)
- objectscript-debugging — when a test fails with a runtime error
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/skills/objectscript-tdd/SKILL.md
Popularity
- 7-day trend score
- 0
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
[](https://verified-skill.com/skills/intersystems-community/iris-agentic-dev/objectscript-tdd)