AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Ksp Expert

skill-josephsanjaya-skills-ksp-expert · by JosephSanjaya

Google KSP and KSP2 expert for Kotlin annotation processing, Gradle setups, and multiplatform (KMP) code generation. Triggers when: writing or reviewing Kotlin Symbol Processing (KSP) code; creating a SymbolProcessor or SymbolProcessorProvider; configuring KSP in Gradle; migrating from kapt to KSP or KSP1 to KSP2; debugging compilation speed, incremental build regressions, or ClassCastException/P…

No reviews yet
0 installs
36 views
0.0% view→install

Install

$ agentstack add skill-josephsanjaya-skills-ksp-expert

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-josephsanjaya-skills-ksp-expert)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Ksp Expert? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

KSP Expert

Provide design, configuration, and debugging assistance for Google Kotlin Symbol Processing (KSP) in Kotlin JVM, Android, and KMP projects. Check the reference index below for detailed API differences, Gradle setup, best practices, and Ktorfit sample.

Version Compatibility Matrix (2026)

| Kotlin | KSP Version | Gradle | AGP | Java | |---|---|---|---|---| | 2.4.0 | 2.3.9 (KSP2 default) | 7.6.3 - 9.5.0 | 8.5.2 - 9.1.0 | 17+ | | 2.3.20 | 2.3.7 | 7.6.3 - 9.5.0 | 8.5.2 - 9.1.0 | 17+ | | 2.1.20 | 2.1.20-1.0.30 | 7.6.3 - 9.5.0 | 8.5.2 - 9.1.0 | 17+ | | 2.0.21 | 2.0.21-1.0.26 | 7.4 - 8.10 | 8.0 - 8.5 | 17+ |

Note: Starting with KSP 2.3.0 (for Kotlin 2.2.x+), KSP uses independent semantic versioning (e.g., 2.3.9). For older Kotlin versions (e.g., 2.1.x and 2.0.x), KSP versions strictly follow the - coupled format.

Reference Index

  • [ksp1-vs-ksp2.md](file:///Users/jsanjaya/.gemini/config/skills/ksp-expert/references/ksp1-vs-ksp2.md)
  • Detailed differences: DFS overrides, container error type resolution, star projections, Enum entry types, volatile modifier, varargs, synthesized members, super types, and Gradle daemon heap sizing.
  • Read when: Transitioning KSP1 code to KSP2 or resolving behavior discrepancies.
  • [syntax-and-classes.md](file:///Users/jsanjaya/.gemini/config/skills/ksp-expert/references/syntax-and-classes.md)
  • Processing API and AST symbols. Methods on SymbolProcessor, Resolver, CodeGenerator, Dependencies, and KS* classes.
  • Read when: Writing KSP processor code or mapping AST structures.
  • [configuration.md](file:///Users/jsanjaya/.gemini/config/skills/ksp-expert/references/configuration.md)
  • Gradle plugin configs, KMP target-specific configurations, gradle.properties tuning, CLI options, and daemon debugging.
  • Read when: Setting up builds, target configurations, or debugging build runs.
  • [best-practices.md](file:///Users/jsanjaya/.gemini/config/skills/ksp-expert/references/best-practices.md)
  • Performance rules: avoid eager resolve, precise dependency mapping, deterministic sorting, caching restrictions, and KSP2 default value parsing.
  • Read when: Optimizing compilation speed, fixing build cache issues, or resolving PSI-lifetime errors.
  • [sample-ktorfit.md](file:///Users/jsanjaya/.gemini/config/skills/ksp-expert/references/sample-ktorfit.md)
  • Ktorfit-style processor implementation sample showing SymbolProcessorProvider, SymbolProcessor, and CodeGenerator with isolating dependencies.
  • Read when: Reviewing clean, real-world KSP implementation templates.

Guide Routing

| Symptom / Query | Reference | |---|---| | "ClassCastException or PSI-lifetime error under KSP2" | [best-practices.md](file:///Users/jsanjaya/.gemini/config/skills/ksp-expert/references/best-practices.md) | | "Migrate Room or Hilt build config to KSP2" | [configuration.md](file:///Users/jsanjaya/.gemini/config/skills/ksp-expert/references/configuration.md) | | "How KSP2 override order differs from KSP1 BFS" | [ksp1-vs-ksp2.md](file:///Users/jsanjaya/.gemini/config/skills/ksp-expert/references/ksp1-vs-ksp2.md) | | "Isolating vs Aggregating output generation syntax" | [syntax-and-classes.md](file:///Users/jsanjaya/.gemini/config/skills/ksp-expert/references/syntax-and-classes.md) | | "How to configure KSP for multiplatform (KMP) sourceSets" | [configuration.md](file:///Users/jsanjaya/.gemini/config/skills/ksp-expert/references/configuration.md) | | "Why KSP2 does not resolve default value in annotations" | [best-practices.md](file:///Users/jsanjaya/.gemini/config/skills/ksp-expert/references/best-practices.md) | | "Resolve Map behavior difference" | [ksp1-vs-ksp2.md](file:///Users/jsanjaya/.gemini/config/skills/ksp-expert/references/ksp1-vs-ksp2.md) |

  • Developers must verify Kotlin/KSP versions against compatibility matrix first.
  • Use only target-specific dependencies for KMP (kspJvm, kspCommonMainMetadata).
  • You must never cache KS* symbol objects between rounds. Use plain data classes.
  • You should explicitly declare isolating dependencies (aggregating = false) unless aggregating indexes.
  • Refer to reference files using absolute file paths under file:///Users/jsanjaya/.gemini/config/skills/ksp-expert/references/.
  • When asked about compilation, incrementality, or configs, you must structure your response format cleanly and specify the exact file path link to the relevant reference document.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.