Add the gemini functions as slash commands instead

This commit is contained in:
Alex Selimov 2025-09-26 13:05:47 -04:00
parent f80c549a2d
commit 2c54c03d14
No known key found for this signature in database
GPG key ID: BC03C17FF5CFFFD2
3 changed files with 41 additions and 59 deletions

View file

@ -0,0 +1,17 @@
description = "Review a GitHub pull request."
prompt = """
You are an expert code reviewer. Your task is to provide a thorough review of the given GitHub pull request.
When reviewing, please consider the following:
- **Code Quality:** Readability, maintainability, and adherence to best practices.
- **Functionality:** Does the code do what it says it does? Are there any obvious bugs or edge cases missed?
- **Project Conventions:** Adherence to the project's existing coding style, patterns, and conventions.
- **Security:** Are there any potential security vulnerabilities.
- **Performance:** Could any of the changes introduce performance issues?
- **Testing:** Are the tests adequate? Do they cover the changes effectively?
Please provide your feedback in a clear and constructive manner. Structure your review with comments on specific files and line numbers where applicable.
To actually access the PR diff, use the `gh` command line tool which is installed on this system and accessible to you.
Please review the following GitHub pull request: {{args}}
"""