/relux:markersfrom relux
Manages condition markers (# skip, # flaky, # run if) on tests, effects, and functions. Handles add, modify, remove, move, and consolidate operations with layer discipline.
Ships in relux. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Add, edit, or remove # skip / # run / # flaky markers on a test,
effect, fn, or pure fn declaration -- with discipline about layer
choice, form, propagation, and de-duplication. The same five-step core
(layer -> form -> condition -> apply -> verify -> audit) handles every
operation; step 1 classifies the operation and the rest of the workflow
adapts.
User phrasings:
${VAR} is set." / "Mark this as flaky."# skip to # skip unless ...."pure fn."Agent-task signals:
# skip / # run / # flaky line.Out of scope: if the user is starting from a Skipped outcome in a past
run's events.json / event.html and wants to know which marker
fired, that is the diagnose-skipped skill's territory (Wave 2 leaf; not yet
drafted). Once the responsible marker is identified, this skill takes over
to change it.
Direct invocation (/relux:markers). Ask the user which operation
(add / modify / remove / move / consolidate) and the target (file path
plus test / effect / fn / pure fn name) before starting. Step 1
of the workflow classifies on these; without them the pre-flight checks
have nothing to walk.
../../references/markers.md. The workflow below
delegates to it for forms, expression shapes, evaluation timing,
propagation rules, and worked-out pitfalls; the skill assumes that
material is loaded.test / effect / fn / pure fn
declaration each operation touches.let bindings and shell output are not in scope.test, check every effect it
starts and every fn / pure fn it calls (transitively) for an
existing marker. The skip set propagates through both axes.Pick the operation path below based on the classification done in pre-flight. Verify and Audit are shared phases run at the end of every path.
For paths that place a marker, pick the declaration whose marker most narrowly captures the real condition.
${VAR}" -- mark the test.${VAR}" -- mark
the effect. Every test that starts it inherits the skip (or flaky).fn / pure fn) needs ${VAR}" --
mark the function. Every test that calls it (transitively) inherits the
skip / flaky.pure fn and have each test opt in with let _group := mark_<group>()
(the Consolidate path).If the right answer is "the effect" or "the function" and the user
pointed at a test, surface the choice before writing. A # skip on a
test whose effect already skips is duplication; the real fix lives
upstream.
Use when no marker exists on the target yet.
skip / run / flaky) and
polarity (if / unless) -- ../../references/markers.md > Forms is the
source of truth; Pick the marker that reads like intent gives the
rubric. For multiple AND conditions, stack markers on separate lines.../../references/markers.md >
Expression shapes. Prefer the bare form for single-variable
truthiness checks.Then run Verify, then Audit.
Use when a marker exists on the target and form, polarity, or condition needs to change. If the layer is what should change, switch to the Move path instead.
# skip -> # skip unless ...,
# run if X -> # skip unless X): refer to
../../references/markers.md > Forms and Pick the marker that reads
like intent.../../references/markers.md > Expression shapes.Then run Verify, then Audit.
Use when a marker should be deleted entirely. The discipline here is about confirming what removal exposes, not about composing anything.
../../references/markers.md).pure fn.Then run Verify, then Audit.
Use when the marker stays in spirit but should live at a different layer (test -> effect, test -> fn, effect -> fn, or any direction). Mechanically: Remove at source, Add at destination.
../../references/markers.md > Expression shapes.Then run Verify, then Audit.
Use when N tests or effects share an identical (or near-identical) marker
and the duplication should be hoisted onto a shared guarded pure fn.
Do not apply this path to function groups; for those, place the marker
on each fn directly.
mark_<group> / requires_<tool> name
that reads as the reason the group exists (e.g. mark_smoke,
requires_docker).pure fn whose body returns a
short label string, with the shared marker placed above it. Follow
the Add path against this new pure fn declaration.let _<name> := mark_<group>() as the first statement inside each
target's body, then delete each per-target marker line that the
guard now subsumes.Then run Verify, then Audit.
Exercise both branches of every condition this operation introduced or changed:
# Truthy branch:
CI=1 relux run -f path/to/test.relux
# Falsy branch (test should be reported as Skipped):
unset CI
relux run -f path/to/test.relux
In each run, check the affected tests' reported outcomes:
Pass or Skipped as expected.Invalid (not Skipped) means the body failed to
lower -- a # skip does not shield a broken test (see
../../references/markers.md > # skip does not shield a broken test).
Fix the body first, then re-verify the gate.For a faster sanity check without spawning shells, relux check reports
resolve-time errors in marker expressions (typos, undefined pure fns,
malformed regex). It does not evaluate the condition.
Re-walk the upstream chain once.
pure fn pattern applies -- which promotes this
edit retroactively from Add into Consolidate.pure fn exists, every participating
test opts in via let _group := mark_<group>(), and no per-test
marker remains from the old pattern.None in this wave. Future revisions will link to diagnose-skipped (for
run-time forensics on which marker fired and why) and diagnose-flaky
(for deciding when # flaky is the right gate vs. fixing the underlying
race).
../../references/markers.md -- forms, expression shapes, evaluation timing,
propagation, and worked-out pitfalls.../../references/functions.md -- function-level propagation rules; how a
marker on fn / pure fn reaches every caller.../../references/effects-identity.md -- effect-level propagation rules; how
a marker on effect reaches every test that starts it.../../references/events-failures.md -- SkipRecord shape in the structured
log; use when inspecting events.json to confirm which marker fired.../../references/markers.md > Pitfalls and best practices enumerates the
recurring marker mistakes (bare vs interpolated truthiness, run-if vs
skip-unless phrasing, transitive skip propagation, group-via-guarded-
pure fn). The pre-flight read of that file is the discipline; this
section is intentionally empty to avoid drift.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
condition-markers, test-skipping, flaky-tests, run-if, marker-management, relux
11 skills in this plugin
/configurerelux:configureTune `Relux.toml` knobs -- shell command/prompt, match/test/suite timeouts, parallel jobs, flaky retries -- with a strong bias toward shipped defaults. Use when the user asks to change the shell Relux spawns, bump a timeout because something raced, parallelize the suite, enable flaky retries, rename the suite, or otherwise edit `Relux.toml`. Also fires when the agent encounters a `match-timeout` cancellation in `events.json` and the obvious fix is at the manifest level rather than per-test. Insist on keeping defaults unless the user has a concrete, evidenced signal -- a timeout cancellation, a known boot time, a measured wall-clock budget. Static per-test tuning via `test "name" ~30s` is the wrong tool; this skill or CI's `--timeout-multiplier` covers slow environments./editor-pluginrelux:editor-pluginInstall or update the relux editor plugin for VS Code (and Cursor / VSCodium / code-server) or JetBrains-family IDEs (IntelliJ IDEA, RustRover, CLion, PyCharm, GoLand, WebStorm). Use when the user asks for syntax highlighting on .relux files, wants to set up their editor for relux work, or upgrades an outdated plugin. Often invoked as a follow-up by relux:install after the binary is on PATH.npx claudepluginhub shizzard/relux --plugin reluxOther plugins' skills for the same job