
add-review-comment
by mlflow
add-review-commentは、機械学習とAI開発のためのスキルです。モデル構築から運用まで、包括的で効率的なAI開発ワークフローをサポートします。
ユースケース
AIモデル統合
LLMや機械学習モデルをアプリに統合。
プロンプト最適化
より良い結果を得るためのプロンプト改善。
データ分析自動化
AIを活用したデータ分析と洞察の抽出。
FAQ
SKILL.md
name: add-review-comment description: Add a review comment to a GitHub pull request. allowed-tools:
- Bash(gh api:*)
- Bash(gh pr view:*)
Add Review Comment
Adds a review comment to a specific line in a GitHub pull request.
Usage
Single-line comment:
gh api repos/<owner>/<repo>/pulls/<pr_number>/comments \
# Body must end with "🤖 Generated with Claude" on a separate line
-f body=<comment> \
-f path=<file_path> \
-F line=<line_number> \
-f side=<side> \
-f commit_id="$(gh pr view <pr_number> --repo <owner>/<repo> --json headRefOid -q .headRefOid)" \
--jq '.html_url'
Multi-line comment:
gh api repos/<owner>/<repo>/pulls/<pr_number>/comments \
# Body must end with "🤖 Generated with Claude" on a separate line
-f body=<comment> \
-f path=<file_path> \
-F start_line=<first_line> \
-f start_side=<side> \
-F line=<last_line> \
-f side=<side> \
-f commit_id="$(gh pr view <pr_number> --repo <owner>/<repo> --json headRefOid -q .headRefOid)" \
--jq '.html_url'
Parameters
line: Line number in the file (for multi-line, the last line)side:RIGHTfor added/modified lines (+),LEFTfor deleted lines (-)start_line/start_side: For multi-line comments, the first line of the range
Best Practices
-
Use suggestion blocks (three backticks + "suggestion") for simple fixes that maintainers can apply with one click
```suggestion <suggested code here> ```Note: Preserve original indentation exactly in suggestion blocks
-
For repetitive issues, leave one representative comment instead of flagging every instance
-
For bugs, explain the potential problem and suggested fix clearly
スコア
総合スコア
リポジトリの品質指標に基づく評価
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 1000以上
1ヶ月以内に更新
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
レビュー
レビュー機能は近日公開予定です

