github-navigator
GitHub operations via gh CLI. CRITICAL: Use instead of WebFetch for any `github.com` URL or GitHub repo path like `owner/repo`. Use when the user asks to inspect repositories, files, issues, pull requests, releases, Actions runs, or repository structure. Use when the user says 'show README', 'list issues', 'check PR', 'clone repo', or 'analyze this repo'. Use even when the user just pastes a github.com URL without an explicit verb.
What this skill does
# GitHub Navigator Use `gh` for GitHub work. Prefer command discovery over memorizing flags. This is an execution skill. Use `gh` instead of generic web fetching for GitHub tasks, inspect `gh --help` when syntax is uncertain, then execute with tight guardrails. Keep the main flow lean and load [REFERENCES.md](REFERENCES.md) only when you need concrete examples, installation steps, or GraphQL details. ## When to Use Activate when: - the user gives a `github.com` URL - the user names a repo path like `facebook/react` or `owner/repo` - the user asks about repository files, issues, PRs, releases, workflows, or metadata - the user wants to understand the architecture or structure of a GitHub-hosted codebase ## Core Rules - Always prefer `gh` over `WebFetch` for GitHub content and operations. - Use `gh api` for raw file content, directory listings, and API-only endpoints. - Use `gh` subcommands (`issue`, `pr`, `release`, `run`, `workflow`, `repo`) when a dedicated command exists. - Use `gh <domain> --help` before guessing flags or subcommands. - Limit each command pattern to 2 attempts; if it still fails, stop and report the error. ## Command Routing | User Intent | Primary Command Path | |-------------|----------------------| | fetch file or list directory | `gh api repos/OWNER/REPO/contents/...` | | inspect issues | `gh issue ...` | | inspect pull requests | `gh pr ...` | | inspect releases | `gh release ...` | | inspect Actions runs or workflows | `gh run ...` or `gh workflow ...` | | inspect repo metadata or clone/fork | `gh repo ...` | | endpoints without a dedicated subcommand | `gh api ...` | Use dedicated subcommands first. Fall back to `gh api` only when needed. ## Execution Pattern 1. Identify the command domain from the request. 2. Check the relevant help output if the exact syntax is not already obvious. 3. Substitute the user's repo, path, issue number, PR number, or other arguments. 4. Run the command. 5. If it fails, adjust once based on the error message. 6. If it fails again, stop and report the error instead of trying blind variations. ## Deep Analysis Mode When the user wants to understand a codebase deeply, clone it locally for inspection instead of making many remote API calls. Default flow: 1. Clone with depth 1 to `/tmp/github-navigator/OWNER-REPO/` ```bash git clone --depth 1 https://github.com/OWNER/REPO.git /tmp/github-navigator/OWNER-REPO ``` 2. Inspect the repository for: - tech stack signals (`package.json`, `go.mod`, `Cargo.toml`, `pom.xml`, `requirements.txt`, etc.) - high-level directory structure - entry points and primary modules - README, docs, examples, and contribution files - architectural patterns worth calling out 3. Summarize the findings in plain language. 4. Keep the clone for follow-up questions unless cleanup is requested. Use a full clone only if the user explicitly needs commit history or deeper git analysis. ## Safety Always confirm before executing state-changing or destructive commands, including: - creating, closing, or reopening issues - creating, merging, or closing pull requests - deleting, archiving, or transferring repositories - setting secrets or triggering workflows - any use of `--force`, `--yes`, or similar bypass flags ## Authentication and Recovery - Check `gh auth status` when the task touches private repos or write operations. - Use `gh auth login` if the client is not authenticated. - If permissions are insufficient, use `gh auth refresh -s repo -s workflow -s read:org` as appropriate. - If a command fails, read the error, check help, retry once, then stop. - If `gh` is not installed, point the user to [REFERENCES.md](REFERENCES.md) for installation guidance. ## Reference Handoff Use [REFERENCES.md](REFERENCES.md) when you need: - concrete example commands for common tasks - install and auth setup details - troubleshooting reminders - GraphQL examples or other lower-frequency patterns --- > **License:** MIT > **See also:** [REFERENCES.md](REFERENCES.md)
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.