Skip to content
alinaqi avatar

Ui Testing

Pre-ship checklist that catches invisible buttons, low contrast, small touch targets, and missing focus states.

CCM score
58 of 100
skills.sh installs
332
GitHub stars
712
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers visibility, touch and click targets, interaction states, dark mode, and responsive checks for web and mobile UI
  • Includes Tailwind contrast tables for light and dark backgrounds, plus before-and-after fixes for common failures
  • Requires 4.5:1 text contrast, 44px minimum touch targets, and visible focus rings on keyboard navigation
  • Designed for UI components in *.test.tsx, *.spec.tsx, and *.stories.* files, with an optional axe and Playwright check

Install

$ npx -y skills add alinaqi/maggy --skill ui-testing -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

Details

Repository
github.com/alinaqi/maggy
Categories
Testing & QA, Frontend & UI Code
First seen
Jun 3, 2026

Questions

What does the ui-testing skill check in a UI component?

The ui-testing skill runs visual and accessibility checks on UI components built with React or TypeScript. It verifies that buttons have visible boundaries, text meets a 4.5:1 contrast ratio, click targets are at least 44px, and focus, hover, disabled and dark mode states are visible.

Who should use the ui-testing skill?

It suits developers writing visual or accessibility tests for UI components, especially solo projects or MVPs where a quick checklist is enough. Larger component libraries or design systems with several developers are pointed toward fuller visual testing with Playwright screenshots or Storybook.

How do I install the ui-testing skill?

Run npx -y skills add alinaqi/maggy --skill ui-testing -y in your project. Once installed, the agent gets the pre-flight visibility checklist, contrast guidance and common fixes for invisible buttons, low contrast text and missing focus rings.

Where does ui-testing rank among Testing and QA skills?

ui-testing sits in the Testing and QA category alongside tdd, test-driven-development, webapp-testing and break-ui. It stands apart by focusing on visual and accessibility verification of UI components rather than general test-driven workflows.

More from alinaqi/maggy

All 54

Similar to Ui Testing

More Testing & QA