2025-01-30 10:24:14 +00:00
`Platforms supported: GitHub, GitLab, Bitbucket`
2024-12-25 09:34:41 +00:00
## Overview
2025-01-02 14:49:59 +00:00
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.
2024-12-25 09:34:41 +00:00
2025-01-02 08:34:04 +00:00
## Usage Scenarios
2025-05-28 06:12:13 +00:00
=== "For Reviewers"
2025-01-02 08:34:04 +00:00
2025-05-28 06:12:13 +00:00
Reviewers can request code changes by:
2025-02-21 08:38:18 +00:00
2025-05-28 06:12:13 +00:00
1. Selecting the code block to be modified.
2. Adding a comment with the syntax:
2025-04-17 18:03:47 +00:00
2025-05-28 06:12:13 +00:00
```
/implement < code-change-description >
```
2025-01-02 08:34:04 +00:00
2025-05-28 06:12:13 +00:00
{width=640}
2025-01-02 08:34:04 +00:00
2025-05-28 06:12:13 +00:00
=== "For PR Authors"
2025-01-02 08:34:04 +00:00
2025-05-28 06:12:13 +00:00
PR authors can implement suggested changes by replying to a review comment using either:
2025-04-17 18:03:47 +00:00
2025-05-28 06:12:13 +00:00
1. Add specific implementation details as described above
2025-04-17 18:03:47 +00:00
2025-05-28 06:12:13 +00:00
```
/implement < code-change-description >
```
2025-04-17 18:03:47 +00:00
2025-05-28 06:12:13 +00:00
2. Use the original review comment as instructions
2025-04-17 18:03:47 +00:00
2025-05-28 06:12:13 +00:00
```
/implement
```
2024-12-25 09:34:41 +00:00
2025-05-28 06:12:13 +00:00
{width=640}
2024-12-25 09:34:41 +00:00
2025-05-28 06:12:13 +00:00
=== "For Referencing Comments"
2025-01-02 08:34:04 +00:00
2025-05-28 06:12:13 +00:00
You can reference and implement changes from any comment by:
2025-04-17 18:03:47 +00:00
2025-05-28 06:12:13 +00:00
```
2025-09-03 13:28:02 +00:00
/implement < link-to-an-inline-comment >
2025-05-28 06:12:13 +00:00
```
2025-01-02 08:34:04 +00:00
2025-05-28 06:12:13 +00:00
{width=640}
2025-01-02 08:34:04 +00:00
2025-05-28 06:12:13 +00:00
Note that the implementation will occur within the review discussion thread.
2024-12-25 09:34:41 +00:00
2025-05-28 06:12:13 +00:00
## Configuration options
2025-02-21 08:38:18 +00:00
2025-02-21 08:47:19 +00:00
- 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.
2025-09-03 13:28:02 +00:00
- Use `/implement <link-to-an-inline-comment>` to respond to an inline comment by triggering the tool from anywhere in the thread.