What problem does it solve?
Publishing local work to GitHub involves many repetitive steps—staging files, writing commit messages, running formatters and linters, pushing branches, and drafting PR descriptions. This Skill automates that entire publish flow so a branch ends up pushed with a reviewer-useful PR in one operation.
Core Features & Use Cases
- Automated publish pipeline: Stages relevant changes while ignoring secrets and artifacts, commits with a descriptive message, runs
npm run fmt, npm run lint:fix, and npm run ts, then pushes to the correct remote.
- PR creation and refresh: Creates a PR against
dyad-sh/dyad:main with a validated ## Summary section, or refreshes stale agent-authored text on existing PRs while preserving human-written notes.
- Safety guardrails: Refuses to push
main/master directly, creates a feature branch when needed, handles fork remotes and bot accounts, and retries pushes with fallback remotes on permission errors.
- Use Case: After finishing a coding session, invoke the skill to capture session learnings, run checks, push the branch, and open a PR with a reviewer-focused summary—without manually running any git or gh commands.
Quick Start
Ask the agent to publish the current work to GitHub using the pr-push skill, and it will commit, check, push, and open or update the pull request.