skills  by greptileai

Agent skills for automated code review workflows

Created 4 months ago
278 stars

Top 93.2% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

This repository provides agent skills for automating Pull Request (PR) review workflows across GitHub, GitLab, and Perforce. It addresses the need for efficient code review by checking PR completeness, status, and comments, offering automated fixes and iterative refinement to ensure high-quality code merges.

How It Works

The skills leverage command-line interface (CLI) tools specific to each platform (GitHub's gh, GitLab's glab, Perforce's p4) for interaction. They auto-detect the version control system from the environment and can identify PR/CL numbers automatically. The check-pr skill analyzes comments, checks, and descriptions, while greploop orchestrates a continuous review cycle, fixing issues and re-evaluating until a high confidence score and zero comments are achieved.

Quick Start & Requirements

  • Primary install / run command: Clone the repository to ~/.claude/skills/greptile and create symlinks for check-pr and greploop within ~/.claude/skills/, or add as a Git submodule to .skills/greptile and create symlinks.
  • Non-default prerequisites and dependencies: Requires Git, and the respective CLI tool for your platform: gh for GitHub, glab for GitLab, or p4 for Perforce. Authentication via CLI login or environment variables is necessary.
  • Usage: Invoke skills directly (e.g., /check-pr 123 or /greploop). Auto-detection of PR/CL number is supported for the current branch.
  • Links: Installation and usage details are within the README.

Highlighted Details

  • Multi-platform support for GitHub, GitLab, and Perforce.
  • Automated PR review, including comment resolution, status check verification, and description completeness.
  • greploop skill enables an iterative, automated review-and-fix cycle for continuous quality improvement.
  • Environment-based auto-detection of VCS and PR/CL numbers.

Maintenance & Community

No specific details on contributors, sponsorships, or community channels were provided in the README.

Licensing & Compatibility

Licensed under the MIT license, which is highly permissive for commercial use and integration into closed-source projects.

Limitations & Caveats

Relies heavily on the correct installation and authentication of platform-specific CLI tools. Auto-detection might require explicit --vcs flags for non-standard GitLab hostnames or Perforce configurations. The effectiveness of automated fixes depends on the complexity and nature of the issues found.

Health Check
Last Commit

3 days ago

Responsiveness

Inactive

Pull Requests (30d)
5
Issues (30d)
1
Star History
100 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.