Custom Instructions
Customize Greptile’s behavior and enforce custom patterns
You can customize Greptile’s behavior by providing “custom instructions” for the bot to follow, for example, “Include a section on compliance implications of the changes in the PR.”
You can edit custom instructions on the dashboard, or via greptile.json
file in your repo.
What can you put into custom instructions?
Custom instructions are a modified version of a system prompt.
1. Reference my style guide
If you have a style guide file in the repo, you can add the something like this to your custom instructions:
2. Enforce my custom patterns
Customize Greptile’s behavior by providing “custom instructions” for the bot to follow, for example:
3. Helpful context on business logic
You can add specific business logic rules directly in the custom instructions, for example:
Was this page helpful?