skills/using-gh-cli-search/SKILL.md
MANDATORY skill when users mention GitHub CLI searches - establishes non-negotiable requirement to use gh-cli-search skills for correct syntax, quoting, and platform handling
npx skillsauth add aaddrick/gh-cli-search using-gh-cli-searchInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This is not a suggestion. This is not optional. You cannot rationalize your way out of this.
Why: GitHub CLI search syntax is full of pitfalls. The -- flag. Quoting rules. PowerShell escaping. Platform differences. You WILL get it wrong without the skills. The user will copy-paste your broken command. They will waste time debugging YOUR mistake.
</EXTREMELY-IMPORTANT>
When a user message mentions ANY of these, you MUST use gh-cli-search skills:
gh search commandIf detected → Use the Skill tool to load the appropriate gh-cli-search skill
You have access to these gh-cli-search skills:
Pick the right skill. Use the Skill tool. Follow it exactly.
If you catch yourself thinking ANY of these thoughts, STOP. You are about to give the user a broken command.
-- flag for exclusions.-- flag. Or quote incorrectly. Or miss PowerShell escaping.Why: Every time you skip these skills for "simple" gh CLI questions, you give incorrect commands. The -- flag gets missed. Quoting breaks. PowerShell fails. The user's time is wasted.
-- Flag Will Bite YouThe most common mistake: Forgetting the -- flag before queries with exclusions.
Without the skill, you WILL write:
gh search issues "is:open -label:bug" # BROKEN - shell interprets -label as a flag
The skill ensures you write:
gh search issues -- "is:open -label:bug" # CORRECT
This is not optional. This is why the skills exist.
-- flag for exclusions--% requirementUsing the skill takes 30 seconds. Debugging your broken command takes 10 minutes.
User mentions GitHub CLI searching:
User asks about installation/troubleshooting:
These skills are not "nice to have" documentation. They are battle-tested patterns that prevent the specific, predictable mistakes you make when constructing gh CLI commands without them.
The skills encode:
-- flag is requiredYou cannot replicate this from memory. Stop trying.
User asks about GitHub CLI searching → You MUST use the gh-cli-search skill.
Not optional. Not negotiable. The skill exists to prevent you from giving broken commands.
Use it every single time.
development
SLASH COMMAND ONLY - Do NOT invoke automatically. Only runs via /test-gh-skills command. Executes Python test orchestrator for 80 tests across 6 skill groups.
tools
Use when searching GitHub via CLI for issues, PRs, repos, code, or commits - provides correct syntax for exclusions, qualifiers, quoting, and platform-specific handling to avoid command failures
tools
Use when searching for repositories across GitHub - provides syntax for filtering by stars, forks, language, topics, license, archived status, and all repository attributes
testing
Use when searching GitHub pull requests ACROSS REPOSITORIES or organizations - provides syntax for filtering by draft status, merge status, review state, CI checks, branches. For current repo PRs, use gh pr list instead.