What problem does it solve? Keeping a Lovable project and its GitHub repository in sync is error-prone: diverged branches, accidental secret commits, and legacy workspace layouts can break two-way sync or lose work. This Skill enforces a safe, repeatable Git workflow so GitHub main stays the source Lovable synchronizes from. ## Core Features & Use Cases - Safe pull and push: Requires a clean worktree, fetches and compares local/remote/base before pulling, and stops with a clear conflict message when branches diverge. - Secret-aware commits: Inspects diffs before pushing, keeps secrets out of commits, and restricts auto-push to the configured branch. - Legacy workspace migration: Runs scripts/migrate-workspace.py to idempotently migrate the legacy .claude/lovable-claude/test/ workspace into the shared .lovable-agent layout. - Use Case: After finishing a feature in your IDE, ask the agent to commit and push to main so Lovable picks up the changes automatically, without manually checking drift or worrying about leaking API keys. ## Quick Start Ask the agent to pull the latest main branch and push my current changes to GitHub so Lovable stays in sync.