Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →高效回應 PR 審查評論。「修復審查意見」「處理 PR 反饋」「實現審查修復」等觸發。
.claude/skills/wasabeef-pr-469d42/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 20% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 110% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 41% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 91% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 22% | 0% |
高效處理 Pull Request 的審查評論,採用錯誤分析三阶段方法寻求根本解決方案。
bash# 獲取並分析審查評論 gh pr view --comments 「請按優先級分類審查評論並創建應對計劃」 # 錯誤相關評論的詳细分析 gh pr checks 「請用三阶段方法分析 CI 錯誤並找出根本原因」 # 修復完成後的質量確認 npm test && npm run lint 「修復已完成,請檢查回歸測試和代碼質量」
bash# 執行評論分類 gh pr view 123 --comments | head -20 "請將審查評論分類為 must/imo/nits/q 並決定處理顺序" # 收集錯誤資訊 npm run build 2>&1 | tee error.log "請找出構建錯誤的根本原因並提出適当的修復方法" # 確認修復實現 git diff HEAD~1 "請評估此修復是否恰当解決了審查指出的問題"
text🔴 must: 必须修復 ├─ 安全問題 ├─ 功能缺陷 ├─ 設計原則违反 └─ 規範违反 🟡 imo: 改進建議 ├─ 更好的實現方法 ├─ 性能改進 ├─ 可讀性提升 └─ 重構建議 🟢 nits: 轻微指摘 ├─ 拼寫錯誤更正 ├─ 縮進調整 ├─ 注釋添加 └─ 命名微調 🔵 q: 問題與確認 ├─ 實現意圖確認 ├─ 規格明確化 ├─ 設計決策背景 └─ 替代方案探讨
必须執行
推薦執行
bash# 基本檢查 npm test npm run lint npm run build # 回歸測試 npm run test:e2e # 代碼質量 npm run test:coverage
修復完成報告
markdown@reviewer 感谢您的指正。 修復已完成: - [具體修復內容] - [測試結果] - [確認方法]
技術判斷說明
markdown實現背景:[原因] 考虑的替代方案:[選項與判斷依據] 採用方案的優點:[優勢]
Other measured skills in the registry, with their headline benchmark lift.