Agent skill

Modernize Tests

by CamilleScholtz in CamilleScholtz/swmpc

Modernize test suites to use modern Swift Testing features or migrate from XCTest.

EUPL-1.2Auto-check passedMobile

Install Modernize Tests

skills CLI
$ npx skills add CamilleScholtz/swmpc --skill modernize-tests -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install CamilleScholtz/swmpc modernize-tests --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/CamilleScholtz/swmpc.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/modernize-tests .claude/skills/modernize-tests && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
modernize-tests
GitHub stars
239
Used in
1 other repo
Token cost
~2.4k tokens
SKILL.md length
1,009 words
Files
1
Skills in repo
27
Repo updated
First seen
Licence
EUPL-1.2

At a glance

Modernize test suites to use modern Swift Testing features or migrate from XCTest.

  • Tasks that involve Legacy modernization
  • SKILL.md covers Migration Reference and Modernization Guidelines
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve iOS development

What it does

Modernize Tests is an agent skill from CamilleScholtz/swmpc. Modernize test suites to use modern Swift Testing features or migrate from XCTest.

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Mobile, covering Legacy modernization, iOS development and Test generation. The repository describes itself as: An MPD client for macOS & iOS.

When your agent uses it

  • Tasks that involve Legacy modernization
  • Tasks that involve iOS development
  • Tasks that involve Test generation

Example prompts

  • “/modernize-tests”

What it can do on your machine

Read from SKILL.md and the folder at commit 51fa7cb. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are swift).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Modernize Tests loads about 2.4k tokens when it runs. Until then it costs about 25 tokens; SKILL.md has 1,009 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~25
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (EUPL-1.2) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,009 words (~2,366 tokens).

“Test modernization refers to two potential actions: migrating from XCTest to Swift Testing, and updating existing Swift Testing tests to use recommended patterns.”

— opening of SKILL.md by CamilleScholtz, EUPL-1.2
name
modernize-tests

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/modernize-tests of CamilleScholtz/swmpc.

Open the folder on GitHubat commit 51fa7cb

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in CamilleScholtz/swmpc, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Modernize Tests next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Modernize Tests compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Modernize Tests this skillCamilleScholtz/swmpc2391 repos~2.4kAutomated safety check: PassEUPL-1.2
Uikit App Modernizationsuperagents-lab/xcode27-skills341—~4.1kAutomated safety check: PassNone
Swift TestingHoangNguyen0403/agent-skills-standard572—~801Automated safety check: PassMIT
Swift Testingnimblehq/ios-templates110—~1.3kAutomated safety check: PassMIT
Brooks Testhyhmrright/brooks-lint1.5k1 repos~432Automated safety check: PassMIT
Swiftui Protwostraws/SwiftUI-Agent-Skill5.6k2 repos~1.5kAutomated safety check: PassMIT

Similar skills

  • Uikit App Modernization

    superagents-lab/xcode27-skills

    Modernizes UIKit apps for multi-window environments by replacing legacy shared-state APIs with context-appropriate modern alternatives.

    341 GitHub stars~4.1k tokensUpdated 4 mo ago
    MobileAuto-check passed
  • Swift Testing

    HoangNguyen0403/agent-skills-standard

    Write XCTest cases, async tests, and organized test suites in Swift.

    572 GitHub stars~801 tokensUpdated yesterday
    MobileAuto-check passed
  • Swift Testing

    nimblehq/ios-templates

    Write, review, or migrate unit tests using Swift Testing (@Test, @Suite, expect, require).

    110 GitHub stars~1.3k tokensUpdated 2 mo ago
    Testing & QAAuto-check passed
  • Brooks Test

    hyhmrright/brooks-lint

    Test quality review drawing on twelve classic engineering books — with primary focus on xUnit Test Patterns, The Art of Unit Testing, How Google Tests Software, and Working Effectively with Legacy…

    1.5k GitHub starsUsed in 1 repo~432 tokens
    DevelopmentAuto-check passed
  • Swiftui Pro

    twostraws/SwiftUI-Agent-Skill

    Comprehensively reviews SwiftUI code for best practices on modern APIs, maintainability, and performance.

    5.6k GitHub starsUsed in 2 repos~1.5k tokens
    MobileAuto-check passed
  • Official

    Resolves .NET runtime frames in Apple .ips crash logs to function names, source files and line numbers using dSYM symbols, atos and the Microsoft symbol server.

    5.6k GitHub starsUsed in 1 repo~2.4k tokens
    MobileAuto-check passed

More from CamilleScholtz/swmpc

All 27 skills in this repo
  • Asc Localize Metadata

    CamilleScholtz/swmpc

    Automatically translate and sync App Store metadata (description, keywords, what's new, subtitle) to multiple languages using LLM translation and asc CLI.

    239 GitHub starsUsed in 5 repos~2.8k tokens
    Auto-check passed
  • Asc Shots Pipeline

    CamilleScholtz/swmpc

    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…

    239 GitHub starsUsed in 4 repos~2.8k tokens
    Auto-check passed
  • Asc Signing Setup

    CamilleScholtz/swmpc

    Set up bundle IDs, capabilities, signing certificates, provisioning profiles, and encrypted signing sync with the asc cli.

    239 GitHub starsUsed in 4 repos~1.1k tokens
    Auto-check passed
  • Asc Metadata Sync

    CamilleScholtz/swmpc

    Sync, validate, and apply App Store metadata with the current asc canonical metadata workflow.

    239 GitHub starsUsed in 3 repos~1.5k tokens
    Auto-check passed
  • Asc Screenshot Resize

    CamilleScholtz/swmpc

    Resize and validate App Store screenshots with current asc screenshot-size data and macOS sips.

    239 GitHub starsUsed in 3 repos~927 tokens
    Auto-check passed
  • Asc Aso Audit

    CamilleScholtz/swmpc

    Run an offline ASO audit on canonical App Store metadata under ./Store and surface keyword gaps using Astro MCP.

    239 GitHub starsUsed in 5 repos~2.6k tokens
    Auto-check passed

Questions about Modernize Tests

What does Modernize Tests do?

Modernize test suites to use modern Swift Testing features or migrate from XCTest. Modernize Tests is an agent skill from CamilleScholtz/swmpc. Modernize test suites to use modern Swift Testing features or migrate from XCTest.

When should I use Modernize Tests?

Modernize Tests fits situations like: tasks that involve Legacy modernization; tasks that involve iOS development; tasks that involve Test generation.

How do I install Modernize Tests in Claude Code?

Run `npx skills add CamilleScholtz/swmpc --skill modernize-tests -a claude-code`. Or copy the skill folder (.agents/skills/modernize-tests in CamilleScholtz/swmpc) into .claude/skills/modernize-tests in your project. Claude Code loads it when a task matches its description.

How do I install Modernize Tests in Codex?

Run `npx skills add CamilleScholtz/swmpc --skill modernize-tests -a codex`. Or copy the skill folder (.agents/skills/modernize-tests in CamilleScholtz/swmpc) into .agents/skills/modernize-tests in your project. Codex loads it when a task matches its description.

Can I use Modernize Tests in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add CamilleScholtz/swmpc --skill modernize-tests -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/modernize-tests, .gemini/skills/modernize-tests, .github/skills/modernize-tests and .opencode/skills/modernize-tests in your project.

What does Modernize Tests need to run?

SKILL.md names no scripts, command-line tools or credentials: Modernize Tests is instructions for the agent only.

Does Modernize Tests access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Modernize Tests safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Modernize Tests use?

Modernize Tests is published under the EUPL-1.2 licence (the repository's licence).

How many tokens does Modernize Tests use?

About 2.4k tokens (SKILL.md is roughly 9.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Modernize Tests?

Skills that share tags, products or a category with Modernize Tests: Uikit App Modernization (superagents-lab/xcode27-skills, 341 stars), Swift Testing (HoangNguyen0403/agent-skills-standard, 572 stars), Swift Testing (nimblehq/ios-templates, 110 stars) and Brooks Test (hyhmrright/brooks-lint, 1.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Modernize Tests?

CamilleScholtz (a GitHub user) maintains it in CamilleScholtz/swmpc, which has 239 GitHub stars. The repository holds 27 skills in this directory. The repository was last updated on October 6, 2026.

Source: CamilleScholtz/swmpc on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.