Publish safely. Syncs your private working repo to a clean public mirror. Excludes internal ai/ folders automatically.
- Copies everything except
ai/and.git/to the public repo - Creates a PR on the public repo, merges it
- Syncs GitHub releases from private to public
- Cleans up deploy branches
bash deploy-public.sh /path/to/private-repo org/public-repo- git
- gh (GitHub CLI)
- bash
- CLI: Shell script
- Skill: SKILL.md for agent instructions