ios-fix
Skill by garrytan
Autonomously reproduces, patches and verifies bugs in an iOS app running on a connected iPhone. It is aimed at developers working on Swift apps who want the assistant to handle the fix loop.
Install ios-fix
Built from the published package, never by AI.
git clone --depth 1 https://github.com/garrytan/gstack /tmp/gstack && mkdir -p ~/.claude/skills && cp -r /tmp/gstack/ios-fix ~/.claude/skills/ios-fixRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/garrytan/gstack /tmp/gstack && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/gstack/ios-fix ~/.gemini/antigravity-cli/skills/ios-fixAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
ios-fix is a gstack agent skill that works through an iOS bug end to end. It starts from a finding (bug description, screenshot and suspected accessibility node) and drives the device into the bug state with tap, swipe, type and state requests. It captures a state snapshot and screenshot as a reproduction before any Swift source is edited.
Once the bug is reproduced, the skill traces the Swift code from the buggy screen back to the view model, data flow and state mutation, then makes a minimal edit. It rebuilds with xcodebuild, restores the pre-bug snapshot to verify the fix, and adds a regression test with the snapshot as a fixture. It is meant for iOS developers who want the assistant to run this loop with the device connected.
Written from the project's SKILL.md and checked against it.
What it can do
- Reproduce the bugBrings the device into the bug state and captures a state snapshot and screenshot before any edit.
- Locate root causeTraces from the buggy screen back through the view model, data flow and state mutation in Swift source.
- Apply minimal fixEdits Swift source with a small diff and rebuilds the app with xcodebuild.
- Verify the fixRestores the pre-bug snapshot, takes a fresh screenshot and compares it to the pre-fix image.
- Add regression testWrites a test that loads the pre-bug snapshot, restores it and asserts the post-fix behavior on a device.
What you need
- Xcode with xcodebuild
- An iOS device connected and identified by UDID
- gstack skill install at ~/.claude/skills/gstack
Try asking
- Fix this iOS bug: the login button does nothing on the iPhone app
- Patch the iphone app so the settings screen stops crashing
- Reproduce the iOS issue from the QA finding and propose a fix
Good to know
- Stops after 3 failed fix iterations and reports the best hypothesis to the user.
- Regression test is skipped when no device is connected.
- Schema mismatch on state restore requires regenerating accessors with /ios-sync first.
- If the project has no test command in CLAUDE.md, the user must be asked for one.
Security check
B- Allowed to use Bash, Write, Edit without limitsIn
SKILL.md
Checked automatically: ios-fix/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: BashReadWriteEditGrepGlobAskUserQuestionBash(~/.claude/skills/gstack/bin/gstack-skill-load:*)
-
SKILL.md5 KB -
SKILL.md.tmpl4 KB -
sections/preamble.md1 KB
Alternatives to ios-fix
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
ios-fix: common questions
What does ios-fix need before it can fix a bug?
The source says it needs a reproducing snapshot captured from the device before any Swift edit. It also needs the device connected and a build run with xcodebuild.
How does ios-fix know the bug is fixed?
It restores the pre-bug snapshot, takes a fresh screenshot and compares it to the pre-fix image. If the bug is gone, it captures a post-fix screenshot for the regression test.
What happens if the fix does not work?
The skill reverts and tries again, up to 3 iterations. After that it stops and reports to the user with its current best hypothesis.
How do I install ios-fix?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is ios-fix free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is ios-fix safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use bash, write, edit without limits). Review the code before you install. How grades work.
What are alternatives to ios-fix?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
