Agent Skills
› sediman-agent/OpenSkynet
› review-and-ship
review-and-ship
GitHub在代码提交前审查当前分支,检查缺陷、意图匹配及测试覆盖率。执行或编写测试,修复关键问题后提交并创建或更新PR,确保代码质量与安全性。
Trigger Scenarios
准备提交代码前
需要审查分支变更时
用户要求检查代码质量或测试覆盖
Install
npx skills add sediman-agent/OpenSkynet --skill review-and-ship -g -y
SKILL.md
Frontmatter
{
"name": "review-and-ship",
"description": "Review the current branch for bugs, intent fit, and test coverage; run or write tests; commit focused work; open or update a PR."
}
Review and ship
Trigger
Reviewing changes before shipping. Close key issues, verify behavior, and open or update a PR.
Workflow
- Gather context: diff against base branch, uncommitted changes, recent commits, changed files, and user intent from recent relevant chats if useful.
- Run targeted tests for changed behavior. If no focused tests exist, decide whether to add them or document the gap.
- Review for correctness, regressions, security, and intent fit. Use parallel subagents for larger diffs.
- Fix critical issues before finalizing and re-run affected tests.
- Commit selective files with a concise message.
- Push branch and open or update a PR.
Suggested Checks
git fetch origin main
git diff origin/main...HEAD
git status
gh pr checks --json name,bucket,state,workflow,link
Guardrails
- Prioritize correctness, security, and regressions over style-only comments.
- Keep commits focused and avoid unrelated file changes.
- If pre-commit checks fail, fix the issues rather than bypassing hooks.
- Use
gh pr checksinstead of GitHub Actions-only commands when judging PR readiness.
Output
- Findings summary (critical, warning, note)
- Tests run and outcomes
- PR URL
Version History
- c9d8953 Current 2026-07-05 19:52


