Agent skill

Kmp Starter Data

by DevAtrii in DevAtrii/Kmp-Starter-Template

Data layer on the KMP Starter Template — repositories and data sources, Logics guidance, DataStore persistence, Room database, StarterFileManager, and the Calf file picker.

MITAuto-check passedDevelopment

Install Kmp Starter Data

skills CLI
$ npx skills add DevAtrii/Kmp-Starter-Template --skill kmp-starter-data -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install DevAtrii/Kmp-Starter-Template kmp-starter-data --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/DevAtrii/Kmp-Starter-Template.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/kmp-starter/data .claude/skills/kmp-starter-data && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
kmp-starter-data
GitHub stars
167
Token cost
~1.1k tokens
SKILL.md length
309 words
Files
1
Skills in repo
23
Repo updated
First seen
Licence
MIT

At a glance

Data layer on the KMP Starter Template — repositories and data sources, Logics guidance, DataStore persistence, Room database, StarterFileManager, and the Calf file picker.

  • Tasks that involve Project scaffolding
  • SKILL.md covers Repositories & data sources, Logics (use cases) — only when…, Persistence — DataStore and Database (Room), plus 2 more sections
  • Reaches starter.atherio.dev

What it does

Kmp Starter Data is an agent skill from DevAtrii/Kmp-Starter-Template. Data layer on the KMP Starter Template — repositories and data sources, Logics guidance, DataStore persistence, Room database, StarterFileManager, and the Calf file picker.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Project scaffolding. The repository describes itself as: Starter template is a multi-module KMP boilerplate for Android & iOS with clean architecture and high-quality code. It handles basics like remote config, in-app purchases, and… The licence is MIT.

When your agent uses it

  • Tasks that involve Project scaffolding

Example prompts

  • “/kmp-starter-data”

What it can do on your machine

Read from SKILL.md and the folder at commit a8f7b27. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are kotlin).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • starter.atherio.dev

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Kmp Starter Data loads about 1.1k tokens when it runs. Until then it costs about 47 tokens; SKILL.md has 309 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~47
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from DevAtrii/Kmp-Starter-Template at commit a8f7b27, republished under its MIT licence (© DevAtrii). 309 words, ~1,130 tokens.

Download SKILL.mdSave it as .claude/skills/kmp-starter-data/SKILL.md (or your agent's skills folder).
name
kmp-starter-data
description
Data layer on the KMP Starter Template — repositories and data sources, Logics guidance, DataStore persistence, Room database, StarterFileManager, and the Calf file picker.
author
DevAtrii
license
MIT

Data Layer

Repositories & data sources

  • Domain defines the interface; data implements it. See the onboarding trio:
    • features/core/domain/.../repositories/OnboardingRepository.kt
    • features/core/data/.../repositories/OnboardingRepositoryImpl.kt
  • Bind impl to interface via Koin (singleOf(::Impl) bind Interface::class).

Logics (use cases) — only when meaningful

Logics are use cases. Create them only for meaningful user-driven actions.

Good: RegisterAccountLogic, LogoutLogic, PurchaseSubscriptionLogic, DeleteAccountLogic, ExportNotesLogic, BackupDatabaseLogic.

Bad: ValidateEmailLogic, FormatDateLogic, GetUsersLogic, ParseJsonLogic, SavePreferenceLogic.

Simple operations belong in repositories, extension functions, or utilities. Do not wrap every repository call in a Logic. A Logic is a class with suspend operator fun invoke(); aggregate multiple Logics into a data class XLogics(...) if the ViewModel needs several.

Persistence — DataStore

Use Starter DataStores; do not introduce another preference framework.

Non-Compose (ViewModels/repos) — inject AppDataStore and use delegates:

kotlin
class AuthViewModel(appDataStore: AppDataStore) : ViewModel() {
    private val accessToken = appDataStore.stringDataStore("access_token")
    private val isLoggedIn = appDataStore.booleanDataStore("is_logged_in", default = false)
    private val settings = appDataStore.serializableDataStore("settings", default = Settings())
    // API: flow, get(), set(value), clear()
}

Factories: stringDataStore, intDataStore, longDataStore, booleanDataStore, floatDataStore, doubleDataStore, stringSetDataStore, byteArrayDataStore, serializableDataStore.

Compose — remember*DataStore helpers:

kotlin
val themeMode by rememberStringDataStore("theme_mode", "LIGHT")
var counter by rememberMutableIntDataStore("counter", 0)

Database (Room)

If features/database exists, define entities, DAOs, and migrations there; other features consume it.

  • Entity: @Entity data class with @PrimaryKey.
  • DAO: @Dao interface with @Query / @Insert / @Update / @Delete.
  • Register entity + DAO in KmpStarterDatabase (@Database(entities=[...], version=DB_VERSION)).
  • Bump DB_VERSION on schema change; add migrations to KmpStarterDatabaseMigrations.SUPPORTED_MIGRATIONS.

If the project was generated without the database feature, ask the user to regenerate with Database enabled.

StarterFileManager

Cross-platform file API in starter:utils; returns Result for every operation. Marked @ExperimentalStarterApi — opt in with @OptIn(ExperimentalStarterApi::class).

kotlin
// Compose (Activity-bound; required for saveFileIn / shareFile / openFile)
val fileManager = rememberStarterFileManager()

// Repos / background (no Activity needed)
class ReportRepository(private val fileManager: StarterFileManager) {
    suspend fun cacheReport(bytes: ByteArray) = fileManager.saveInCache(
        file = "report", folderPath = "exports", extension = "pdf",
        content = bytes, mimeType = "application/pdf",
    )
}

Key types: pass file (name, no extension) and extension (no dot) separately. StarterFile holds path, name, extension, mimeType, sizeBytes, timestamps.

  • Downloads: saveFileIntoDownloads, getFilesFromDownloads, getFileFromDownloads, readFromDownloads, renameFromDownloads, deleteFromDownloads (Android → public Downloads; iOS → Documents).
  • Cache: saveInCache, getFilesFromCache, getFileFromCache, readFromCache, renameFromCache, deleteFromCache (paths relative to cache dir).
  • System picker: saveFileIn(suggestedName, extension, content, mimeType).
  • Share/open: shareFile(path), openFile(path) — need Activity on Android (use rememberStarterFileManager()).
  • Android host app owns FileProvider for local paths (androidApp/.../AndroidManifest.xml + res/xml/starter_file_paths.xml).

Pass an Activity-bound instance into a ViewModel with Koin parameters (parametersOf(fileManager)).

See https://starter.atherio.dev/fundamentals/13-starter-file-manager/ for full API.

File picker

Use the bundled Calf library for file picking. Do not introduce another picker library.

© DevAtrii, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/kmp-starter/data of DevAtrii/Kmp-Starter-Template.

Open the folder on GitHubat commit a8f7b27

Compare with similar skills

Kmp Starter Data next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Kmp Starter Data compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Kmp Starter Data this skillDevAtrii/Kmp-Starter-Template167—~1.1kAutomated safety check: PassMIT
Trellis Spec Bootstarpanjiemo/SunnyBeach1787 repos~740Automated safety check: PassApache-2.0
Design Firstgetsentry/sentry-react-native1.8k—~1.6kAutomated safety check: PassMIT
Frb Code Generationfzyzcjy/flutter_rust_bridge5.4k—~1.5kAutomated safety check: PassMIT
Project Scaffoldingaiskillstore/marketplace430—~2kAutomated safety check: PassNone
Rustc Basicsmohitmishra786/low-level-dev-skills253—~1.5kAutomated safety check: PassMIT

Similar skills

  • Trellis Spec Bootstarp

    anjiemo/SunnyBeach

    Bootstrap project-specific Trellis coding specs with a platform-neutral single-agent workflow.

    178 GitHub starsUsed in 7 repos~740 tokens
    DevelopmentAuto-check passed
  • Design First

    getsentry/sentry-react-native

    Official

    Shape non-trivial work before writing it — decide the modules, the seams, and the public API surface up front.

    1.8k GitHub stars~1.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Frb Code Generation

    fzyzcjy/flutter_rust_bridge

    A skill your agent uses when modifying Rust APIs, codegen, generated examples, or platform scaffolds in flutterrustbridge to select generation commands and preserve source-of-truth and convergence…

    5.4k GitHub stars~1.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Project Scaffolding

    aiskillstore/marketplace

    IDE-grade project scaffolding wizard for creating new projects with comprehensive configuration.

    430 GitHub stars~2k tokensUpdated today
    DevelopmentAuto-check passed
  • Rustc Basics

    mohitmishra786/low-level-dev-skills

    Rust compiler skill for systems programming. An agent skill from mohitmishra786/low-level-dev-skills.

    253 GitHub stars~1.5k tokensUpdated 3 mo ago
    DevelopmentAuto-check passed
  • Nx Generate

    nomcopter/react-mosaic

    Generate code using nx generators. An agent skill from nomcopter/react-mosaic.

    4.8k GitHub starsUsed in 7 repos~1.9k tokens
    DevelopmentAuto-check passed

More from DevAtrii/Kmp-Starter-Template

All 23 skills in this repo
  • Kmp Starter

    DevAtrii/Kmp-Starter-Template

    Build production Android & iOS apps on the KMP Starter Template (Clean Architecture, MVI, Koin, Compose Multiplatform).

    167 GitHub stars~3.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Kmp Starter Memory

    DevAtrii/Kmp-Starter-Template

    Persistent per-project memory for KMP Starter Template apps.

    167 GitHub stars~963 tokensUpdated 1 mo ago
    Auto-check passed
  • Kmp Starter Architecture

    DevAtrii/Kmp-Starter-Template

    Clean Architecture module and package layout for KMP Starter Template features — data/domain/presentation layers, core dependency rule, screen-based package organization, the Screen vs Content…

    167 GitHub stars~1.6k tokensUpdated 1 mo ago
    Auto-check passed
  • Kmp Starter Create Fresh App

    DevAtrii/Kmp-Starter-Template

    Research and plan a brand-new app before scaffolding it on the KMP Starter Template.

    167 GitHub stars~1.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Kmp Starter Feature Analytics

    DevAtrii/Kmp-Starter-Template

    The KMP Starter Template analytics system — AppEvent/EventsTracker, Analytics routing, Mixpanel + Firebase providers, combining providers, and runtime swaps.

    167 GitHub stars~1.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Kmp Starter Feature Database

    DevAtrii/Kmp-Starter-Template

    The KMP Starter Template Room database — entities, DAOs, migrations, and DB configuration in features/database.

    167 GitHub stars~806 tokensUpdated 1 mo ago
    Auto-check passed

Questions about Kmp Starter Data

What does Kmp Starter Data do?

Data layer on the KMP Starter Template — repositories and data sources, Logics guidance, DataStore persistence, Room database, StarterFileManager, and the Calf file picker. Kmp Starter Data is an agent skill from DevAtrii/Kmp-Starter-Template. Data layer on the KMP Starter Template — repositories and data sources, Logics guidance, DataStore persistence, Room database, StarterFileManager, and the Calf file picker.

When should I use Kmp Starter Data?

Kmp Starter Data fits situations like: tasks that involve Project scaffolding.

How do I install Kmp Starter Data in Claude Code?

Run `npx skills add DevAtrii/Kmp-Starter-Template --skill kmp-starter-data -a claude-code`. Or copy the skill folder (.agents/skills/kmp-starter/data in DevAtrii/Kmp-Starter-Template) into .claude/skills/kmp-starter-data in your project. Claude Code loads it when a task matches its description.

How do I install Kmp Starter Data in Codex?

Run `npx skills add DevAtrii/Kmp-Starter-Template --skill kmp-starter-data -a codex`. Or copy the skill folder (.agents/skills/kmp-starter/data in DevAtrii/Kmp-Starter-Template) into .agents/skills/kmp-starter-data in your project. Codex loads it when a task matches its description.

Can I use Kmp Starter Data in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add DevAtrii/Kmp-Starter-Template --skill kmp-starter-data -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/kmp-starter-data, .gemini/skills/kmp-starter-data, .github/skills/kmp-starter-data and .opencode/skills/kmp-starter-data in your project.

What does Kmp Starter Data need to run?

SKILL.md names no scripts, command-line tools or credentials: Kmp Starter Data is instructions for the agent only.

Does Kmp Starter Data access the network?

SKILL.md names 1 domain. In commands or code: starter.atherio.dev; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Kmp Starter Data safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Kmp Starter Data use?

Kmp Starter Data is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Kmp Starter Data use?

About 1.1k tokens (SKILL.md is roughly 4.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Kmp Starter Data?

Skills that share tags, products or a category with Kmp Starter Data: Trellis Spec Bootstarp (anjiemo/SunnyBeach, 178 stars), Design First (getsentry/sentry-react-native, 1.8k stars), Frb Code Generation (fzyzcjy/flutter_rust_bridge, 5.4k stars) and Project Scaffolding (aiskillstore/marketplace, 430 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Kmp Starter Data?

DevAtrii (a GitHub user) maintains it in DevAtrii/Kmp-Starter-Template, which has 167 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on September 1, 2026.

Source: DevAtrii/Kmp-Starter-Template on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.