ios-sync

Regenerate the iOS debug bridge from gstack templates.

127k|19.1k|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/garrytan/gstack --skill ios-sync-garrytan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ios-sync
Source: https://github.com/garrytan/gstack/tree/main/ios-sync
Command: npx skills add https://github.com/garrytan/gstack --skill ios-sync-garrytan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps you regenerate the iOS debug bridge against the latest upstream gstack templates, ensuring seamless integration and compatibility with your development environment.

Core Features & Use Cases

  • Debug Bridge Regeneration: Automatically regenerate the iOS debug bridge for the latest gstack templates.
  • Template Integration: Keeps the iOS debug bridge updated with the latest gstack templates.
  • Use Case: After upgrading gstack or adding new ViewModels/properties, use this Skill to regenerate the debug bridge and maintain accessor coverage.

Quick Start

Use the ios-sync skill to resync the iOS debug bridge.

Frequently Asked Questions about ios-sync

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

FAQPage Schema
How do I regenerate the iOS debug bridge after a gstack upgrade?

To regenerate the iOS debug bridge after a gstack upgrade, use this Skill to automatically update StateServer.swift, DebugOverlay.swift, Package.swift, and typed @Observable state accessors for seamless template integration.

What does updating the iOS debug bridge do for my gstack templates?

Updating the iOS debug bridge resyncs your development environment with the latest upstream gstack templates, ensuring seamless integration and maintaining accessor coverage for your ViewModels and properties.

When do I need to regenerate the iOS debug bridge for my ViewModels?

You need to regenerate the iOS debug bridge after adding new ViewModels or properties to your project, ensuring the updated StateServer.swift and DebugOverlay.swift maintain complete typed @Observable state accessor coverage.

Can I use this iOS debug bridge regeneration with my existing Swift package?

Yes, the regeneration process directly modifies your existing Swift package by updating Package.swift alongside StateServer.swift and DebugOverlay.swift to integrate typed @Observable state accessors with gstack templates.

Why are my typed @Observable state accessors missing after adding new properties?

Typed @Observable state accessors are missing because the iOS debug bridge is out of sync; regenerating it updates StateServer.swift and DebugOverlay.swift to restore accessor coverage for the new properties.

What is the best way to resync the iOS debug bridge with gstack templates?

The best way to resync the iOS debug bridge with gstack templates is to run this regeneration process, which updates the necessary Swift files and typed @Observable state accessors to match the latest upstream environment.