ksp
Installation
SKILL.md
Kotlin Symbol Processing
Step 1: Define the processing contract
- DEFINE consume processor | author processor | generated API change | incremental defect | multi-round dependency | JVM/Android/KMP target | kapt/KSP1 migration | task/provider failure.
- IDENTIFY annotation/input symbols, generated files and package/names, owning modules, target compilations/variants, processor options, public API/ABI impact, downstream consumers, Kotlin/KSP/KGP/AGP/Gradle versions, and clean/incremental test matrix.
- READ the current KSP overview, latest release, and relevant branch reference before changing setup/API.
- KEEP the boundary explicit: KSP reads declarations/types/annotations and generates files; it cannot inspect expression/statement bodies, modify source, or change language semantics.
- ROUTE general Kotlin source to
kotlin-development, build/toolchain ownership tokotlin-gradle, KMP hierarchy/targets tokotlin-multiplatform, and exact external API lookup tokotlin-api-reference.
Completion: inputs, outputs, processor/consumer owners, target configurations, round/incremental behavior, and verification artifacts are explicit.
Step 2: Inspect current KSP wiring
RUN from the target repository root:
python3 scripts/inspect-project.py --root . --json