/ios-skills:ios-design-stack Design a [screen] for [app]from ios-skills
Autonomous iOS design pipeline that designs screens in Pencil MCP following Apple HIG, reviews for taste, validates with XcodeBuildMCP, and iterates until passing all checks.
Ships in ios-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Autonomous iOS design pipeline. Give it a prompt, it designs, reviews, builds, and iterates until the result passes both taste and build checks.
Parse the user's prompt as the design brief. Then run this pipeline as a loop until the design passes all checks.
┌─────────────────────────────────────────────────┐
│ 1. SETUP Load tokens + guidelines │
│ 2. DESIGN Create screen in Pencil MCP │
│ 3. REVIEW Taste-check with Design Philosophy│
│ 4. BUILD Export SwiftUI, build, screenshot │
│ 5. VERIFY Compare screenshot to design │
│ 6. ITERATE Fix issues, loop to step 2 │
│ 7. DONE All checks pass │
└─────────────────────────────────────────────────┘
Load the iOS design skills in this repo:
Read: skills/ios-design-tokens/SKILL.md ← iOS HIG tokens (colors, type, spacing)
Read: skills/pencil-ios-design/SKILL.md ← Pencil MCP iOS workflow
Read: skills/design-philosophy/SKILL.md ← taste principles
Then initialize:
get_editor_state to check Pencil MCP is availableopen_document("new") or open existing .pen fileset_variables with iOS design tokens from ios-design-tokens skillget_guidelines(topic="mobile-app") for Apple HIG rulesIf the user specified an aesthetic (e.g., "dark, minimal, premium"):
5. Call get_style_guide_tags then get_style_guide(tags=[...]) to get style direction
Using the pencil-ios-design skill as your guide:
find_empty_space_on_canvas(width=393, height=852) for iPhone 15 Pro frame sizebatch_design to create the screen layout. Max 25 operations per call.Mandatory iOS rules:
Refer to the common screen patterns in pencil-ios-design for Login, Settings,
Detail, and other standard layouts.
Before building, taste-check the design. Ask these questions:
From the Design Philosophy skill:
If the design fails taste review, go back to Step 2 and simplify. Do NOT proceed to build until taste passes.
Export the design and validate it compiles:
xcodebuild buildxcrun simctl boot + install + launchxcodebuildmcp screenshotIf XcodeBuildMCP is not available, skip to Step 5 with the Pencil screenshot only.
Compare the build screenshot (or Pencil screenshot) against the design:
Call: get_screenshot(nodeId="frame-id")
Call: snapshot_layout(nodeId="frame-id", problemsOnly=true)
Call: search_all_unique_properties(nodeId="frame-id", properties=["fillColor", "fontFamily", "fontSize"])
Verification checklist:
If any checks fail:
Continue iterating until ALL checks pass.
When all checks pass, report:
DESIGN COMPLETE
Screen: [name]
Feeling: [one word]
Checks passed:
✓ Typography: SF Pro, iOS type scale
✓ Spacing: 8pt grid
✓ Colors: iOS semantic tokens
✓ Touch targets: ≥ 44pt
✓ Safe areas: respected
✓ Taste: [one sentence on why it passes]
✓ Build: compiles, zero warnings
✓ Screenshot: matches design intent
Files:
- [.pen file path]
- [.swift file path]
For fully autonomous iteration, wrap this skill in a Ralph Loop:
/ralph-loop "Run /ios-design-stack with this brief:
[USER'S DESIGN BRIEF HERE]
Success criteria:
- Design passes all verification checks
- Code compiles without warnings
- Screenshot matches design intent
- Taste check passes (would Apple ship this?)
Output <promise>DESIGN_COMPLETE</promise> when all checks pass." --max-iterations 15
The Ralph Loop will keep re-running the pipeline until it converges on a design that passes every check. Typical: 3-5 iterations for a simple screen.
| Tool | Source | Required? |
|---|---|---|
| Pencil MCP | pencil.dev | Yes — the design canvas |
| XcodeBuildMCP | getsentry/XcodeBuildMCP | Optional — for build validation |
| Ralph Loop | anthropics/claude-code | Optional — for autonomous iteration |
| Skill | What it does |
|---|---|
skills/design-philosophy/ | Taste principles — Dieter Rams, "less but better" |
skills/ios-design-tokens/ | iOS HIG tokens — typography, colors, spacing, radii |
skills/pencil-ios-design/ | iOS Pencil MCP workflow — how to design iOS screens |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jordancoin/ios-skills-collection --plugin ios-skills206 skills in this plugin
/aso-appstore-screenshotsGenerate high-converting App Store screenshots by analyzing your app's codebase, discovering core benefits, and creating ASO-optimized screenshot images using Nano Banana Pro./cleanseReview code for readability, then simplify it to be easy to follow and understand. Use this skill when the user wants to simplify code, improve readability, clean up for handoff, make code skimmable, reduce complexity, refactor for clarity, strip boilerplate, prepare code for future maintainers, or make a codebase easier to pick up. Trigger liberally — any request touching readability, simplification, cleanup, or "make this easier to understand" should use this skill. Also trigger when the user says things like "review this", "clean this up", "tidy this", "make this simpler", "reduce complexity", "flatten this", "strip the noise", or "I want to understand this code quickly next time I open it".
/critical-reasoningApply critical rationalist epistemology (Popper, Deutsch) to evaluate reasoning, identify errors, and refine understanding. Use when the user explicitly requests help with reasoning - phrases like "help me think this through", "does this make sense", "any flaws in this", "what am I missing", "critique this", "is this reasoning sound", "stress test this idea", "devil's advocate", or any request to evaluate arguments, identify logical problems, or improve thinking. Also use when errors in reasoning are significant enough to materially affect the user's goals, even if not explicitly requested./writing-for-interfacesUse when someone asks to write, rewrite, review, or improve text that appears inside a product or interface. Examples: "review the UX copy", "is there a better way to phrase this", "rewrite this error message", "write copy for this screen/flow/page", reviewing button labels, improving CLI output messages, writing onboarding copy, settings descriptions, or confirmation dialogs. Trigger whenever the request involves wording shown to end users inside software — apps, web, CLI, email notifications, modals, tooltips, empty states, or alerts. Also trigger for vague requests like "review the UX" where interface copy review is implied. Do NOT trigger for content marketing, blog posts, app store listings, API docs, brand guides, cover letters, or interview questions — this is a technical writing skill for interface language.
/arimunandar--code-review-checklistCode Review ChecklistComprehensive code review guidelines for iOS/Swift covering architecture, performance, security, and best practices/arimunandar--interview-patternsInterview PatternsBest practices for gathering requirements using AskUserQuestion before taking actionOther plugins' skills for the same job