Traction scoreGitHub stars can be faked, so popularity alone can be misleading. Traction Score looks for broader signs of recent attention, adoption, and active maintenance.
This skill provides guidance for writing ast-grep rules to perform complex code queries that exceed the capabilities of simple text search. It helps developers and platform teams locate specific language constructs and enforce coding standards by identifying non-compliant structures across a codebase.
By leveraging AST analysis, the tool allows for precise structural mapping of files and members, making it easier to analyze architectural imports and exports during codebase exploration or modification.
WHO IT'S FOR
Platform / DevEx teams
creating structural code search rules for codebase standards
Backend / infrastructure engineers
mapping codebase imports and exports for architectural analysis
Technical leads / architects
locating specific language constructs for refactoring planning
QA / test automation engineers
searching for code patterns to identify missing test
Compatible AgentsThe repository documents support for these agents. The skills may also work with other agents that can load SKILL.md files, but they may need some setup or small changes.
Follow the documented setup, then try a first task.
Setup
Install via skills.sh
Installs: Install the ast-grep/agent-skill repository bundle through skills.sh. The supplied evidence does not establish which exact skill paths that installer selects.
Before you start
The ast-grep CLI must already be installed on the system.
In a terminal, verify that the required ast-grep CLI is installed.
ast-grep --version
In a terminal, install the repository bundle through skills.sh.
Installs: Install the complete ast-grep plugin from its Claude Code marketplace. The listed skill paths are a bounded inventory of the supplied paths, not a claim that the plugin contains no other files. · Claude Code
Before you start
The ast-grep CLI must already be installed on the system.
In a terminal, verify that the required ast-grep CLI is installed.
ast-grep --version
Enter this command in a Claude Code session to add the marketplace.
/plugin marketplace add ast-grep/agent-skill
Enter this command in the same Claude Code session to install and activate the ast-grep plugin.
/plugin install ast-grep
In the Claude Code session, run the plugin interface to confirm that ast-grep is listed.
Installs: Clone and install the complete ast-grep plugin as a local Claude Code marketplace for development or testing. The listed skill paths are a bounded inventory of the supplied paths. · Claude Code
Before you start
The ast-grep CLI must already be installed on the system.
Git must be available to run the documented clone command.
In a terminal, verify that the required ast-grep CLI is installed.
ast-grep --version
In a terminal, clone the repository. Replace `/path/to/local-marketplace` with the absolute local destination where the repository should be cloned, while keeping the placeholder unchanged in the command template shown here.
Enter this command in a Claude Code session. Replace `/path/to/local-marketplace` with the same absolute destination used for the clone, while keeping the placeholder unchanged in the command template shown here.
Make sure ast-grep-outline is installed in your agent before trying this task.
Use the ast-grep-outline skill to inspect `<file>` before editing. Run `ast-grep outline <file>` and summarize its top-level declarations, direct members, and line numbers.