mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-05 05:10:38 +08:00
1.7 KiB
1.7 KiB
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:
- Selecting the code block to be modified.
- Adding a comment with the syntax:
/implement <code-change-description>
2. For PR Authors
PR authors can implement suggested changes by replying to a review comment using either:
- Add specific implementation details as described above
/implement <code-change-description>
- Use the original review comment as instructions
/implement
3. For Referencing Comments
You can reference and implement changes from any comment by:
/implement <link-to-review-comment>
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
- 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.
Notes
- The following languages are currently supported: Python, Java, C++, JavaScript, TypeScript, C#.