gamekit — Claude Code skill: what it does, how to install
Guides Apple GameKit integration in Swift projects. Useful when implementing Game Center authentication, leaderboards, and achievements.
npx skills add dpearson2699/swift-ios-skills --skill gamekit -a claude-codeWhat gamekit does
The skill provides reference Swift patterns for integrating GameKit and Game Center services. It covers early player sign-in using GKLocalPlayer.local.authenticateHandler alongside player restriction checks for age and multiplayer permissions. Calling any GameKit API requires verifying isAuthenticated first.
Inside, it details how to manage GKAccessPoint, present GKGameCenterViewController, submit leaderboard entries, and report achievement increments. Specific leaderboard triggers via the access point require iOS 18+.
All leaderboard IDs and achievements must be set up in App Store Connect beforehand, or reporting calls will fail.
What it helps with
- authenticate local players and verify account restrictions
- configure and toggle GKAccessPoint across game scenes
- submit player scores and fetch leaderboard rankings
- report achievement progress using integer percentage values
Example prompts for the agent
- Show how to handle GKLocalPlayer authentication and restrictions in Swift
- Implement GKLeaderboard score submission with async/await
- Configure GKAccessPoint to display the Game Center dashboard
How to install gamekit
1Skills CLI (Vercel)
npx skills add dpearson2699/swift-ios-skills --skill gamekit -a claude-code2Manually: put the files in place
~/.claude/skills/gamekit/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/gamekit/
1Skills CLI (Vercel)
npx skills add dpearson2699/swift-ios-skills --skill gamekit -a codex2Manually: put the files in place
.agents/skills/gamekit/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add dpearson2699/swift-ios-skills --skill gamekit -a cursor2Manually: put the files in place
.cursor/skills/gamekit/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install dpearson2699/swift-ios-skills gamekit2Manually: put the files in place
.github/skills/gamekit/SKILL.md1Skills CLI (Vercel)
npx skills add dpearson2699/swift-ios-skills --skill gamekit -a gemini-cli2Platform CLI
gemini skills install https://github.com/dpearson2699/swift-ios-skills --path skills/gamekitManually: put the files in place
.devin/skills/gamekit/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add dpearson2699/swift-ios-skills --skill gamekit -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about gamekit
How to install gamekit in Claude Code?
Run npx skills add dpearson2699/swift-ios-skills --skill gamekit -a claude-code in your terminal.
What does the gamekit skill do?
It provides Swift implementations and rules for Game Center features, including player sign-in, access points, leaderboards, and achievements.
What is required before submitting scores or achievements?
Identifiers for each leaderboard and achievement must be configured in App Store Connect before your code submits data to them.