Adds Game Center integration to iOS games with player authentication, leaderboards, achievements, and multiplayer matchmaking. Covers both real-time and turn-based multiplayer, the access point widget, and dashboard presentation. The authentication flow is straightforward but requires checking player restrictions like age and multiplayer gaming limits. Leaderboard submissions are async and support both classic and recurring types. Achievement progress only moves forward, never backward. The multiplayer implementation uses peer-to-peer connections through GKMatch. Good reference if you're wiring up Game Center for the first time and need the boilerplate without digging through Apple's docs.

skills.sh installs
3.3K
GitHub stars
1.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill gamekit --agent claude-code

Installs into .claude/skills of the current project.

Files

GameKit

Use GameKit for Game Center authentication, competition, matchmaking, social surfaces, and saved-game handoffs; keep rendering, board logic, and full SharePlay group-activity design in their owning framework skills.

Contents

Authentication

All GameKit features require the local player to authenticate first. Set the authenticateHandler on GKLocalPlayer.local early in the app lifecycle. GameKit calls the handler multiple times during initialization.

import GameKit

Sponsors

Details

Repository
github.com/dpearson2699/swift-ios-skills
Categories
Backend & APIs, Mobile Development, Game Development
First seen
May 16, 2026

More from dpearson2699/swift-ios-skills

All 98
1netlify avatarnetlify-image-cdnnetlify/context-and-toolsGuide for using Netlify Image CDN for image optimization and transformation. Use when serving optimized images, creating responsive image markup, setting up use3.3Kskills.sh installs
2przeprogramowani avatar10x-cli-setupprzeprogramowani/10x-cliALWAYS invoke this skill when the user mentions 10x-cli, @przeprogramowani/10x-cli, the 10xDevs CLI, or the 10xDevs course environment in a setup context. This 3.3Kskills.sh installs
3okx avatarokx-dex-socialokx/onchainos-skillsSurfaces social-layer signals for crypto markets. Three capability groups: news (latest aggregated crypto news feed, filter articles by coin symbol, run full-te3.3Kskills.sh installs
4google-deepmind avatarliterature-search-openalexgoogle-deepmind/science-skillsQuery the OpenAlex scholarly database for research papers, authors, institutions, topics, sources, publishers, funders, geo-locations, and keywords. Use when se3.2Kskills.sh installs
5netlify avatarnetlify-identitynetlify/context-and-toolsUse when the task involves authentication, user signups, logins, password recovery, OAuth providers, role-based access control, or protecting routes and functio3.2Kskills.sh installs
6longbridge avatarlongbridge-contentlongbridge/skillsLatest news articles, regulatory filings, community discussion topics for listed stocks, and SEC EDGAR filing analysis (10-K/10-Q/8-K/proxy/Form 4) via Longbrid3.2Kskills.sh installs