Rexx Skills


Rexx Skills

A small collection of skills for working in the Rexx ecosystem. Each skill is a self-contained Markdown document written for an AI agent (or a person) to follow: how to install something, how to run it, what traps to avoid.

Each skill names the exact versions it targets and the environment it assumes. Where a step is environment-specific, the skill says so — adjust those to your own machine.

Skills

ooRexx-specific skills

oorexx — Pitfalls and best practices for ooRexx code. Covers the special variables that get silently overwritten (RESULT, RC, SIGL), non-short-circuit logical operators, method scoping with Expose, where labels are illegal, what a bare Call LineOut closes, why a RANDOM seed does not reach a ::Routine, and idioms for strings, stems, and line endings.

Works with: Claude.

oorexx-run — Install and run ooRexx. Three choices: the tested 5.3.0 beta revision (the default), the latest beta build, or the 5.2.0 release; covers downloading the right .deb from SourceForge, verifying it, refreshing the library cache (ldconfig) for anything that loads librexx, the ::Requires lookup order, the Rexx Parser that comes with 5.3.0, and the common errors.

Works with: Claude.

apache-cgi-oorexx — Serve ooRexx scripts over CGI with Apache. Covers installation, the two configuration patterns (running .rex scripts directly and processing .md files through a Rexx handler), a shell wrapper for the CRLF-shebang trap when scripts are edited on Windows, and Linux case-sensitivity gotchas.

Works with: Claude.

rexxhttp — Serve ooRexx rexxlets over Apache with the RexxHTTP processor. Requires oorexx-run; covers the automated installer and the installation by hand, verification with curl and the package's integration suite, the request/response API (arguments, cookies, lazy headers, errors and redirects), and the traps that bite when writing rexxlets (non-short-circuit &, the JSON ::Requires, case-sensitivity, what is served as source).

Works with: Claude.

ebnf2svg — Generate one SVG railroad diagram per production from a W3C-style EBNF grammar with ebnf2svg.rex, the pure-ooRexx generator of the ooRexx documentation (no Java). Covers where to get it, prerequisites, usage and options, the EBNF notation (with $ for defaults, drawn above the main path as in the IBM syntax diagrams), and what the diagrams look like.

Works with: Claude.

oorexx-docbook-build — Build ooRexx documentation books (DocBook + Publican layout + Apache FOP) to PDF and to chunked HTML, with Rexx syntax highlighting on the program listings. Requires oorexx-run, and ebnf2svg only if a book builds railroad diagrams from EBNF. Covers checking out the sources over svn-https, the official build scripts and their highlighting companions (hldocprep, hldoc2pdf, hldoc2HTML) with the Rexx Parser, the docpath layout for a book of your own, rebuilding after an edit, and the traps that bite (the wrong highlight.rex shortcut, old highlighted XML, the stock doc2HTML on Linux).

Works with: Claude.

md2slides.md — Write, convert and check slide decks in md2slides Markdown, the slide format of RexxPub (the Rexx Parser's publishing tools): one Markdown file in, one self-contained HTML deck out, with Rexx code highlighted by the Rexx Parser. Covers the shape of a deck, the . lines (steps, layout, code, marks, arrows), the patterns a lecture uses, and the rules that save a rebuild. Read this whenever a deck, slides or a lecture is to be written for md2slides; the deliverable is the .md file, not a .pptx or an HTML file.

Works with: Claude.

Regina-specific skills

regina-run — Install and run Regina, the ANSI-standard classic Rexx interpreter. Covers installing from the distro package manager, invoking it, and getting a newer build from SourceForge if you need one.

Works with: Claude.

apache-cgi-regina — Serve Regina Rexx scripts over CGI with Apache. Covers installation, the two configuration patterns (running .rex scripts directly and processing .md files through a Rexx handler), loading external routines with CALL and the REGINA_MACROS search path, a shell wrapper for the CRLF-shebang trap when scripts are edited on Windows, and Linux case-sensitivity gotchas.

Works with: Claude.

Download

rexx-skills-latest.zip.

Using a skill

Open the one you need and follow it top to bottom. They assume basic command-line comfort and, for most, a working Rexx interpreter — so if you don't have one yet, start with oorexx-run or regina-run.