1.3 KiB
1.3 KiB
| name | intent | description |
|---|---|---|
| github-to-beads | tasks, github | Import GitHub issues and PRs into beads task tracking. Use when user asks to pull GitHub issue info, define work from an issue, or create tasks from GitHub. |
GitHub to Beads
Import GitHub issues into beads.
Usage
Tool: execute_code
tool: github_to_beads.sh
args: ["--mount", "<mount>", "--repo", "<owner/repo>", "--issue", "<issue_number>"]
What it does:
- Fetches issue data via
ghCLI - Creates bead:
#NUMBER: title→ title, body → description - Maps labels to issue_type (bug label → bug type)
- Sets status (closed issues → closed status)
- Parses task list (
- [ ]items) as child beads - Skips if already imported
When to Use
- User asks to "pull" or "import" a GitHub issue
- User wants to define work based on a GitHub issue
- User asks to create beads/tasks from GitHub
When NOT to Use
- Just viewing issue info (use
gh issue view) - Modifying GitHub issues (this is pull-only)
- General bead management (use
beadsskill)
Manual GitHub Commands
gh issue view 123 --repo owner/repo # human readable
gh issue view 123 --repo owner/repo --json number,title,body # JSON
After Import
Review and adjust:
- Remove beads bot doesn't need
- Refine descriptions
- Add context