octocat

Automates git and GitHub operations using the gh CLI for pull requests, issues, and repository management.

Updated Jul 10, 2026
One-click install
npx skills add https://github.com/CodeCrafterAdi2006/Ink-and-Code --skill octocat-codecrafteradi2006
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: octocat
Source: https://github.com/CodeCrafterAdi2006/Ink-and-Code/tree/main/Skills/Octocat
Command: npx skills add https://github.com/CodeCrafterAdi2006/Ink-and-Code --skill octocat-codecrafteradi2006

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Managing GitHub workflows and complex git operations manually is slow and error-prone, especially when handling pull requests, merge conflicts, interactive rebases, and CI monitoring across repositories. ## Core Features & Use Cases - GitHub URL Handling: Automatically activates on any pasted github.com link (issues, PRs, commits, compare pages, Actions runs, releases) and translates it into the right gh/git workflow. - PR and Issue Management: Creates and reviews pull requests with clean body formatting via --body-file, watches CI checks with gh pr checks --watch, and fixes failures proactively. - Advanced Git Operations: Handles interactive rebasing, cherry-picking, bisecting, merge conflict resolution, branch cleanup, submodules, and repository archaeology with git log/blame. - Use Case: Paste a link like https://github.com/org/repo/issues/123 and the skill inspects the issue, creates a fix branch, opens a PR, and monitors CI until checks pass. ## Quick Start Paste any GitHub URL such as an issue or pull request link and ask the assistant to fix, review, or investigate it using the gh CLI.

Frequently Asked Questions about octocat

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a pull request with the gh CLI?

Use gh pr create with explicit base and head branches plus a title and body. Write the body to a temporary file and pass it with --body-file to avoid newline escaping issues that occur with the --body flag.

How do I resolve git merge conflicts from the command line?

Run git status to find conflicted files, inspect them with git diff, resolve all conflict markers, then git add the resolved files and run git merge --continue or git rebase --continue. Confirm a clean state with git status afterward.

Can I monitor GitHub Actions CI checks for a pull request?

Yes, run gh pr checks <number> --watch to stream CI status until checks complete. This lets you detect failures immediately and fix them before merging.

How do I clean up merged git branches locally and remotely?

List merged branches with git branch --merged main, delete them locally with git branch -d, remove remote branches with git push origin --delete, and prune stale references with git fetch --prune.

Does this skill change my git commit signing configuration?

No, it never alters signing keys or signing mode. If commit signing is already enabled and configured, it uses the existing setup; otherwise it proceeds without signing.