ui-testing

ui-testing is a skill for Claude Code from alinaqi/maggy. It costs 14 tokens per session (1,227 once invoked), scanned A, original, MIT.

A visual testing guide for checking whether web or mobile interfaces are readable, usable, accessible, and responsive. It covers controls, focus states, loading and disabled states, dark mode, and small screens.

In plain words
What is it for?
It is for reviewing UI components before release and checking keyboard use, touch interaction, contrast, responsive layouts, and important visual states.
Why use it?
It helps catch problems that ordinary code checks may miss, such as invisible buttons, poor color contrast, tiny touch targets, or layouts that scroll sideways on phones.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

not rated 713repo +1 3d ago A scan Socket: passSnyk: passSkillSpector: pass 14 tokens original MIT

Good fit It is for reviewing UI components before release and checking keyboard use, touch interaction, contrast, responsive layouts, and important visual states.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alinaqi/maggy/ui-testing
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 alinaqi/maggy --skill ui-testing
Clone the repo
git clone --depth 1 https://github.com/alinaqi/maggy

Made for: Claude Code.

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 ui-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/alinaqi/maggy/ui-testing/github.svg)](https://agentmods.dev/skills/alinaqi/maggy/ui-testing)
Your own site
<a href="https://agentmods.dev/skills/alinaqi/maggy/ui-testing"><img src="https://agentmods.dev/badge/skills/alinaqi/maggy/ui-testing/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 ui-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/alinaqi/maggy/ui-testing"><img src="https://agentmods.dev/badge/skills/alinaqi/maggy/ui-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,227 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. Third-party audits
  • Socket pass 14 Jul 2026
  • Snyk pass 14 Jul 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00014 $0.01227
Opus 5.5 $0.00006 $0.00491
Sonnet 5.5 $0.00003 $0.00245
Haiku 4.5 $0.00001 $0.00123

Measured 2mo ago against content hash 02b6c34e7476, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ui-testing 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 2mo ago.

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/ui-testing/SKILL.md · 187 lines

How it starts

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

UI Verification Skill

Load with: ui-web.md or ui-mobile.md

Purpose

Quick verification that generated UI meets accessibility standards. Run these checks after creating any new UI components.


Pre-Flight Checklist

Before Shipping ANY UI:

## Visibility Check
- [ ] All buttons have visible background OR border
- [ ] No text is same color as its background
- [ ] All text meets 4.5:1 contrast ratio
- [ ] Ghost/text buttons have visible borders

## Touch/Click Targets
- [ ] All buttons are minimum 44px height
- [ ] Icon buttons are minimum 44x44px
- [ ] Adequate spacing between clickable elements

## States
- [ ] Hover states visible (web)
- [ ] Pressed states visible (mobile)
- [ ] Focus rings on keyboard navigation
- [ ] Disabled states visually distinct (opacity 0.5)
- [ ] Loading states show indicators

## Dark Mode (if applicable)
- [ ] Text readable on dark backgrounds
- [ ] Borders visible in dark mode
- [ ] No gray-400 text on dark backgrounds

## Responsive (web)
- [ ] No horizontal scroll on mobile (320px)
- [ ] Content readable at all breakpoints
- [ ] Touch targets adequate on mobile

Quick Contrast Check

Use Browser DevTools

1. Right-click element → Inspect
2. In Styles panel, click on color value
3. Look for contrast ratio display
4. Must show ✓ for AA compliance (4.5:1 for text)

Online Tools

Tailwind Safe Combinations

LIGHT MODE (on white bg):
✓ text-gray-900  (#111827) = 16:1
✓ text-gray-800  (#1F2937) = 12:1
✓ text-gray-700  (#374151) = 9:1
✓ text-gray-600  (#4B5563) = 6:1
✗ text-gray-500  (#6B7280) = 4.6:1 (barely)
✗ text-gray-400  (#9CA3AF) = 2.6:1 (FAILS)

DARK MODE (on gray-900 bg):
✓ text-white     (#FFFFFF) = 16:1
✓ text-gray-100  (#F3F4F6) = 13:1
✓ text-gray-200  (#E5E7EB) = 11:1
✓ text-gray-300  (#D1D5DB) = 8:1
✗ text-gray-400  (#9CA3AF) = 5:1 (barely)
✗ text-gray-500  (#6B7280) = 3:1 (FAILS)

Read the full file on GitHub · 187 lines

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. 2mo ago First seen · 187 lines · 14 tokens per session scan A 02b6c34e7476

Subscribe to this mod's changes

ui-testing is a skill published in the GitHub repository alinaqi/maggy (713 stars, last pushed 3d ago), licensed MIT. It adds 14 tokens to every session and 1,227 once invoked, about $0.0001 per session on Opus 5.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-09-03.

Related

ui-testing compared with skills from other repositories

ui-testing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ui-testingalinaqi/maggySkill7133d agoMITA14Claude Code
jetbrains-sessionKilo-Org/kilocodeSkill28ktodayMITA50Claude Code, Codex
dashboard-designmckinsey/vizroSkill3.8k4d agoApache-2.0A71Claude Code
aoe-keyboard-focusagent-of-empires/agent-of-empiresSkill5.2ktodayMITA71Claude Code, Codex
codex-skin-pack-installerhashgraph-online/awesome-codex-pluginsSkill1.6ktodayApache-2.0A125Codex
design-directorhashgraph-online/awesome-codex-pluginsSkill1.6ktodayApache-2.0A41Claude Code, Codex
frontend-ui-ux-systemhashgraph-online/awesome-codex-pluginsSkill1.6ktodayApache-2.0A60Codex