diff --git a/.gemini/skills/triage/SKILL.md b/.gemini/skills/triage/SKILL.md new file mode 100644 index 000000000..4ef538ed3 --- /dev/null +++ b/.gemini/skills/triage/SKILL.md @@ -0,0 +1,22 @@ +--- +name: triage-helper +description: Assistance with triage of unprioritized issues. Use when the user asks for help with triage. +--- + +When a user asks for help in the CLI: +- Find the latest open issues in the https://github.com/flutter/flutter-intellij/ repo that don't have a priority label. +- If you encounter authentication issues, guide the user to check their `github-mcp-server` setup or `gh auth status` depending on available tools. +- Reference `docs/Triaging.md` for detailed setup instructions. +- Consider the most recently updated issues first. Start presenting issues one at a time to the user, with the issue URL and other relevant information. +- For each issue, give suggestions such as: + - Close the issue if it's not relevant anymore (e.g. it's been fixed, the code it's referencing is outdated, etc.) + - Suggest how to reproduce if it looks like it may be easy to reproduce locally + - Ask for a reproduction with a small project if reproduction may be hard locally + - Ask for more information and apply a waiting for response label + - Note a code pointer for the issue if it could be a good first issue for an external contributor + - Suggest a priority and other labels that may be relevant along with reasoning for the priority +- Then wait for user feedback before continuing on to the next issue. + +Avoid executing tasks on GitHub directly, such as making comments, applying labels, or closing issues. + +There is additional context on our issue triage process in docs/Triaging.md. \ No newline at end of file diff --git a/docs/Triaging.md b/docs/Triaging.md index 77b19e53d..ec54c29a7 100644 --- a/docs/Triaging.md +++ b/docs/Triaging.md @@ -68,7 +68,7 @@ Once in the gemini CLI, you can say something like "help me with triage". Exampl ``` Notes: -- There are instructions for gemini in the `tool/triage/GEMINI.md` file, and gemini should be able to access this whenever you start +- There is a triage skill for gemini in the `.gemini/skills` directory, and gemini should be able to access this whenever you start `gemini` in the flutter-intellij directory. - This extension can also help with reviewing PRs, or any other tasks that require context from GitHub. diff --git a/tool/triage/GEMINI.md b/tool/triage/GEMINI.md deleted file mode 100644 index 31f84e187..000000000 --- a/tool/triage/GEMINI.md +++ /dev/null @@ -1,10 +0,0 @@ -Steps for triage when a user asks for help in the CLI: -- Find the latest open issues in the flutter/flutter-intellij repo that don't have a priority label. -- Consider the most recently updated issues first. Start presenting issues one at a time to the user. -- For each issue, give suggestions such as: - - Close the issue if it's not relevant anymore (e.g. it's been fixed, the code it's referencing is outdated, etc.) - - Suggest how to reproduce if it looks like it may be easy to reproduce locally - - Ask for a reproduction with a small project if reproduction may be hard locally - - Ask for more information and apply a waiting for response label - - Note a code pointer for the issue if it could be a good first issue for an external contributor - - Suggest a priority and other labels that may be relevant along with reasoning for the priority