github-analysis
БесплатноБез исполняемых скриптовНе проверенSystematically analyze GitHub tickets with proper local reproduction. Automatically substitutes production URLs with local DDEV hosts, ensures database sync…
Об этом скилле
GitHub Ticket Analysis Skill
Overview
This skill provides a comprehensive, systematic approach to analyzing GitHub tickets. It ensures issues are properly reproduced in the local development environment before proposing solutions, preventing wasted effort on cache issues, environment differences, or missing data.
Always use the quorum-analysis-team for this task as described in the teams folder
When to Use This Skill
- User asks to "analyze", "analyse", "debug", "fix", or "investigate" a GitHub ticket/issue
- User provides a GitHub issue number for investigation
- User asks about a specific bug reported in GitHub
- User requests help with reproducing an issue from a ticket
Critical First Principle: Always Reproduce Locally
NEVER propose a solution without first reproducing the issue in the local environment.
Many apparent bugs are actually:
- Cache issues (clear cache and retry)
- Database differences between environments
- Missing media files
- Environment configuration differences
- you must work on the live branch. If you are not on the live branch with edited files. stop and warn
GitHub Ticket Analysis Workflow
Step 1: Read the GitHub Ticket
Use the gh CLI inside the container — it auto-authenticates from $GH_TOKEN.
# View issue body, labels, comments
gh issue view <number> --comments
# JSON form when you need to script extraction
gh issue view <number> --json title,body,labels,comments,url,state
# Other repo (when not run from inside the repo)
gh issue view <number> -R <owner>/<repo> --comments
Capture: title, description, screenshots, URLs, expected vs actual behavior.
Extract from the ticket:
- Issue title and description
- Any URLs mentioned (production/staging/UAT)
- Screenshots or images attached
- Video attachments / screen recordings (see Step 1b — you must extract frames)
- Expected behavior vs actual behavior
- Steps to reproduce (if provided)
- Browser/environment details (if mentioned)
Step 1b: Extract and View Video Attachments
Clients often attach screen recordings (.mov / .mp4 / .webm) — these are the
ground truth for reproduction. You CANNOT view a video directly; extract still
frames with ffmpeg and Read the images. ffmpeg + ffprobe are installed in the
web container (via .ddev/web-build/Dockerfile.ffmpeg) — run ffmpeg -version to
confirm; if missing, the project's web image needs a rebuild.
1. Find the video URL in the issue body/comments. GitHub renders attachments as
https://github.com/user-attachments/assets/<uuid> (modern) or
https://user-images.githubusercontent.com/... (older):
gh issue view <number> --json body,comments -q '.body, (.comments[].body)' \
| grep -oE 'https://[^ )"]+(user-attachments/assets/[^ )"]+|\.(mov|mp4|webm))'
2. Download it (gh auth covers private-repo assets; follow redirects):
mkdir -p /tmp/ticket-<number>
curl -sL -H "Authorization: token $GH_TOKEN" "<video-url>" -o /tmp/ticket-<number>/video.mov
ffprobe -v error -show_entries format=duration -of csv=p=0 /tmp/ticket-<number>/video.mov # length in seconds
3. Extract frames — 1 fps is a sane default; use scene-change detection for long recordings to keep only high-signal frames:
mkdir -p /tmp/ticket-<number>/frames
# Every 1 second:
ffmpeg -i /tmp/ticket-<number>/video.mov -vf "fps=1" -q:v 2 /tmp/ticket-<number>/frames/frame_%03d.jpg
# OR only on scene changes (fewer, more meaningful frames):
ffmpeg -i /tmp/ticket-<number>/video.mov -vf "select='gt(scene,0.3)'" -vsync vfr -q:v 2 /tmp/ticket-<number>/frames/scene_%03d.jpg
4. Read each frame_*.jpg and note: the failure moment, exact UI state, error
toasts/modals, network spinners, and the click path. Feed this into the reproduction
steps below. Clean up with rm -rf /tmp/ticket-<number> when done.
Step 2: Substitute Production URLs with Local DDEV Host
CRITICAL RULE: Always convert production URLs to local equivalents
URL Substitution Patterns:
Production: https://site.com/...
Local DDEV: https://site.ddev.site/...
Production: https://www.domain.com/...
Local DDEV: https://{project}.ddev.site/...
Production: http://domain.com/...
Local DDEV: https://{project}.ddev.site/...
How to determine DDEV host:
# Check DDEV configuration
ddev describe | grep -i "primary url"
# Or read from .ddev/config.yaml
grep "^name:" .ddev/config.yaml
# The URL will be: https://{name}.ddev.site
Example:
Ticket says: "Bug on https://pvcpipesupplies.com/product/test.html"
You test: https://pvcpipesupplies.ddev.site/product/test.html
Step 3: Verify Local Environment is Running
# Ensure DDEV is running
ddev describe
# If not running:
ddev start
# Verify services are healthy
ddev exec php -v
ddev exec mysql -e "SELECT 1"
Step 4: Test the URL Locally and Compare with Live
First attempt: Test with current local data
- Open the local URL in your mental mod
Установить github-analysis в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл github-analysis?
Systematically analyze GitHub tickets with proper local reproduction. Automatically substitutes production URLs with local DDEV hosts, ensures database sync, downloads missing assets, and reproduces issues locally before proposing solutions.
Как установить скилл github-analysis?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл github-analysis запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic