Documentation
README
Issue / PR トリアージ
GitHub Issue または PR の番号を受け取り、コードベースを調査して対応判断に必要な情報をレポートする。
使い方
/triage 42
/triage #8
トリアージ手順
Phase 1: 情報収集
1-1. Issue/PR の取得
番号からIssueかPRかを自動判定する。
# まずIssueとして取得を試みる
gh issue view <番号> --json number,title,body,labels,state,comments,author,createdAt
# 404なら PRとして取得
gh pr view <番号> --json number,title,body,labels,state,files,comments,author,reviews,createdAt
1-2. コメント・議論の確認
# Issueのコメント
gh issue view <番号> --json comments --jq '.comments[].body'
# PRのレビューコメント
gh pr view <番号> --json reviews --jq '.reviews[].body'
1-3. 種別の判定
IssueテンプレートやラベルからIssueの種別を判定する:
This is the opening of the README. Read the full README on GitHub.