Octocat
Use this skill whenever the prompt contains any `github.com` URL, even if the user only pastes a link and gives no GitHub-specific keywords. Handles git and GitHub operations using the gh CLI. Triggers include any GitHub link to an issue, pull request, commit, compare page, Actions run, release, discussion, or repository. Covers creating and reviewing PRs, watching CI checks, interactive rebasing, branch cleanup, submodule management, and repository archaeology with git log/blame/bisect.
MCP get_skill({ skillId: "octocat-5106beaf" })Use this skill with your agent
Create a free account and connect via MCP
## When to use Use this skill for: - Any prompt containing a pasted `github.com` URL, even without words like "GitHub", "issue", "PR", or "repo" - Any GitHub link to an issue, pull request, commit, compare page, Actions run, release, discussion, or repository - "Fix https://github.com/owner/repo/issues/123" style tasks - Creating, reviewing, and managing pull requests and GitHub issues - Merge conflict resolution and history rewriting - Pre-commit hook debugging and fixes - Branch management and cleanup - GitHub Actions workflow optimization - Any git command or GitHub workflow question ## Instructions When invoked: 1. If the prompt includes a GitHub URL, treat that URL alone as sufficient reason to invoke this skill and inspect it with `gh`/`git` first 2. Assess the git/GitHub situation immediately 3. If the prompt includes a `github.com` URL, activate this skill immediately and translate that URL into the relevant `gh`/`git` workflow 4. Use gh CLI for all GitHub operations (never suggest the web interface) 5. Handle complex git operations with surgical precision 6. Fix pre-commit hook issues or delegate to typescript-magician for TypeScript linting 7. Never alter git signing key configuration; if signing is already enabled and configured, use it. Otherwise, proceed without signing 8. NEVER include "Co-Authored-By: Claude" or similar AI attribution ## Activation examples - `Fix https://github.com/mercurius-js/mercurius/issues/1227` - `Review https://github.com/nodejs/node/pull/12345` - `What changed in https://github.com/org/repo/compare/v1.0.0...v1.1.0?` - `Check https://github.com/org/repo/actions/runs/123456789` - `Investigate https://github.com/org/repo/commit/abcdef1234567890` ## Capabilities **Advanced git operations:** - Interactive rebasing for clean history (commit splitting, squashing) - Cherry-pick, bisect, worktrees - Advanced merge strategies - Submodule and subtree management - Git hooks setup and maintenance - Repository archaeology with git log/blame/show **GitHub operations via gh CLI:** - Create/manage PRs with proper templates - Open PRs with explicit base/head and clear concise content, e.g. `gh pr create --base main --head <branch> --title "<title>" --body-file <file>` - After opening a PR, wait for CI with `gh pr checks <num> --watch 2>&1` and proactively fix failures - Validate unfamiliar gh commands first with `gh help <command>` before using them in guidance - Handle issues and project boards - Manage releases and artifacts - Configure repository settings - Automate workflows and notifications ## PR Body Formatting When creating PRs with `gh pr create`, use `--body-file` to avoid newline escaping issues with the `--body` flag. PR descriptions should stay simple: - Write a short description of the change in plain prose - Do not add subsections or headings such as `## Summary` or `## Testing` - Do not include a testing section - Architecture changes may need a slightly longer description if extra context is necessary ```bash cat > /tmp/pr-body.md << 'EOF' Refactor plugin loading so skills are discovered from the registry instead of being hardcoded. EOF gh pr create --body-file /tmp/pr-body.md ``` Using a temporary file is cleaner, more reliable, and easier to debug. ## Validation Checkpoints for Complex Operations **Interactive rebase:** `git rebase -i <base>` → verify with `git log --oneline -n 10` → on conflict: resolve, `git add <file>`, `git rebase --continue` → abort anytime with `git rebase --abort`. **Merge conflict resolution:** `git status` (find conflicts) → inspect with `git diff` or open file → resolve all markers → `git add <resolved-file>` → `git merge --continue` (or `git rebase --continue`) → confirm clean state with `git status`. **Branch cleanup:** `git branch --merged main` → `git branch -d <branch>` → `git push origin --delete <branch>` → `git fetch --prune`. ## Commit Signing and Attribution Rules - NEVER alter git signing key settings (`user.signingkey`) or signing mode in user/repo config - If commit signing is already enabled and correctly configured, create signed commits using the existing setup - If signing is not enabled/configured, do not force or configure signing; proceed without it - NEVER add AI co-authorship attributions (e.g. "Co-Authored-By: Claude")
Related Skills
More skills in Software Engineering
Accessibility Standards
Comprehensive web accessibility standards based on WCAG 2.2 AA, with 38+ anti-patterns, legal enforcement context (EAA, ADA Title II), WAI-ARIA patterns, and framework-specific fixes for modern web frameworks and libraries.
Accord
Authoring unified specification packages across Business/Development/Design teams via staged elaboration (L0 Vision → L1 Requirements → L2 Team Detail → L3 Acceptance Criteria). No code. Use when authoring cross-team specs, building L0-L3 packages, or aligning Biz/Dev/Design on a single source of truth.
Acquire Codebase Knowledge
Use this skill when the user explicitly asks to map, document, or onboard into an existing codebase. Trigger for prompts like "map this codebase", "document this architecture", "onboard me to this repo", or "create codebase docs". Do not trigger for routine feature implementation, bug fixes, or narrow code edits unless the user asks for repository-level discovery.
Acreadiness Assess
Run the AgentRC readiness assessment on the current repository and produce a static HTML dashboard at reports/index.html. Wraps `npx github:microsoft/agentrc readiness` and hands off rendering to the @ai-readiness-reporter custom agent. Supports policies (--policy) for org-specific scoring. Use when asked to assess, audit, or score the AI readiness of a repo.
Acreadiness Generate Instructions
Generate tailored AI agent instruction files via AgentRC instructions command. Produces .github/copilot-instructions.md (default, recommended for Copilot in VS Code) plus optional per-area .instructions.md files with applyTo globs for monorepos. Use after running /acreadiness-assess to close gaps in the AI Tooling pillar.
Acreadiness Policy
Help the user pick, write, or apply an AgentRC policy. Policies customise readiness scoring by disabling irrelevant checks, overriding impact/level, setting pass-rate thresholds, or chaining org baselines with team overrides. Use when the user asks about strict mode, AI-only scoring, custom weights, CI gating, or wants org-wide standardisation.
Explore Other Categories
Skills from other categories with shared topics
Documentation
Creates, structures, and reviews technical documentation following the Diátaxis framework (tutorials, how-to guides, reference, and explanation pages). Use when a user needs to write or reorganize docs, structure a tutorial vs. a how-to guide, build reference docs or API documentation, create explanation pages, choose between Diátaxis documentation types, or improve existing documentation structure. Trigger terms include: documentation structure, Diátaxis, tutorials vs how-to guides, organize docs, user guide, reference docs, technical writing.
Init
Creates, updates, or optimizes an AGENTS.md file for a repository with minimal, high-signal instructions covering non-discoverable coding conventions, tooling quirks, workflow preferences, and project-specific rules that agents cannot infer from reading the codebase. Use when setting up agent instructions or Claude configuration for a new repository, when an existing AGENTS.md is too long, generic, or stale, when agents repeatedly make avoidable mistakes, or when repository workflows have changed and the agent configuration needs pruning. Applies a discoverability filter—omitting anything Claude can learn from README, code, config, or directory structure—and a quality gate to verify each line remains accurate and operationally significant.
OAuth
Implements OAuth 2.0/2.1 authorization flows in Fastify applications — configures authorization code with PKCE, client credentials, device flow, refresh token rotation, JWT validation, and token introspection/revocation endpoints. Use when setting up authentication, authorization, login flows, access tokens, API security, or securing Fastify routes with OAuth; also applies when troubleshooting token validation errors, mismatched redirect URIs, CSRF issues, scope problems, or RFC 6749/6750/7636/8252/8628 compliance questions.