computer-use-swiftui-loop
Executes a continuous validation loop for macOS apps using Computer Use (Note: Computer Use is currently exclusive to the Codex app), recording…
от Andersonlimahw★ 19 звёзд на GitHub
Установить computer-use-swiftui-loop в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
computer-use-swiftui-loop
This skill guides the automated or manual testing and visual bug-fixing loop for native macOS applications (such as SwiftUI/AppKit apps) using Computer Use. Note: The Computer Use feature is currently exclusive to the Codex app.
Triggers
- Request to validate a macOS app visual layout using Computer Use.
- Visual bug fixes, truncation, clipping, alignment, or accessibility tree issues in the running app's window.
- Execution of the continuous validation cycle:
capture -> inspect -> log finding -> apply minimal fix -> build/test -> revalidate.
Loop Process
Visual & Accessibility Capture:
- Run the target macOS application.
- Take screenshots and query the application's accessibility tree (AX tree) using Computer Use tools to verify elements are correctly laid out and labeled.
Layout & Design Audit:
- Inspect the interface for layout loops, truncated labels (e.g.,
Button Lab...), overlapping controls, or controls lacking descriptive accessibility info.
- Inspect the interface for layout loops, truncated labels (e.g.,
Log Findings:
- Record findings in the designated findings file (e.g.,
docs/test-plans/computer-use-loop/findings.md). - Use the standard format:
CU-SWIFTUI-XXX - Title- Status:
openorfixed - Severity:
low/medium/high - Evidence, Steps to reproduce, Observed, Expected, Likely file, Rules violated, Fix details, and Verification commands.
- Record findings in the designated findings file (e.g.,
Apply Fix:
- Perform surgical, minimal changes to SwiftUI Views, ViewModels, or Stores.
- Preserve responsive layouts. Add fallbacks (e.g., symbol with help text if space is tight) or capabilities checks instead of breaking API contracts.
Technical Verification:
- Compile the project using build commands (e.g.,
swift build). - Run UI compile canaries or tests (e.g.,
swift test --filter ViewCompileCanaryTests).
- Compile the project using build commands (e.g.,
Revalidate Visual State:
- Launch the updated app and recapture its UI to verify the fix works, updating the status of the logged finding to
fixed.
- Launch the updated app and recapture its UI to verify the fix works, updating the status of the logged finding to
Guardrails
- Explicit Confirmation: Never perform destructive actions or workflow state changes (e.g., clicking
Delete,Remove,Run,Commit,Push, orPR) without explicit confirmation from the user. - Contract Integrity: Do not change RPC contracts, databases, or core logic to solve purely visual presentation issues. Implement UI-level state checks or store guards.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- README.md
- agents/computer-use-fix-implementer.md
- agents/computer-use-swiftui-validator.md
- plugin.json
- templates/evals.json
- templates/findings.md
- templates/loop.md
FAQ
Что делает скилл computer-use-swiftui-loop?
Executes a continuous validation loop for macOS apps using Computer Use (Note: Computer Use is currently exclusive to the Codex app), recording layout/accessibility findings and applying/verifying small SwiftUI/UI fixes.
Как установить скилл computer-use-swiftui-loop?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл computer-use-swiftui-loop запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…