search-operations

Search GitHub code, issues, pull requests, repositories, and users via GitHub CLI.

Updated Jan 21, 2019
One-click install
npx skills add https://github.com/jtdowney/dotfiles --skill search-operations-jtdowney
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: search-operations
Source: https://github.com/jtdowney/dotfiles/tree/main/dot_claude/skills/github/search-operations
Command: npx skills add https://github.com/jtdowney/dotfiles --skill search-operations-jtdowney

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of finding specific information across GitHub, saving developers and project managers valuable time by enabling precise searches for code, issues, pull requests, repositories, and users.

Core Features & Use Cases

  • Code Search: Quickly locate code snippets, functions, or patterns across repositories.
  • Issue & PR Search: Efficiently find bugs, feature requests, and pull requests using advanced filters like labels, assignees, and states.
  • Repository Search: Discover relevant projects based on language, stars, forks, topics, and more.
  • User Search: Identify developers or organizations based on location, language, follower count, and other criteria.
  • Use Case: A developer needs to find all open issues labeled 'bug' in a specific repository that were created in the last week and assigned to them.

Quick Start

Use the search-operations skill to find all code containing the term "authenticate" in javascript files within the "myorg/myrepo" repository.

Frequently Asked Questions about search-operations

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search GitHub code for specific functions across multiple repositories?

To search GitHub code across repositories, use the GitHub CLI to find specific code snippets, functions, or patterns. You can locate code containing specific terms and filter by language and repository organization for precise results.

Can I find GitHub issues filtered by label, assignee, and creation date?

Yes, searching GitHub issues supports advanced filtering by labels, assignees, states, and creation dates. You can find all open issues labeled 'bug' assigned to a specific person created within the last week.

What is the best way to discover GitHub repositories by stars, forks, and topics?

Discovering GitHub repositories is done by searching with filters for language, stars, forks, and topics. This structured search capability helps you find relevant projects for competitive analysis or collaboration.

Does GitHub CLI search support finding users by location and follower count?

Yes, GitHub user search supports identifying developers or organizations based on location, primary language, follower count, and other criteria. This facilitates team collaboration and finding contributors.

What are the limitations of searching GitHub content via the CLI?

GitHub CLI searching requires proper authentication and depends on GitHub API rate limits. Complex nested queries with multiple filters may hit API constraints, and search results are bounded by repository access permissions.