Liquid glass placement auditor
Skill 7vibex/swiftui-developer-kit/.agents/skills/liquid-glass-placement-auditor
Codex skill pack for SwiftUI, SwiftData, Xcode debugging, app audits, screenshots, accessibility, Liquid Glass, and App Store release workflows.
npx -y skills add 7vibex/swiftui-developer-kit --skill liquid-glass-placement-auditorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Audit SwiftUI/iOS/iPadOS/macOS UI for Apple Liquid Glass placement in toolbars, tabs, sidebars, panels, chrome, canvas controls, and OS fallback decisions.
SKILL.md
5.9 KB, as published. Nobody here has run it
Liquid Glass Placement Auditor
Audit SwiftUI screens and recommend where Liquid Glass belongs. Liquid Glass is for controls and chrome, not primary content.
Required Preflight
Ask this before operating Simulator, using Computer Use, using Appshots, or capturing screenshots:
“Is the app already running in the iOS/iPadOS Simulator on the screen you want reviewed?
Reply with one of these:
yes-running— the app is already open in Simulatorno-launch-it— launch/build the app firstscreenshots-only— I will provide screenshots manuallycode-only— audit only the SwiftUI code”
Do not capture or operate anything until the user answers.
References
- Use
references/placement-rules.mdfor where to use or avoid glass. - Use
references/screenshot-review-checklist.mdwhen screenshots are available. - Use
references/accessibility-checklist.mdbefore recommending transparency. - Use
references/swiftui-patterns.mdfor code search signals. - Use
references/swiftui-liquid-glass-recipes.mdwhen the user asks for implementation guidance or concrete SwiftUI directions. - Use
references/implementation-recipes.mdwhen the request names implementation recipes directly. - Use
references/platform-compatibility.mdbefore recommending availability guards or older-OS behavior. - Use
references/platform-version-matrix.mdwhen the request names platform version rules directly. - Use
references/studyos-placement-map.mdwhen the project resembles StudyOS or the user asks for StudyOS-specific placement. - Use
references/apple-liquid-glass-links.mdfor official links. - Use
../../../docs/apple-source-map.mdand../../../docs/apple-api-inventory.mdbefore naming new Liquid Glass APIs. - Use
references/output-contract.mdfor the report.
Prefer targeted search, project maps, and bundled scripts before reading many files.
Workflows
yes-running
- Ask the user to bring Simulator to the front and navigate to the screen.
- Ask for the screen name.
- Prefer Appshots if available and approved.
- Fallback to
scripts/capture-simulator-screenshot.shafter approval. - Save screenshots with names like
01-home.pngand02-canvas.png. - Repeat only for screens the user approves.
- Analyze screenshots and SwiftUI code together when code is available.
no-launch-it
- Inspect the project for
.xcodeproj,.xcworkspace, orPackage.swift. - Detect schemes with safe commands.
- Ask if scheme or device is ambiguous.
- Do not build or launch without confirmation.
- After launch approval, follow
yes-running.
screenshots-only
Ask the user to attach screenshots. Mark recommendations as screenshot-based if no code was inspected.
code-only
Inspect SwiftUI files for glass candidates. State lower confidence because screenshots were not reviewed.
Implementation Mode
Use this mode when the user asks to apply Liquid Glass, convert a surface, or provide implementation-ready guidance.
- Complete the placement audit first, even if it is code-only.
- Classify each candidate as primary content, chrome, transient overlay, navigation, inspector, or warning/destructive UI.
- Reject glass on reading, writing, drawing, PDF, flashcard, transcript, table, form, and warning content unless the user has a strong product reason and the accessibility risk is documented.
- Create a minimal file-by-file implementation plan.
- Check current Apple or Xcode documentation for exact API names before editing.
- Add availability guards for Liquid Glass-only APIs.
- Add Reduce Transparency and older-OS fallback behavior.
- Build the latest app version after code changes.
- Run the app in Simulator after a successful iOS or iPadOS build.
- Ask before screenshots, Appshots, Computer Use, or Simulator capture.
If another specialist skill would be a better next step, recommend an explicit handoff prompt instead of claiming this skill automatically invokes it.
Finding Standards
Every recommendation must include:
- Evidence source: screenshot, code path, or both.
- Confidence: high, medium, or low.
- Placement decision: use, use carefully, avoid, or needs screenshot verification.
- Surface classification: primary content, chrome, transient overlay, navigation, inspector, or warning/destructive UI.
- Glass variant decision: regular, clear, none, or needs SDK verification.
- Accessibility risk: none, low, medium, or high.
- OS support decision: ask before implementation whether iOS 17 keeps its existing UI, gets a new non-glass fallback, or is intentionally dropped by raising the minimum OS.
- Fallback decision: older OS and Reduce Transparency behavior.
- A concrete SwiftUI direction, not just visual advice.
Prioritize readability and control discoverability over decorative effect. A good Liquid Glass recommendation should explain what remains opaque, what becomes chrome, how the design behaves with Reduce Transparency, and what older OS users see.
Do Not Use When
- The request is not about Liquid Glass, chrome placement, modern UI surfaces, or transparency fallbacks.
- The user needs a broad design audit, feature implementation, or build diagnosis first.
Done When
- Every candidate is classified as content, chrome, navigation, inspector, transient overlay, or warning/destructive UI.
- Each glass recommendation includes evidence, confidence, availability, fallback, and accessibility risk.
- Primary reading, writing, drawing, PDF, form, transcript, and warning content are protected or explicitly justified.
Output
Use references/output-contract.md.
Follow ../../../docs/skill-quality-standard.md and compare ../../../examples/skill-outputs/liquid-glass-placement-auditor-bad-output.md with ../../../examples/skill-outputs/liquid-glass-placement-auditor-good-output.md.