templates/analytics/.builder/skills/github/SKILL.md
Search and read GitHub PRs, issues, and code across the YourOrg org. Use this skill when the user asks about pull requests, code reviews, or GitHub issues.
npx skillsauth add BuilderIO/agent-native githubInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
https://api.github.com (REST v3), https://api.github.com/graphql (GraphQL v4)Authorization: Bearer $GITHUB_TOKEN (personal access token)GITHUB_TOKENserver/lib/github.tsserver/routes/github.ts| Function | Description |
| ------------------------------- | --------------------------------------------------------------- |
| searchPRs(opts) | Search PRs using GitHub search syntax |
| searchIssues(opts) | Search issues using GitHub search syntax |
| getPR(owner, repo, number) | Full PR detail — commits, reviews, files (4 parallel API calls) |
| getIssue(owner, repo, number) | Issue detail with labels, assignees |
| listPRs(owner, repo, opts) | List repo PRs by state (open/closed/all) |
| searchOrgPRs(opts) | Convenience wrapper — prepends org:YourOrg is:pr |
| runGraphQL(query, variables?) | Raw GraphQL query |
| Route | Description |
| ------------------------------------------------------------------------ | -------------------------------------- |
| GET /api/github/search?q=...&type=pr\|issue&limit=30 | Full GitHub search syntax |
| GET /api/github/pr?owner=...&repo=...&number=... | PR detail with commits, reviews, files |
| GET /api/github/issue?owner=...&repo=...&number=... | Issue detail |
| GET /api/github/prs?owner=...&repo=...&state=open\|closed\|all | List repo PRs |
| GET /api/github/org-prs?org=YourOrg&q=...&state=OPEN\|CLOSED\|MERGED | Org-wide PR search |
| POST /api/github/graphql body: { query, variables? } | Raw GraphQL |
# Search open PRs in YourOrg org
pnpm action github-prs
pnpm action github-prs --org=YourOrg --query="is:open label:bug"
# List PRs for a specific repo
pnpm action github-prs --repo=YourOrg/qwik --state=open
# Get full PR detail (commits, reviews, files)
pnpm action github-prs --pr=YourOrg/qwik/1234
# Get issue detail
pnpm action github-prs --issue=YourOrg/qwik/567
# Full GitHub search syntax (works across all orgs/repos)
pnpm action github-prs --search="fix authentication is:pr is:merged"
pnpm action github-prs --search="memory leak" --type=issue
# Raw GraphQL
pnpm action github-prs --graphql='{ viewer { login } }'
# Filtering with built-in helpers
pnpm action github-prs --org=YourOrg --grep="auth" --fields=number,title,state,url
org:YourOrg — all repos in orgrepo:YourOrg/qwik — specific repois:pr is:open / is:pr is:merged / is:pr is:closedis:issue is:open / is:issue is:closedauthor:username — PRs/issues by authorassignee:username — assigned to userlabel:bug — by labelin:title keyword — keyword in titlecreated:>2025-01-01 — date rangereview:approved — approved PRsreview:changes_requestedsearchOrgPRs() is a convenience wrapper that prepends org:YourOrg is:pr — use searchPRs() / searchIssues() directly for full controlrestGetPaginated() with Link header traversalgetPR() makes 4 parallel API calls: PR data, commits, reviews, files — provides a complete picture in one shottools
Public booking flow — the state machine, animations, and URL/app-state sync.
tools
Trigger-based automations — reminders, follow-ups, webhooks — across the booking lifecycle.
tools
Team event types, round-robin assignment, collective bookings, host weights, and no-show calibration.
development
The pure `computeAvailableSlots` function — inputs, outputs, invariants, and debugging guide.