Skip to main content
This command is no longer supported. For more information, see Sunsetting legacy V1 commands.
The improve_component tool generates code suggestions for a specific code component that changed in the PR. The improve_component tool supports the programming languages: Python, Java, C++, JavaScript, TypeScript, C#.

How to use the improve_component tool

This tool can also be triggered interactively by using the analyze tool. Manual usage Comment on the PR: /improve_component component_name The tool will generate code suggestions for the selected component. If no component is stated, it will generate code suggestions for the largest component.

Choosing components

You can set the component name as the name of a specific component in the PR. To get a list of the components that changed in the PR and select the relevant component interactively, use the analyze tool.

Configuration options

Configure the improve_component tool by setting configurations under the pr_improve_component part in your configuration file.

Example usage