What problem does it solve? Writing AppleScript for Ghostty's terminal automation API is error-prone because return types are poorly documented and wrong prepositions cause silent failures or cryptic errors. This Skill encodes the correct object hierarchy, return-type conversions, and syntax rules so generated layout scripts work on the first run. ## Core Features & Use Cases - Correct Return-Type Handling: Converts tab and window objects to terminals via focused terminal of before calling split or input text, avoiding the most common crash patterns. - Layout Pattern Library: Provides ready-made patterns for 2x3 grids, multi-tab splits, and split equalization using perform action "equalize_splits". - Zellij KDL Conversion: Maps Zellij layout concepts (tabs, panes, split directions, commands) to equivalent Ghostty AppleScript constructs. - Use Case: You want a script that opens Ghostty with a 2x3 pane grid, runs vim in one pane and lazygit in another, all in your project directory. This Skill generates the correct .applescript file runnable via osascript. ## Quick Start Write a Ghostty AppleScript that opens a new tab in my project directory, splits it into a 2x3 grid, and runs vim in the top-left pane.