quality-expert

Configure Detekt, ktlint, and Spotless for Kotlin Multiplatform modules.

Updated Jan 11, 2025
One-click install
npx skills add https://github.com/shaharKeisarApps/MoviesAndBeyond --skill quality-expert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: quality-expert
Source: https://github.com/shaharKeisarApps/MoviesAndBeyond/tree/main/.claude/skills/quality-expert
Command: npx skills add https://github.com/shaharKeisarApps/MoviesAndBeyond --skill quality-expert

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides elite guidance and configuration patterns to enforce Kotlin Multiplatform code quality across multi-module projects, helping teams apply static analysis, formatting standards, and architecture rules consistently.

Core Features & Use Cases

  • Detekt Setup: Global/static analysis configuration across commonMain and platform-specific sources (androidMain, iosMain, desktopMain) to catch design and quality issues early.
  • Formatting & Linting: Setup Spotless/ktlint and ensure formatting consistency across modules.
  • Custom Rules & Architecture: Integrate domain-specific lint rules and module boundary checks to enforce project structure.

Quick Start

Configure Detekt, ktlint, and Spotless across your Kotlin Multiplatform project and run the central quality task to validate code quality.

Frequently Asked Questions about quality-expert

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

FAQPage Schema
How do I configure Detekt and ktlint for a multi-module Kotlin Multiplatform project?

Configure Detekt and ktlint for Kotlin Multiplatform by applying Gradle plugins and specifying configuration files to enforce static analysis and formatting rules across shared and platform-specific source sets.

What is the best way to enforce code formatting standards across Android and iOS shared code in KMP?

The best way to enforce code formatting across Android and iOS shared code is by setting up Spotless with ktlint, which applies consistent formatting standards across all modules in your Kotlin Multiplatform project.

Can I apply custom static analysis rules to platform-specific sources like iosMain and androidMain?

Yes, you can apply custom static analysis rules to platform-specific sources by configuring Detekt to scan commonMain alongside androidMain and iosMain, ensuring architecture boundaries and quality standards are maintained across all targets.

Does Spotless work with Kotlin Multiplatform for module-wide formatting enforcement?

Yes, Spotless works with Kotlin Multiplatform to provide module-wide formatting enforcement, ensuring that code formatting consistency is maintained across all shared code and platform-specific modules.

How do I run a central static analysis task to validate code quality across all KMP modules?

Run a central quality task to validate code quality across KMP modules by configuring Detekt, ktlint, and Spotless in your Gradle build, which checks static analysis and formatting standards across the entire project structure.