Github
You MUST always activate this github skill whenever working with GitHub in any capacity, includin…
by sammcj · Apache-2.0
The skill
You MUST always activate this github skill whenever working with GitHub in any capacity, including but not limited to gh cli, API, Actions, issues, PRs and other routine Github interactions.
GitHub
- Use the
ghCLI tool for interacting with GitHub (issues, PRs, releases) and performghcommands outside of the sandbox - When when working with Github Actions, you should always check for and use the latest Actions versions that are at least 7 days old, you can use
pinact run -update --min-age 7to achieve this - For the general PR conversation timeline (not line-level review comments), use
gh pr view --commentsor the REST/issues/N/commentsendpoint - When you need to read line-level review comments with their resolved state (e.g. triaging bot or human review feedback), fetch them via GraphQL in one call:
gh api graphql -f query='query { repository(owner: "OWNER", name: "REPO") { pullRequest(number: N) { reviewThreads(first: 100) { nodes { id isResolved path line comments(first: 1) { nodes { author { login } body } } } } } } }' --jq '.data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved == false)' - When explicitly asked by the user to "close" or "resolve" a review comment, resolve the thread via the GraphQL mutation (do not reply to a comment unless instructed):
gh api graphql -f query='mutation($id: ID!) { resolveReviewThread(input: { threadId: $id }) { thread { isResolved } } }' -f id="PRRT_..." - Thread IDs start with
PRRT_. UseunresolveReviewThreadto reopen - You can audit Github Actions security by running
zizmor .
Use this skill
Connect your agent to the Skill Store MCP server and ask for it by ref: sammcj/github-54616839282.
Details
- Publisher
- sammcj
- Category
- Software Development › Source control & code review
- License
- Apache-2.0
- Updated
- 2026-10-19
References
More from sammcj
- Ai Changelog Set up an AI-driven changelog system in any project, code or not.
- Ambitious Model Use Use when the user asks to be more ambitious with an AI task: aim at the outcome behind it, work i…
- Analyse Design Reverse-engineer an application, website or document's design system from its codebase and screen…
- Apply Mantel Styles Provides guidelines for applying Mantel's brand styles to diagrams and frontend components.