openrewrite
CommunityStreamline OpenRewrite recipe development.
Software Engineering#testing#developer tools#code refactoring#java#openrewrite#maven#automated refactoring
Authormotlin
Version1.0.0
Installs0
System Documentation
What problem does it solve?
OpenRewrite recipe tests frequently fail due to minor import order differences rather than actual transformation issues, causing frustration and wasted development time. This Skill provides a clear path to resolve these common test failures.
Core Features & Use Cases
- Import Order Fixes: Guides on diagnosing and fixing import ordering discrepancies in OpenRewrite recipe tests.
- JavaTemplate Configuration: Provides best practices for configuring
JavaTemplatewith correct imports and context sensitivity. - Test Expectation Adjustment: Advises on accepting OpenRewrite's generated import order in tests instead of forcing a specific, often incorrect, order.
- Quick Fix Steps: Offers a rapid workflow to copy actual output from failing tests and update expectations, ensuring tests pass efficiently.
- Use Case: When developing or maintaining OpenRewrite recipes, use this skill to quickly identify and resolve import ordering issues in your tests, allowing you to focus on the core logic of your code transformations.
Quick Start
Analyze the failing OpenRewrite test and fix the import ordering issue.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: openrewrite Download link: https://github.com/motlin/claude-code-plugins/archive/main.zip#openrewrite Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.