スキル一覧に戻る
BinkyTwin

github-cli

by BinkyTwin

1🍴 0📅 2026年1月9日
GitHubで見るManusで実行

SKILL.md


GitHub CLI (gh) integration

Preconditions (verify before doing anything)

  1. gh --version works
  2. gh auth status is authenticated
  3. Repo has a remote (usually origin) and correct upstream branch

If missing, propose the install/auth steps (don't guess).

Installation (reference)

  • macOS: brew install gh
  • Ubuntu/Debian: install from GitHub CLI packages
  • Windows: winget install --id GitHub.cli

Authentication

gh auth login
# Follow prompts to authenticate via browser

Standard flow (issue-driven)

1) Sync main branch

git checkout main
git pull --rebase

2) Create branch

git checkout -b feat/<short-slug>  # or fix/<slug>

3) Implement changes

Follow EPCP workflow if available

4) Verify locally

# Run tests/lint/build
npm test  # or pytest, etc.

5) Commit

git add -p  # Stage selectively
git commit -m "feat: description"

6) Push

git push -u origin <branch>

7) Create PR

gh pr create --fill  # or provide title/body explicitly

PR body template

Use templates/pr-body.md

Useful gh commands

Issues

gh issue list                    # List open issues
gh issue view 123                # View issue details
gh issue create                  # Create new issue
gh issue close 123               # Close issue

Pull Requests

gh pr list                       # List open PRs
gh pr view 123                   # View PR details
gh pr create --title "..." --body "..."
gh pr merge 123                  # Merge PR
gh pr checkout 123               # Checkout PR branch

Workflow

gh run list                      # List workflow runs
gh run view 123                  # View run details
gh run watch 123                 # Watch run in real-time

Safe defaults

  • Stage selectively (git add -p)
  • Avoid committing secrets or local config
  • If CI is required, ensure a minimal test step is run before PR
  • Never force push to main/master

Commit message format (conventional commits)

type(scope): description

feat: new feature
fix: bug fix
docs: documentation
style: formatting
refactor: code restructuring
test: tests
chore: maintenance

スコア

総合スコア

50/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
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です