Adk Setup
google/adk-python
Sets up a local ADK Python development environment in a git clone of the open-source adk-python repository: a uv virtual environment, all dependency extras, pre-commit hooks, and a first unit-test…
ast-grep rule writing and usage best practices. An agent skill from pproenca/dot-skills.
$ npx skills add pproenca/dot-skills --skill ast-grep -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install pproenca/dot-skills ast-grep --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/pproenca/dot-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.experimental/ast-grep .claude/skills/ast-grep && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "ast-grep" agent skill from https://github.com/pproenca/dot-skills/tree/master/skills/.experimental/ast-grep into .claude/skills/ast-grep/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ast-grep", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/pproenca/dot-skills/tree/master/skills/.experimental/ast-grepType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add pproenca/dot-skills --skill ast-grep -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install pproenca/dot-skills ast-grep --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pproenca/dot-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/.experimental/ast-grep .agents/skills/ast-grep && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "ast-grep" agent skill from https://github.com/pproenca/dot-skills/tree/master/skills/.experimental/ast-grep into .agents/skills/ast-grep/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ast-grep", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add pproenca/dot-skills --skill ast-grep -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install pproenca/dot-skills ast-grep --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pproenca/dot-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/.experimental/ast-grep .cursor/skills/ast-grep && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "ast-grep" agent skill from https://github.com/pproenca/dot-skills/tree/master/skills/.experimental/ast-grep into .cursor/skills/ast-grep/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ast-grep", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/pproenca/dot-skills.git --path skills/.experimental/ast-grep--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add pproenca/dot-skills --skill ast-grep -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install pproenca/dot-skills ast-grep --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pproenca/dot-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/.experimental/ast-grep .gemini/skills/ast-grep && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "ast-grep" agent skill from https://github.com/pproenca/dot-skills/tree/master/skills/.experimental/ast-grep into .gemini/skills/ast-grep/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ast-grep", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install pproenca/dot-skills ast-grepInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add pproenca/dot-skills --skill ast-grep -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/pproenca/dot-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/.experimental/ast-grep .github/skills/ast-grep && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "ast-grep" agent skill from https://github.com/pproenca/dot-skills/tree/master/skills/.experimental/ast-grep into .github/skills/ast-grep/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ast-grep", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add pproenca/dot-skills --skill ast-grep -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install pproenca/dot-skills ast-grep --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pproenca/dot-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/.experimental/ast-grep .opencode/skills/ast-grep && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "ast-grep" agent skill from https://github.com/pproenca/dot-skills/tree/master/skills/.experimental/ast-grep into .opencode/skills/ast-grep/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ast-grep", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
ast-grepast-grep rule writing and usage best practices. An agent skill from pproenca/dot-skills.
Ast Grep is an agent skill from pproenca/dot-skills. ast-grep rule writing and usage best practices. This skill should be used when writing, reviewing, or debugging ast-grep rules for code search, linting, and transformation. Triggers on tasks involving YAML rules, pattern syntax, meta variables, constraints, or code rewriting.
Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 54 other files, including reference files and assets (for example `AGENTS.md`, `README.md` and `assets/templates/_template.md`).
It sits in Development, covering Linting and formatting, Codebase onboarding and Debugging. The repository describes itself as: A collection of AI agent skills following the Agent Skills open format. The licence is MIT.
12 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit cf93c57. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
ast-grep.github.ioFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Ast Grep loads about 2.3k tokens when it runs, and up to ~19k if it reads all its reference files. Until then it costs about 71 tokens; SKILL.md has 708 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from pproenca/dot-skills at commit cf93c57, republished under its MIT licence (© pproenca). 708 words, ~2,322 tokens.
.claude/skills/ast-grep/SKILL.md (or your agent's skills folder). This skill also uses 51 other files; get the full folder from GitHub.Comprehensive best practices guide for ast-grep rule writing and usage, maintained by the ast-grep community. Contains 46 rules across 8 categories, prioritized by impact to guide automated rule generation and code transformation.
Reference these guidelines when:
Follow this workflow when creating ast-grep rules for code search:
Clarify what you want to find:
Write a sample code snippet representing the desired match pattern.
Choose the right approach:
pattern for simple structureskind with has/inside for complex structuresall, any, or not for compound queriesstopBy: end for relational rules (inside, has) to ensure complete search# Inspect AST structure
ast-grep run --pattern '[code]' --lang [language] --debug-query=ast
# Test inline rule
echo "[code]" | ast-grep scan --inline-rules "[rule]" --stdin
# Test from file
ast-grep scan --rule [file.yml] [path]Deploy the validated rule:
# Search with pattern (simple matches)
ast-grep run --pattern '[pattern]' --lang [language] [path]
# Search with rule file (complex queries)
ast-grep scan --rule [file.yml] [path]
# Apply fixes interactively
ast-grep scan --rule [file.yml] --interactive [path]stopBy: end - Ensures complete subtree traversal for relational rules--debug-query=ast to verify structure matching\$VAR or single quotes for shell commands| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Pattern Correctness | CRITICAL | pattern- |
| 2 | Meta Variable Usage | CRITICAL | meta- |
| 3 | Rule Composition | HIGH | compose- |
| 4 | Constraint Design | HIGH | const- |
| 5 | Rewrite Correctness | MEDIUM-HIGH | rewrite- |
| 6 | Project Organization | MEDIUM | org- |
| 7 | Performance Optimization | MEDIUM | perf- |
| 8 | Testing & Debugging | LOW-MEDIUM | test- |
pattern-valid-syntax - Use valid parseable code as patternspattern-language-aware - Account for language-specific syntax differencespattern-context-selector - Use context and selector for code fragmentspattern-avoid-comments-strings - Avoid matching inside comments and stringspattern-strictness-levels - Configure pattern strictness appropriatelypattern-kind-vs-pattern - Choose kind or pattern based on specificity needspattern-debug-ast - Use debug query to inspect AST structurepattern-nthchild-matching - Use nthChild for index-based positional matchingpattern-range-matching - Use range for character position matchingmeta-naming-convention - Follow meta variable naming conventionsmeta-single-node - Match single AST nodes with meta variablesmeta-reuse-binding - Reuse meta variables to enforce equalitymeta-underscore-noncapture - Use underscore prefix for non-capturing matchesmeta-named-vs-unnamed - Use double dollar for unnamed node matchingmeta-multi-match-lazy - Understand multi-match variables are lazycompose-all-for-and-logic - Use all for AND logic between rulescompose-any-for-or-logic - Use any for OR logic between rulescompose-not-for-exclusion - Use not for exclusion patternscompose-inside-for-context - Use inside for contextual matchingcompose-has-for-children - Use has for child node requirementscompose-matches-for-reuse - Use matches for rule reusabilitycompose-precedes-follows - Use precedes and follows for sequential positioningcompose-field-targeting - Use field to target specific sub-nodesconst-kind-filter - Use kind constraints to filter meta variablesconst-regex-filter - Use regex constraints for text patternsconst-not-inside-not - Avoid constraints inside not rulesconst-pattern-constraint - Use pattern constraints for structural filteringconst-post-match-timing - Understand constraints apply after matchingrewrite-preserve-semantics - Preserve program semantics in rewritesrewrite-meta-variable-reference - Reference all necessary meta variables in fixrewrite-transform-operations - Use transform for complex rewritesrewrite-test-before-deploy - Test rewrites on representative coderewrite-syntax-validity - Ensure fix templates produce valid syntaxorg-project-structure - Use standard project directory structureorg-unique-rule-ids - Use unique descriptive rule IDsorg-severity-levels - Assign appropriate severity levelsorg-file-filtering - Use file filtering for targeted rulesorg-message-clarity - Write clear actionable messagesperf-specific-patterns - Use specific patterns over generic onesperf-stopby-boundaries - Use stopBy to limit search depthperf-thread-parallelism - Leverage parallel scanning with threadsperf-avoid-regex-heavy - Avoid heavy regex in hot pathstest-valid-invalid-cases - Write both valid and invalid test casestest-snapshot-updates - Use snapshot testing for fix verificationtest-playground-first - Test patterns in playground firsttest-edge-cases - Test edge cases and boundary conditionsRead individual reference files for detailed explanations and code examples:
| File | Description |
|---|---|
| AGENTS.md | Complete compiled guide with all rules |
| references/_sections.md | Category definitions and ordering |
| assets/templates/_template.md | Template for new rules |
| metadata.json | Version and reference information |
© pproenca, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 51 other files (references, assets) in skills/.experimental/ast-grep of pproenca/dot-skills.
Open the folder on GitHubat commit cf93c57
Ast Grep next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Ast Grep this skillpproenca/dot-skills | 214 | — | ~2.3k | Automated safety check: Pass | MIT | |
| Adk Setupgoogle/adk-python | 22k | — | ~993 | Automated safety check: Notes | Apache-2.0 | |
| Octocode Code Researchbgauryy/octocode | 946 | — | ~1.5k | Automated safety check: Pass | MIT | |
| MSBuildLocator .NET Core Loadermicrosoft/MSBuildLocator | 263 | — | ~1.1k | Automated safety check: Pass | Custom licence | |
| React Render Types SetupHorusGoul/eslint-plugin-react-render-types | 111 | — | ~1.8k | Automated safety check: Pass | MIT | |
| cmux Contributor Dev Workflowdisler/learning-cmux-with-agents | 115 | — | ~1.5k | Automated safety check: Pass | MIT |
google/adk-python
Sets up a local ADK Python development environment in a git clone of the open-source adk-python repository: a uv virtual environment, all dependency extras, pre-commit hooks, and a first unit-test…
bgauryy/octocode
Researches code with evidence: traces callers, imports and cross-repo links, diagnoses failures and reports findings with exact file and line references and a confidence label.
microsoft/MSBuildLocator
Reference for how MSBuildLocator loads MSBuild assemblies and finds the .NET SDK on .NET Core hosts, for anyone editing or debugging that loader code.
HorusGoul/eslint-plugin-react-render-types
Install and configure eslint-plugin-react-render-types in a TypeScript React project.
disler/learning-cmux-with-agents
Contributor rules for the cmux repo: tagged Debug builds through reload.sh, first-time setup, Xcode project normalization and per-tag sidebar extension points.
Burla-Cloud/burla
Reference for Burla internals: how a remote_parallel_map job flows between services, how clusters and nodes are managed, and where the head keeps its state.
pproenca/dot-skills
Audio forensics and voice recovery guidelines for CSI-level audio analysis.
pproenca/dot-skills
Guided, scripted pipeline for running JSX/TSX/React codemods safely across large legacy codebases.
pproenca/dot-skills
Create well-structured RFCs and technical proposals for software projects.
pproenca/dot-skills
Developer-experience friction auditing and fixing — slow onboarding, repeated manual setup steps, missing bootstrap/reset/seed scripts, undiscoverable conventions.
pproenca/dot-skills
Turn a rough idea for a language into a complete, implementable specification — a DSL, query, config/data, template, or protocol language — by interviewing the author dimension by dimension until…
pproenca/dot-skills
Drafting Python Enhancement Proposals (PEPs) — proposing a Python language feature, a standard library change, an interoperability standard, or an informational/process document for the Python…
Categories
ast-grep rule writing and usage best practices. An agent skill from pproenca/dot-skills. Ast Grep is an agent skill from pproenca/dot-skills. ast-grep rule writing and usage best practices.
Ast Grep fits situations like: tasks involving YAML rules; tasks that involve Linting and formatting; tasks that involve Codebase onboarding.
Run `npx skills add pproenca/dot-skills --skill ast-grep -a claude-code`. Or copy the skill folder (skills/.experimental/ast-grep in pproenca/dot-skills) into .claude/skills/ast-grep in your project. Claude Code loads it when a task matches its description.
Run `npx skills add pproenca/dot-skills --skill ast-grep -a codex`. Or copy the skill folder (skills/.experimental/ast-grep in pproenca/dot-skills) into .agents/skills/ast-grep in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pproenca/dot-skills --skill ast-grep -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ast-grep, .gemini/skills/ast-grep, .github/skills/ast-grep and .opencode/skills/ast-grep in your project.
SKILL.md names no scripts, command-line tools or credentials: Ast Grep is instructions for the agent only.
SKILL.md names 1 domain. As links in the text: ast-grep.github.io. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Ast Grep is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.3k tokens (SKILL.md is roughly 9.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 17k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Ast Grep: Adk Setup (google/adk-python, 22k stars), Octocode Code Research (bgauryy/octocode, 946 stars), MSBuildLocator .NET Core Loader (microsoft/MSBuildLocator, 263 stars) and React Render Types Setup (HorusGoul/eslint-plugin-react-render-types, 111 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
pproenca (a GitHub user) maintains it in pproenca/dot-skills, which has 214 GitHub stars. The repository holds 182 skills in this directory. The repository was last updated on August 15, 2026.
Source: pproenca/dot-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.