ワンクリックで
weave-ship
// Full Weave workflow from working changes to open PR. Runs quality gates, commits, pushes, and opens a PR with the correct assignee. Use when ready to ship a change. Pass the commit message as the argument.
// Full Weave workflow from working changes to open PR. Runs quality gates, commits, pushes, and opens a PR with the correct assignee. Use when ready to ship a change. Pass the commit message as the argument.
Create a well-formed GitHub issue for the weave project with all fields populated (labels, type, milestone, assignee, blocked-by relationships). Pass a title and optional description as arguments.
Run multi-persona code review (PO, Senior Eng, Security, Docs) on open PRs. Pass PR numbers or omit to auto-detect from recent branches. Runs 2 rounds by default.
Run the manual E2E validation checklist against real CLI installations on this machine. Tests weave against actual ~/.claude.json, ~/.gemini/settings.json, ~/.codex/config.toml — not mocks. Pass a flow name to run a targeted subset (install, profiles, search, remove, diagnose), or omit for the full suite.
Review all comments and reviews on a GitHub PR — inline code annotations, review verdicts (APPROVED / CHANGES_REQUESTED), and conversation threads. Classifies each as stale/valid/deferred/skip, fixes valid ones in the working tree, creates GitHub issues for deferred ones. Pass a PR number or omit to auto-detect from the current branch.
Run the Weave quality gate (cargo fmt, clippy, tests) before committing. Use when you want to verify the working tree is clean and CI-ready.
| name | weave-ship |
| description | Full Weave workflow from working changes to open PR. Runs quality gates, commits, pushes, and opens a PR with the correct assignee. Use when ready to ship a change. Pass the commit message as the argument. |
| allowed-tools | Bash, Read, Edit, Write, Grep, Glob |
git branch --show-currentgit status --shortgh api user --jq .login 2>/dev/null || echo "(not authenticated — run gh auth login)"$ARGUMENTS
main — if on main, stop immediately and tell the user to create a feature branchgh pr list --head <branch> --state merged--assignee <user>)Check branch — if current branch is main, stop and tell the user to create a feature branch first
Check PR not already merged — run gh pr list --head $(git branch --show-current) --state merged; if any result, stop and warn that the branch was already merged
Pre-commit — run these before committing (the git pre-commit hook handles fmt --check and clippy, so don't duplicate those):
cargo fmt --all — auto-fix formatting so the hook's --check passescargo test — the hook does not run tests, so run them here; stop on failureCommit — if $ARGUMENTS is empty, ask the user for a commit message before proceeding; otherwise use $ARGUMENTS as the commit message. Stage all modified tracked files and new relevant files, then commit. No attribution taglines.
Push — git push -u origin $(git branch --show-current)
Open PR — gh pr create --title "<title>" --body "<body>" --assignee <github-user>
Report — print the PR URL