greptile-init
Greptile Configuration Generator
Generate optimal Greptile AI code review configuration by analyzing the actual repository — its structure, tech stack, patterns, documentation, and team conventions — then producing tailored .greptile/ configuration files.
What Greptile Is
Greptile is an AI code review agent that hooks into GitHub/GitLab PRs. It indexes the full codebase, reads configuration files on each PR (from the source branch), reviews changed files using LLM-powered semantic understanding, and posts inline comments, summaries, confidence scores, and status checks.
The critical insight: Greptile is not a linter. It uses LLMs to understand intent, architecture, and cross-file implications. Write rules that leverage semantic understanding — not rules a regex or ESLint could handle. "Service methods must not call HTTP endpoints directly — use the gateway client" is a great Greptile rule. "Use semicolons" is not.
Workflow
Follow these five phases in order. Do not skip any phase.
Phase 1: Explore the Repository
Before writing a single line of config, map the territory. Use tools to answer:
- Structure — Is this a monorepo or single-service? What are the top-level directories?