Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

ui-test-writer

Skill by wikimedia

Writes XCTest UI tests for the WikipediaUITests target in the Wikipedia iOS app. It is for iOS engineers who maintain or expand that UI test suite.

  • Score 88
  • 3.5k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install ui-test-writer

Built from the published package, never by AI.

git clone --depth 1 https://github.com/wikimedia/wikipedia-ios /tmp/wikipedia-ios && mkdir -p ~/.claude/skills && cp -r /tmp/wikipedia-ios/.claude/skills/ui-test-writer ~/.claude/skills/ui-test-writer

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install ui-test-writer in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides an AI assistant to write XCTest UI tests for the WikipediaUITests target in the Wikipedia iOS app. It tells the assistant to read the repository's UI test README and ROBOTS.md first, then follow the Robots pattern. Test methods hold short user journeys, while selectors, waits, gestures and screenshots stay inside robot classes. Launch state is set only through UITestConfiguration and UITestLaunchArgument, and accessibility identifiers are preferred over localized text.

Coverage defaults to fixture-backed networking in fixture-strict mode. When a request has no fixture, the skill describes how to capture the live API response, save it under WikipediaUnitTests/Fixtures, and register the route in TestNetworkFixtures.json. It also covers the lint script, a targeted xcodebuild run, and adding E2E tests to the smoke lane. It is intended for developers working on the Wikipedia app's UI test suite.

Written from the project's SKILL.md and checked against it.

What it can do

  • Journey-first test writingWrites UI test methods that describe short user journeys through robots.
  • Robot creationAdds or extends robot classes that hold selectors, waits, gestures and assertions.
  • Launch configurationSets deterministic launch state only through UITestConfiguration and UITestLaunchArgument.
  • Fixture captureDescribes how to capture live API responses as fixtures and register them in TestNetworkFixtures.json.
  • Accessibility identifiersAdds identifier constants to AccessibilityIdentifiers.swift and wires them into app code.
  • Validation stepsRuns scripts/lint-ui-tests.sh and a targeted xcodebuild test command.
  • E2E smoke laneAdds E2E test identifiers to WikipediaUITests/E2ESmokeTests.txt for the smoke lane.

What you need

  • Xcode
  • iOS 26 simulator
  • Access to the Wikipedia iOS app repository

Try asking

  • Write a UI test for the Wikipedia search flow using fixtures.
  • Add a robot for the article settings screen.
  • Create fixture data for a new MediaWiki API request.

Good to know

  • Default coverage uses fixture-strict networking; live networking is for E2E tests only.
  • XCTSkipUnless and XCTSkipIf are not allowed unless specifically directed.
  • Targets the WikipediaUITests target in the Wikipedia iOS app.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/ui-test-writer/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md5 KB
  • templates/RobotSkeleton.swift1 KB
  • templates/UITestFileSkeleton.swift997 B

Alternatives to ui-test-writer

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

ui-test-writer: common questions

Does this skill make live network calls in tests?

By default, tests use fixture-backed networking in fixture-strict mode. Live networking is used only when E2E is specified.

Can the generated tests skip themselves on failure conditions?

No. The skill forbids XCTSkipUnless and XCTSkipIf unless a user specifically directs their use.

Where do the test fixtures come from?

The source says fixtures are captured from live Wikipedia and MediaWiki APIs, not synthesized, and saved under WikipediaUnitTests/Fixtures.

How do I install ui-test-writer?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is ui-test-writer free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is ui-test-writer safe to use?

It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to ui-test-writer?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

ui-test-writer Install

Add to stack

Loading.