mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-04 21:00:40 +08:00

- Introduced a new core abilities page detailing the "Chat on code suggestions" feature, including setup, activation, and usage patterns. - Removed the corresponding section from the improve tool documentation to avoid duplication. - Updated the core abilities index and mkdocs navigation to include the new page. - Improved formatting in the implement tool documentation for clarity and consistency.
58 lines
1.7 KiB
Markdown
58 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-review-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-review-comment>` to indirectly call the tool from any comment.
|