kotlin-api-consultant

Query Kotlin compiler source code to detect breaking API changes.

63|6|Updated Oct 25, 2025
One-click install
npx skills add https://github.com/rsicarelli/fakt --skill kotlin-api-consultant
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kotlin-api-consultant
Source: https://github.com/rsicarelli/fakt/tree/main/.claude/skills/analysis/kotlin-api-consultant
Command: npx skills add https://github.com/rsicarelli/fakt --skill kotlin-api-consultant

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill queries Kotlin compiler source code for API validation, compatibility checks, Metro pattern alignment, breaking change detection, and best practice recommendations. Use when validating Kotlin APIs, checking compiler compatibility, analyzing API usage patterns, detecting breaking changes, or when user mentions APIs like IrGenerationExtension or IrPluginContext.

Core Features & Use Cases

  • API discovery in Kotlin compiler sources (IrGenerationExtension, IrPluginContext, IrFactory, CompilerPluginRegistrar)
  • Metro pattern alignment checks
  • Breaking-change detection and usage recommendations
  • Usage guidance for Fakt plugin development

Quick Start

Ask me to inspect a specific API (e.g., IrGenerationExtension) and I will fetch its definition, Metro usage pattern, and compatibility notes.

Frequently Asked Questions about kotlin-api-consultant

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate Kotlin compiler API compatibility and detect breaking changes?

Kotlin compiler API compatibility validation involves querying compiler source code to extract API signatures, analyze annotations, and generate compatibility reports. This Skill queries IrGenerationExtension, IrPluginContext, IrFactory, and CompilerPluginRegistrar definitions to detect breaking changes and assess usage patterns for plugin development.

What is Metro pattern alignment and why does it matter for Kotlin compiler plugins?

Metro patterns are architectural standards for Kotlin compiler plugin development. Alignment checks ensure your plugin follows best practices for IrGenerationExtension and IrPluginContext usage, reducing incompatibility risks across compiler versions and improving plugin stability.

Can I check if my Kotlin compiler API usage is compatible across versions?

Yes. This tool inspects specific APIs like IrGenerationExtension and IrPluginContext, extracts their current definitions from compiler source, identifies breaking changes, and provides precise compatibility notes and migration guidance for your plugin development.

How do I discover which Kotlin compiler APIs are available for plugin development?

Query the compiler sources to discover API definitions for IrGenerationExtension, IrPluginContext, IrFactory, and CompilerPluginRegistrar. This Skill fetches API signatures, Metro usage patterns, and best-practice recommendations to guide plugin implementation.

What should I do before migrating to a new Kotlin compiler API version?

Inspect current API usage patterns in your plugin code, then run breaking-change detection against the target compiler version. This identifies deprecated APIs, signature changes, and Metro pattern violations, providing a migration roadmap before deployment.

Are there limitations when validating Kotlin compiler APIs across major versions?

Compatibility analysis depends on available compiler source definitions. Some internal APIs may lack public documentation; focus validation on stable public APIs like IrGenerationExtension and CompilerPluginRegistrar for most reliable breaking-change detection.