analysis-api-mark-internal-apis
Mark Internal APIs in Analysis API Implementation Modules
Public declarations in Analysis API implementation modules should not be exposed to users. They should be internal or
annotated with a visibility annotation. The codebase test
AbstractAnalysisApiInternalApiTest
already finds unmarked declarations and chooses a default annotation per module/package. This skill runs that test in
auto-apply mode, then refines each freshly marked declaration: downgrade to internal when it has no callers outside its
module, upgrade @LLFirInternals to @KaImplementationDetail when its callers reach outside analysis/low-level-api-fir/,
and keep the rest. Finally, fix any "internal exposed through public API" build errors by re-promoting internal declarations
to @KaImplementationDetail.
Reference: Read Guard API Endpoints with Annotations for the full annotation guide and placement rules.