一键导入
github
Use when working with GitHub via CLI - pull requests, issues, code reviews, or repository operations. Also load for first-time gh CLI authentication setup.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when working with GitHub via CLI - pull requests, issues, code reviews, or repository operations. Also load for first-time gh CLI authentication setup.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Bosun configuration — models, sandbox, daemon, Pi settings. Use when changing models, editing config, or understanding how bosun is set up.
Bootstrap a new project using bosun as a foundation — via bun dependency (recommended) or git submodule. Creates a downstream project that inherits bosun's multi-agent infrastructure while adding custom agents, skills, and extensions. Works standalone — fetchable by any pi agent via raw GitHub URL.
Search curated markdown memory like sessions, plans, docs, and skills. Use when recalling prior context or looking for relevant historical/project knowledge.
Analyze Pi session JSONL files using jq patterns. Use when extracting metrics, tool usage, costs, or reviewing session history. Load for session export, summarization, or workflow analysis.
Session-based browser plan review primitives for Bosun. Provides a local-first state model, markdown-aware anchor extraction, and review-session persistence for reviewing existing plan files in dedicated CDP browser windows. Triggers: "plan-review", "review this plan", "review markdown plan".
Session-based browser diff review primitives for Bosun. Provides transport- agnostic v1 schemas plus local state and git snapshot helpers for immutable review rounds. Triggers: "diff-review", "reround", "review round", "snapshot-backed review".
| name | github |
| description | Use when working with GitHub via CLI - pull requests, issues, code reviews, or repository operations. Also load for first-time gh CLI authentication setup. |
Use gh to interact with GitHub from the command line - pull requests, issues, and repository operations.
First, verify if gh is already authenticated:
gh auth status
If github.com shows "Logged in" - you're ready to go.
If not authenticated, follow the Setup Guide.
# List open PRs
gh pr list --repo owner/repo
# View specific PR details
gh pr view 123 --repo owner/repo
# View PR diff
gh pr diff 123 --repo owner/repo
# Checkout PR locally (from forks too!)
gh pr checkout 123 --branch pr-123-feature-name
# Create PR from current branch
gh pr create --title "feat: description" --base main
# List open issues
gh issue list --repo owner/repo --state open
# View issue details
gh issue view 123 --repo owner/repo
# Create issue
gh issue create --title "Bug: description" --body "Details..."
# Close issue
gh issue close 123 --repo owner/repo
# View repo
gh repo view owner/repo
# Clone repo
gh repo clone owner/repo
# Fork repo
gh repo fork owner/repo
# Generic API call
gh api repos/owner/repo/pulls/123/comments
# Get PR review comments
gh api repos/owner/repo/pulls/123/reviews
For thorough code reviews with worktrees, see PR Review Guide.
Quick version:
# 1. Checkout PR branch
gh pr checkout 4 --branch pr-4-feature-name
# 2. Create worktree for isolated review
git worktree add ../worktrees/repo/pr-4 pr-4-feature-name
# 3. Use review agent for structured analysis
# (via Task tool with agent: review)
..bosun-home/.config/gh/hosts.ymlgh auth login --webgh pr checkout fetches the fork's branch automatically