Issue triage tool

From markerikson/opencode-config-example · View interactive version

Issue triage tool is an AI agent skill from the GitHub repository markerikson/opencode-config-example. Run the GitHub issue triage tool for Redux repos. This skill should be used when triaging GitHub issues, generating triage reports, or understanding triage output for redux-toolkit, react-redux, reselect, redux, or immer repositories.

How to use this skill

Skill file

Issue Triage Tool

Automates fetching, categorizing, and reporting on open GitHub issues/PRs for Redux ecosystem repos.

Prerequisites

Tool Location

The tool path is configured in ~/.config/opencode/scripts/config.json under toolPaths.issue-triage-tool.

Running the Tool

Basic Usage

# Triage RTK (most common)
bun src/index.ts --repo reduxjs/redux-toolkit

# Use cached data (skip API calls)
bun src/index.ts --repo reduxjs/redux-toolkit --use-cache

# Triage all repos
bun src/index.ts

Available Repos

| Repo | Flag Value |

| ------------- | ------------------------------ |

| Redux Toolkit | --repo reduxjs/redux-toolkit |

| React Redux | --repo reduxjs/react-redux |

| Reselect | --repo reduxjs/reselect |

| Redux | --repo reduxjs/redux |

| Immer | --repo immerjs/immer |

CLI Flags

Output

All output goes to cache/ directory within the tool folder.

| Path | Content |

| -------------------------------------------------------- | ------------------------------------------------- |

| cache/json/{owner}-{name}.json | Raw issues + PRs JSON |

| cache/issues-md/{owner}-{name}/*.md | Individual issue markdown files |

| cache/reports/{owner}-{name}/triage-report-full.md | Full report: all categories, duplicates, clusters |

| cache/reports/{owner}-{name}/triage-report-priority.md | Shorter priority-focused report |

For RTK specifically:

Report Contents

The priority report includes:

The full report adds:

Categorization

Issues are categorized by matching labels, title keywords, and body content against category configs. RTK categories include:

See references/rtk-categories.ts for full category definitions with keywords and patterns.

Troubleshooting

"GitHub CLI (gh) not found"

Install from https://cli.github.com/

"Not authenticated"

Run gh auth login

"Rate limit exceeded"

Wait ~1 hour or use --use-cache with existing data

Empty/corrupted cache

Delete cache/json/{repo}.json and re-run without --use-cache

References

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.