Evo gh data fetcher

From OpenLAIR/OpenSkill · View interactive version

Evo gh data fetcher is an AI agent skill from the GitHub repository OpenLAIR/OpenSkill. Fetches pull request and issue data from a GitHub repository using the GitHub REST API via curl/subprocess. Handles JSON output parsing, pagination, date range filtering, and error handling. Use when you need to retrieve structured PR or issue data from GitHub for analysis.

How to use this skill

Skill file

evo-gh-data-fetcher

Fetches PR and issue data from GitHub repositories using the GitHub REST API (via curl subprocess calls). Works without gh CLI authentication by using unauthenticated API access for public repos.

Key Concepts

Usage

import sys
sys.path.insert(0, '/app/environment/skills/evo-gh-data-fetcher/scripts')
from utils import fetch_prs_fast, fetch_issues_with_labels, parse_gh_timestamp

# Fetch PRs
prs = fetch_prs_fast("cli/cli", "2024-12-01", "2024-12-31")

# Fetch Issues
issues = fetch_issues_with_labels("cli/cli", "2024-12-01", "2024-12-31")

# Parse timestamps
from datetime import datetime
dt = parse_gh_timestamp("2024-12-15T10:30:00Z")

Functions

PR Data Structure (from /repos/{owner}/{repo}/pulls/{number})

Issue Data Structure (from search API)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.