github-issue-analysis
Patterns for analyzing GitHub issues to determine if they are still relevant or have been fixed.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Patterns for analyzing GitHub issues to determine if they are still relevant or have been fixed.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Patterns for generating Gamma.app-compatible slide deck markdown from GitHub data for customer-facing account management presentations
Patterns for generating Gamma.app-compatible slide deck markdown from Linear data for customer-facing account management presentations
Patterns and templates for creating sprint/project retrospective reports from Jira data with time tracking and blocker analysis.
Multi-platform Electron build configuration - esbuild bundling, electron-builder setup, and distribution
Integrate external CLI tools (Claude, Node, npx) in Electron apps with proper PATH handling
Handle native Node.js modules in Electron - better-sqlite3, sharp, keytar packaging patterns
| name | github-issue-analysis |
| description | Patterns for analyzing GitHub issues to determine if they are still relevant or have been fixed. |
Systematic methodology for analyzing GitHub issues to determine current relevance and appropriate action.
Analyze GitHub issues to determine:
# Fetch complete issue details
gh issue view {issue_number} --json \
title,body,labels,comments,createdAt,updatedAt,state,author
Extract from issue:
From issue title and body, extract:
Component Keywords: UI elements, features mentioned
Error Keywords: Error messages, stack traces
File/Function Keywords: Specific code references
Behavior Keywords: What's happening vs expected
Search for evidence the issue was addressed:
# Search commit messages for issue keywords
git log --oneline --all --since="2025-01-01" --grep="{keyword}"
# Search for GitHub issue references in commits
git log --oneline --all --grep="#{issue_number}"
# Search for related file changes
git log --oneline --all --since="2025-01-01" -- "**/path/to/component*"
# Check if the problematic code pattern still exists
rg "{error_pattern}" --type ts
# Check if fix patterns were added
rg "stopPropagation|preventDefault" --type tsx
# Check if component was refactored/deleted
ls -la src/components/{component}/
# Find PRs that mention the issue
gh pr list --state all --search "#{issue_number}" --json number,title,state,mergedAt
# Find PRs that touched related files
gh pr list --state merged --search "{component_name}" --json number,title,mergedAt
Based on analysis, classify the issue:
Criteria:
Action:
gh issue close {number} --comment "$(cat <<'EOF'
Closing this issue - it has been addressed.
**Resolution:**
- Fixed in PR #{pr_number} / commit {commit_hash}
- The {component} was refactored in {month}
- The original error pattern no longer exists
If you're still experiencing this issue, please open a new issue with current reproduction steps.
EOF
)"
Criteria:
Action:
gh issue close {number} --comment "$(cat <<'EOF'
Closing this issue as outdated.
**Reason:**
- {component/feature} has been significantly refactored since this was reported
- The original context no longer applies to current architecture
- This issue is {age} old with no recent activity
If this is still a problem, please open a new issue with:
1. Current reproduction steps
2. Expected vs actual behavior
3. Screenshots/logs if applicable
EOF
)"
Criteria:
Criteria:
Action: Create Linear ticket and link back to GitHub issue.
When creating a ticket, use this template:
## GitHub Issue: #{issue_number}
**Original Report:** {github_url}
**Reported:** {created_date}
**Reporter:** {author}
## Summary
{Updated summary based on current codebase understanding}
## Current State
{What exists in the codebase today}
## Problem
{Clear description of what's wrong}
## Expected Behavior
{What should happen}
## Steps to Reproduce
{Updated steps if original are outdated}
## Technical Notes
- Relevant files: {file_paths}
- Related components: {components}
- Potential approach: {suggestions}
## Original Description
{Include original issue body for reference}
After creating Linear ticket:
gh issue comment {github_issue_number} --body "$(cat <<'EOF'
Linear ticket created: [{ticket_id}]({linear_url})
This issue is now being tracked in Linear for prioritization and implementation.
EOF
)"
START: Analyze GitHub Issue #{number}
|
+-- Is issue < 3 months old?
| +-- YES: Higher priority to investigate thoroughly
| +-- NO: Check if still relevant to current architecture
|
+-- Does issue reference existing component/feature?
| +-- YES: Search for related fixes
| +-- NO: CLOSE_OUTDATED (component removed)
|
+-- Found related PR/commit that fixes it?
| +-- YES: CLOSE_FIXED (cite the PR)
| +-- NO: Continue investigation
|
+-- Does error pattern still exist in code?
| +-- YES: Likely still an issue
| +-- NO: CLOSE_FIXED (pattern removed)
|
+-- Is issue clearly described with reproduction steps?
| +-- YES: CREATE_TICKET
| +-- NO: Can we infer the problem?
| +-- YES: UPDATE_AND_CREATE
| +-- NO: CLOSE_CANNOT_REPRODUCE
|
+-- END: Take appropriate action
| Issue Age | Default Assumption | Override If |
|---|---|---|
| 0-3 months | Likely still relevant | Clear fix found |
| 3-6 months | Investigate carefully | Component unchanged |
| 6-12 months | Likely outdated | Critical bug, still reproducible |
| 12+ months | Probably outdated | Security issue, data loss |
Used by:
github-issue-triager agent - Primary consumer/issue-triage command - Via agentBefore taking action on an issue: