ios-sync

Regenerate the iOS debug bridge and state accessors from gstack templates.

Updated Jul 29, 2026
One-click install
npx skills add https://github.com/KrismithReddy12/gstack --skill ios-sync-krismithreddy12
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ios-sync
Source: https://github.com/KrismithReddy12/gstack/tree/main/ios-sync
Command: npx skills add https://github.com/KrismithReddy12/gstack --skill ios-sync-krismithreddy12

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill resolves inconsistencies between the gstack backend and the iOS frontend by regenerating the debug bridge and state accessors, ensuring the mobile app remains in sync with the latest service definitions.

Core Features & Use Cases

  • Bridge Regeneration: Updates the iOS debug bridge to match current upstream gstack templates.
  • Accessor Sync: Automatically refreshes typed @Observable state accessors for ViewModels.
  • Use Case: After adding new properties to a backend service or upgrading the gstack framework, run this skill to ensure the iOS debug overlay and state management reflect these changes without manual boilerplate updates.

Quick Start

Use the ios-sync skill to regenerate the iOS debug bridge and update all state accessors.

Frequently Asked Questions about ios-sync

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sync my iOS app with gstack backend changes?

You can sync your iOS app with gstack backend changes by regenerating the debug bridge and state accessors to align with upstream templates. This automatically refreshes StateServer and DebugOverlay configurations, ensuring the mobile frontend matches the latest service definitions without manual boilerplate updates.

When do I need to regenerate the iOS debug bridge?

Regenerate the iOS debug bridge when you add new properties to a backend service or upgrade the gstack framework. This synchronization ensures the iOS debug overlay and state management reflect upstream changes without requiring manual boilerplate updates to your ViewModels.

Does ios-sync require gstack binary tools to update state accessors?

Yes, ios-sync requires access to gstack binary tools and local repository state to perform instrumentation updates. These tools are necessary to facilitate the synchronization of StateServer, DebugOverlay, and Package.swift configurations during mobile development cycles.

What's the best way to refresh typed @Observable state accessors for ViewModels?

The best way to refresh typed @Observable state accessors for ViewModels is to run a debug bridge regeneration sync. This updates the iOS debug bridge to match current upstream gstack templates, automatically refreshing the state accessors to reflect new backend service definitions.

Why does my iOS debug overlay show stale state after a gstack upgrade?

Your iOS debug overlay shows stale state because the debug bridge and state accessors are misaligned with the new gstack templates. Regenerating the bridge synchronization updates the StateServer and Package.swift configurations to resolve these frontend inconsistencies.