compiler-architecture-validator

Validate Fakt compiler plugin architecture against Metro pattern alignment.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Validates Fakt compiler plugin architecture against Metro-inspired patterns, including two-phase FIR→IR compilation, context-driven generation, and proper extension registration.

Core Features & Use Cases

  • Metro pattern checks: verify CompilerPluginRegistrar, IrGenerationExtension, FirExtensionRegistrar
  • Alignment with Fakt: compare implementation against Metro baseline
  • Reporting: alignment score and deviations

Quick Start

Provide the component or module to validate; run the validator and review the alignment report.

Frequently Asked Questions about compiler-architecture-validator

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

FAQPage Schema
How do I validate Kotlin compiler plugin architecture against Metro patterns?

Validate Kotlin compiler plugin architecture by providing your component or module to the validator, which checks CompilerPluginRegistrar, FirExtensionRegistrar, and IrGenerationExtension implementations against Metro pattern alignment, then generates an alignment report with deviations.

What is the Metro pattern for Kotlin compiler plugins?

The Metro pattern for Kotlin compiler plugins enforces two-phase FIR→IR compilation, context-driven generation via dedicated IrFaktContext, proper extension registration, modular generation logic, and professional diagnostic reporting to ensure structured plugin architecture.

Does the validator check error handling in Fakt compiler plugins?

Yes, the validator checks error handling patterns, testing structure, module traversal logic, and diagnostic reporting compliance alongside registration and context-driven generation to verify full architectural alignment.

Can I use this validator with existing Kotlin compiler plugins?

Yes, you can validate existing Kotlin compiler plugins by running the validator against your CompilerPluginRegistrar, FirExtensionRegistrar, and IrGenerationExtension implementations to assess Metro pattern compliance.

What are the key components validated in Fakt plugin architecture?

The validator checks CompilerPluginRegistrar registration, FirExtensionRegistrar setup, IrGenerationExtension implementation, IrFaktContext usage, module traversal, testing structure, and diagnostic reporting to ensure two-phase compilation compliance.