Github code

From getsentry/junior · View interactive version

Github code is an AI agent skill from the GitHub repository getsentry/junior. Work with GitHub repositories, source code, branches, commits, pull requests, reviews, diffs, CI, and repository credentials. Use for implementation, source investigation, clone/fetch/branch workflows, PR creation or updates, review feedback, GitHub Actions checks, and repository permission failures

How to use this skill

Skill file

GitHub code

Use git and gh for repository work.

| Action | Tool / command |

| ------------------------------- | ------------------------------------------------------------------------------------------------------------- |

| Create PR | github_createPullRequest (not gh pr create) |

| Update PR title/body/base/state | github_updatePullRequest |

| Mark PR ready / draft | github_updatePullRequest with draft: false / draft: true |

| Submit PR review | github_submitPullRequestReview |

| Comment on PR / reply in thread | github_commentOnPullRequest (in_reply_to for a thread reply) |

| Resolve review thread | github_resolvePullRequestReviewThread |

| Clone missing repo | github_cloneRepository (not git clone or gh repo clone); on Workspace match error use switchWorkspace |

Open when needed

| Need | Read |

| ---------------------------------- | -------------------------------------------------------------------------------------- |

| Commands and permissions | references/api-surface.md |

| Edit, verify, and open a PR | references/workflow.md |

| Command, permission, or CI failure | references/troubleshooting-workarounds.md |

Always

Do not install or repair the GitHub plugin from this skill.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.