swiftship/internal/skills/data/features/user-assets/SKILL.md
Handle user-pasted images: install as app icons, add to asset catalogs as named image sets, or use as design references. Use when the user attaches images.
npx skillsauth add abdullah4ai/apple-developer-toolkit user-assetsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
When the user pastes images, determine what to do with each one and integrate it into the project.
Read the user's message and classify each image:
| Intent | Signals | Action |
|--------|---------|--------|
| Design reference | "make it look like this", "match this style", "here's a mockup" | Analyze visually to guide your code. Do NOT copy into the project. |
| App icon | "use this as the icon", "app icon", "this is the logo" | Copy to AppIcon.appiconset/, resize to platform size. See references/app-icon-installation. |
| In-app image | "add this image", "use this in the app", "background image", "splash" | Copy to Assets.xcassets/ as a named image set. See references/image-asset-integration. |
| Ambiguous | No clear signal | Default: treat as an in-app image asset. |
# Confirm file exists and get dimensions
sips -g pixelWidth -g pixelHeight /path/to/pasted/image.png
Follow the appropriate reference:
cp to copy into the project.cp, not mv — preserve the original in case the session needs it again.sips for all image operations — always available on macOS. No ImageMagick needed.logo.png, hero-background.png, not the temp filename.Image("name") for asset catalog images (no extension). Bundle.main.url(forResource:) for raw bundle resources.asset-management skillswiftui skilltesting
Use for 3D games: racing, 3D sports, board games, marble maze, tower defense, bowling. SceneKit + SceneView architecture, 3D scene hierarchy, physics, game loop, primitives, materials, cameras, particles, audio.
documentation
Game UI patterns: SwiftUI HUD overlays on SpriteKit, menus (main/pause/game-over), virtual joystick/d-pad, score displays, health bars, tutorial onboarding.
tools
Download free game sprites/textures/3D models and generate procedural assets. Covers nw_download_asset tool, texture factories, sprite atlas organization, 3D model loading, and programmatic asset creation.
testing
Use for 2D games: arcade, puzzle, sports, ping pong, platformer, shooter, 2D racing. SpriteKit + SpriteView architecture, scene hierarchy, physics, game loop, audio, particles, game feel.