kdoc-migrate

Orchestrate KDoc documentation migration across Kotlin APIs with dry-run options.

1|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/oscardlfr/AndroidCommonDoc --skill kdoc-migrate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kdoc-migrate
Source: https://github.com/oscardlfr/AndroidCommonDoc/tree/main/skills/kdoc-migrate
Command: npx skills add https://github.com/oscardlfr/AndroidCommonDoc --skill kdoc-migrate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of adding KDoc documentation to Kotlin APIs, ensuring consistency and reducing manual effort.

Core Features & Use Cases

  • Full-Project KDoc Migration: Adds KDoc to all undocumented public APIs, module by module.
  • Pattern-Driven Documentation: Informs KDoc with pattern documents for contract context.
  • Customization Options: Allows prioritizing documentation of interfaces and sealed classes, and running in dry-run mode.

Quick Start

Migrate all KDoc for your project by running: /kdoc-migrate

Frequently Asked Questions about kdoc-migrate

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

FAQPage Schema
How do I automate KDoc generation for undocumented Kotlin APIs?

You can automate KDoc generation by orchestrating pattern analysis and validation across your project module by module. This process utilizes pattern documents for contract context to generate consistent KDoc for undocumented public Kotlin APIs, significantly reducing manual effort.

Can I prioritize KDoc migration for interfaces and sealed classes?

Yes, you can prioritize KDoc migration for interfaces and sealed classes using built-in customization options. This allows you to target specific API structures first, ensuring that the most critical architectural contracts are documented before moving on to the rest of the codebase.

What is pattern-driven documentation for Kotlin APIs?

Pattern-driven documentation for Kotlin APIs informs the generated KDoc by using existing pattern documents as context. This approach ensures that the newly generated documentation accurately reflects the intended architectural contracts and behaviors of the API, rather than just describing the syntax.

How do I run a dry-run for full-project KDoc migration?

To run a dry-run for full-project KDoc migration, you execute the migration command with the dry-run option enabled. This allows you to analyze and preview the proposed KDoc additions and validation results across all undocumented public APIs without actually modifying your source code.

Does Kotlin KDoc migration work without external dependencies?

Yes, Kotlin KDoc migration operates without requiring external dependencies. The migration process relies entirely on internal scripts and reference components to analyze code patterns, generate KDoc text, and validate the documentation output within your existing project environment.