Skip to main content

github

GitHub integration via gh CLI. List issues, create PRs, comment on issues. Use for agents that bridge GitHub and the Workshop board.

来源信息

仓库
joshrotenberg/agent_workshop
最近来源活动
2026年4月6日 15:09
检测到的 SKILL.md 语言
英语
星标
0
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
github
description
GitHub integration via gh CLI. List issues, create PRs, comment on issues. Use for agents that bridge GitHub and the Workshop board.
license
MIT
metadata
{"author":"joshrotenberg","version":"1.0"}
# GitHub Bridge GitHub issues and PRs with the Workshop board using the `gh` CLI. ## Prerequisites Verify authentication before any operation: ```bash gh auth status ``` ## Reading issues ```bash # List open issues with a label gh issue list --label "agent" --state open --json number,title,body,labels --limit 50 # Read a single issue gh issue view 42 --json number,title,body,labels,comments ``` Always use `--json` for structured output. ## Board integration When syncing issues to the board, use the ID convention `gh_<number>` for dedup: ```elixir # Check if already on the board before adding board() # Add a new work item from an issue add_work(id: "gh_42", title: "Issue title", type: "triage", priority: 3, spec: "Issue body text here") ``` Skip issues that already have a board item (any status). ## Creating PRs After work is completed on a branch: ```bash # Create PR linking back to the issue gh pr create --title "fix: description" --body "Closes #42" --head branch-name --base main ``` Use `Closes #N` in the PR body to auto-close the issue on merge. ## Commenting and labeling ```bash # Status update on an issue gh issue comment 42 --body "Picked up by agent, work item gh_42 created." # Label management gh issue edit 42 --add-label "in-progress" gh issue edit 42 --remove-label "agent" ``` ## When to use - Sync GitHub issues to the board for agent processing - Create PRs from completed board work - Keep issue status in sync with board state
在 GitHub 查看