- name
SKILL.md
The skill file stays in the publisher's repository.
Paste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add Meet-Miyani/compose-skill --skill compose-feature -a cursor -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add Meet-Miyani/compose-skill --skill compose-feature -a claude-code -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add Meet-Miyani/compose-skill --skill compose-feature -a codex -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add Meet-Miyani/compose-skill --skill compose-feature -a grok -ySend the copied message in a Grok Bot chat. The Bot fetches this SKILL.md from GitHub and adds it to the skills all your Bots share.
Install this skill: https://github.com/Meet-Miyani/compose-skill/tree/HEAD/skills/compose-featureFrom the publisher
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.
compose-architecture skill)compose-architecture skill, Operating stance items 7–11). Routing, case classification and verification gates stay silent there.gradle/libs.versions.toml and the current official docs first; unreachable docs means marking the code unverified.Iron law: name the gap, never invent or stub. An unverified helper is named as an open gap, never called. No
TODO, stub, or no-op body reaches done. Delete it and restart from the template.
Rules 1–7 below are non-negotiables. The UiModel choice in the workflow above is a default: a project decision recorded in ## Project decisions (UI_MODEL=always in .composekit.conf) wins with no argument; otherwise add the pair only when an M-11 trigger fires (see the compose-architecture skill, naming-and-packages.md).
These rules govern code you write. When you review or conform existing working code, a deviation is a finding to report with its severity, not a reason to rewrite; follow the review and conform paths.
TODO, FIXME, stub, or noted-but-unfixed defect remains in changed files. The placeholder grep over changed files is empty before done. Template SEAM comments are implemented, not shipped. Prevents: sprints that end with fiction marked done.compose-data skill (rule 4): absence stays null through the domain, drop only on a missing id. Prevents: silent loss of urgent rows and fake-valid values.compose-ui skill (rule 6). Prevents: precedent-gated UI breaking in its new home.UiState field is read by the UI, and every UiAction is dispatched by it. No dead fields held "for later", no dead actions with no sender. Cross-check the Screen against the Contract before done. Prevents: contract rot nobody renders.examples.md only when a pattern is unclear.scripts/new-feature.sh, or write the smallest correct code. Prefer feature-specific code over generic frameworks.scripts/new-feature.sh --name Notes --item Note --package com.example.feature.notes --root <project-root>
*Contract.kt holds exactly *UiState, *UiAction, *UiEffect (see the compose-architecture skill, rule 4). Count declarations per file:rg --files -g '*Contract.kt' <feature-root>
rg -n "TODO|FIXME|NotImplementedError" <changed-files> is empty; every template SEAM is implemented or recorded as a deviation:rg -n "TODO|FIXME|NotImplementedError" <changed-files>
rg -n "SEAM" <module> is empty before done; every hardcoded UI string is extracted to resources:rg -n "SEAM" <module>
launchGuarded passes an explicit onError (see the compose-architecture skill, rule 6); no try/catch chains; CancellationException rethrown.ON_START is the cold load, later ON_STARTs reconcile with data kept; every LifecycleStartEffect is keyed by the nav-key id.Job that skips while active.compose-architecture skill, rules 10, 15); records re-fetch on a cold cache.SavedStateHandle with UiState derived (see the compose-architecture skill, rules 9–10); no rememberSaveable mirror, no syncing LaunchedEffect.UiState field is read by the UI; every UiAction is dispatched by it.compose-ui skill, rule 9).Load only the references this task needs. One level deep.
Also read mvi-contract.md for a new destination only when the scaffold template does not already cover it.
Also read navigation.md when wiring a destination only when the scaffold template does not already cover it.
Also read state-ownership.md when changing existing state.
Also read error-handling.md only when changing failure paths.
testing.md — ViewModel test convention, fakes, the state matrix rows.
ui-testing.md — Compose UI test rules: finders, assertions, sync, lazy lists, restoration, KMP runners.
run-and-see.md — run a visible change on Android, desktop or iOS and look at it before calling it done.
review-mode.md — reviewing someone else's feature change with these gates.
examples.md — the 12 WRONG/RIGHT pairs; read only when a pattern is unclear.
README.md — placeholders, scaffold command, composition-root entry shape.
Adds, changes, or reviews a screen, sheet, dialog, or destination slice (endpoint to repository to ViewModel to UI to navigation to DI to tests) in a Compose or CMP project. Use when adding a screen,
---name: compose-featuredescription: Adds, changes, or reviews a screen, sheet, dialog, or destination slice (endpoint to repository to ViewModel…---# skills/compose-feature/SKILL.mdOverview
Adds, changes, or reviews a screen, sheet, dialog, or destination slice (endpoint to repository to ViewModel to UI to navigation to DI to tests) in a Compose or CMP project. Use when adding a screen, building a new feature, adding a ViewModel or destination, wiring list/detail or a form screen, scaffolding a slice, or reviewing a feature change. Covers Contract.kt, launchGuarded wiring, SavedStateHandle drafts, the state matrix, and new-feature.sh. Do NOT use for routing or architecture (compose-architecture), pure refactors, Gradle work (compose-project), recomposition or styling (compose-ui), repository or persistence work (compose-data), or expect/actual splits (compose-platform).
FAQ
Download skills/compose-feature/SKILL.md from the publisher, or copy the path and open the repository. PlugMCP lists the skill and does not host the file.
The publisher keeps it at https://github.com/Meet-Miyani/compose-skill.
Claude, Cursor, Codex, and Grok Build can read a SKILL.md you add from the publisher's repository. Grok Bot installs it when you send the skill's GitHub folder link in a chat.
| No. Arch rule 13: results travel through a repository write. |
"I'll time runCurrent() to catch the loading frame." | No. Verification gate 18 (state-matrix tests; Fakes rule in testing.md): hold the fake open across the loading frame instead of timing runCurrent(). |
scripts/composekit/run-checks.sh exits 0 when installed.