ship
Ship the current branch end-to-end — create a PR to main, review the diff, wait for GitHub Actions to pass, merge, and confirm the deploy. Use when the user says "ship it", "ship this", "create a PR and merge", "release this", or wants the full PR→CI→merge→deploy loop in one step.
- License 许可
- MIT
- 所属仓库
- DCCA/skval
- 最近更新
- 2026-08-10
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- ship
- description
- Ship the current branch end-to-end — create a PR to main, review the diff, wait for GitHub Actions to pass, merge, and confirm the deploy. Use when the user says "ship it", "ship this", "create a PR and merge", "release this", or wants the full PR→CI→merge→deploy loop in one step.
03 SKILL.md 正文
/ship — create PR → review → verify CI → merge → confirm deploy
Run the full release loop for the current branch of this repo (DCCA/skval).
Use the GitHub MCP tools (mcp__github__*); load them with ToolSearch if they are
not already available. Never use sleep loops to wait on CI — check status, and if
it is still running, check again.
Steps
- Pre-flight.
git status— commit anything outstanding with a clear message (identityClaude <noreply@anthropic.com>).- Run the gate:
uv run pytestand the skill self-validation (validate_structural.py skills/skill-validator→ must be 100 / A). git push -u origin <current-branch>(retry on network errors).
- Open the PR.
create_pull_requestwith basemain, head = current branch, and a title + body describing the change. - Review the diff.
pull_request_read method=get_diff— confirm it contains only the intended changes and post a short review (flag anything surprising). - Verify CI. Poll
actions_list/actions_getfor the PR's check runs until they complete. If a check fails: fetch logs (get_job_logs), diagnose, fix, push, and re-check. Repeat until green. - Merge. Once all checks pass,
merge_pull_request(merge commit titledMerge PR #<n>: <title>). - Confirm deploy. If the change touched
docs/, the Pages workflow (pages.yml) redeploys on push tomain— verify that run concludessuccessviaactions_get, then report the live status (https://dcca.github.io/skval/).
When to stop and ask
Pause and use AskUserQuestion only if: the diff is ambiguous or larger than
expected, CI fails for a reason that needs a product decision, or the merge would
do something the user wouldn't expect. Otherwise drive the loop to a merged,
deployed state and report the result.
04 同仓库更多 Skills
unsafe-skill
Use when demonstrating the safety gate with a dangerous instruction.
good-skill
Use when you need a concise, well-structured example skill for exercising the validator's structural checks.
Bad_Name
Use <this> when you want a deliberately broken fixture for skval tests.
skill-validator
Use when you need to validate, score, grade, or benchmark a Claude Code skill — to decide whether a skill is good enough to ship, to compare two versions of a skill, or to check whether a skill triggers correctly. Use when someone asks to evaluate a skill, review a SKILL.md, score a skill against evals, run a skill through benchmarks, or check a skill's quality, reliability, effectiveness, or safety before publishing.
commit-conventions
Use when writing a git commit message, to produce a properly formatted Conventional Commits message for staged changes.
share-audit
Audit a web page or landing page for share-readiness — Open Graph and Twitter Card meta, the link-preview image, structured data, accessibility, and content currency. Use when someone wants to check how a page or link will look when shared (Slack, X, LinkedIn, Discord, iMessage), review the og:image / social card, fix a missing link preview, or make a site "best in class for sharing".