macos-game-testing
Test the Nathaniel macOS game. Use when asked to test the macOS version, verify changes work on Mac, run sanity tests on desktop, or when the user says "test macOS", "run on mac", "verify mac build".
Security Assessment
About macos-game-testing
The macos-game-testing skill is designed to facilitate the testing of the Nathaniel SpriteKit game on macOS. It solves the problem of testing macOS builds by leveraging the GameCommandServer HTTP API to interact with the game, perform tests, and verify changes. Unlike iOS simulators, macOS SpriteKit games do not have reliable external UI automation tools, which is why this skill focuses on interacting directly with the game through the GameCommandServer API. This allows testers to perform various actions such as navigating menus, interacting with gameplay, and taking screenshots without relying on the traditional UI automation tools.
The skill primarily supports testing features through HTTP API calls, which include retrieving the game state, interacting with in-game elements, and executing named actions. Key functions include navigating through the game menus, retrieving interactive nodes, performing clicks based on custom scene coordinates, and obtaining screenshots. XcodeBuildMCP is used for building, running, and stopping the game app, while GameCommandServer handles interactions with the game itself. This skill provides a streamlined and automated approach to testing, ensuring consistency and reliability across different builds.
Target users of this skill include quality assurance (QA) engineers, game developers, and testers who need to automate macOS game testing. It is particularly useful for teams developing SpriteKit games on macOS, enabling them to test gameplay features, check for bugs, and ensure the game works as intended after each build. With its simplicity and direct interaction with the game, it offers a reliable solution for macOS game testing that integrates smoothly into a development workflow.
FAQ
How do I use the macos-game-testing skill?
To use this skill, start by building and running the macOS app using the XcodeBuildMCP commands. Once the app is running, you can interact with the game through the GameCommandServer API by sending HTTP requests for various actions, such as retrieving the game state, navigating menus, or performing specific game interactions like moving characters or taking screenshots.
What tools are required for this skill?
This skill requires several tools including Bash, Grep, Glob, and XcodeBuildMCP commands. The XcodeBuildMCP tools are used for building, running, and managing the macOS app, while the GameCommandServer API handles the interaction with the game itself.
Is this skill compatible with all macOS games?
No, this skill is specifically designed for testing the Nathaniel SpriteKit game on macOS. It relies on the GameCommandServer API, which is built into this specific game, and therefore, is not applicable to all macOS games.
What are the limitations of this skill?
The main limitation is that it is designed exclusively for testing the Nathaniel SpriteKit game on macOS. It cannot be used for testing other games or applications that do not use the GameCommandServer API. Additionally, the skill relies on XcodeBuildMCP for building and running the app, so the correct setup of Xcode and project files is required.
Can this skill take screenshots of the game?
Yes, this skill can capture screenshots of the game using the GameCommandServer API. The screenshots are obtained in base64 format and can be saved as PNG files for visual verification.
Install macos-game-testing
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
ruarfff/Nathaniel