Find @Composable functions with a content lambda parameter not defaulted to {}

Proprietary

By Material/Compose convention, content slot lambdas (content: @Composable () -> Unit) default to {} so callers can compose the function without supplying a body when they only want the surrounding chrome. Flag content slots without defaults so the API gets the convention-conforming overload.

org.openrewrite.kotlin.compose.FindComposableLambdaParamMissingDefault$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.compose.FindComposableLambdaParamMissingDefault$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.