frontendby rshankras
SwiftUI Skills
rshankras/swiftui
SwiftUI framework skills — data flow (identity, Observation, state ownership), layout & containers (Layout protocol, lazy-stack performance), AlarmKit, 3D charts, rich text editing, customizable toolbars, and WebKit embedding.
What it changes
Passed 15 of 19 test cases with the skill, and 14 of 19 without it.
Without skill73%
With skill77%
Checks it passed that the model alone missed
- The response uses SurfacePlot inside a 3D chart container.
- The response uses AlarmKit framework classes to schedule and control system alarm states.
- The response uses WebPage callAsyncJavaScript or native WebKit SwiftUI evaluation methods.
3 fixed14 passed either way3 still failing2 broke
- Pass-rate lift
- +5 pp
- Tokens
- -14%
- Agent turns
- 0%
- Response time
- -32%
Model gemini-3.6-flashMeasured 8/17/2026v117 of 22 cases passed with skill · 19 comparable
See it in action
One of 3 test cases the skill fixed. Same model, same prompt, with and without the skill.
PromptI want to render a continuous 3D topography heightmap in SwiftUI. Which 3D visualization view and mark should I use?
What was checked, without and with the skill| Checked | Without skill | With skill |
|---|
| The response uses SurfacePlot inside a 3D chart container. | Missed | Passed |
|---|
What's inside
The instructions your model reads when the skill loads.
SKILL.md36 linessingle file
SwiftUI Skills
Focused SwiftUI framework skills — each sub-skill covers one API area in depth.
When This Skill Activates
Use this skill when the user:
- Has state/rendering bugs: state resets, over-rendering, flashing lists, animation crossfades (data-flow)
- Is choosing @State vs @Bindable vs @Environment or migrating to Observation (data-flow)
- Builds custom layouts or containers, or fights lazy-stack/scroll performance (layout)
- Wants alarms or timers with AlarmKit (custom UI, Live Activities, snooze)
- Is creating 3D data visualizations with Swift Charts (Chart3D, SurfacePlot)
- Needs styled text or rich text editing (Text, AttributedString, TextEditor)
- Is implementing or customizing toolbars (customizable toolbars, search integration)
- Wants to embed web content (WebView, WebPage, JavaScript interop)
Available Skills
Paths are relative to THIS file's directory — skills run with cwd set to the
user's project, so resolve each path from this SKILL.md's own location.
How to Route
- Match the request to a row above.
- Read that SKILL.md (relative to this file) plus any reference files it lists.
- Apply the guidance to the user's code.
Track record
Benchmark
15 / 19
test cases passed, vs 14 / 19 without
Adoption
- Users
- 0
- Times used
- 0
Safety and source details
SkillSafety
✓ 3 of 3 passed✓Code scan15 of 15 checks clean
0 critical · 0 warning · 0 info — scanner v4 — 8/3/2026
View 15 scanner checks
live_secretremote_code_executionreverse_shelldata_exfiltrationssrf_metadataagent_snoopinganti_refusaldestructive_commandsobfuscated_unicodeunicode_homoglyphopaque_blobsuspicious_urltool_overreachtrigger_abuseprompt_injection_phrasing
✓IntentSafe
LLM judge · does the skill do what it claims
✓ContentClean
LLM judge · policy & harmful-content review
Source
ImportedLicense MITImported 8/3/2026Version v1