Find Modifier.xxx().yyy()... chains longer than five operations
ProprietaryA Modifier chain with more than five operations is hard to read, hard to memoize, and often hides a hoist-into-a-named-Modifier opportunity. Extract the chain into a val styled = Modifier… declaration (ideally remembered at the call site) so the composable body reads as intent rather than plumbing.
org. openrewrite. kotlin. compose. FindLongModifierChain$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. compose. FindLongModifierChain$KtRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.