{"id":"d2cc01ca-6157-4ef1-ba78-8b03860cd29c","shortId":"s8wHFQ","kind":"skill","title":"Implement, review, and optimize SwiftUI code with trace-backed diagnostics","tagline":"Guide SwiftUI implementation and refactoring with current Apple patterns, then analyze Instruments traces to diagnose hangs, hitches, and expensive view updates.","description":"# Implement, review, and optimize SwiftUI code with trace-backed diagnostics\n\nGuide SwiftUI implementation and refactoring with current Apple patterns, then analyze Instruments traces to diagnose hangs, hitches, and expensive view updates.\n\n## Prerequisites\n\nXcode Instruments traces; SwiftUI source files; custom skill-capable agent client\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- npx skills add https://github.com/avdlee/swiftui-agent-skill --skill swiftui-expert-skill\n\nRequirements and caveats from upstream:\n- Unlike the other reference files — which are text guidance — this part of the skill ships an executable Python toolchain that wraps xctrace. It lets the agent **record** a new .trace and **analyse** an existing one en...\n- scripts/instruments_parser/ — one module per lane (time_profiler, hangs, hitches, swiftui, causes), plus cross-lane correlate and a markdown summary renderer. Pure stdlib Python 3; only external dep is xctrace (ships...\n- Use this skill after new iOS or Xcode releases to refresh the deprecated API reference. It requires the [Sosumi MCP](https://github.com/NSHipster/sosumi.ai) to be available. See AGENTS.md or CONTRIBUTING.md for details.\n\nBasic usage or getting-started notes:\n- bash\n- For more information, [visit the skills.sh platform page](https://skills.sh/avdlee/swiftui-agent-skill/swiftui-expert-skill).\n- Then use the skill in your AI agent, for example:\n\n- Source: https://github.com/AvdLee/SwiftUI-Agent-Skill/tree/main/swiftui-expert-skill\n- Extracted from upstream docs: https://raw.githubusercontent.com/AvdLee/SwiftUI-Agent-Skill/HEAD/README.md\n\n## Documentation\n\n- https://github.com/AvdLee/SwiftUI-Agent-Skill\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/implement-review-and-optimize-swiftui-code-with-trace-backed-diagnostics/)","tags":["implement","review","and","optimize","swiftui","code","with","trace","backed","diagnostics","skills","agentskillexchange"],"capabilities":["skill","source-agentskillexchange","skill-implement-review-and-optimize-swiftui-code-with-trace-backed-diagnostics","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/implement-review-and-optimize-swiftui-code-with-trace-backed-diagnostics","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,867 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:10:54.146Z","embedding":null,"createdAt":"2026-05-18T13:17:08.635Z","updatedAt":"2026-05-18T19:10:54.146Z","lastSeenAt":"2026-05-18T19:10:54.146Z","tsv":"'/avdlee/swiftui-agent-skill':95,248 '/avdlee/swiftui-agent-skill/head/readme.md':244 '/avdlee/swiftui-agent-skill/swiftui-expert-skill).':223 '/avdlee/swiftui-agent-skill/tree/main/swiftui-expert-skill':237 '/nshipster/sosumi.ai)':195 '/skills/implement-review-and-optimize-swiftui-code-with-trace-backed-diagnostics/)':255 '3':166 'add':92 'agent':76,131,231,250 'agents.md':200 'agentskillexchange.com':254 'agentskillexchange.com/skills/implement-review-and-optimize-swiftui-code-with-trace-backed-diagnostics/)':253 'ai':230 'analys':137 'analyz':22,54 'api':186 'appl':19,51 'avail':198 'back':10,42 'bash':212 'basic':205 'capabl':75 'caus':152 'caveat':103 'client':77 'code':6,38 'contributing.md':202 'correl':157 'cross':155 'cross-lan':154 'current':18,50 'custom':72 'dep':169 'deprec':185 'detail':204 'diagnos':26,58 'diagnost':11,43 'doc':241 'document':245 'en':141 'environ':89 'exampl':233 'exchang':252 'execut':122 'exist':139 'expens':30,62 'expert':99 'extern':168 'extract':238 'file':71,110 'get':209 'getting-start':208 'github.com':94,194,236,247 'github.com/avdlee/swiftui-agent-skill':93,246 'github.com/avdlee/swiftui-agent-skill/tree/main/swiftui-expert-skill':235 'github.com/nshipster/sosumi.ai)':193 'guid':12,44 'guidanc':114 'hang':27,59,149 'hitch':28,60,150 'implement':1,14,33,46 'inform':215 'instal':78,82 'instrument':23,55,67 'io':178 'lane':146,156 'let':129 'markdown':160 'match':87 'mcp':192 'modul':144 'new':134,177 'note':211 'npx':90 'one':140,143 'optim':4,36 'page':220 'part':116 'path':85 'pattern':20,52 'per':145 'platform':219 'plus':153 'prerequisit':65 'profil':148 'pure':163 'python':123,165 'raw.githubusercontent.com':243 'raw.githubusercontent.com/avdlee/swiftui-agent-skill/head/readme.md':242 'record':132 'refactor':16,48 'refer':109,187 'refresh':183 'releas':181 'render':162 'requir':101,189 'review':2,34 'scripts/instruments_parser':142 'see':199 'setup':84 'ship':120,172 'skill':74,91,96,100,119,175,227,251 'skill-cap':73 'skill-implement-review-and-optimize-swiftui-code-with-trace-backed-diagnostics' 'skills.sh':218,222 'skills.sh/avdlee/swiftui-agent-skill/swiftui-expert-skill).':221 'sosumi':191 'sourc':70,234,249 'source-agentskillexchange' 'start':210 'stdlib':164 'summari':161 'swiftui':5,13,37,45,69,98,151 'swiftui-expert-skil':97 'text':113 'time':147 'toolchain':124 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'trace':9,24,41,56,68,135 'trace-back':8,40 'unlik':106 'updat':32,64 'upstream':81,105,240 'usag':206 'use':79,173,225 'view':31,63 'visit':216 'wrap':126 'xcode':66,180 'xctrace':127,171","prices":[{"id":"2bc215be-71e0-4d93-950a-d54490151b89","listingId":"d2cc01ca-6157-4ef1-ba78-8b03860cd29c","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:17:08.635Z"}],"sources":[{"listingId":"d2cc01ca-6157-4ef1-ba78-8b03860cd29c","source":"github","sourceId":"agentskillexchange/skills/implement-review-and-optimize-swiftui-code-with-trace-backed-diagnostics","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/implement-review-and-optimize-swiftui-code-with-trace-backed-diagnostics","isPrimary":false,"firstSeenAt":"2026-05-18T13:17:08.635Z","lastSeenAt":"2026-05-18T19:10:54.146Z"}],"details":{"listingId":"d2cc01ca-6157-4ef1-ba78-8b03860cd29c","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"implement-review-and-optimize-swiftui-code-with-trace-backed-diagnostics","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"d282952fe7ae2967e6a668f416076facbcb1b87a","skill_md_path":"skills/implement-review-and-optimize-swiftui-code-with-trace-backed-diagnostics/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/implement-review-and-optimize-swiftui-code-with-trace-backed-diagnostics"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"Implement, review, and optimize SwiftUI code with trace-backed diagnostics","description":"Guide SwiftUI implementation and refactoring with current Apple patterns, then analyze Instruments traces to diagnose hangs, hitches, and expensive view updates."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/implement-review-and-optimize-swiftui-code-with-trace-backed-diagnostics"},"updatedAt":"2026-05-18T19:10:54.146Z"}}