test-ui

test-ui is a skill for Codex from GalaxyRuler/Galactic-skills. It costs 131 tokens per session (1,082 once invoked), scanned A, original, MIT.

A general process for testing web interfaces across screen sizes, browsers, accessibility needs, component states, languages, and visual details.

In plain words
What is it for?
Testing pages or components with automated and manual checks, visual comparisons, responsive and cross-browser testing, WCAG 2.2 AA accessibility checks, locale testing, and design-token validation.
Why use it?
It first detects the project’s available testing tools, then adjusts the checks when some are missing. This helps expose broken layouts, accessibility barriers, translation problems, and visual mismatches.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Testing pages or components with automated and manual checks, visual comparisons, responsive and cross-browser testing, WCAG 2.2 AA accessibility checks, locale testing, and design-token validation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/galaxyruler/galactic-skills/test-ui
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add GalaxyRuler/Galactic-skills --skill test-ui
Clone the repo
git clone --depth 1 https://github.com/GalaxyRuler/Galactic-skills

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for test-ui

README.md
[![agentmods](https://agentmods.dev/badge/skills/galaxyruler/galactic-skills/test-ui/github.svg)](https://agentmods.dev/skills/galaxyruler/galactic-skills/test-ui)
Your own site
<a href="https://agentmods.dev/skills/galaxyruler/galactic-skills/test-ui"><img src="https://agentmods.dev/badge/skills/galaxyruler/galactic-skills/test-ui/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for test-ui

Your own site · 80×15
<a href="https://agentmods.dev/skills/galaxyruler/galactic-skills/test-ui"><img src="https://agentmods.dev/badge/skills/galaxyruler/galactic-skills/test-ui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 131 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,082 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00131 $0.01082
Opus 5 $0.00066 $0.00541
Sonnet 5 $0.00026 $0.00216
Haiku 4.5 $0.00013 $0.00108

Measured 2d ago against content hash 95e718e4dd7e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

test-ui scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (templates/i18n-integrity.spec.template.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/test-ui/SKILL.md · 41 lines

How it starts

The opening of the file, as written. The whole thing — 41 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/test-ui — portable UI testing runner

Execute the UI Testing Playbook (playbook.md, same folder) against the current project and emit a findings report. Read it first — it's the method; this is the runbook. Works in any web repo; a project-level test-ui overrides this when present.

Scope: an argument narrows to a component/page/flow (/test-ui checkout). No argument = the critical surfaces from Phase 0.

Phase 0 — Detect the stack (do this first)

Read package.json (+ lockfile, config files) and pick commands. Detect:

  • Framework: React / Vue / Svelte / Angular / Next / Vite / CRA / SvelteKit / Astro.
  • Test runner: Vitest / Jest / (node:test). → component tests.
  • E2E / visual: Playwright / Cypress / WebdriverIO. → e2e, visual snapshots.
  • a11y: @axe-core/*, jest-axe, axe-playwright present? → automated a11y.
  • i18n: i18next / react-intl / vue-i18n / next-intl / lingui? → locale list, pseudo-locale, RTL.
  • Styling/tokens: Tailwind / CSS vars / styled-system / design-tokens. Map these to: lint, build, component-test, e2e, and how to run a single spec. If a tool is absent, degrade that phase to a manual checklist + a one-line setup note — never fail the run, never silently pass it. Read a project TESTING.md / docs/testing/* / the Project appendix in playbook.md if present and prefer its commands.

Runbook (phase-gated — see playbook.md for the why)

  1. Inventory — build the states × breakpoints × themes × locales matrix.
  2. Static & build — type-check + lint + build; design-token fidelity (no hardcoded values).
  3. Component/DOM — run the suite; assert states + accessibility tree; query priority getByRole → getByLabelText → getByText → testId-last.
  4. Visual regression — across the matrix on critical surfaces; determinism first (pin browser, freeze time/tz, normalize fonts, disable animation, --force-device-scale-factor=1, mask volatile regions, per-branch baselines). Review every diff.
  5. Responsive & cross-browser — breakpoints; targets ≥24px; reflow @320px/400%; engines (Chromium/Gecko/WebKit); RTL mirroring.
  6. Accessibility WCAG 2.2 AA, layered — axe (light+dark, zero violations) → keyboard/focus(2.4.7, 2.4.11) → contrast → forms → screen-reader spot-check. (Automation ≈20–40%; the rest is manual — don't mark manual as auto-passed.)
  7. i18n / locale-integrity — pseudo-locale pass (truncation/clipping/hardcoded strings); rendered-output scan per target locale for raw identifiers + untranslated source text (allowlist brand/units); RTL bidi + icon directionality; ~30% expansion headroom.
  8. Interaction & data-viz — validation UI, skeleton no-shift, error/empty states, charts + non-color alternative, focus on route change.
  9. Report — write to docs/testing/reports/<date>-ui.md (or ./ui-test-report-<date>.md); lead with a11y S0/S1, then i18n leaks, then visual.

Read the full file on GitHub · 41 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed 95e718e4dd7e
  2. 8d ago First seen · 41 lines · 131 tokens per session scan A 554a4c54851f

Subscribe to this mod's changes

test-ui is a skill published in the GitHub repository GalaxyRuler/Galactic-skills (5 stars, last pushed 3d ago), licensed MIT. It adds 131 tokens to every session and 1,082 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.