Appearance
Developer Essentials
FreshEssential guide for developers using Greptile: trigger reviews with @greptileai, train the AI with reactions, ask follow-up questions, and troubleshoot issues.
This guide covers what you need to know when working with Greptile in your day-to-day workflow.
Triggering Reviews
Tag Greptile in a GitHub/GitLab comment to trigger a review:
text
@greptileaiYou can also ask specific questions:
text
@greptileai check for memory leaks
@greptileai review the database queries
@greptileai is this thread-safe?Note
If @greptileai doesn't trigger a review, check:
- Repository is enabled in dashboard
- PR isn't in an excluded branch
- Greptile isn't still indexing (first time takes a couple of hours)
Draft PRs
By default, Greptile skips draft PRs to reduce noise.
To review a draft:
text
@greptileai review this draftExample Prompts
Code improvements
text
@greptileai are there code improvements I can make?!Follow-up question
Explain code
text
@greptileai can you explain the code in this file?!Greptile explains code
Generate tests
text
@greptileai can you create a test for this file?!Greptile generates tests
Training Greptile
Your reactions shape future reviews:
| Action | What Greptile Learns |
|---|---|
| 👍 on a comment | "Keep flagging issues like this" |
| 👎 on a comment | "Stop mentioning this pattern" |
| Reply with context | "This is our pattern because..." |
Note
It takes 2-3 weeks of consistent reactions for Greptile to adapt to your team's preferences.
Providing Context
When Greptile flags something intentional, explain why:
text
@greptileai This is intentional - we use sync calls here
because the webhook requires immediate responseWhen Greptile misses something:
text
@greptileai you missed a null check on line 45Both help Greptile learn your patterns.
Troubleshooting
Review didn't appear
Check:
- Repo enabled in dashboard
- Indexing complete (first time: a couple of hours)
- Not a draft PR
- Branch not excluded by filters
Fix: Comment @greptileai to force a review
Too many/too few comments
Too many? Ask admin to increase severity threshold, or 👎 unwanted patterns consistently.
Too few? Check if repo is fully indexed, or lower severity threshold.
Reviews taking too long
- Small PR: ~1-2 minutes
- Medium PR: ~3 minutes
- Large PR: 3-5 minutes
If longer, repository might be re-indexing.
What's Next
Source
Mirrored from the official Greptile documentation. Self-contained reference copy.