PR Check
建立:2026-05-25
· 最後編輯:2026-05-25
sequenceDiagram
participant Dev as 開發者 / CI
participant GH as GitHub
participant Review as pr-review
participant Kiro as Kiro CLI
participant Fix as pr-comment
Dev->>GH: 開啟/更新 PR
GH->>Review: PR event (opened/synchronize)
Review->>Review: 取得 PR diff
Review->>Kiro: pr-reviewer agent
Kiro-->>Review: 審查意見
Review->>GH: 發佈 review comment
Note over GH,Fix: 使用者回覆 /kiro 觸發
GH->>Fix: issue_comment event
Fix->>Fix: 取得 comment context + diff
Fix->>Kiro: pr-comment-fixer agent
Kiro-->>Fix: 修正後程式碼
Fix->>GH: Push 到 PR branch
GH->>Review: synchronize 再次觸發審查