modernize-tests

modernize-tests is a skill for Claude Code from artemnovichkov/xcode-skills. It costs 19 tokens per session (2,286 once invoked), scanned A, original, no licence file.

A guide for updating Swift test suites to use Swift Testing, Apple’s newer testing framework, or for moving them from XCTest, the older framework.

In plain words
What is it for?
Use it when modernizing tests or converting XCTest-based tests to Swift Testing.
Why use it?
It helps bring existing tests to current Swift testing tools and patterns while handling a migration from XCTest.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the xcode-skills plugin — 10 skills shipped together

Good fit Use it when modernizing tests or converting XCTest-based tests to Swift Testing.

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

Made for: Claude Code.

Or install xcode-skills, the plugin that ships this one along with the rest of its 10 skills.

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 modernize-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/artemnovichkov/xcode-skills/modernize-tests.svg)](https://agentmods.dev/skills/artemnovichkov/xcode-skills/modernize-tests)
Your own site
<a href="https://agentmods.dev/skills/artemnovichkov/xcode-skills/modernize-tests"><img src="https://agentmods.dev/badge/skills/artemnovichkov/xcode-skills/modernize-tests.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,286 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 unknown 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.00019 $0.02286
Opus 5 $0.00010 $0.01143
Sonnet 5 $0.00004 $0.00457
Haiku 4.5 $0.00002 $0.00229

Measured 8d ago against content hash b036784a0d2b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

modernize-tests 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 8d 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/modernize-tests/SKILL.md · 245 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 8d ago First seen · 245 lines · 19 tokens per session scan A b036784a0d2b

Subscribe to this mod's changes

modernize-tests is a skill published in the GitHub repository artemnovichkov/xcode-skills (12 stars, last pushed 14d ago), with no licence file. It adds 19 tokens to every session and 2,286 once invoked, about $0.0001 per session on Opus 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-08-30.

Related

Other skills, from other repositories

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

ios-testing-patterns

XCTest and XCUITest execution workflows and flaky test detection patterns.

conorluddy/xclaude-plugin · 18 tokens

iOS Testing

Unit testing, UI testing, TDD patterns, mocking, and test doubles for VIP+W architecture.

JordanCoin/ios-skills-collection · 24 tokens

flutter-add-widget-test

Implement a component-level test using WidgetTester to verify UI rendering and user interactions (tapping, scrolling, entering text). Use when validating that a specific widget displays correct data and responds to events as expected.

flutter/agent-plugins · 48 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

asc-shots-pipeline

Orchestrate iOS screenshot automation with xcodebuild/simctl for build-run, AXe for UI actions, JSON settings and plan files, Koubou-based framing (asc screenshots frame), and screenshot upload (asc screenshots upload). Use when users ask for automated screenshot capture, AXe-driven simulator flows, frame composition…

rorkai/app-store-connect-cli-skills · 79 tokens