Review And Ship

作者 cursorccb5507cec15無授權條款10K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫今天更新

Review the current branch for bugs, intent fit, and test coverage; run or write tests; commit focused work; open or update a PR.

AI 產生的概覽

審查分支中的缺陷、意圖契合度與測試涵蓋範圍,執行測試,提交聚焦的變更並建立或更新 PR。

功能
此技能引導代理執行出貨前的審查流程:蒐集差異、提交紀錄與使用者意圖等脈絡,針對變更的行為執行目標測試,並審查正確性、回歸、安全性與意圖契合度。它會先修正關鍵問題並重新執行受影響的測試,再以精簡的提交訊息提交選定的檔案,推送分支並建立或更新提取要求。產出包括依嚴重、警告、提示分組的發現摘要、所執行測試及其結果,以及 PR 網址。
適用情境
適用於變更已準備好、需要在出貨前審查的情況,希望有系統地檢查正確性、安全性、回歸與測試涵蓋範圍。適合以提交和提取要求收尾的工作流程,而非僅在本地審查。
執行需求
需要 Git 與 GitHub CLI(gh),並具備已驗證的工作階段與存取儲存庫的網路連線;此技能不附帶指令碼,僅提供指示。

Review and ship

Trigger

Reviewing changes before shipping. Close key issues, verify behavior, and open or update a PR.

Workflow

  1. Gather context: diff against base branch, uncommitted changes, recent commits, changed files, and user intent from recent relevant chats if useful.
  2. Run targeted tests for changed behavior. If no focused tests exist, decide whether to add them or document the gap.
  3. Review for correctness, regressions, security, and intent fit. Use parallel subagents for larger diffs.
  4. Fix critical issues before finalizing and re-run affected tests.
  5. Commit selective files with a concise message.
  6. Push branch and open or update a PR.

Suggested Checks

bash
git fetch origin maingit diff origin/main...HEADgit statusgh 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 checks instead of GitHub Actions-only commands when judging PR readiness.

Output

  • Findings summary (critical, warning, note)
  • Tests run and outcomes
  • PR URL

來源與署名

來源:cursor/plugins位於cursor-team-kit/skills/review-and-ship提交ccb5507

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架