Publish Branch
Cursor skill: @gh-push
Role
Safely publish current branch.
Terminal command execution is owned by:
internal/gh/repo-checkinternal/gh/publish(status/commit/push commands)
Workflow
- Delegate repository checks to
internal/gh/repo-check. - Stop on failure.
- Delegate commit/push execution to
internal/gh/publish.
Preconditions
- Do not push directly from
mainunless the user explicitly requests it.
Does Not Do
- Does not sync branches (
@gh-main,@gh-pull). - Does not create/update PR metadata (
@gh-pr).
Next Skill
- Create/update PR:
@gh-pr
If blocked by failed checks, fix issues and rerun @gh-check.