一键导入
gh-search
Search GitHub for code, issues, PRs, repos, and more via gh CLI.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Search GitHub for code, issues, PRs, repos, and more via gh CLI.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Recursive error-fix loop. Use when a bash command fails with a build/test/typecheck error, when the same class of error appears more than once, or when the harness itself needs a persistent rule so the error does not come back. Detect → root-cause → minimal fix → test → lint/typecheck → persist rule (SKILL.md / AGENTS.md / docs/rules) → audit with evidence. Cross-harness (Claude Code, OpenCode, Codex, Gemini, Agy).
Wraps any external CLI so the AI harness can invoke it without context bloat. Captures --help output, documents every subcommand/flag in a compact digest, saves token metrics (raw vs wrapped), and exposes a standardized interface (invoke, explain, audit). Use before calling an unfamiliar CLI or when the harness needs to interact with a CLI repeatedly.
One-shot setup that configures the CLI wrapper ecosystem across ALL AI harnesses (Claude Code, Gemini, Codex, Agy, OpenCode). Creates symlinks from Claude (single source of truth) to every other CLI, registers wrapper skills/agents in each harness, and injects the "prefer wrapped CLI" policy into each CLI's config file. Run once per machine or after adding a new CLI to the ecosystem.
Cross-harness skill that teaches Claude Code, Codex (OpenAI), and Antigravity (Agy) how to use OpenCode as a subagent. Covers delegation triggers, task formatting, provider routing, result handling, and the complete protocol for efficient subagent orchestration.
Automatically routes tasks to the optimal AI agent, model, or provider based on complexity, cost, and capability. Use when implementing features, fixing bugs, or any multi-step development work. Triggers on "implement", "build", "create", "fix", "add feature", "develop", or when the user asks to do any coding task.
Surface opportunities to deepen a codebase. Finds modules that are shallow (thin pass-throughs, anemic types, missing domain modeling) and proposes how to make them deep (rich domain types, co-located behavior, testable seams). Outputs a visual HTML report and then runs an interactive grilling loop that pressure-tests each opportunity. Use when the codebase feels "flat", domain logic leaks into controllers/UI, types carry no behavior, or AI agents struggle to navigate the module boundaries. Integrates with domain-modeling, codebase-design, and ADR workflows.
| name | gh-search |
| description | Search GitHub for code, issues, PRs, repos, and more via gh CLI. |
Search across GitHub using powerful query syntax.
gh search issues "<query>" --owner <org> --repo <repo> --state <open|closed> --author <user>gh search code "<query>" --owner <org> --repo <repo> --language <lang> --extension <ext>gh search repos "<query>" --owner <org> --topic <topic> --language <lang> --stars ">100"gh search prs "<query>" --state <open|closed> --author <user> --reviewer <user>gh search commits "<query>" --author <user> --repo <repo>gh search issues "<query>" --label "<label>"created:>2024-01-01 or updated:<2024-12-31is:open, is:closed, is:merged, is:unmerged--limit <n>--json <fields> --jq "<expression>"Triggered when user says "search", "find code", "search issues", "search repositories".
Use specific scopes (issues, code, repos, prs) for targeted results.
GitHub search syntax supports AND, OR, NOT and parentheses for complex queries.