Skip to content
Operations
Agent

acceptance-tests

Read this before writing or running the graphical acceptance suite under `test/acceptance.d/`.

From plugin
omarchy
41k13 skills13 agents
Install
$ npx -y skills add basecamp/omarchy --agent claude-code

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Read this before writing or running the graphical acceptance suite under `test/acceptance.d/`.

Agent definition

acceptance-tests.md

Acceptance Tests

Read this before writing or running the graphical acceptance suite under `test/acceptance.d/`.

The graphical acceptance suite lives in `test/acceptance` with test files under `test/acceptance.d/*-test.sh`. It exercises a real installed Omarchy desktop, including session health, shell surfaces, panels, keyboard navigation, representative applications, and system setup. Source `test/acceptance.d/base-test.sh` for the shared helpers.

Run acceptance tests in a disposable VM through the sibling `omarchy-iso` repository, not in the active development session. The suite opens and closes applications and temporarily changes desktop configuration.

For acceptance-test-only changes, reuse an installed base and sync the suite:

cd ../omarchy-iso
./bin/omarchy-iso-test release/<iso>.iso --reuse-base --sync-omarchy ../omarchy --no-preview

Use `--sync-all ../omarchy` instead of `--sync-omarchy ../omarchy` when the acceptance run must exercise local `bin/`, `config/`, or `shell/` source too. Changes to package manifests, installation, finalization, or shipped defaults require a fresh ISO built from the local checkouts and a run without `--reuse-base`:

cd ../omarchy-iso
./bin/omarchy-iso-make --no-boot-offer --local-source ../omarchy ../omarchy-pkgs
./bin/omarchy-iso-test release/<generated-iso>.iso --no-preview

Keep unrelated acceptance workflows in separate test files. The runner records a failed file and continues with the remaining files, which preserves as much diagnostic coverage as possible. Restore modified user state with traps, close anything the test opens, and capture every visually distinct state (including entered input where relevant) as `success-<step>.png`; failure helpers capture `failure-<step>.png`. The ISO harness collects the screenshots and logs under its timestamped `test-runs/` directory and opens the screenshots after the run unless `--no-preview` is passed.

The ISO harness exercises compositor-level shortcuts with QMP virtual keyboard input. In-guest `wtype` is suitable for typing into focused controls, but it does not reliably prove that a global Hyprland keybinding works.

Read more
Ships withomarchy

Omarchy is a beautiful, fun & agentic Linux distribution by DHH. Read more at omarchy.org.

Get the whole plugin
Stats
41,214
Stars
4,651
Forks
Active
Maintenance
Shell
Language
MIT
License
2h ago
Last commit
1y ago
Created
14d ago
Added

Repo: basecamp/omarchy

Other agents on omarchy.