kotlinpoet
Installation
SKILL.md
KotlinPoet
Step 1: Define the generated-source contract
- CLASSIFY standalone generator | annotation processor | KSP processor | schema/compiler output | metadata stub | generator migration | formatting/import defect.
- IDENTIFY input authority, output package/path, declarations, visibility, language/API targets, module/source set, public API/ABI effect, regeneration owner, incremental ownership, and consumer compilation/runtime proof.
- READ the current KotlinPoet documentation, release, and affected API reference before setup or migration.
- KEEP KotlinPoet's boundary explicit: it models Kotlin files/declarations/types and renders code blocks; it does not parse or rewrite existing Kotlin expression/statement syntax.
- ROUTE processor lifecycle, deferral, and incremental graph work to
ksp; ordinary Kotlin behavior tokotlin-development; build/toolchain wiring tokotlin-gradle; exact symbol lookup tokotlin-api-reference.
Completion: input-to-output mapping, owning module/processor, generated API, deterministic order, incremental dependency class, and compilation targets are explicit.
Step 2: Inspect the generator project
RUN from the target repository root:
python3 scripts/inspect-project.py --root . --json