Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

workbench-workflow

FreeNo executable scriptsNot checked

Arma Reforger Workbench workflow, testing guidelines, and debugging patterns

ArmaOverthrowby ArmaOverthrow★ 95 GitHub stars17 installs in other catalogs

About this skill

Workbench Workflow

Quick reference for working with Arma Reforger Workbench. For detailed patterns, see resource files below.


When to Use This Skill

Use this skill when:

  • Testing changes in Workbench
  • Debugging compile errors
  • Understanding Workbench limitations
  • Planning manual testing procedures
  • Working with prefabs, configs, or layouts
  • Troubleshooting runtime issues

Quick Reference

Testing Guidelines

Two automated gates — but they cost very different things. tools/compile-check.sh (compiles all EnforceScript, ~5s, headless) is free: run it constantly. tools/run-tests.sh (runs Overthrow's autotests in the real game client, ~15-19s) launches a Reforger window that steals the user's desktop focus, so it is a scarce, deliberate regression gate: orchestrator-only, once after a phase or fix is complete, never during planning, never inside a subagent — see .claude/test-policy.md. Coverage is a spine, not the surface — 30 assertions across four tiers (pure logic, manager init, started campaign, same-session persistence), reachable as one command. Not covered at all: JIP/multiplayer (the most common regression class — it needs two client processes), UI, performance, AI movement, and the save/reload round-trip (written but gated behind the persistence migration). Everything in that second list is still verified by manual Workbench play-testing; be specific about what the user should test and how.

See: testing-guidelines.md for manual test procedures · "Writing Autotests" below for automated ones

Compile Errors

EnforceScript has specific error patterns. Common issues: missing semicolons, ternary operators, type mismatches, missing strong refs. tools/compile-check.sh surfaces them as file:line: message on stdout; the same errors also show in the Workbench console during interactive sessions.

See: compile-errors.md for common errors and fixes

Debug Patterns

Use Print() for debug output, check Workbench console logs. No interactive debugger. Add debug prints strategically to trace execution and inspect values.

See: debug-patterns.md for debugging techniques

Workbench Tips

Prefabs edited in Workbench, layouts in UI editor, configs in text editor. Save often. Workbench can crash. Always test changes in play mode.

See: workbench-tips.md for Workbench best practices


Critical Constraints

  • ✅ Automated compile check - Run tools/compile-check.sh after code changes; do not ask the user to compile for you (see tools/README.md)
  • ⚠️ Automated tests are a scarce gate - tools/run-tests.sh "{6A6E29FF47ECB840}" (Fast) opens a Reforger client that steals focus. Run it once, in the main thread, after a phase or fix is complete and only if the change touches tested areas — never to take a baseline, never from a subagent, never mid-change. Full rules: .claude/test-policy.md · contract: tools/README.md
  • ⚠️ Coverage is a spine, not the surface - 30 assertions over logic, init, campaign and same-session persistence. JIP/multiplayer, UI, performance and save/reload are NOT covered and are still manual play-testing
  • ⚠️ Extend the suites when you can - If a change is assertable in the test world, add a case to the right tier rather than writing only a manual procedure
  • ❌ No interactive debugger - Use Print() for debug output
  • ✅ Be specific - Tell user exactly what to test
  • ✅ Test incrementally - Small changes, compile-check often (compile-check, not the suites)
  • ⚠️ Workbench can crash - Save frequently
  • ✅ Check console - Runtime errors show in Workbench console
  • ⚠️ Play mode testing - Always test in play mode, not just edit mode

Workflow Pattern

Development Cycle

  1. Write code in Claude Code
  2. Run tools/compile-check.sh yourself (~5s warm)
  3. Fix errors from the parsed file:line: message output
  4. Repeat until exit 0
  5. Run tools/run-tests.sh "{6A6E29FF47ECB840}" once, at the end (Fast, ~16s) — or the All group if you touched campaign, economy or persistence state. Not after every edit in step 2–4: this opens a Reforger client and takes the user's screen. Skip it altogether for docs/layout/prefab/localization-only work, and defer it if the user is play-testing (.claude/test-policy.md)
  6. User tests in Workbench play mode
  7. User reports bugs/runtime issues (debug prints, console errors)
  8. Fix issues
  9. Repeat until working

Testing Cycle

  1. Automated where possible - If the behaviour is assertable from a test world, add a case to the right tier (see "Writing Autotests"). Authoring the case is always worth it. Proving it — running it green, then perturbing the thing it covers to see exit 1, then reverting — is the one situation where several runs in a row are justified, because you are testing the test. Batch that proof into a single sitting rather than spreading it across the session
Full SKILL.md on GitHub

Install workbench-workflow in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the workbench-workflow skill do?

Arma Reforger Workbench workflow, testing guidelines, and debugging patterns

How do I install the workbench-workflow skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the workbench-workflow skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare workbench-workflow with