with one click
push-main
// Push the current content to obot-platform/discobot main, watch GitHub Actions with gh run watch, fix CI failures, and repeat until main CI passes.
// Push the current content to obot-platform/discobot main, watch GitHub Actions with gh run watch, fix CI failures, and repeat until main CI passes.
Upgrade dependencies and runtimes safely, run CI, and report higher-risk options.
Delegate a goal to a sub-agent and iterate until it is complete.
Use when building, changing, or reviewing Datastar UIs, signals, data-* attributes, backend actions, SSE responses, or Rocket components.
Analyze outstanding git changes and organize them into logical, well-structured commits. Use when the user wants to commit changes or organize their work into commits.
Run the autonomous release procedure: infer the next version when needed, verify upstream main and CI, create and push the tag, update GitHub release notes, and watch the release workflow to completion.
| name | push-main |
| description | Push the current content to obot-platform/discobot main, watch GitHub Actions with gh run watch, fix CI failures, and repeat until main CI passes. |
Push the current repository content to the canonical obot-platform/discobot
main branch, then watch GitHub Actions with gh run watch --exit-status.
If CI fails, diagnose, fix, commit, push, and watch again. Continue until the
latest pushed main commit has passing CI.
Treat invoking /push-main as authorization to perform the normal end-to-end
push-and-fix loop on obot-platform/discobot without pausing for routine
confirmation. Keep the user informed with concise progress updates, but do not
stop on the happy path.
obot-platform/discobot as the canonical upstream repository.main branch.origin or upstream; discover it from
git remote -v.gh for GitHub Actions inspection and waiting.gh run watch <run-id> --exit-status.gh run list to discover
run IDs, then gh run watch --exit-status to block until completion.HEAD on upstream main has all
relevant GitHub Actions runs completed successfully.gh run view and, when useful,
gh run view --log-failed; fix the issue locally; run the smallest relevant
local validation; commit; push; and restart CI verification for the new
HEAD.git status --short --branch.git remote -v and select the remote whose URL points to
obot-platform/discobot.gh auth status.git fetch <remote> maingit fetch <remote> --tagsgit branch --show-currentgit rev-parse HEADgit rev-parse <remote>/maingit status --shortgit diffgit diff --cached.env secrets, or
unrelated temporary artifacts.HEAD.HEAD to canonical main:
git push <remote> HEAD:maingit fetch <remote> maingit rev-parse HEADgit rev-parse <remote>/mainHEAD matches <remote>/main.git rev-parse HEADgh run list --commit <sha>gh run watch <run-id> --exit-status.gh run view <run-id> and
gh run view <run-id> --log-failed.gh run list --commit <sha> again.success.gh run watch --exit-status.When any CI run fails:
gh run view and failed logs.pnpm checkpnpm testpnpm cipnpm run cigo test ./... in the affected modulegit push <remote> HEAD:main.HEAD.Use commands along these lines:
git status --short --branch
git remote -v
gh auth status
git fetch <remote> main
git fetch <remote> --tags
git rev-parse HEAD
git rev-parse <remote>/main
git diff
git diff --cached
git add <paths>
git commit -m '<subject>' -m '<body>'
git push <remote> HEAD:main
gh run list --commit <sha>
gh run watch <run-id> --exit-status
gh run view <run-id>
gh run view <run-id> --log-failed
The skill is complete only when:
obot-platform/discobot has main at the local
HEAD,End with a concise summary that includes: