pproenca/dot-skills/ast-grep-typescript-react
Use this skill when writing, debugging, or reviewing ast-grep patterns, YAML rules, or codemods against TypeScript or React (.ts/.tsx) code — searching for JSX elements, props, hooks, imports, or type constructs, and rewriting them. Covers the TS/React-specific traps — the tsx-vs-typescript language split, JSX and TypeScript node kinds, fragment matching, rewrites, and the @ast-grep/napi API. Complements the general-purpose ast-grep skill (rule mechanics) — reach for this one whenever the target
Agent skill · version 0.0.0-master.1794325640.gcf93c57 · from pproenca/dot-skills
Install
npx yarkr-cli add skill:pproenca/dot-skills/ast-grep-typescript-reactWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:pproenca/dot-skills/ast-grep-typescript-react
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:pproenca/dot-skills/ast-grep-typescript-reactOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:pproenca/dot-skills/ast-grep-typescript-reactWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.