cookeyholder/using-ai-skills/open-pr
Claude Code and agent skill by cookeyholder/using-ai-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
發起 GitHub Pull Request 並以臺灣繁體中文撰寫完整 PR 訊息。Use when 需要從目前分支建立 PR、整理變更重點與測試結果、避免中國用語,並在 PR 建立後自動用 review-pr-2x 追蹤最新審查與 CI 狀態。
Install
npx vskill@latest install cookeyholder/using-ai-skills/open-prSKILL.md
Open PR
使用 gh 從目前分支發起 PR,產出詳細且可審閱的 PR message(臺灣繁體),並在發起後自動執行 review-pr-2x 持續追蹤。
在使用任何指令前,先 cd 到專案根目錄。
前置檢查
- 確認目前在 Git 儲存庫且
gh可用。 - 確認目前分支不是
main、master。 - 確認有可提交的變更,並先完成必要測試。
- 確認遠端 origin 存在,若無則提示設定:
- 推送目前分支:
語言規範(強制)
PR 標題與內文都必須使用臺灣繁體中文,避免中國常見用語,也禁止非正規的內部行話。
常見替換:
- 拉取請求 -> Pull Request
- 默認 -> 預設
- 配置 -> 設定
- 資源庫 -> 儲存庫
- 用戶 -> 使用者
- 視圖 -> 檢視
- 代碼 -> 程式碼
- 視頻 -> 影片
- 網絡 -> 網路
- 運行 -> 執行
- 優化 -> 最佳化
禁止用詞:裸(改用「未填寫的」「無包裝的」等完整描述)、不應在正式 PR 訊息中出現的內部行話或簡稱。
若偵測到不符合的詞,先改寫再發 PR。
產生 PR 內文
先進入專案根目錄,再從該目錄執行腳本(使用絕對路徑避免分析到 skill 儲存庫)。
腳本會自動分析 commit log、diff 產生:
- 變更摘要(列出所有變更模組與 commit 列表)
- 主要變更項目(含檔案與變更類型:新增/修改/刪除)
- 測試與驗證 checkbox 與預設測試細節
- 風險與回滾預設值
- 相關議題
可選:若需補充測試細節、風險說明,請編輯 /tmp/pr_body.md。
驗證 PR 內文
驗證項目:
- 無字面
\n字串(會導致 PR 頁面顯示異常) - 無未填寫的「請填入」欄位
- 至少有 2 項測試 checkbox
發起 PR
建立後擷取 PR 編號與連結:
自動追蹤(強制)
PR 建立成功後,立即執行:
若執行環境不支援直接呼叫 skill 指令,改用明確委派方式:
- 在同一回合明確接續執行
$review-pr-2x。 - 帶入剛建立的 PR 編號。
- 回報兩輪追蹤的最新審查狀態與 CI 結果。
輸出回報格式
完成後回報以下資訊:
- PR 標題與連結。
- PR message 重點摘要。
review-pr-2x兩輪結果(含是否有新評論、CI 是否通過、是否有新增提交)。- 仍待處理事項(若有)。
Guardrails
- 不要改動與本 PR 無關的檔案。
- 未完成必要測試時,不要宣稱已驗證通過。
- 若
gh auth status未登入,先中止並提示使用者先完成登入。 - 若
review-pr-2x無法執行,明確說明阻塞原因並提供下一步。
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingopen-pr/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cookeyholder/using-ai-skills/open-pr)