Alternatives

Ast Grep alternatives for AI agents.

Compare similar skills by workflow fit, trust score, quality, GitHub adoption, maintenance, and install readiness.

Current skill

Ast Grep

⚑A CLI tool for code structural search, lint and rewriting. Written in Rust

100
Quality
100
Trust
14K
Stars
#1

Ruff

Similarity 127Trust 100Excellent 100

An extremely fast Python linter and code formatter, written in Rust.

48K starsJun 6, 2026 pushdevelopmentRustStatic Analysis
$ npx skills add astral-sh/ruff
#2

Mago

Similarity 123Trust 100Excellent 100

Mago is a toolchain for PHP that aims to provide a set of tools to help developers write better code.

3.2K starsJun 7, 2026 pushdevelopmentRustStatic Analysis
$ npx skills add carthage-software/mago
#3

Qlty

Similarity 123Trust 100Excellent 100

πŸ’Ž Code quality CLI for universal linting, auto-formatting, security scanning, and maintainability

3.1K starsJun 9, 2026 pushdevelopmentRustStatic Analysis
$ npx skills add qltysh/qlty
#4

Shellcheck

Similarity 121Trust 100Excellent 100

ShellCheck, a static analysis tool for shell scripts

40K starsMay 16, 2026 pushdevelopmentHaskellStatic Analysis
$ npx skills add koalaman/shellcheck
#5

SwiftLint

Similarity 120Trust 100Excellent 100

A tool to enforce Swift style and conventions.

20K starsJun 6, 2026 pushdevelopmentSwiftStatic Analysis
$ npx skills add realm/SwiftLint
#6

PHP Parser

Similarity 119Trust 100Excellent 99

A PHP parser written in PHP

17K starsFeb 26, 2026 pushdevelopmentPHPStatic Analysis
$ npx skills add nikic/PHP-Parser
#7

Hadolint

Similarity 119Trust 100Excellent 100

Dockerfile linter, validate inline bash, written in Haskell

12K starsJun 1, 2026 pushdevelopmentHaskellStatic Analysis
$ npx skills add hadolint/hadolint
#8

Checkstyle

Similarity 118Trust 100Excellent 100

Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Google Java Style Guide and Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.

8.9K starsJun 8, 2026 pushdevelopmentJavaStatic Analysis
$ npx skills add checkstyle/checkstyle
#9

Detekt

Similarity 118Trust 100Excellent 100

Static code analysis for Kotlin

7.0K starsJun 5, 2026 pushdevelopmentKotlinStatic Analysis
$ npx skills add detekt/detekt
#10

Go Tools

Similarity 118Trust 100Excellent 100

Staticcheck - The advanced Go linter

6.8K starsMay 24, 2026 pushdevelopmentGoStatic Analysis
$ npx skills add dominikh/go-tools
#11

Ts Morph

Similarity 118Trust 100Excellent 100

TypeScript Compiler API wrapper for static analysis and programmatic code changes.

6.1K starsApr 12, 2026 pushdevelopmentTypeScriptStatic Analysis
$ npx skills add dsherret/ts-morph
#12

Pylint

Similarity 118Trust 100Excellent 100

It's not just a linter that annoys you!

5.7K starsJun 6, 2026 pushdevelopmentPythonStatic Analysis
$ npx skills add pylint-dev/pylint
#13

Revive

Similarity 118Trust 100Excellent 100

πŸ”₯ ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint

5.5K starsJun 3, 2026 pushdevelopmentGoStatic Analysis
$ npx skills add mgechev/revive
#14

Pmd

Similarity 118Trust 100Excellent 100

An extensible multilanguage static code analyzer.

5.4K starsJun 5, 2026 pushdevelopmentJavaStatic Analysis
$ npx skills add pmd/pmd
#15

Credo

Similarity 118Trust 100Excellent 100

A static code analysis tool for the Elixir language with a focus on code consistency and teaching.

5.2K starsJun 5, 2026 pushdevelopmentElixirStatic Analysis
$ npx skills add rrrene/credo
#16

Go Recipes

Similarity 117Trust 100Excellent 100

🦩 Tools for Go projects

4.5K starsMay 20, 2026 pushdevelopmentGoStatic Analysis
$ npx skills add nikolaydubina/go-recipes

How to choose

When should you switch?

Use an alternative when it has a clearer install path, higher trust score, fresher maintenance, or better platform fit for your current agent stack. Keep Ast Grep if it already passes your workflow test and repository review.

Next step

Compare top candidates side by side

Open the compare page, test the install commands in a sandbox, and check each repository before using a skill in production.