Hig Project Context
raintree-technology/hig-doctor
Create or update a shared Apple design context document that other HIG skills use to tailor guidance.
A skill your agent uses when writing, reviewing, or refactoring SwiftUI code for iOS or macOS, including state management, view composition, performance, Liquid Glass adoption, or Instruments .trace…
$ npx skills add omarshahine/HomeClaw --skill swiftui-expert-skill -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install omarshahine/HomeClaw swiftui-expert-skill --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/omarshahine/HomeClaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/swiftui-expert-skill .claude/skills/swiftui-expert-skill && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "swiftui-expert-skill" agent skill from https://github.com/omarshahine/HomeClaw/tree/main/.claude/skills/swiftui-expert-skill into .claude/skills/swiftui-expert-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swiftui-expert-skill", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/omarshahine/HomeClaw/tree/main/.claude/skills/swiftui-expert-skillType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add omarshahine/HomeClaw --skill swiftui-expert-skill -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install omarshahine/HomeClaw swiftui-expert-skill --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/omarshahine/HomeClaw.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/swiftui-expert-skill .agents/skills/swiftui-expert-skill && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "swiftui-expert-skill" agent skill from https://github.com/omarshahine/HomeClaw/tree/main/.claude/skills/swiftui-expert-skill into .agents/skills/swiftui-expert-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swiftui-expert-skill", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add omarshahine/HomeClaw --skill swiftui-expert-skill -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install omarshahine/HomeClaw swiftui-expert-skill --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/omarshahine/HomeClaw.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/swiftui-expert-skill .cursor/skills/swiftui-expert-skill && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "swiftui-expert-skill" agent skill from https://github.com/omarshahine/HomeClaw/tree/main/.claude/skills/swiftui-expert-skill into .cursor/skills/swiftui-expert-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swiftui-expert-skill", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/omarshahine/HomeClaw.git --path .claude/skills/swiftui-expert-skill--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add omarshahine/HomeClaw --skill swiftui-expert-skill -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install omarshahine/HomeClaw swiftui-expert-skill --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/omarshahine/HomeClaw.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/swiftui-expert-skill .gemini/skills/swiftui-expert-skill && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "swiftui-expert-skill" agent skill from https://github.com/omarshahine/HomeClaw/tree/main/.claude/skills/swiftui-expert-skill into .gemini/skills/swiftui-expert-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swiftui-expert-skill", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install omarshahine/HomeClaw swiftui-expert-skillInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add omarshahine/HomeClaw --skill swiftui-expert-skill -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/omarshahine/HomeClaw.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/swiftui-expert-skill .github/skills/swiftui-expert-skill && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "swiftui-expert-skill" agent skill from https://github.com/omarshahine/HomeClaw/tree/main/.claude/skills/swiftui-expert-skill into .github/skills/swiftui-expert-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swiftui-expert-skill", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add omarshahine/HomeClaw --skill swiftui-expert-skill -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install omarshahine/HomeClaw swiftui-expert-skill --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/omarshahine/HomeClaw.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/swiftui-expert-skill .opencode/skills/swiftui-expert-skill && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "swiftui-expert-skill" agent skill from https://github.com/omarshahine/HomeClaw/tree/main/.claude/skills/swiftui-expert-skill into .opencode/skills/swiftui-expert-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swiftui-expert-skill", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
swiftui-expert-skillA skill your agent uses when writing, reviewing, or refactoring SwiftUI code for iOS or macOS, including state management, view composition, performance, Liquid Glass adoption, or Instruments .trace…
Swiftui Expert Skill is an agent skill from omarshahine/HomeClaw. Use when writing, reviewing, or refactoring SwiftUI code for iOS or macOS, including state management, view composition, performance, Liquid Glass adoption, or Instruments .trace capture/analysis for hangs, hitches, CPU hotspots, or excessive view updates.
Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 39 other files, including scripts and reference files (for example `references/accessibility-patterns.md`, `references/animation-advanced.md` and `references/animation-basics.md`).
It sits in Mobile, covering iOS development. It works with SwiftUI, macOS and iOS. The repository describes itself as: HomeKit smart home control via MCP — lights, locks, thermostats, and scenes for Claude Desktop, Claude Code, and OpenClaw. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit da69700. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/, which the agent can run.
Shell commands in SKILL.md call:
python3From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Swiftui Expert Skill loads about 2.8k tokens when it runs, and up to ~62k if it reads all its reference files. Until then it costs about 70 tokens; SKILL.md has 1,097 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from omarshahine/HomeClaw at commit da69700, republished under its MIT licence (© omarshahine). 1,097 words, ~2,774 tokens.
.claude/skills/swiftui-expert-skill/SKILL.md (or your agent's skills folder). This skill also uses 38 other files; get the full folder from GitHub.references/latest-apis.md at the start of every task to avoid deprecated APIsreferences/liquid-glass.md)#available gating with sensible fallbacks for version-specific APIsreferences/latest-apis.md)#available gating and fallback paths for iOS 26+ featuresreferences/latest-apis.mdUIImage(data:) is encountered (optional optimization, see references/image-optimization.md)Button for all tappable elements; add accessibility grouping and labels#available and provide fallbacksTrigger when the user asks to "record a trace", "profile the app", "capture a session", etc. Full reference: references/trace-recording.md.
python3 "${SKILL_DIR}/scripts/record_trace.py" --list-devicesSwiftUI template populates the SwiftUI lane on any real device: a physical iOS/iPadOS device or the host Mac. The only exception is the iOS Simulator, where the SwiftUI lane comes back empty — switch to --template "Time Profiler" in that case (still gives Time Profiler + Hangs + Animation Hitches). Always check --list-devices: simulators kind → Time Profiler; devices kind (real devices and the host Mac) → default SwiftUI. Full decision table in references/trace-recording.md.python3 "${SKILL_DIR}/scripts/record_trace.py" \
--device "<name|udid>" --attach "<AppName>" \
--stop-file /tmp/stop-trace --output ~/Desktop/session.tracetouch /tmp/stop-trace. The script cleanly SIGINTs xctrace and waits up to 60s for finalisation..trace provided)Trigger whenever the user's request references a .trace file. A target SwiftUI source file is optional — if given, cite specific lines; if not, recommend where to look based on view names and symbols the trace already reveals.
Full reference: references/trace-analysis.md. Summary of the composition pattern:
# Find a log that marks the start/end of the region of interest:
python3 "${SKILL_DIR}/scripts/analyze_trace.py" --trace <path> \
--list-logs --log-message-contains "loaded feed" --log-limit 5
# Or list os_signpost intervals (paired begin/end), filterable by name:
python3 "${SKILL_DIR}/scripts/analyze_trace.py" --trace <path> \
--list-signposts --signpost-name-contains "ImageDecode"--window START_MS:END_MS to scope discovery. Pick the time_ms (for logs) or start_ms/end_ms (for signposts) that match the user's description. Build a window like --window 10400:11700.--window):python3 "${SKILL_DIR}/scripts/analyze_trace.py" --trace <path> \
--json-only --top 10 [--window START_MS:END_MS]references/trace-analysis.md — key diagnostics:main_running_coverage_pct inside each correlation (<25% = blocked; ≥75% = CPU-bound).swiftui-causes.top_sources reveals why updates keep happening — high-edge-count sources like UserDefaultObserver.send() or wide EnvironmentWriter entries are structural invalidation bugs. Fixing one often collapses many downstream hot views.--fanin-for "<view name>" to get the ranked list of source nodes driving the updates.Consult the reference file for each topic relevant to the current task:
| Topic | Reference |
|---|---|
| State management | references/state-management.md |
| View composition | references/view-structure.md |
| Performance | references/performance-patterns.md |
| Lists and ForEach | references/list-patterns.md |
| Layout | references/layout-best-practices.md |
| Sheets and navigation | references/sheet-navigation-patterns.md |
| ScrollView | references/scroll-patterns.md |
| Focus management | references/focus-patterns.md |
| Animations (basics) | references/animation-basics.md |
| Animations (transitions) | references/animation-transitions.md |
| Animations (advanced) | references/animation-advanced.md |
| Accessibility | references/accessibility-patterns.md |
| Swift Charts | references/charts.md |
| Charts accessibility | references/charts-accessibility.md |
| Image optimization | references/image-optimization.md |
| Liquid Glass (iOS 26+) | references/liquid-glass.md |
| macOS scenes | references/macos-scenes.md |
| macOS window styling | references/macos-window-styling.md |
| macOS views | references/macos-views.md |
| Text patterns | references/text-patterns.md |
| Deprecated API lookup | references/latest-apis.md |
| Instruments trace analysis | references/trace-analysis.md |
| Instruments trace recording | references/trace-recording.md |
These are hard rules -- violations are always bugs:
@State properties are private@Binding only where a child modifies parent state@State or @StateObject (they ignore updates)@StateObject for view-owned objects; @ObservedObject for injected@State with @Observable; @Bindable for injected observables needing bindingsForEach uses stable identity (never .indices for dynamic content)ForEach element.animation(_:value:) always includes the value parameter@FocusState properties are private@FocusState writes inside tap gesture handlers on .focusable() views#available and fallback providedimport Charts present in files using chart typesreferences/latest-apis.md -- Read first for every task. Deprecated-to-modern API transitions (iOS 15+ through iOS 26+)references/state-management.md -- Property wrappers, data flow, @Observable migrationreferences/view-structure.md -- View extraction, container patterns, @ViewBuilderreferences/performance-patterns.md -- Hot-path optimization, update control, _logChanges()references/list-patterns.md -- ForEach identity, Table (iOS 16+), inline filtering pitfallsreferences/layout-best-practices.md -- Layout patterns, GeometryReader alternativesreferences/accessibility-patterns.md -- VoiceOver, Dynamic Type, grouping, traitsreferences/animation-basics.md -- Implicit/explicit animations, timing, performancereferences/animation-transitions.md -- View transitions, matchedGeometryEffect, Animatablereferences/animation-advanced.md -- Phase/keyframe animations (iOS 17+), @Animatable macro (iOS 26+)references/charts.md -- Swift Charts marks, axes, selection, styling, Chart3D (iOS 26+)references/charts-accessibility.md -- Charts VoiceOver, Audio Graph, fallback strategiesreferences/sheet-navigation-patterns.md -- Sheets, NavigationSplitView, Inspectorreferences/scroll-patterns.md -- ScrollViewReader, programmatic scrollingreferences/focus-patterns.md -- Focus state, focusable views, focused values, default focus, common pitfallsreferences/image-optimization.md -- AsyncImage, downsampling, cachingreferences/liquid-glass.md -- iOS 26+ Liquid Glass effects and fallback patternsreferences/macos-scenes.md -- Settings, MenuBarExtra, WindowGroup, multi-windowreferences/macos-window-styling.md -- Toolbar styles, window sizing, Commandsreferences/macos-views.md -- HSplitView, Table, PasteButton, AppKit interopreferences/text-patterns.md -- Text initializer selection, verbatim vs localizedreferences/trace-analysis.md -- Parse Instruments .trace files via scripts/analyze_trace.py; interpret main-thread coverage, high-severity SwiftUI updates, hitch narratives, and map findings back to source filesreferences/trace-recording.md -- Record a new trace via scripts/record_trace.py: attach to a running app, launch one fresh, or capture a manually-stopped session; supports stop-file for agent-driven flows© omarshahine, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 38 other files (scripts, references) in .claude/skills/swiftui-expert-skill of omarshahine/HomeClaw.
Open the folder on GitHubat commit da69700
We found 10 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 4 other GitHub owners. This page covers the copy in omarshahine/HomeClaw, which our catalogue first saw on October 8, 2026.
Swiftui Expert Skill next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Swiftui Expert Skill this skillomarshahine/HomeClaw | 175 | 4 repos | ~2.8k | Automated safety check: Pass | MIT | |
| Hig Project Contextraintree-technology/hig-doctor | 143 | 5 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Swiftui Expert SkillEslzzyl/Pixiv-SwiftUI | 111 | 1 repos | ~2.9k | Automated safety check: Pass | AGPL-3.0 | |
| Hig Components Contentraintree-technology/hig-doctor | 143 | 5 repos | ~1.3k | Automated safety check: Pass | MIT | |
| SwiftUI Design SkillWholiver/swiftui-design-skill | 204 | — | ~2.8k | Automated safety check: Pass | MIT | |
| Swiftui Backportsshaps80/SwiftUIBackports | 1.1k | — | ~604 | Automated safety check: Pass | MIT |
raintree-technology/hig-doctor
Create or update a shared Apple design context document that other HIG skills use to tailor guidance.
Eslzzyl/Pixiv-SwiftUI
A skill your agent uses when writing, reviewing, or refactoring SwiftUI code for iOS or macOS, including state and @Observable data flow, view composition, resizable layouts, safe areas, display…
raintree-technology/hig-doctor
Apple Human Interface Guidelines for content display components.
Wholiver/swiftui-design-skill
Guides the agent to design distinctive SwiftUI interfaces for iOS and macOS, with six anti-generic rules, a design direction workflow and a five-dimension review.
shaps80/SwiftUIBackports
Find SwiftUIBackports replacements for SwiftUI APIs unavailable on a project deployment target.
gaixianggeng/mimi-remote
安装、配置、配对、迁移、升级、诊断、回滚或卸载 Mimi Remote;在 macOS 上安装和维护 Mimi Remote Mac 菜单栏 App / DMG,或通过 Homebrew、Linux user-systemd 部署 agentd;从源码构建 iPhone/iPad App;配置 Codex 主通道和可选 Claude Code 实验 Runtime。用户提出“安装 Mimi…
omarshahine/HomeClaw
Analyze Swift Package Manager dependencies, package plugins, module variants, and CI-oriented build overhead that slow Xcode builds.
omarshahine/HomeClaw
Benchmark Xcode clean and incremental builds with repeatable inputs, timing summaries, and timestamped .build-benchmark/ artifacts.
omarshahine/HomeClaw
Apply approved Xcode build optimization changes following best practices, then re-benchmark to verify improvement.
omarshahine/HomeClaw
Orchestrate Xcode build optimization by benchmarking first, running the specialist analysis skills, prioritizing findings, requesting explicit approval, delegating approved fixes to…
omarshahine/HomeClaw
Analyze Swift and mixed-language compile hotspots using build timing summaries and Swift frontend diagnostics, then produce a recommend-first source-level optimization plan.
omarshahine/HomeClaw
Capture and interpret ETTrace profiles for iOS simulator apps, including symbolicated launch and runtime flamegraphs.
Categories
A skill your agent uses when writing, reviewing, or refactoring SwiftUI code for iOS or macOS, including state management, view composition, performance, Liquid Glass adoption, or Instruments .trace…. Swiftui Expert Skill is an agent skill from omarshahine/HomeClaw.trace capture/analysis for hangs, hitches, CPU hotspots, or excessive view updates.
Swiftui Expert Skill fits situations like: refactoring SwiftUI code for iOS; including state management; view composition; liquid Glass adoption.
Run `npx skills add omarshahine/HomeClaw --skill swiftui-expert-skill -a claude-code`. Or copy the skill folder (.claude/skills/swiftui-expert-skill in omarshahine/HomeClaw) into .claude/skills/swiftui-expert-skill in your project. Claude Code loads it when a task matches its description.
Run `npx skills add omarshahine/HomeClaw --skill swiftui-expert-skill -a codex`. Or copy the skill folder (.claude/skills/swiftui-expert-skill in omarshahine/HomeClaw) into .agents/skills/swiftui-expert-skill in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add omarshahine/HomeClaw --skill swiftui-expert-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/swiftui-expert-skill, .gemini/skills/swiftui-expert-skill, .github/skills/swiftui-expert-skill and .opencode/skills/swiftui-expert-skill in your project.
Going by SKILL.md and its folder, Swiftui Expert Skill needs the command-line tools its instructions call (python3). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Swiftui Expert Skill is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 59k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Swiftui Expert Skill: Hig Project Context (raintree-technology/hig-doctor, 143 stars), Swiftui Expert Skill (Eslzzyl/Pixiv-SwiftUI, 111 stars), Hig Components Content (raintree-technology/hig-doctor, 143 stars) and SwiftUI Design Skill (Wholiver/swiftui-design-skill, 204 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
omarshahine (a GitHub user) maintains it in omarshahine/HomeClaw, which has 175 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 8, 2026.
Source: omarshahine/HomeClaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.