Generates an iOS repo's own ios-screen-creator + ios-component-checker skills: "iOS 화면 생성 스킬 이 레포에 맞게 만들어줘". Not an app scaffold. Discovers THIS repo's real SwiftUI conventions (XcodeGen, Tuist or xcodeproj, SPM targets, concurrency settings, @Observable models, navigation, URLSession clients, DesignSystem components and styles) and harvests the design already hardcoded in Swift into docs/design-system/mobile/, iOS sections only. Use for "set up ios-screen-creator here", "SwiftUI 컴포넌트 공통화 스킬 깔아줘", "iOS 화면 스킬이랑 컴포넌트 점검 스킬 한번에 만들어줘", "bootstrap the iOS screen + component skills for apps/mobile/ios". Do NOT use to build or audit a screen right now (the generated ios-screen-creator / ios-component-checker), to scaffold an iOS app (ios-bootstrap), for Next.js (screen-creator-bootstrap), for Android (android-screen-creator-bootstrap), to import a design system from references (native-design-system-import; design-system-import is web), for the whole bootstrap chain (project-setup), or to edit skills (skill-ops).
Ships in mobile. 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.
Read when SKILL.md points to them.
Generates a pair of iOS skills tailored to the repository it runs in: ios-screen-creator (builds a
new SwiftUI screen through four approval gates) and ios-component-checker (audits existing views for
duplication, design-token drift and commonization). Both come from one discovered recipe, and the
checker points at the screen creator's quality rules instead of copying them, so the two never drift.
It is the native twin of screen-creator-bootstrap (Next.js), and android-screen-creator-bootstrap is
its Android sibling.
Each generated skill is two layers welded together:
ponytail:), leaf-first build order, a drift scan, a render
ladder (screenshot tests, simulator or ImageRenderer, compile-only), and Brief-by-default output.
It ships in assets/template/ and is copied almost verbatim.The biggest failure is inventing conventions the project does not use. Two SwiftUI apps disagree on
almost everything that matters (MV vs @Observable models vs TCA, a Route enum vs bare stacks, one
package vs ten targets), and a skill that guesses produces screens that look foreign in their own
codebase. So discovery reads real code, and nothing is written until the recipe is confirmed.
| what | value | |
|---|---|---|
REPO_ROOT | where the skills are installed | always <repo root>/.claude/skills/<name>/. Nested apps/*/.claude/skills is never loaded |
IOS_ROOT | what the skills learn from | apps/mobile/ios (what ios-bootstrap makes in a monorepo) or . standalone; detected, never assumed |
In a monorepo the pair lives at the repo root and its scripts point into IOS_ROOT. Detect IOS_ROOT
by looking for apps/mobile/ios, then project.yml (XcodeGen), Project.swift (Tuist), *.xcodeproj,
and Packages/*/Package.swift / Package.swift. More than one app (two project roots) is a B2
question, never a silent pick: a pair generated against the wrong app is wrong in every field at once.
GATE B1 Discover read the target, fill the profile, run the verify commands once
GATE B2 Confirm show the profile, interview the gaps, get approval (stop and wait)
GATE B3 Generate copy the machine, fill the recipe, write the iOS docs, self-verify
Hard block: write nothing into the target before B2 is approved: not .claude/skills/, not
docs/design-system/mobile/, not .codex/. Before B2 only reading, searching, and the probes discovery
runs (each verify command once, a simulator this run creates for the test command). Whatever those probes
leave (.build/, a generated .xcodeproj) is listed in the B2 recap. A re-run is no exception: B1
snapshots into a temp file and evals/check.sh writes nothing; the Refresh rewrites the installed
snapshot only after B2 approval.
ls -d .claude/skills/ios-screen-creator .claude/skills/ios-component-checker docs/design-system/mobile 2>/dev/null
None exists: first run, continue. If either skill exists, stop and report before anything else: does it
still hold a SKILL.md.tpl or a {{ (never finished), what does its Appendix A provenance line say, and does
git status --porcelain .claude/skills/ios-screen-creator .claude/skills/ios-component-checker show
local edits (the strongest sign someone works in there by hand; a target that is not a git repo skips
this signal).
SKILL.md.tpl is still there):
say so, run the normal first-run copy for that one and Refresh the other, in every run mode.docs/design-system/mobile/ exists: a first run. The folder's only consequence is the marker
rule (B3 fills TODO(ios) parts only).Otherwise ask, and wait (a blocking question, not a B2 batch item, because the wrong answer deletes work). Non-interactive or pre-approved (the B2 "Which run am I in?" table decides it here too): do not ask; take Refresh only, never Regenerate, and say so in the Brief.
| choice | what happens |
|---|---|
Refresh only (the default; the pair "works" when bash <this skill>/evals/check.sh <repo root> passes, and when it fails its FAIL lines are what the Refresh ports) | two directions, both required: re-measure the repo into the snapshot and Appendix A, and port the machine deltas the template gained since (evals/check.sh <target> diffs the machine half against the template). It goes through B2 like a first run: the recap lists the regions to rewrite and the deltas to port, then approval. Recipe in generation-guide.md "Re-run first" |
| Regenerate | full re-copy of both skills. Say that hand edits are lost, and confirm the tree is committed first |
| Stop | report the current state and exit |
docs/design-system/mobile/ is never overwritten on any choice: only iOS parts still holding TODO(ios)
get filled.
PROJECT_ROOT=<repo root> SNAPSHOT_OUT=<scratch>/ios-context.md bash <this skill>/assets/template/scripts/update-skill-context.sh
(it calls scan-drift.sh beside it). Without SNAPSHOT_OUT it would write into this skill's own
directory. It gives targets, isolation per target, navigation, the shared-UI inventory with use counts,
same-named views in two targets, models, clients, drift counts and the Scale table, so the reads below
start from facts. Then read project.yml / Project.swift and the Package.swift files it points at.ds token with its use count; check one or two counts by hand). The counts are load-bearing: the
generated skill's one promotion rule (template section 5.2) and the checker's inventory-drift check
measure against them. Section 5's same-named views are duplicates already.absent / detected-thin /
detected; system colors alone are absent) and the applied design (none / harvestable): run
the scans in references/design-harvest.md (raw Color(red:) and hex
inits, named system colors used as brand, numeric padding / spacing / radius, .system(size:),
repeated modifier chains, variant vocabulary). Two or more files sharing a raw value makes it
harvestable. Also read which parts of docs/design-system/mobile/ still hold TODO(ios), and whether
the web docs/design-system/ exists (an input for brand values, never written).DEVELOPER_DIR set when xcode-select
points at CommandLineTools, logs under IOS_ROOT/.build/, never piped. Take git status --porcelain
before and after: a probe can rewrite a tracked Package.resolved or a committed project file, and
the difference goes into the B2 recap. Record declared vs observed
with the date. Install nothing to make a command pass; a failing command is a precondition for the
Brief. For xcodebuild test, create a simulator (xcrun simctl create), boot it by UDID, delete it
afterwards; never boot, shut down or reconfigure a device this run did not create.simctl ui options present,
snapshot tests present, how a screen is reached. Record the rung today, its condition, the read-only
check that voids it, and the rung once cleared.detected (with file:line), uncertain (2 or 3 candidates seen),
assumed (no evidence and a real choice), or N/A (nothing to decide). Keep Findings (defects:
wrong, not conventional) in a separate list: never fix them, never copy them.Stop when every field is filled and every convention has a citation. The inventory lists shared UI, not every view in the app.
Three starting points, each with its own provenance sentence (generation guide, {{RECIPE_PROVENANCE}}):
detected wherever code shows them.ios-bootstrap seed: one screen with its model, client and test in AppFeature, a
bare NavigationStack, and a DesignSystem target only if a design-system import wrote one): that
screen is real code, so its model shape, DI, client, fake and test style are detected from it, as are
the tokens of a DesignSystem target; everything no code demonstrates (navigation, failed and empty
states, DTO decoding, tokens or their use on a screen, localization) comes from
references/ios-baseline.md as assumed.assumed from the
baseline.assumed fields are interviewed at B2 with the baseline first. Quote whether each default is house
(what ios-bootstrap scaffolds) or a best-practice fill; never present a fill as observed. The
generated Appendix A says assumed and why, never a pointer into the baseline.
Not the house shape: a UIKit-first app, a TCA app, or a Tuist workspace still gets the portable
machine (gates, reuse scan, leaf-first order, drift scan, render ladder). Say at B2 which machine rules
change meaning (a TCA reducer plays the model's role; a UIKit screen has no #Preview unless wrapped)
and write Appendix A in the project's own vocabulary. A project with no SwiftUI at all: say the
generated skill would fight it, and offer to stop.
detected fields: one compact table (field, value, file:line). Not interviewed.uncertain / assumed fields: one multiple-choice question each, first option the recommended
default (labelled), plus one line on why it is undetermined. Where a structured question tool exists
(AskUserQuestion), batch up to 4 fields per call; otherwise ask the same numbered questions in plain
text.Which run am I in? Decide mechanically, before asking anything:
| test | you are | what to do |
|---|---|---|
| a human is there to answer and the prompt did not pre-approve | interactive | ask the batched questions, then stop and wait. Write nothing |
| nobody is there to answer (headless, cron, subagent), or a question comes back with nothing usable | non-interactive | do not ask, do not stop: take every recommended default, tag it assumed, generate, list every auto-decision in the Brief |
| the prompt already granted approval ("기본값으로 진행해", "all defaults, go", "질문 없이") | pre-approved | same as non-interactive |
Ending a non-interactive run on a question is a failure, not caution: nobody answers, and the run produces no skill. Non-interactive means no human present, not "this runtime lacks a question tool". One exception to taking defaults: in a non-interactive run a contrast replacement question resolves to the passing token the code already defines for that role, or to "leave it unset" when there is none (design-harvest.md), because a new color the team lives with is not a default to take alone.
The recap always surfaces, because they change files outside the generated skills:
docs/design-system/mobile/ will be seeded from the template or already
exists, and exactly which iOS parts will be filled (tokens.md ### iOS, iOS columns, migration.md
## iOS). Shared and Android parts are never touched.#F2F5FA in 2 files proposed as Color.dsSurfaceSecondary)..secondary or system red for
body text: they measure 3.44:1 and 3.55:1 on white), and the mandatory "leave it unset" option. A token with no value in code at all stays a note for
the first real surface; inventing a color is designing, not harvesting..codex/skills link when Codex is present.git status --porcelain difference across the probes (.build/ logs, a
generated .xcodeproj, a rewritten Package.resolved), and the simulator created and deleted.IOS_ROOT the pair is for, if discovery found more than one.Then show the final recap and ask for the go-ahead. Interactive only: wait for an explicit approval ("진행해", "go"); "shall I generate?" is a question, not an answer.
Follow references/generation-guide.md; in short:
assets/template/ to <repo root>/.claude/skills/ios-screen-creator/ and
assets/template-component-checker/SKILL.md.tpl to <repo root>/.claude/skills/ios-component-checker/,
keeping the .tpl names. Use cp, never Read-then-Write. On Refresh only, copy only a member B1.0
found missing or unfinished.IOS_ROOT_FIXED, DS_DIRS, FOUNDATION_TARGETS,
ROOT_TARGETS, EXEMPT), then run the installed snapshot: the slots quote its sections. There is
no package manifest to wire: the snapshot command is the bash line itself..tpl files from the same recipe, in this
project's vocabulary. Every Appendix A sentence is cited (file:line) or tagged assumed;
measurements carry the snapshot row they expire against; Findings get their own section. Only then
rename each SKILL.md.tpl to SKILL.md: a half-filled skill never appears in a session.docs/design-system/mobile/ from
../native-design-system-import/assets/template-design-system/ when the folder is absent, then fill
only parts holding TODO(ios). The bootstrap writes the backlog and never applies it: that is
ios-component-checker's Step 4, under approval..codex/ exists or codex is on PATH, mkdir -p .codex && ln -sfn ../.claude/skills .codex/skills.bash <this skill>/evals/check.sh <repo root> for the mechanical half, then the judgement checklist
in the generation guide section 6.Report the Brief (generation guide section 7): both skill paths, conventions tuned to, every
assumed field and deferred decision, what was written under docs/design-system/mobile/ with the
harvest numbers and backlog size (input to ios-component-checker), the observed verify table with
failing commands as preconditions, the render rung with its condition, Findings, and every file written
outside .claude/skills/.
<repo root>/
├── .claude/skills/
│ ├── ios-screen-creator/
│ │ ├── SKILL.md machine + Appendix A
│ │ ├── scripts/update-skill-context.sh snapshot (tailoring block only)
│ │ ├── scripts/scan-drift.sh drift report: RULE<TAB>path:line<TAB>snippet, "# total N"
│ │ └── assets/
│ │ ├── codebase-context.md written by the snapshot
│ │ ├── plan-format.md copied verbatim: the detailed Gate 2
│ │ ├── gate4-recipes.md copied verbatim: running commands, render rungs
│ │ ├── ui-defaults.md copied verbatim
│ │ └── visual-defect-checklist.md copied verbatim
│ └── ios-component-checker/
│ └── SKILL.md audit machine + Appendix A; reuses the scripts above
└── docs/design-system/mobile/ shared with Android; iOS parts only, by TODO(ios) marker
ios-bootstrap -> ios-screen-creator-bootstrap -> ios-screen-creator (build screens)
(scaffold) (this skill) ios-component-checker (audit)
native-design-system-import: references to tokens, writes the DesignSystem code and shared docs
feature-builder / spec-implementer: dispatch ios-screen-creator for tasks classified `ios`
ios-bootstrap's shape (XcodeGen, Packages/ with
Core / AppFeature / AppFeatureTests, bare NavigationStack, no DesignSystem) is the expected
discovery result; if the repo differs, follow the repo.native-design-system-import, not here. This skill documents what the
code already does and proposes names; the generated screen creator builds components one real screen
at a time.ios-screen-creator speaks the orchestrator contract: plan round ("GATE 1-2 only"),
build round ("GATE 1-2 are done"), and an optional API contract from a preceding backend task.assets/template-component-checker/SKILL.md.tpl (opens in a new tab)assets/template/SKILL.md.tpl (opens in a new tab)assets/template/assets/gate4-recipes.md (opens in a new tab)assets/template/assets/plan-format.md (opens in a new tab)assets/template/assets/ui-defaults.md (opens in a new tab)assets/template/assets/visual-defect-checklist.md (opens in a new tab)assets/template/scripts/scan-drift.sh (opens in a new tab)assets/template/scripts/update-skill-context.sh (opens in a new tab)evals/behavior.sh (opens in a new tab)evals/check-template.sh (opens in a new tab)evals/check.sh (opens in a new tab)evals/fixtures/ios-sandbox.sh (opens in a new tab)evals/trigger-eval.json (opens in a new tab)references/design-harvest.md (opens in a new tab)references/discovery-checklist.md (opens in a new tab)references/generation-guide.md (opens in a new tab)references/ios-baseline.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/mobile:ios-screen-creator-bootstrapfrom mobile
npx claudepluginhub siu9068/ggyul-skills --plugin mobileOther plugins' skills for the same job
10 skills in this plugin
/android-bootstrapScaffolds a native Android app (Kotlin, Compose, AGP 9) from zero, standalone or apps/mobile/android in a monorepo. Not for iOS. House convention: Gradle 9 + version catalog, Compose Material3, Navigation 3, Hilt/KSP, Retrofit + kotlinx.serialization, Room + DataStore, ViewModel + StateFlow, JUnit/Turbine, ktlint, a seeded /ping status screen. Use when the user wants to start, set up or scaffold a new Android or Kotlin app: "안드로이드 앱 세팅해줘", "코틀린 컴포즈 프로젝트 만들어줘", "apps/mobile/android 만들어줘", "bootstrap an Android app", "set up a Jetpack Compose project in our monorepo". Do NOT use for: an iOS or Swift app (ios-bootstrap), a whole project or two or more bootstrap legs in one ask like backend + web + mobile (project-setup), adding a screen or feature to an existing Android app (android-screen-creator) or generating that skill (android-screen-creator-bootstrap), a theme from design references (native-design-system-import), React Native, Flutter or Kotlin Multiplatform, or a Next.js web frontend (nextjs-bootstrap)./android-screen-creator-bootstrapGenerates an Android repo's own android-screen-creator + android-component-checker pair from its real Compose code. Not for scaffolding. Android twin of screen-creator-bootstrap: discovers THIS Kotlin + Compose repo's conventions (modules, Nav3 or Nav2, Hilt, ViewModel and UiState, stateful/stateless split, Retrofit DTOs, theme, shared composables, tests, Gradle verify chain) and welds them into a gated screen builder and a composable auditor, harvesting design hardcoded in Kotlin (Color(0x..), raw dp) into the Android sections of docs/design-system/mobile/. Use for "안드로이드 화면 생성 스킬 이 레포에 맞게 만들어줘", "set up android-screen-creator here", "컴포즈 컴포넌트 공통화 스킬 만들어줘". Do NOT use to scaffold an app (android-bootstrap), for Next.js (screen-creator-bootstrap) or iOS (ios-screen-creator-bootstrap), to import a design reference (native-design-system-import, design-system-import), for a whole new project (project-setup), to build a screen now (the generated android-screen-creator), or to edit skills (skill-ops).