mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 10:55:17 +00:00
57 lines
1.7 KiB
Markdown
57 lines
1.7 KiB
Markdown
`Platforms supported: GitHub, GitLab, Bitbucket`
|
|
|
|
## Overview
|
|
|
|
The `implement` tool converts human code review discussions and feedback into ready-to-commit code changes.
|
|
It leverages LLM technology to transform PR comments and review suggestions into concrete implementation code, helping developers quickly turn feedback into working solutions.
|
|
|
|
## Usage Scenarios
|
|
|
|
=== "For Reviewers"
|
|
|
|
Reviewers can request code changes by:
|
|
|
|
1. Selecting the code block to be modified.
|
|
2. Adding a comment with the syntax:
|
|
|
|
```
|
|
/implement <code-change-description>
|
|
```
|
|
|
|
{width=640}
|
|
|
|
=== "For PR Authors"
|
|
|
|
PR authors can implement suggested changes by replying to a review comment using either:
|
|
|
|
1. Add specific implementation details as described above
|
|
|
|
```
|
|
/implement <code-change-description>
|
|
```
|
|
|
|
2. Use the original review comment as instructions
|
|
|
|
```
|
|
/implement
|
|
```
|
|
|
|
{width=640}
|
|
|
|
=== "For Referencing Comments"
|
|
|
|
You can reference and implement changes from any comment by:
|
|
|
|
```
|
|
/implement <link-to-an-inline-comment>
|
|
```
|
|
|
|
{width=640}
|
|
|
|
Note that the implementation will occur within the review discussion thread.
|
|
|
|
## Configuration options
|
|
|
|
- Use `/implement` to implement code change within and based on the review discussion.
|
|
- Use `/implement <code-change-description>` inside a review discussion to implement specific instructions.
|
|
- Use `/implement <link-to-an-inline-comment>` to respond to an inline comment by triggering the tool from anywhere in the thread.
|