compose-feature

compose-feature is a skill for Claude Code from Meet-Miyani/compose-skill. It costs 150 tokens per session (3,438 once invoked), scanned A, original, MIT.

An end-to-end guide for building or reviewing a Compose feature, from data access and repositories through a ViewModel, user interface, navigation, dependency injection, and tests. A ViewModel holds screen state and actions outside the visual code.

In plain words
What is it for?
Use it when adding or changing a screen, dialog, form, list, detail view, destination, ViewModel, or complete feature slice.
Why use it?
It prevents a screen from being added as an isolated piece while its data flow, navigation, dependencies, or tests remain unfinished.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the compose-kit plugin — 7 skills shipped together

Good fit Use it when adding or changing a screen, dialog, form, list, detail view, destination, ViewModel, or complete feature slice.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/meet-miyani/compose-skill/compose-feature
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Meet-Miyani/compose-skill --skill compose-feature
Clone the repo
git clone --depth 1 https://github.com/Meet-Miyani/compose-skill

Made for: Claude Code.

Or install compose-kit, the plugin that ships this one along with the rest of its 7 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for compose-feature

README.md
[![agentmods](https://agentmods.dev/badge/skills/meet-miyani/compose-skill/compose-feature/github.svg)](https://agentmods.dev/skills/meet-miyani/compose-skill/compose-feature)
Your own site
<a href="https://agentmods.dev/skills/meet-miyani/compose-skill/compose-feature"><img src="https://agentmods.dev/badge/skills/meet-miyani/compose-skill/compose-feature/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for compose-feature

Your own site · 80×15
<a href="https://agentmods.dev/skills/meet-miyani/compose-skill/compose-feature"><img src="https://agentmods.dev/badge/skills/meet-miyani/compose-skill/compose-feature.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 150 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,438 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00150 $0.03438
Opus 5.5 $0.00060 $0.01375
Sonnet 5.5 $0.00030 $0.00688
Haiku 4.5 $0.00015 $0.00344

Measured 22d ago against content hash a9c405343f7f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

compose-feature scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 22d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/new-feature.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/compose-feature/SKILL.md · 159 lines

How it starts

The opening of the file, as written. The whole thing — 159 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Compose Feature

Operating stance

You are acting as a senior staff mobile engineer who owns this codebase's architecture. You are accountable for how it looks in two years, not for pleasing the requester today.

You build one slice end to end and you refuse to ship it unfinished. The compose-architecture skill's rules 1–16 bind every step below; they are not restated here. Satisfying the wording of a rule while defeating its purpose is a violation.

Validate-before-you-answer contract (condensed; full text in the compose-architecture skill)

  1. Verify, do not recall. Every helper, component, token, and file you name was seen in this project during this task, or in current official docs. Name an unverified need as an open gap, never call it.
  2. Check the question before answering it. Read the code, check the non-negotiables, answer yes or no first with evidence.
  3. Say no when the answer is no. State the correct approach. If the user insists, restate the consequence once, follow the decision, record the deviation. Keep pushback short, plain-spoken and proportional (see the compose-architecture skill, Operating stance items 7–11). Routing, case classification and verification gates stay silent there.
  4. Fresh docs before new library code. Read gradle/libs.versions.toml and the current official docs first; unreachable docs means marking the code unverified.

When NOT to use

Task Use instead
Route first: decide the task path and files to read the compose skill, before anything below
Write or review composables, lists, motion, accessibility, tokens, resources the compose-ui skill
Write or review repositories, Ktor, Room, DataStore, Paging, offline-first the compose-data skill
New project or module, convention plugins, version catalog, CI, hooks the compose-project skill
commonMain sharing, expect/actual, iOS/Swift, desktop, web the compose-platform skill

Non-negotiables

Read the full file on GitHub · 159 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 22d ago Changed · +1 lines a9c405343f7f
  2. 26d ago First seen · 158 lines · 150 tokens per session scan A 223e8abdf286

Subscribe to this mod's changes

compose-feature is a skill published in the GitHub repository Meet-Miyani/compose-skill (306 stars, last pushed 5d ago), licensed MIT. It adds 150 tokens to every session and 3,438 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-02.

Related

Other skills, from other repositories

compose-animations

Use when writing or reviewing Jetpack Compose motion: visibility enter/exit, animating one property toward a target, color or size transitions, multiple properties from one state, switching composable content, or choosing between AnimatedVisibility, animateAsState, rememberTransition, AnimatedContent, and Crossfade.

chrisbanes/skills · 64 tokens

compose-focus-navigation

Use when writing or reviewing Jetpack Compose UI for TV, keyboard, desktop, accessibility focus, D-pad navigation, FocusRequester, focusProperties, key events, or initial focus behavior.

chrisbanes/skills · 41 tokens

compose-state-and-effects

Use when writing or reviewing Jetpack Compose state ownership, remember state, state hoisting, screen state holders, LaunchedEffect, DisposableEffect, SideEffect, Flow collection, navigation, snackbar, analytics, or focus requests.

chrisbanes/skills · 50 tokens

android-benchmark-comparison

Use when comparing physical Android benchmark configurations, investigating inconsistent rankings, or selecting an Android default from measured results. Do not use for code-level Compose performance diagnosis without a configuration comparison.

chrisbanes/skills · 41 tokens

compose-component-design

Use when designing or reviewing reusable Jetpack Compose component APIs with modifier parameters, root layout placement, caller-provided variable content, primitive content parameters, optional content, or boolean shape flags.

chrisbanes/skills · 41 tokens

compose-performance

Use when investigating Jetpack Compose recomposition cost, compiler stability reports, skippability, unstable parameters, frame-rate State reads, cross-phase snapshot back-writing, or @ReadOnlyComposable contracts.

chrisbanes/skills · 42 tokens