What problem does it solve?
Prevents accidental updates to main while making it easy to publish feature branches and optionally prepare them for review, ensuring teams don't accidentally mutate the protected main branch during everyday pushes.
Core Features & Use Cases
- Safe publishing: Always fetches first, shows branch state, and refuses to run on main to prevent accidental merges or updates.
- Workspace validation: Detects dirty working trees and requires a clean state before pushing.
- Optional review flow: Pushes the current branch to origin and can optionally prepare or create a draft pull request and include a Codex review request when requested.
- Use Case: A developer finishing a feature uses this Skill to verify branch status, push the branch, and open a draft PR requesting a technical review without touching main.
Quick Start
Publish the current branch to origin and optionally create a draft pull request requesting Codex review by including the --draft-pr and --codex-review flags.