skills/github/SKILL.md
Interact with GitHub repos, PRs, issues, CI, and notifications via the pi-github extension commands and gh CLI. Use when asked to check PRs, list issues, view repo status, check CI, browse notifications, create or merge PRs, fix PR review feedback, or perform any GitHub operation. **Triggers:** "open PRs", "repo status", "CI status", "merge PR", "fix PR", "fix PRs", "fix review feedback", "create PR", "GitHub notifications", any /gh-* command, or when a GitHub PR URL is shared.
npx skillsauth add espennilsen/pi 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.
The pi-github extension provides /gh-* commands for common GitHub
operations. All commands also work as /github-* variants.
gh CLI installed and authenticatedThe pi-github extension provides /gh-* commands for user-initiated operations
and LLM tools for agentic workflows (PR review thread resolution).
| Command | What it does |
|---------|-------------|
| /gh-prs [mine\|review-requested] [repo] | List open PRs |
| /gh-issues [mine\|label:name] [repo] | List open issues |
| /gh-status [repo] | Repo dashboard: PRs, issues, CI, branch PR |
| /gh-actions [branch] [repo] | Recent workflow runs |
| /gh-notifications | Unread GitHub notifications |
| /gh-pr-create [base] | Create PR with LLM-generated summary |
| /gh-pr-review [number\|repo#N\|URL] | Show PR review feedback |
| /gh-pr-fix [number\|repo#N\|URL] | Fix unresolved review threads |
| /gh-pr-merge [number\|repo#N\|URL] [--squash\|--merge\|--rebase] | Merge PR + full cleanup |
| Tool | Purpose |
|------|---------|
| github_review_thread_reply | Reply to a PR review thread (thread_id, message) |
| github_resolve_review_thread | Mark a review thread as resolved (thread_id) |
| github_post_pr_comment | Post a summary comment on a PR (owner, repo, pr_number, body) |
Commands accept flexible repo/PR references anywhere in args:
| Format | Example |
|--------|---------|
| GitHub URL | https://github.com/owner/repo/pull/123 |
| Owner/repo#N | espennilsen/pi#96 |
| Repo#N (with default owner) | pi#96 |
| Owner/repo | espennilsen/pi |
| Plain number | 96 |
| No args | Auto-detect from current branch |
Set in settings.json to skip typing the owner:
{ "pi-github": { "defaultOwner": "espennilsen" } }
For complex PR operations, see the reference docs:
Fixing PR review threads — references/pr-fix.md
Read when fixing unresolved review feedback, resolving threads, or using /gh-pr-fix.
Parallel PR fixes — references/pr-fix-parallel.md Read when fixing review feedback across multiple PRs simultaneously using parallel subagents (pool or orchestrator mode).
Merging PRs — references/pr-merge.md
Read when merging a PR, resolving merge conflicts, cleaning up branches/worktrees, or using /gh-pr-merge.
Creating PRs — references/pr-create.md
Read when creating a PR with a generated summary, or using /gh-pr-create.
For anything the commands don't cover:
# Structured output
gh pr list --json number,title --jq '.[] | "#\(.number) \(.title)"'
# GraphQL
gh api graphql -f query='{ viewer { login } }'
# API calls
gh api repos/owner/repo/contributors --jq '.[].login'
v<semver>--json + --jq for structured outputgit checkout in main dirtools
# pi-a2a Long-Running Tasks Skill ## Overview The pi-a2a extension supports **long-running tasks** that can execute for hours or days without timeouts. This is essential for: - Data processing pipelines - Batch operations - Research and aggregation tasks - External API jobs with unpredictable duration - Any A2A task that exceeds the standard timeout ## When to Use **Use long-running tasks when:** - Task execution time is unpredictable or known to exceed 10 minutes - The remote agent is proc
development
Orchestrate cmux terminal panes — split terminals, run parallel processes, read output from other panes, and use the built-in browser. Use when working inside cmux and you need to run a dev server, watch tests, spawn sub-agents, or preview web pages.
testing
Review UI designs and implementations for accessibility, consistency, usability, and visual quality. Use when asked to review a design, audit accessibility, check UI consistency, compare implementation against mockups, or evaluate a user interface.
tools
Create, review, and improve skills for Pi agents. A skill is a folder with a SKILL.md that teaches an agent specialized workflows, domain knowledge, or tool integrations. Use when asked to create a new skill, improve an existing skill, review a skill for quality, scaffold a skill from a workflow, or convert documentation into a skill. Also triggers on "make a skill for", "build a skill", "skill for [topic]", "teach the agent to", or "package this workflow as a skill".