dnd-kmp

Orchestrates Kotlin Multiplatform development for the D&D Helper app with architecture rules and skill delegation.

1|Updated Jun 1, 2026
One-click install
npx skills add https://github.com/chmonya-inc/dnd-manager --skill dnd-kmp-chmonya-inc
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: dnd-kmp
Source: https://github.com/chmonya-inc/dnd-manager/tree/main/.agents/skills/dnd-kmp
Command: npx skills add https://github.com/chmonya-inc/dnd-manager --skill dnd-kmp-chmonya-inc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Working on a Kotlin Multiplatform project without consistent architecture leads to fragmented patterns, wrong library choices, and lost context between sessions. This Skill enforces a mandatory read-write context loop and delegates implementation details to specialized Android/KMP sub-skills. ## Core Features & Use Cases - Mandatory Context Loop: Requires reading ARCHITECTURE.md and STATE.md before coding and writing decisions back after, preserving project memory across sessions. - Skill Delegation Table: Routes implementation concerns (Compose UI, Coroutines, Flows, Ktor networking, data layer, Coil, Gradle, testing) to the correct specialized sub-skill. - Enforced Code Patterns: Provides canonical ViewModel, screen composable, and error-handling patterns plus 13 rules covering DI, navigation, module boundaries, and KMP constraints. - Use Case: When asked to add a dice roller feature, the Skill first loads project state, then delegates UI work to the Compose skill and state management to the Flows skill, ensuring the new feature module follows the established MVVM pattern. ## Quick Start Ask the AI to implement a new feature or fix a bug in the D&D Helper project and it will load the architecture context before writing any code.

Frequently Asked Questions about dnd-kmp

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

FAQPage Schema
How do I add a new feature to a Kotlin Multiplatform project?▼

Create a self-contained feature module that depends only on core domain, UI, and common modules. Follow the MVVM pattern with a ViewModel exposing StateFlow, a stateless content composable receiving events via callbacks, and type-safe navigation routes.

Koin vs Hilt for Kotlin Multiplatform dependency injection?▼

Koin is the correct choice for KMP because it works in shared modules without kapt, while Hilt is Android-only. This project mandates Koin and forbids introducing Hilt or Dagger into shared code.

Can I use Retrofit or Room in KMP shared modules?▼

No. Retrofit and Room are Android-only and must not appear in shared modules. Use Ktor client for networking and SQLDelight for the database, both of which have mature multiplatform support.

What Android types are forbidden in commonMain code?▼

Context, Activity, Uri, and Bundle must not appear in core shared modules. Platform-specific code belongs in platform source sets, and any KMP boundary should be documented in ARCHITECTURE.md.

Why must ARCHITECTURE.md and STATE.md be updated after coding?▼

These files act as the project's memory across sessions. Writing back architectural decisions, task status, and known issues ensures future work sessions start with accurate context instead of rediscovering the codebase.