github

📁 zfael/brn 📅 Feb 9, 2026
2
总安装量
2
周安装量
#73405
全站排名
安装命令
npx skills add https://github.com/zfael/brn --skill github

Agent 安装分布

amp 2
opencode 2
kimi-cli 2
codex 2
github-copilot 2
gemini-cli 2

Skill 文档

GitHub Integration

Interact with GitHub API using workspace-configured tokens.

Quick Reference

Action Script
List repos npx tsx scripts/list_repos.ts [org_or_user]
Get repo info npx tsx scripts/get_repo_info.ts <owner/repo>
Create PR npx tsx scripts/create_pr.ts <owner/repo> <head> <base> <title>
List PRs npx tsx scripts/list_prs.ts <owner/repo>

Prerequisites

Configure GitHub token in your workspace:

# Using workspace-manager
./skills/workspace-manager/scripts/configure_workspace.sh personal github_token ghp_xxxxx

Workflow Examples

After finishing a feature

# Create PR from feature branch to main
npx tsx scripts/create_pr.ts myorg/my-app PROJ-123-feature main "feat: Add new feature"

# Check PR status
npx tsx scripts/list_prs.ts myorg/my-app

Find repos to work on

# List all repos in your org
npx tsx scripts/list_repos.ts myorg

API Reference

See references/api_patterns.md for common GitHub API patterns and error handling.