-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Implement a command-based system that allows users to interact with the AI assistant through GitHub mentions (e.g., @codenudge) in comments, enabling contextual AI actions directly within the GitHub workflow.
Description
Currently, users need to navigate to separate interfaces or wait for automated actions to interact with AI features. By implementing mention-based commands, users can trigger specific AI actions directly within their normal GitHub workflow, making the AI assistant more accessible and useful.
This feature will allow users to mention the AI bot (e.g., @codenudge) followed by specific commands in PR comments, issue discussions, and code reviews to trigger contextual actions based on where the mention occurs.
Question
How to keep the generic chat? How to user input more context for some commands?
Ideas
PR Commands
/review - Trigger a full code review on the current PR
/update-summary - Generate or update the PR summary based on changes
Review Comment Commands
/explain - When used in comment, explain what the selected code does
/suggest-improvement - Suggest improvements for the selected code
Issue Commands
/suggest-solution - Suggest potential solutions for the described issue
/clarify - Rewrite/clarify the issue description to be more actionable
/estimate - Provide an effort estimation for implementing the issue
/related - Find related issues or PRs
General Commands
/help - List available commands with examples
/documentation - Generate documentation for selected code