Skip to content

Tips & Recipes

Fresh

Practical Greptile recipes from real teams: local reviews, RFC feedback, multi-language support, security-focused reviews, and draft PR workflows.

Practical recipes from teams using Greptile daily. Each tip links to full documentation if you need more detail.

Local review before opening a PR

Several teams asked us:

"Is it possible to have Greptile review a PR locally before opening it for manual review?"

Current workaround: Create a draft PR to get Greptile's feedback, then convert to a real PR when ready.

text
@greptileai review this draft before I make it official

Note

Full local review without creating a PR is on our roadmap. The draft PR workaround works well in the meantime.


RFC and documentation review

One team asked us:

"I'd like to automate generating technical RFC document feedback from Greptile. The documents live in our codebase."

The workflow:

  1. Create a PR containing only the RFC/design doc
  2. Tag Greptile for targeted feedback
text
@greptileai review this RFC for completeness
@greptileai does this architecture match our existing patterns?
@greptileai what edge cases am I missing in this design?

Tip

They specifically wanted this in GitHub PRs (not issues) for better visibility - "We can see how designs evolved over time."


Multi-language reviews

Teams use Greptile in their native language by configuring language preferences.

Dashboard

Add to Custom Instructions:

```text theme={}
Always respond in Japanese
```

greptile.json

```json theme={}
{
  "instructions": "必ず日本語で回答してください。"
}
```

Inline override:

text
@greptileai このコードの問題を日本語で説明してください

Note

Set language in both dashboard and greptile.json for consistent results across all reviews.


Security-focused reviews

Several teams use Greptile with stricter settings for critical paths like payment infrastructure and authentication flows.

For ad-hoc security checks:

text
@greptileai check this PR for security vulnerabilities
@greptileai review authentication flow for common attack vectors
@greptileai are there any SQL injection risks here?

For automatic stricter reviews, configure global strictness in your greptile.json:

json
{
  "strictness": 1,
  "commentTypes": ["logic", "syntax"]
}

Full strictness guide


Targeted partial reviews

For large PRs that hit file limits, or when you only need feedback on specific areas:

text
@greptileai review only the API changes
@greptileai focus on the database queries
@greptileai check the error handling in src/services/

Draft PR workflow

One developer mentioned:

"I often use draft PRs to put up half-finished work. It's annoying to have it jump in and point out stuff I know is wrong."

GoalHow
Work without reviewsKeep PR as draft (Greptile skips by default)
Get early feedback on draft@greptileai review this draft

Full draft PR docs


Preventing unwanted comment replies

One team asked:

"Is it possible to stop the AI from responding to comments? We want to have normal conversations with other developers."

Don't tag @greptile or @greptileai. Greptile ignores other comments. In a Greptile review thread, tag your teammate, Greptile usually stays out, but may reply or react with 👍.


Team quick tips

Exclude bots on day one

Add `dependabot[bot]` and `renovate[bot]` to excluded authors. They don't count toward billing either.

→ [How to exclude](/code-review/controlling-nitpickiness#excluded-authors-still-getting-reviewed)

Batch your commits

Push multiple commits at once to avoid triggering reviews on every push.

Be specific with questions

`@greptileai check for memory leaks` gets better results than just `@greptileai review`.

Train consistently

Team should align on 👍/👎 reactions - inconsistent feedback confuses the learning system.

→ [Training guide](/code-review/training-the-learning-system)

Have a workflow to share?

These recipes came from real support tickets. Share yours:

Source

Mirrored from the official Greptile documentation. Self-contained reference copy.