Skip to content

Commit f42959c

Browse files
CopilotMossaka
andcommitted
Improve agent prompt with specific GitHub tool usage instructions
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
1 parent 82f8681 commit f42959c

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/agentics/contribution-guidelines-checker.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@ If no CONTRIBUTING.md file is found, use common best practices for contribution
3434
### 2. Analyze the Pull Request
3535

3636
Use GitHub tools to gather information about the PR:
37-
- Get the PR details (title, body, changed files, commits)
38-
- Review the file changes to understand what was modified
39-
- Check if tests are included for code changes
40-
- Check if documentation is updated when applicable
37+
- Use `pull_request_read` with method `get` to get PR details (title, body)
38+
- Use `pull_request_read` with method `get_files` to see what files were changed
39+
- Use `pull_request_read` with method `get_commits` or `list_commits` to review commit messages
40+
- Check if tests are included for code changes (look for test file additions/modifications)
41+
- Check if documentation is updated when applicable (look for docs or README changes)
4142

4243
### 3. Evaluate Against Guidelines
4344

0 commit comments

Comments
 (0)