From 7fcceea7bcbfdc8f273eff12c977e4a9447d6daf Mon Sep 17 00:00:00 2001 From: Coco Sheng Date: Wed, 6 May 2026 16:24:06 -0400 Subject: [PATCH] docs: add instructions for using gemini-cli to automatically categorize and label issues --- scripts/backlog-analysis/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/scripts/backlog-analysis/README.md b/scripts/backlog-analysis/README.md index 0415033617..1e4e2cc1ee 100644 --- a/scripts/backlog-analysis/README.md +++ b/scripts/backlog-analysis/README.md @@ -85,6 +85,21 @@ python3 generic_processor.py \ --prompt "Analyze these features and suggest which package they belong in. Output JSON: {\"package\": \"name\"}" ``` +### 6. Auto-Categorizing Issues with Gemini CLI + +If you have a list of uncategorized issues (e.g., lacking `type/bug` or +`type/feature`), you can use the Gemini CLI itself directly in your terminal to +classify and label them. + +**Example command:** + +```bash +gemini "Read data/uncategorized.json. For each issue, determine if it is a bug or a feature request. Then, use the gh CLI tool to add either the 'type/bug' or 'type/feature' label to the issue on GitHub." +``` + +_Note: Make sure your `gemini-cli` has permission to execute shell commands if +you want it to apply the labels automatically via `gh`._ + ## 🧠 Effort Level Criteria Ratings are based on technical complexity and reproduction difficulty: