← スキル一覧に戻る

smith-gh-cli
by tianjianjiang
AGENTS.md as dotfiles: Personal coding standards that follow you everywhere, Mr. Anderson.
⭐ 0🍴 0📅 2026年1月10日
SKILL.md
name: smith-gh-cli description: GitHub CLI gotchas and best practices. Use when executing gh commands. Covers token efficiency, pagination limits, and common pitfalls.
GitHub CLI Best Practices
- Load if: Using GitHub CLI commands
- Prerequisites:
@smith-git/SKILL.md,@smith-gh-pr/SKILL.md
CRITICAL: Avoid GitHub MCP (Primacy Zone)
- GitHub MCP tools - hard to control pagination (25k token truncation), less complete than CLI, requires personal token
Use instead: gh pr-review extension, gh api, or GraphQL queries
Token Efficiency
Safe perPage limits:
list_pull_requests: perPage 20-30get_review_comments: perPage 10 (bot reviews are massive)get_files: perPage 30search_repositories: minimal_output: true
Common Pitfalls
- ALWAYS assign yourself:
--assignee @me - Draft PRs: Use
--draftwith#WIPin title for work-in-progress - Ensure gh installed: If
ghnot found, prompt user/agent to install
Issue Linking
In PR descriptions:
Closes #123- Auto-closes on mergeFixes #123- Same as ClosesRelates to #123- Links without closing
@smith-gh-pr/SKILL.md- PR workflows, review comment fetching@smith-git/SKILL.md- Git operations
スコア
総合スコア
45/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
○言語
プログラミング言語が設定されている
0/5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です