Compose Feature Slice Builder
A senior-engineer rulebook that drives a Compose/CMP feature end to end — Contract, ViewModel, Screen, navigation, DI and tests — with no TODOs or stubs left behind.
Dev & CodingAdvanced★ 307⑂ 25AI score 9/10Last updated: Nov 8, 2026
What it does
- Enforces a fixed write order for any new screen, sheet, dialog or destination:
Contract.kt→ ViewModel → Route/Screen → DI/nav → tests. - Audits state ownership: explicit
onErroron everylaunchGuarded, drafts inSavedStateHandle, cold load vs reconcile viaLifecycleStartEffect, overlapping-load guards with a storedJob. - Applies seven non-negotiables: no placeholders at done, exactly one version of each file, never call an unverified API (name it as an open gap), degrade bad fields instead of dropping rows.
- Runs a verification checklist with real commands (
rgsweeps for TODO/SEAM/Contract declarations) plus state-matrix ViewModel tests andrun-checks.sh.
Who it's for
- Android/KMP engineers building Jetpack Compose or Compose Multiplatform apps on an MVI contract.
- Teams tired of AI-generated code that invents helpers or ships half-finished stubs.
- Tech leads who want a consistent rubric for reviewing feature PRs.
Examples
- "Add a Notes list + detail screen" → scaffolds with
new-feature.sh, implements each SEAM, registers the Koin module in the composition root. - "Add draft saving to this form" → routes you to
SavedStateHandle-derived state instead of arememberSaveablemirror. - "Review this teammate's feature change" → review-mode gates produce severity-tagged findings and exactly one corrected version of each blocking file.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/Meet-Miyani/compose-skill/HEAD/skills/compose-feature/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on AI Skill Mart. Copy the skills/compose-feature folder from the GitHub repo Meet-Miyani/compose-skill into my ~/.claude/skills/compose-feature/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/Meet-Miyani/compose-skill.git /tmp/compose-skill && cp -r /tmp/compose-skill/skills/* ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and create the skills folder:
mkdir -p ~/.claude/skills - Clone the repository:
git clone https://github.com/Meet-Miyani/compose-skill.git /tmp/compose-skill - Copy all skills (don't take just this one — it references sibling skills):
cp -r /tmp/compose-skill/skills/* ~/.claude/skills/ - Verify with
ls ~/.claude/skills; you should seecompose-feature,compose-architecture,compose-ui, and friends. - Start Claude Code from your Compose/KMP project root and ask something like "add a new screen" to trigger the skill.
- If you plan to use the scaffolder, make it executable:
chmod +x ~/.claude/skills/compose-feature/scripts/*.sh
View source on GitHub ↗License: MIT