xcode-testing-workflow

xcode-testing-workflow is a skill for Claude Code, Codex from gaelic-ghost/socket. It costs 81 tokens per session (2,560 once invoked), scanned A, original, Apache-2.0.

A guide for testing Apple apps in Xcode, including automated interface tests, test plans, coverage checks, accessibility checks, and test diagnostics.

In plain words
What is it for?
Use it to run and filter Swift or UI tests, check code coverage, validate accessibility, collect diagnostic files, and compare Debug and Release test behavior.
Why use it?
It helps developers choose the right test setup, run only the tests they need, and investigate failures or unreliable results in Xcode projects.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the apple-dev-skills plugin — 65 skills, 2 MCP servers shipped together

Good fit Use it to run and filter Swift or UI tests, check code coverage, validate accessibility, collect diagnostic files, and compare Debug and Release test behavior.

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

Made for: Claude Code, Codex.

Or install apple-dev-skills, the plugin that ships this one along with the rest of its 65 skills, 2 MCP servers.

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 xcode-testing-workflow

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/gaelic-ghost/socket/xcode-testing-workflow"><img src="https://agentmods.dev/badge/skills/gaelic-ghost/socket/xcode-testing-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,560 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.00081 $0.02560
Opus 5.5 $0.00032 $0.01024
Sonnet 5.5 $0.00016 $0.00512
Haiku 4.5 $0.00008 $0.00256

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

Security

Grade A, and why

xcode-testing-workflow 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 1mo 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.

plugins/apple-dev-skills/skills/xcode-testing-workflow/SKILL.md · 155 lines

How it starts

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

Xcode Testing Workflow

Purpose

Use this skill as the primary execution workflow for test-focused work in or around Xcode-managed projects and workspaces. Keep it focused on Swift Testing, XCTest, XCUITest, XCUIAutomation-oriented mechanics, code coverage, .xctestplan, destinations, launch arguments, interruption handling, attachments, accessibility-verification follow-through, Instruments profiling, xctrace trace capture, filters, retries, diagnostics, and test-specific Debug/Release validation instead of broad build/run or toolchain work. scripts/run-workflow.fsx is the runtime entrypoint for MCP-first test execution, official CLI fallback planning, and the remaining .pbxproj warning boundary when mutation enters project-file territory.

When To Use

  • Use this skill for Xcode test execution, test diagnosis, test filtering, retries, destination selection, and test-plan work.
  • Use this skill for Swift Testing, XCTest, XCUITest, XCUIAutomation-oriented mechanics, .xctestplan, flaky-test diagnosis, accessibility-verification follow-through, and test-only configuration validation.
  • Use this skill for Instruments and xctrace follow-through when performance-sensitive tests need Time Profiler, Metal System Trace, Allocations, VM Tracker, Points of Interest, signpost-aligned traces, or .trace artifact interpretation.
  • Use this skill for Xcode MCP operations and official Apple CLI fallback when the work is primarily about tests rather than build/run.
  • Use this skill when direct filesystem mutation around tests or test plans may be required.
  • Recommend xcode-coding-intelligence-workflow when the request is primarily about Xcode Intelligence setup, Xcode-hosted agents, external-agent access through xcrun mcpbridge, command/tool permissions, or Xcode-only agent configuration homes.
  • Do not use this skill as the default path for ordinary build, run, preview, archive, or general project-integrity work.
  • Recommend xcode-build-run-workflow when the task is primarily about build, run, previews, file membership, archives, toolchains, or guarded non-test mutation work.
  • Recommend explore-apple-swift-docs when the user needs Apple or Swift documentation lookup rather than execution work.
  • Recommend swift-package-testing-workflow when the task is package-first testing outside Xcode-managed execution.
  • Recommend bootstrap-xcode-workspace --operation align when an existing Apple product workspace needs managed guidance alignment rather than active engineering work.

Read the full file on GitHub · 155 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. 1mo ago First seen · 155 lines · 81 tokens per session scan A f2a28ee2745d

Subscribe to this mod's changes

xcode-testing-workflow is a skill published in the GitHub repository gaelic-ghost/socket (7 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 81 tokens to every session and 2,560 once invoked, about $0.0003 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

Other skills, from other repositories

browser-agent

Autonomous human-like browser control and professional QA/QC testing. Powered by agent-browser (Rust native CDP, zero Playwright) with ISTQB test matrix generation, automated testcase execution, console/network error tracing, and defect reporting.

datit309/supergraph · 50 tokens

integration

Run integration and e2e tests after unit tests pass. Use after /supergraph:fix when unit tests are green.

datit309/supergraph · 27 tokens

test-strategy-document

Create a production-ready Testing Strategy and QA Execution Plan. Covers testing levels (unit, integration, E2E, performance), mocking boundaries, test environment matrix, code coverage thresholds, and automated CI pipeline runsheets. Use when establishing a QA framework for a new system or feature set.

fattain-naime/engineering-docs · 62 tokens

ui-crawler-max

Autonomous UI crawler for iOS simulator apps — rapid, element-precise data collection. Use whenever the user says "crawl my app", "auto-test the UI", "click/tap through every screen", "monkey test", "explore the app and find errors/crashes", "collect screenshots of all screens", "smoke test the whole app", or asks for…

Dev869/swift-tothemax · 179 tokens

test-native-extension

Validate a third-party control repo across four automated layers plus one printed manual recipe. Layer 1 asserts native-source structure (Android getName() and iOS +moduleName to manifest nativeModule; @ReactMethod / RCTEXPORTMETHOD to methods; no @ReactModule) plus load/init readiness (ReactPackage public no-arg…

microsoft/power-platform-skills · 211 tokens

qa

Browser-based QA verification. Launches a real browser, navigates the app, clicks buttons, fills forms, and tests user flows. Works as a standalone skill or as a phase end condition in campaigns. Requires Playwright (optional dependency, graceful skip if not installed).

SethGammon/Citadel · 56 tokens