From a18c15fa2d0579287461f7a1ca9e6b9db2eaf9b5 Mon Sep 17 00:00:00 2001 From: Coco Sheng Date: Thu, 9 Apr 2026 14:41:07 -0400 Subject: [PATCH] docs(triage): explicitly check UI hotkeys during existing feature checks --- .../skills/github-issue-triage/references/triage_rules.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gemini/skills/github-issue-triage/references/triage_rules.md b/.gemini/skills/github-issue-triage/references/triage_rules.md index 41e1ce48b4..c48ad0d9c6 100644 --- a/.gemini/skills/github-issue-triage/references/triage_rules.md +++ b/.gemini/skills/github-issue-triage/references/triage_rules.md @@ -43,8 +43,9 @@ Check if ANY of the following conditions are met: ## Step 1.1: Existing Feature Check **CRITICAL MISTAKE PREVENTION**: If the issue describes a feature request or enhancement (regardless of whether the JSON `is_feature_request` flag is true or false), you **MUST explicitly search the codebase** to verify if it is already implemented. You cannot skip this step for feature requests. 1. Use the `grep_search` tool to look for relevant keywords related to the feature in files like `schemas/settings.schema.json`, `packages/cli/src/config/config.ts`, command definitions, or UI components. -2. If you verify that the requested functionality (e.g., a setting, flag, or command) already exists natively: - - Execute `gh issue close --comment "This feature is actually already implemented! .\n\nI'm going to close this issue since the functionality already exists natively. Let us know if you run into any other issues!" --reason "completed"` + - **Hotkeys & UI Actions**: If the user asks for a way to expand text, pause output, copy text, or perform a UI action, explicitly check `packages/cli/src/ui/key/keyBindings.ts` and the `Command` enum. Many interactive features (e.g., `Ctrl+O` for expanding truncated tool confirmations or output) already exist natively. +2. If you verify that the requested functionality (e.g., a setting, flag, hotkey, or command) already exists natively: + - Execute `gh issue close --comment "This feature is actually already implemented! .\n\nI'm going to close this issue since the functionality already exists natively. Let us know if you run into any other issues!" --reason "completed"` - **STOP EXECUTION**. 3. If the feature does NOT exist, proceed to Step 1.2.