Generate XCTest UI tests for macOS applications with accessibility identifiers and page object patterns
Generates XCTest UI tests for macOS applications using accessibility identifiers and page object patterns.
npx claudepluginhub a5c-ai/babysitterThis skill is limited to using the following tools:
README.mdGenerate XCTest UI tests for macOS applications. This skill creates UI test classes with accessibility identifiers, page object patterns, and proper test organization.
{
"type": "object",
"properties": {
"projectPath": { "type": "string" },
"targetViews": { "type": "array" },
"usePageObjects": { "type": "boolean", "default": true },
"generateAccessibilityIds": { "type": "boolean", "default": true }
},
"required": ["projectPath"]
}
import XCTest
final class MainViewUITests: XCTestCase {
var app: XCUIApplication!
override func setUpWithError() throws {
continueAfterFailure = false
app = XCUIApplication()
app.launchArguments = ["--uitesting"]
app.launch()
}
func testMainViewLoads() throws {
let mainView = app.windows["MainWindow"]
XCTAssertTrue(mainView.waitForExistence(timeout: 5))
let titleLabel = mainView.staticTexts["welcomeLabel"]
XCTAssertTrue(titleLabel.exists)
XCTAssertEqual(titleLabel.label, "Welcome")
}
func testNavigationToSettings() throws {
app.menuItems["Preferences…"].click()
let settingsWindow = app.windows["SettingsWindow"]
XCTAssertTrue(settingsWindow.waitForExistence(timeout: 2))
}
}
swiftui-view-generatordesktop-ui-testing processActivates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.
Search, retrieve, and install Agent Skills from the prompts.chat registry using MCP tools. Use when the user asks to find skills, browse skill catalogs, install a skill for Claude, or extend Claude's capabilities with reusable AI agent components.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.