Skip to content

Conversation

@knutwannheden
Copy link
Contributor

This skill provides comprehensive guidance for creating OpenRewrite recipes in TypeScript to transform JavaScript/TypeScript codebases.

Included files:

  • SKILL.md - Main skill documentation with quick reference
  • references/examples.md - Complete recipe examples
  • references/patterns-and-templates.md - Pattern matching and template system guide
  • references/testing-recipes.md - Comprehensive testing guide

Key features:

  • Pattern matching and templating system
  • Visitor-based transformations
  • Recipe configuration with @Option decorators
  • Scanning recipes for multi-pass analysis
  • Comprehensive testing strategies with afterRecipe and beforeRecipe
  • Type-safe AST traversal patterns

All examples use the published @openrewrite/rewrite NPM package with correct API signatures.

This skill provides comprehensive guidance for creating OpenRewrite recipes in TypeScript to transform JavaScript/TypeScript codebases.

**Included files:**
- `SKILL.md` - Main skill documentation with quick reference
- `references/examples.md` - Complete recipe examples
- `references/patterns-and-templates.md` - Pattern matching and template system guide
- `references/testing-recipes.md` - Comprehensive testing guide

**Key features:**
- Pattern matching and templating system
- Visitor-based transformations
- Recipe configuration with `@Option` decorators
- Scanning recipes for multi-pass analysis
- Comprehensive testing strategies with `afterRecipe` and `beforeRecipe`
- Type-safe AST traversal patterns

All examples use the published `@openrewrite/rewrite` NPM package with correct API signatures.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants