Marketplace github
GitHub operations via gh CLI. Use when user mentions: PR, pull request, github issue, workflow, actions, gh, or when git remote shows github.com.
install
source · Clone the upstream repo
git clone https://github.com/aiskillstore/marketplace
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/aiskillstore/marketplace "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/eteissonniere/github" ~/.claude/skills/aiskillstore-marketplace-github-75aaf8 && rm -rf "$T"
manifest:
skills/eteissonniere/github/SKILL.mdsource content
GitHub CLI (gh)
When to Use This Skill
Use
gh for GitHub repositories. To detect GitHub:
git remote -v | grep -i github.com
If the remote contains
github.com, use this skill.
Before Any Operation
Always verify authentication first:
gh auth status
If not authenticated, guide the user to run
gh auth login.
Behavioral Guidelines
- Creating PRs: Always check for uncommitted changes first with
git status - Viewing PRs/Issues: Use
flag when user wants full context--comments - CI Operations: Check
before triggering new workflowsgh run list - Use
: When the user might benefit from the browser UI--web - PR descriptions: Use HEREDOC for multi-line bodies to preserve formatting
Command Reference
Pull Requests
| Action | Command |
|---|---|
| Create | |
| Create draft | |
| List | |
| View | |
| View with comments | |
| Checkout | |
| Diff | |
| Merge | |
| Approve | |
Issues
| Action | Command |
|---|---|
| Create | |
| List | |
| List mine | |
| View | |
| Close | |
| Comment | |
Workflow Runs (CI/CD)
| Action | Command |
|---|---|
| List runs | |
| View run | |
| View logs | |
| Watch live | |
| Rerun failed | |
Repository
| Action | Command |
|---|---|
| View info | |
| Clone | |
| Fork | |
| Open in browser | |
Advanced: API Calls
For operations not covered by CLI commands:
gh api repos/{owner}/{repo}/pulls/{id}/comments