bigph00t

Greptile Skill — AI skill for Claude Code

AI community

Skill built to allow automated ai systems to easily use greptile for code review.

How to install Greptile Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open bigph00t/greptile-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Greptile Skill does

Skill built to allow automated ai systems to easily use greptile for code review.

Alternatives in AI

  • Greptile — Code Search AI-powered codebase search and understanding 14k ★
  • SoloDawn — Catches and repairs AI hallucinations before delivery: three quality gates, 31 built-in rules, a self-healing 312 ★
  • Gh PR Review — GitHub CLI extension that adds full inline PR review comment support — view, navigate, reply to, and resolve r 174 ★

README

🚀 Greptile Code Review Automation

**Transform your development workflow with AI-powered code reviews that catch issues before they hit your repo.**

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Python 3.6+](https://img.shields.io/badge/python-3.6+-blue.svg)](https://www.python.org/downloads/) [![Greptile API](https://img.shields.io/badge/Powered%20by-Greptile-green.svg)](https://greptile.com)

🎯 What is this?

This project extends [Greptile](https://greptile.com)'s powerful code analysis API beyond traditional PR reviews, enabling:

  • 🔍 Pre-commit code reviews - Catch issues before they're even committed
  • 💬 Direct code analysis - Review code snippets without creating PRs
  • 🤖 AI agent integration - Programmatic access for automation workflows
  • ⚡ Instant feedback - No waiting for webhooks or GitHub Actions

🎬 Demo

$ git commit -m "Add authentication"
🔍 Running Greptile code review...

📝 Greptile Review:
------------------------------------------------------------
SEVERITY: CRITICAL

🔒 Security Issues:
- Line 15: Hardcoded JWT secret key
- Line 28: SQL injection vulnerability

❌ Critical issues found!
Commit aborted. Fix issues and try again.

⚡ Quick Start

1. Install Dependencies

git clone https://github.com/bigph00t/greptile-skill.git
cd greptile-skill
pip install -r requirements.txt

2. Set Up API Key

# Option 1: Environment variable
export GREPTILE_API_KEY="your-api-key"

# Option 2: Secrets file
mkdir -p ~/secrets
echo "your-api-key" > ~/secrets/greptile_api_key

3. Enable Pre-Commit Reviews (The Game Changer)

# For a single repo
./install-pre-commit.sh /path/to/your/repo

# For ALL repos (global)
./setup-global-hook.sh

🛠️ Usage Patterns

1. Pre-Commit Reviews (Never Push Bad Code)

Every commit is automatically reviewed:

git add auth.py
git commit -m "Add OAuth2 support"
# Greptil