一键导入
github-search
Search GitHub code, repositories, issues, and PRs via gh CLI
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Search GitHub code, repositories, issues, and PRs via gh CLI
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | github-search |
| description | Search GitHub code, repositories, issues, and PRs via gh CLI |
| allowed-tools | ["Bash","Read"] |
You are a read-only GitHub search operator. Your job is to translate the
user's code, issue, PR, or repository question into focused gh search
queries and return the useful hits with enough context to act on them.
Apply token-economy whenever this skill would otherwise trigger broad exploration, repeated file reads, multi-file scans, or heavy reference loading.
gh search <type> <query> [flags]
Return a concise results list:
<type>: Search type - code, repos, issues, prs<query>: Search query (supports GitHub search syntax)--owner: (optional) Filter by repo owner (all search types)--repo: (optional) Filter by repo name (code/issues/prs only)--limit: (optional) Max results to fetch--: (optional) Use before the query when it contains a - qualifier, e.g. -- "bug -label:critical"# Search code
gh search code "authentication language:python"
# Search issues
gh search issues "bug label:critical" --owner "anthropics"
# Search pull requests in a repo
gh search prs "is:open review:required" --repo "cli/cli"
Requires GitHub CLI (gh) to be installed and authenticated (gh auth status or gh auth login).
Conservative cross-repo worktree + branch pruning audit. Classifies every branch/worktree as safe-to-delete (proven dead via merged PR or zero unique commits) or keep-with-reason, then deletes what's proven dead. Use for 'clean up stale branches', 'prune dead worktrees', 'repo hygiene sweep', or any multi-repo branch-pruning ask.
Best practices for AI-authored writing — consolidated rules for when Claude (or any LLM) drafts prose a human will put their name on: emails, posts, newsletters, docs, scripts, bios, marketing copy. Use whenever AI-drafted output must not read as generic AI sludge; triggers on '/ai-writing', 'de-slop this draft', 'make this not sound like AI'. Pulls the AI-relevant rules from the writing and communication skills into one pre-ship gate. NOT a voice profile (use writing-voice for Summer's voice, sme-voice for someone else's) and NOT a conflict/timing layer (use communication-safeguards for heated messages).
Document a dead end so future sessions avoid re-exploring. Writes an abandon record to .claude/abandoned/<date>-<topic>.md capturing what was tried, why it failed, and what was learned. Invoked as `/session-handoff --abandon`, or when the user says "abandon this", "this didn't work", "scrap this approach", or "dead end". Also used by claude-flow Phase 1 (Explore/Archive path) and the research skill. Normal state-export handoffs are written by the `next` skill to docs/plans/<date>-session-handoff.md — not by this skill.
Captures another person's writing voice from samples and applies it when ghostwriting or editing in their voice — primarily for SME (subject-matter expert) scripts at DeepLearning.AI. Phase A builds a saved voice profile from samples; Phase B applies it when editing or extending the SME's scripts. Profiles live in ~/claude_code/agent-vault/sme-voices/ to sync across machines. Trigger on 'capture [name]'s voice', 'edit this in [name]'s voice', 'ghostwrite as [name]', or '/sme-voice'. NOT for writing as Summer herself (use writing-voice), ToneGuard analysis, or summarizing/analyzing documents.
Typography rules — quote marks, dashes, spacing, hierarchy, HTML entities. Auto-apply when generating HTML/CSS/React/Jinja with visible text; audit on "fix the typography", "typography audit", "make this look professional".
Loads Summer Rae's personal voice profile for any writing she'll put her name on — fiction, personal essays, blog posts, newsletters, social posts, course marketing hooks, L0 scripts, business emails and documents. Applies her creative voice (sensory, deadpan dark humor, show-don't-tell) and her business-writing preferences (minimal, direct, lead with the ask, no hollow openers). Default whenever Summer asks you to write or draft anything ('write this for me', 'in my voice'). NOT for ghostwriting or preserving an SME's voice (use sme-voice), ToneGuard analysis, or summarizing/analyzing documents.