pd-github

SKILL.md

pd-github

PREREQUISITE: Read ../pd-shared/SKILL.md for auth and setup.

npx tsx resources/pd-github.ts <command> [flags]
Command Description Key Flags
whoami Authenticated user
repos List repositories --org, --sort, --limit
repo Repository info --repo
issues List issues --repo ✓, --state, --label, --assignee, --limit
create-issue Create an issue --repo ✓, --title ✓, --body, --labels, --assignees
close-issue Close an issue --repo ✓, --number
comment Comment on issue/PR --repo ✓, --number ✓, --body
prs List pull requests --repo ✓, --state, --limit
pr-summary Summarize open PRs --repo
create-pr Create a PR --repo ✓, --title ✓, --head ✓, --base, --draft
file Read a file --repo ✓, --path ✓, --ref
write-file Create/update file --repo ✓, --path ✓, --content ✓, --sha, --branch
commits Recent commits --repo ✓, --branch, --limit
search Search issues/PRs --query ✓, --limit

Examples

npx tsx resources/pd-github.ts whoami
npx tsx resources/pd-github.ts issues --repo owner/repo --label bug
npx tsx resources/pd-github.ts create-issue --repo owner/repo --title 'Bug' --labels 'bug,high'
npx tsx resources/pd-github.ts pr-summary --repo owner/repo
npx tsx resources/pd-github.ts file --repo owner/repo --path README.md
npx tsx resources/pd-github.ts search --query 'repo:owner/repo is:pr is:open review:required'

Tips

  • Repo format: owner/repo. file auto-decodes Base64. write-file needs --sha for updates.
  • --labels/--assignees are comma-separated.
  • GitHub search syntax for search.

[!CAUTION] create-issue, close-issue, comment, create-pr, write-file are write commands.

Weekly Installs
3
First Seen
6 days ago
Installed on
claude-code3
mcpjam1
kilo1
junie1
windsurf1
zencoder1