Purpose: Comprehensive operational guide for AI coding agents (Claude, Copilot, etc.) to manage engineering knowledge stored in GitHub Issues.
What This Repository IS:
- Complete operational guide for AI agents performing GitHub Issues operations
- Empirically-tested workflows and decision trees (200+ test cases, 88% avg AI effectiveness)
- Tool selection guidance (native gh CLI, extensions, AI models)
What This Repository IS NOT:
- The knowledge base itself (that's in GitHub Issues - the actual issues you create)
- Generic GitHub CLI documentation (see official docs for that)
Repository: https://github.com/terrylica/claude-code-skills-github-issues
- π Documentation - Guides, research, and references
- π Search Guide - Native GitHub CLI search (quick start + complete reference)
- π€ AI Agent Guide - Operational guide for AI coding agents
- π Extensions - GitHub CLI extensions tested and recommended
Two installation methods available based on your needs:
Available across ALL your Claude Code sessions.
/plugin marketplace add terrylica/claude-code-skills-github-issues
/plugin install github-issues-operations@terrylica/claude-code-skills-github-issuesVerification: Run /plugin to confirm github-issues-operations is installed.
Available only in THIS project. Committed to git for team access.
git submodule add https://github.com/terrylica/claude-code-skills-github-issues.git .claude/plugins/github-issuesπ Complete Installation Guide: See INSTALLATION.md for:
- Prerequisites and version requirements
- Detailed installation steps (4 methods with comparison table)
- Verification and testing procedures
- Updates, uninstallation, and lifecycle management
- Troubleshooting common issues
- Team distribution and version pinning
π€ For AI Agents:
This repository documents operations for managing knowledge in GitHub Issues. The actual knowledge base lives in Issues. This is your operational manual.
Quick Start: See AI_AGENT_OPERATIONAL_GUIDE.md for complete tool selection decision trees and workflows.
This guide documents 5 categories of operations for AI agents managing knowledge in GitHub Issues:
- AI-Powered Operations (gh-models) - Issue summarization, auto-labeling, Q&A, documentation generation
- File Search Operations (gh-grep) - Regex-based file search, multi-repository search
- Issue Search & Discovery (native gh CLI) - Content search, complex filtering, metadata queries
- Issue Lifecycle Operations (native gh CLI) - CRUD operations, state management, comments, assignments
- Label & Milestone Management (native gh CLI) - Label/milestone CRUD, cloning, batch operations
Complete Details: See AI_AGENT_OPERATIONAL_GUIDE.md for full operation reference, tool selection decision trees, and empirically-tested workflows.
Install GitHub CLI extensions - See GITHUB_CLI_EXTENSIONS.md for installation instructions.
# Search issues with native GitHub CLI
gh search issues "authentication" --repo=terrylica/claude-code-skills-github-issues
# Search current repository
gh issue list --search "authentication"
# Filter by metadata
gh search issues --label=bug --state=open --assignee=@me
# Search files with regex (gh-grep extension)
gh grep "Bug.*critical" --owner terrylica --repo knowledgebase# List available AI models
gh models list
# Get AI assistance
gh models run "openai/gpt-4.1" "Summarize this: $(gh issue view 123 --json body --jq .body)"docs/
βββ guides/ Operational guides for AI agents and humans
β βββ AI_AGENT_OPERATIONAL_GUIDE.md # Complete operational guide
βββ research/ Platform analysis and capabilities
β βββ GITHUB_CLI_EXTENSIONS.md # Extension ecosystem (consolidated)
β βββ GITHUB_NATIVE_SEARCH_CAPABILITIES.md # Search guide (quick start + reference)
βββ references/ Complete technical references
β βββ github-cli-issues-comprehensive-guide.md # 200+ test cases
βββ testing/ Test reports and POC results
βββ GH-MODELS-POC-RESULTS.md # AI assistance POC (88% effectiveness)
Powerful built-in features:
- Search: Title, body, and comments
- Filter: 30+ qualifiers (labels, dates, users, state, milestones)
- Sort: Comments, reactions, dates
- Output: JSON for scripting and automation
- Labels: Full label management (create, edit, delete, clone)
Actively maintained extensions for AI agents (tested 2025-10-23):
- gh-grep: File search with regex (updated yesterday, 211 stars)
- gh-models: Official AI assistance (updated 9 days ago)
200+ test cases covering:
- CRUD operations (create, read, update, delete)
- Search and filtering (60+ queries)
- Metadata and labels (40+ tests)
- State and lifecycle (30+ tests)
- Comments and interactions (40+ tests)
- Extension functionality verification
- AI assistance workflows (5 POC tests, 88% effectiveness)
Complete guide for AI coding agents:
- Tool selection decision trees
- Empirical testing results
- Common workflows and patterns
- Error handling and best practices
- Limitations and constraints
- Content search: Title, body, and comments with
in:qualifiers - Metadata filtering: 30+ qualifiers for labels, dates, users, state
- Structured queries: Excellent for team collaboration and knowledge base
- Limitations: No regex, no wildcards, no context lines
See: GITHUB_NATIVE_SEARCH_CAPABILITIES.md
- 652+ extensions available (as of 2025-10-23)
- Top extensions tested and verified for maintenance status
- Outdated extensions identified (gh-label: 2022, gh-milestone: 2023)
- Recommended alternatives to custom scripts
- Complete coverage: All 17
gh issuecommands tested - JSON output: 21 fields available
- Automation: Full API access via CLI
- Native label commands: No extension needed
See: github-cli-issues-comprehensive-guide.md
# Basic search
gh search issues "authentication"
# Search in specific field
gh search issues "database" --match=title
# Filter by metadata
gh search issues --label=bug --state=open --assignee=@me
# Date range
gh search issues --created="2025-01-01..2025-01-31"
# Sort by engagement
gh search issues --sort=comments --order=desc
# Search files with regex (gh-grep)
gh grep "Bug.*critical" --owner myorg --repo myrepo# File search with regex
gh grep "authentication" --owner myorg --repo myrepo --line-number
# AI assistance
gh models run "openai/gpt-4.1" "Summarize this issue: $ISSUE_BODY"
# Label management (native)
gh label list
gh label create "priority:high" --color "ff0000"Comprehensive operational guide: AI_AGENT_OPERATIONAL_GUIDE.md
Quick tool selection:
- Search issues β
gh search issues - Search files (with regex) β
gh grep - AI assistance β
gh models - Label operations β
gh label(native) - Milestone operations β
gh api repos/.../milestones
This repository demonstrates the documented system by storing our team's Claude Code tips and tricks as GitHub Issues.
Dual Purpose:
- Working example of all documented AI agent workflows
- Actual knowledge base for our team's Claude Code expertise
Why This Approach:
- Shows real-world usage of gh-models auto-labeling
- Demonstrates native search capabilities with actual content
- Provides templates for knowledge base setup
- Serves as proof-of-concept for the entire system
Knowledge Base Labels:
| Label | Color | Description |
|---|---|---|
claude-code |
0366d6 |
Claude Code tips and tricks |
github-cli |
2ea44f |
GitHub CLI workflows |
workflow |
fbca04 |
Development workflows |
tips |
c5def5 |
Tips and best practices |
troubleshooting |
d93f0b |
Common issues and solutions |
how-to |
bfdadc |
How-to guides |
reference |
d4c5f9 |
Reference documentation |
example |
c2e0c6 |
Code examples |
git |
5319e7 |
Git workflows |
terminal |
0e8a16 |
Terminal setup and usage |
mcp |
f9d0c4 |
MCP server integration |
Example Operations:
# Search Claude Code tips
gh search issues "plan mode" --repo=terrylica/claude-code-skills-github-issues --label=claude-code
# Create new tip with auto-suggested labels (using gh-models)
gh issue create --title "Claude Code: Using Plan Mode" \
--body-file tip.md \
--repo=terrylica/claude-code-skills-github-issues
# Get AI-suggested labels for the new issue
BODY=$(gh issue view 1 --json body --jq .body)
gh models run "openai/gpt-4.1" "Suggest 2-3 labels from this list: claude-code, github-cli, workflow, tips, troubleshooting, how-to, reference, example, git, terminal, mcp. Issue body: $BODY"This repository serves as a knowledge base and toolkit for team collaboration.
Structure principles:
- DRY (Don't Repeat Yourself)
- Single source of truth
- Clear organization
- Comprehensive documentation
- Use community-maintained extensions over custom code
- Repository: https://github.com/terrylica/claude-code-skills-github-issues
- GitHub CLI: https://cli.github.com/
- GitHub Search Syntax: https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requests
- gh-grep: https://github.com/k1LoW/gh-grep
- gh-models: https://github.com/github/gh-models
Last Updated: 2025-10-24 Maintainer: Terry Li (@terrylica)