-
Notifications
You must be signed in to change notification settings - Fork 655
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1417 from ofir-frd/add-implement-documentation-
Add documentation for `/implement` tool and enhance `/test` tool references
- Loading branch information
Showing
9 changed files
with
96 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,5 @@ dist/ | |
*.egg-info/ | ||
build/ | ||
.DS_Store | ||
docs/.cache/ | ||
docs/.cache/ | ||
.qodo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
## Overview | ||
|
||
The `implement` tool automatically generates implementation code based on PR review suggestions. | ||
It combines LLM capabilities with static code analysis to help developers implement code changes quickly and with confidence. | ||
|
||
|
||
## Usage Scenarios | ||
|
||
|
||
### 1. For Reviewers | ||
|
||
Reviewers can request code changes by: <br> | ||
1. Selecting the code block to be modified. <br> | ||
2. Adding a comment with the syntax: | ||
``` | ||
/implement <code-change-description> | ||
``` | ||
|
||
![implement1](https://codium.ai/images/pr_agent/implement1.png){width=768} | ||
|
||
|
||
### 2. For PR Authors | ||
|
||
PR authors can implement suggested changes by replying to a review comment using either: <br> | ||
1. Add specific implementation details as described above | ||
``` | ||
/implement <code-change-description> | ||
``` | ||
2. Use the original review comment as instructions | ||
``` | ||
/implement | ||
``` | ||
|
||
![implement2](https://codium.ai/images/pr_agent/implement2.png){width=768} | ||
|
||
|
||
### 3. For Referencing Comments | ||
|
||
You can reference and implement changes from any comment by: | ||
``` | ||
/implement <link-to-review-comment> | ||
``` | ||
|
||
![implement3](https://codium.ai/images/pr_agent/implement3.png){width=768} | ||
|
||
Note that the implementation will occur within the review discussion thread. | ||
Invoke the tool manually by commenting `/implement` on any PR review discussion. | ||
|
||
|
||
**Configuration options** <br> | ||
- Use `/implement` to implement code change within and based on the review discussion. <br> | ||
- Use `/implement <code-change-description>` inside a review discussion to implement specific instructions. <br> | ||
- Use `/implement <link-to-review-comment>` to indirectly call the tool from any comment. <br> | ||
|
||
**Notes** <br> | ||
- The following languages are currently supported: Python, Java, C++, JavaScript, TypeScript, C#. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters