Back to Skills

AST Manipulation

majiayu000
Updated 11 days ago
16 views
58
9
58
View on GitHub
Otherdesign

About

This skill provides expert capabilities for designing, traversing, and transforming abstract syntax trees, essential for compiler and language tooling development. It enables implementing visitor patterns, AST rewriting systems, diffing, and serialization for tasks like semantic analysis and code generation. Use it when building compilers, language servers, macro systems, or any tool requiring structured code manipulation.

Quick Install

Claude Code

Recommended
Primary
npx skills add majiayu000/claude-skill-registry -a claude-code
Plugin CommandAlternative
/plugin add https://github.com/majiayu000/claude-skill-registry
Git CloneAlternative
git clone https://github.com/majiayu000/claude-skill-registry.git ~/.claude/skills/AST Manipulation

Copy and paste this command in Claude Code to install this skill

GitHub Repository

majiayu000/claude-skill-registry
Path: skills/data/ast-manipulation
0

Related Skills

AST Manipulation

Other

This skill provides expert guidance on abstract syntax tree design, traversal, and transformation patterns for compiler and language tooling development. It covers implementing visitor patterns, AST rewriting systems, diffing, and serialization for processes like semantic analysis and code generation. Use it when building compilers, linters, language servers, or any system requiring structured code manipulation.

View skill

content-collections

Meta

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

View skill

polymarket

Meta

This skill enables developers to build applications with the Polymarket prediction markets platform, including API integration for trading and market data. It also provides real-time data streaming via WebSocket to monitor live trades and market activity. Use it for implementing trading strategies or creating tools that process live market updates.

View skill

creating-opencode-plugins

Meta

This skill helps developers create OpenCode plugins that hook into 25+ event types like commands, files, and LSP operations. It provides the plugin structure, event API specifications, and implementation patterns for JavaScript/TypeScript modules. Use it when you need to intercept, monitor, or extend the OpenCode AI assistant's lifecycle with custom event-driven logic.

View skill