cmux-ghostty
Ghostty submodule and GhosttyKit workflow rules for cmux. Use when modifying the ghostty submodule, rebuilding GhosttyKit.xcframework, updating the parent submodule pointer, or documenting fork conflict notes.
By manaflow-ai · 3,799 installs
npx skills add manaflow-ai/cmux --skill cmux-ghostty
Source repository · Upstream listing
cmux Ghostty
GhosttyKit builds
Always rebuild the xcframework with Release optimizations:
Submodule workflow
Ghostty changes are committed in the ghostty submodule and pushed to the manaflow ai/ghostty fork. Keep docs/ghostty fork.md current with fork changes and conflict notes.
Always run git remote v first and push to whichever remote is manaflow ai/ghostty . .gitmodules sets the submodule URL to that fork, so in a normal checkout it is origin ; older setups tracked upstream as origin and added the fork as manaflow . Substitute the right name below.
To pull in changes from upstream ghostty org/ghostty , add it as an explicit remote first, since no checkout has it by default:
Then record the new SHA in the parent repo:
Submodule safety
For any submodule (ghostty, vendor/bonsplit , homebrew cmux ), push the submodule commit to its remote branch before committing the updated pointer in the parent repo. Never commit on a detached HEAD or a temporary branch: the parent then points at a SHA unreachable from any remote branch, and a future checkout or CI job fails to fetch it.
Verify the commit is reachable from the branch the pointer should track, using the remote you just pushed to:
Detailed reference
[references/submodule safety.md](references/submodule safety.md): the ordered safe sequence and fork documentation expectations.