repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 | --- |
| #2 | name: github |
| #3 | description: "Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries." |
| #4 | --- |
| #5 | |
| #6 | # GitHub Skill |
| #7 | |
| #8 | Use the `gh` CLI to interact with GitHub. Always specify `--repo owner/repo` when not in a git directory, or use URLs directly. |
| #9 | |
| #10 | ## Pull Requests |
| #11 | |
| #12 | Check CI status on a PR: |
| #13 | ```bash |
| #14 | gh pr checks 55 --repo owner/repo |
| #15 | ``` |
| #16 | |
| #17 | List recent workflow runs: |
| #18 | ```bash |
| #19 | gh run list --repo owner/repo --limit 10 |
| #20 | ``` |
| #21 | |
| #22 | View a run and see which steps failed: |
| #23 | ```bash |
| #24 | gh run view <run-id> --repo owner/repo |
| #25 | ``` |
| #26 | |
| #27 | View logs for failed steps only: |
| #28 | ```bash |
| #29 | gh run view <run-id> --repo owner/repo --log-failed |
| #30 | ``` |
| #31 | |
| #32 | ## API for Advanced Queries |
| #33 | |
| #34 | The `gh api` command is useful for accessing data not available through other subcommands. |
| #35 | |
| #36 | Get PR with specific fields: |
| #37 | ```bash |
| #38 | gh api repos/owner/repo/pulls/55 --jq '.title, .state, .user.login' |
| #39 | ``` |
| #40 | |
| #41 | ## JSON Output |
| #42 | |
| #43 | Most commands support `--json` for structured output. You can use `--jq` to filter: |
| #44 | |
| #45 | ```bash |
| #46 | gh issue list --repo owner/repo --json number,title --jq '.[] | "\(.number): \(.title)"' |
| #47 | ``` |
| #48 |