Repository navigation
Releases
v6.3.0
v6.3.0 asks agents to run a visible change and look at it before calling it done. A build and passing tests prove the wiring, not the screen. This release also refreshes the template's version pins and notes that Android Studio can use the kit.
What's new
Run and see (#33)
- New reference
compose-feature/references/run-and-see.md. After a visible change, the agent picks a target, runs it, captures the screen, reads the UI tree and drives the changed flow. If nothing can run, it saysnot runand why. - Targets covered:
- Android, with the
androidCLI or plainadb; - desktop, through the Compose Hot Reload MCP server;
- iOS, through
xcodebuildandsimctl; - browser, when the agent already has a browser tool.
- Android, with the
- Safe by default. It uses an emulator or simulator unless you name a physical device, and it installs nothing without your yes.
android previewlimit. The command fails on shared KMP modules, so the reference says to run the app instead.- Router and checklists. The
composeentry skill and thecompose-featureandcompose-uichecklists now ask for this step.
Template version pins (#33)
New projects start on AGP 9.5.1, Kotlin 2.4.20, Compose Multiplatform 1.12.2, Koin compiler plugin 1.2.3, Ktor 3.6.1 and Navigation 3 1.2.0. Kotlin stays at 2.4.20 because that is the newest version the Koin plugin lists as verified.
Smaller fixes (#33)
- Removed a pointer to the android/skills
stylesskill, which no longer exists. - The Hot Reload MCP server is marked experimental.
version-catalog.mdpoints to the klibs.io MCP server for projects that already have it configured.- The install docs note that Android Studio (Quail 1 or newer) reads
.agents/skills/.
How it was tested
make validate-skill, the plugin manifest check andmake test(124 passed).- A kit-shaped CMP project built on the new pins for Android, ran its JVM tests and compiled for the iOS simulator. Ktor 3.6.1 compiled in
commonMainfor JVM and iOS. android run,layout,screen capture,inputand the adb-only route were run on an emulator. iOS simulator boot and screenshot were run.- Not tested: no eval round was run, so the effect on model output is unmeasured. The iOS build, install and launch lines, the desktop Hot Reload MCP steps and the Android Studio install path come from official docs. The v6.1 benchmark results describe v6.1.0's guidance.
Behaviour changes
- A new line in "done". Agents now run a visible change, or state that it was not run. Expect a few more tool calls on UI tasks, and an emulator or simulator may start.
- No guard or
.composekit.confchanges. Existing projects keep their pins; the new ones apply to new projects.
Upgrade
Update the skills:
npx skills:npx skills update.gh skill:gh skill update --all. If you installed with--pin, rungh skill update --unpin --allonce:gh skill updateskips pinned skills.- Claude Code plugin:
claude plugin marketplace update compose-kit, thenclaude plugin update compose-kit@compose-kit, then restart Claude Code. - Codex plugin:
codex plugin marketplace upgrade.
Install
See the README or https://compose.avinya.dev/install/. The install commands there always install the latest release.
v6.2.0
v6.2.0 teaches the kit to plan screens for every window an app runs in: phones, tablets, foldables, desktop and web. Layouts follow the window size class, never the device. It also ships the guard-script fixes prepared as v6.1.2, which was never published. It replaces v6.1.1 as Latest.
What's new
Layouts follow the window size class, never the device (#28)
-
compose-ui rule 12 (non-negotiable). Each destination keeps one
<Dest>Screen:- The composition root computes the window size class once.
- The Route maps it to a
<Dest>Layoutvalue. - The Screen branches once on that value.
Variants are named after the smallest class they serve (
NotesCompactLayout,NotesExpandedLayout) and share their leaves. Device-named screens (NotesTabletScreen) andisTabletchecks are declined even when a request names them: an iPad in Split View, a folded phone and a narrow desktop window are all narrow windows. -
compose-ui rule 10 reworded: a pane gets a width, not a size class. A destination that can show inside a list-detail pane picks its arrangement from the width it is given, never from the window size class.
-
New reference
compose-ui/references/adaptive-layouts.md. It holds:- a Choose tree: reflow, layout variants or multi-pane;
- reflow caps the content width, cap before fill (
Modifier.widthIn(max = …).fillMaxWidth()); - breakpoints come from the library's
WindowSizeClassconstants; - list state sits above the layout branch, so a resize keeps the scroll position;
- gotchas: use the V2 adaptive-info function, and never the deprecated width-class enum.
-
Router. The
composeentry tree sends tablet, foldable and window-size tasks to that reference.
Targets recorded when a project starts (#29)
- compose-project bootstrap (default).
## Project decisionsrecords the targets the app ships and the window size classes every screen works in. Compact through Expanded is the default. Example:Targets: Android phones and tablets, iPhone and iPad, desktop. Every screen works in Compact through Expanded windows. - Choose tree. Only the request text or a provided design adds a wider arrangement. Recorded targets make the width cap necessary; they never add a layout on their own.
Guard-script fixes (#26, prepared as v6.1.2)
-
check-file-level-state.sh(arch rule 13) now reports, in every main source set:- a top-level
varwith any annotations or modifiers before it (lateinit,@Volatile, visibility,actual); - a top-level
valcreated as a mutable holder:MutableStateFlow,MutableSharedFlow,mutableStateOfand its variants, mutable collections,Channel; - either form as a direct member of an
objectorcompanion object.
Before, it checked only
navigation/andpresentation/. Test source sets, strings and comments are skipped. - a top-level
-
check-contract-shape.shskips annotations on the declaration's own line. So@Immutable data class …UiStatepasses, and a one-line@Serializable enum classcounts as a fourth declaration.
How it was tested
- #28 and #29 were built test-first on new dev-set scenarios (UI-05, UI-06, FEAT-07, FEAT-07b). Each used routed agent runs on Claude Haiku (5 per arm) and Sonnet (1 per arm), comparing the old kit with the new one.
- Asked for
NotesPhoneScreen/NotesTabletScreenwith anisTabletcheck, Haiku declined and built one Screen with size-class variants in 0 of 5 runs before and 5 of 5 after. Sonnet also moved to computing the class once at the root with the current API. - A detail inside a list-detail pane picked its arrangement from the pane's own width in 3 of 5 Haiku runs before and 5 of 5 after.
- With no targets in context, no run (Haiku 0 of 5, Sonnet 0 of 1) capped a new editor's width on wide windows. With targets recorded and the final wording, every run passed (Haiku 5 of 5, Sonnet 1 of 1).
- Evidence: the #28 description and
evals-v2/results/2026-10-22-compose-feature.md. - Not re-run: the v6 held-out benchmark, and the new rules were not tested on DeepSeek, Gemini or GPT. The v6.1 benchmark results describe v6.1.0's guidance.
Behaviour changes
-
Layout checks in new code and reviews.
- New code and reviews treat device-named screens (
*TabletScreen,*PhoneScreen) andisTabletor platform checks used for layout as findings. - A wide arrangement is a size-class variant inside the one Screen.
- A screen with no wide design gets one layout with a capped width.
- New code and reviews treat device-named screens (
-
compose-ui/references/adaptive-and-insets.mdis gone. It is split intoadaptive-layouts.mdandedge-to-edge-and-insets.md; the inset and IME rules are unchanged but renumbered. Update any project notes or links that named the old file or its rule numbers. -
The targets line in
## Project decisions. New projects get it at bootstrap. Existing projects should add it (see Upgrade). -
check-file-level-statecan fail on code it used to pass. It now scans data, domain, DI, core, app and platform source sets. Typical new findings:- a platform handle kept in a file (
private lateinit var applicationContext: Context); - a top-level
mutableMapOf()cache; companion object { lateinit var instance: App }.
Fix: move the value into a class the DI graph owns as a
@Singleand inject it. - a platform handle kept in a file (
-
.composekit.confis unchanged, and no setting is new.
Upgrade
- Update the skills:
npx skills:npx skills update.gh skill:gh skill update --all. If you installed with--pin, rungh skill update --unpin --allonce:gh skill updateskips pinned skills.- Claude Code plugin:
claude plugin marketplace update compose-kit, thenclaude plugin update compose-kit@compose-kit, then restart Claude Code. - Codex plugin:
codex plugin marketplace upgrade.
- Update the installed guards in each project: run the
compose-architectureskill'sscripts/install-guards.sh <project-root>. Your.composekit.confis kept. To check,grep -c module-level scripts/composekit/check-file-level-state.shprints1or more; the v6.1.1 copy prints0. Then runrun-checks.shand fix any newcheck-file-level-statefindings as above. - Record your targets: add one line to
## Project decisionsin the project'sAGENTS.md/CLAUDE.md, for exampleTargets: Android phones and tablets, iPhone and iPad, desktop. Every screen works in Compact through Expanded windows.
Install
See the README or https://compose.avinya.dev/install/. The install commands there always install the latest release.
v6.1.1
v6.1.1 is a security fix for the compose-architecture guard scripts, replacing v6.1.0 as Latest. Skill guidance is unchanged from v6.1.0; only the guard scripts, the feature scaffold script (new-feature.sh), the project audit and one line of adoption guidance changed.
What was wrong
- The guard scripts ran
.composekit.confas shell code. Everycheck-*.shloaded the project's config with., so running the guards on a project you don't control (a cloned repo, a contributor's branch) would run any command written in its.composekit.conf. - One config value reached a
sedprogram. Incheck-layering.sh, a craftedBASE_PACKAGEcould makesedwrite a file outside the project, and on GNU sed run a command. - On your own project, with a config you wrote, neither was a practical risk.
What changed
- The config is read as data, never executed (#19). The new
scripts/lib/composekit-conf.shreads only the 9 knownKEY=valuesettings and checks each value:BASE_PACKAGEis a package name (dot-separated identifiers, so a typo likecom.example.is caught);- folder settings are paths inside the project;
UI_MODELisalways,when-neededor empty (the default).
- A config line the guards can't use fails the run (#21). The check prints a warning naming the line and stops with exit 2, so
run-checks.shreports FAIL. Before, it could fall back to the default folders and pass while checking nothing. - Warnings never echo control characters from the config, so a hostile config can't send escape sequences to your terminal (#21).
check-layering.shmatches imports as plain text instead of building asedprogram.new-feature.shreadsUI_MODELin the same forms as the guards ('always', trailing# comments,export). The last valid line wins, and an invalid one prints a warning (#21).audit-project.shflags guards installed before this release asinstalled, OUTDATED(#20).- Adopting an existing project: check a project you didn't set up with the kit's own
run-checks.sh, not the project'sscripts/composekit/copy (#20).
Behaviour change
- Valid configs work unchanged. Every config shipped with the kit loads cleanly.
- A config that relied on shell features now fails the guard run until the line is fixed:
+=,$VAR, a value spread over several lines, tab-separated lists, or an unknown key. The warning names the file and line. Put each setting on one line, asKEY="item1 item2".
Upgrade
- Update the skills:
npx skills:npx skills update.gh skill:gh skill update --unpin --all.--unpinis needed once if you installed with--pin, as our install docs said until now:gh skill updateskips pinned skills. After that,gh skill update --allis enough.
- Update the installed guards in each project: run the
compose-architectureskill'sscripts/install-guards.sh <project-root>. Your.composekit.confis kept. - Check:
audit-project.sh <project-root>should no longer reportOUTDATED.run-checks.shshould pass with no config warnings; if a check fails with "unusable line", fix the line it names in.composekit.conf.
Install
See the README or https://compose.avinya.dev/install/. The install commands there no longer pin a version, so they always install the latest release.
v6.1.0
v6.1.0 is the first stable v6 release, replacing v5.1.0 as Latest. It is the 7-skill Compose Kit from v6.0.0-preview.1, with fixes for its known issues.
What changed since v6.0.0-preview.1
- Conform tasks restructure less. "Make this match the conventions" now changes only what the conventions need: no new retry buttons, error screens or features.
- Reviews: the severity examples are clearer, and the rules govern the code you write, not every line you read.
- Loading: read only the files the routing tree names.
Evidence (pre-registered, blind, two vendors grade every answer)
- Setup: 5 models × 6 new tasks × 3 arms (no kit, v6.0, v6.1) = 90 agentic runs. An item passes only if both graders pass it.
| Model | No kit | v6.0 | v6.1 |
|---|---|---|---|
| Sonnet 5.5 | 31 | 35 | 34 |
| GPT-6-Luna | 28 | 35 | 37 |
| GPT-6-Sol | 30 | 34 | 34 |
| Gemini 3.8 Flash | 22 | 33 | 34 |
| Muse Spark 1.3 | 27 | 27 | 29 |
(items passed of 39)
- Conform over-scoping fixed: the "no new UI or features" item passed in 2 of 10 conform runs with v6.0 and 8 of 10 with v6.1.
- Every pre-registered rule held, and no model scored below its own no-kit result.
- Known issues:
- 5 of 10 new-feature runs read more than the 20k context budget.
- Muse barely benefits (+2).
- A grading-packet flaw is disclosed; a sensitivity check leaves the outcome unchanged.
Full verdict: evals-v2/results-v6/VERDICT.md · Site: https://compose.avinya.dev
Install
See the README or https://compose.avinya.dev/install/. Without --pin, gh skill now installs v6.1.0.
v6.0.0-preview.1
What's Changed
- Compose Kit v6.0.0-preview.1: seven skills, four install channels by @Meet-Miyani in #7
Full Changelog: v5.1.0...v6.0.0-preview.1
v5.1.0
Commit: 982c240e47718b3b0525c5bbe85bf19ff0bb7bec
Branch: main
Author: Meet-Miyani
Restrict compose-skill activation
v5.0.0
Commit: 369283901c9ca27b681fb724ad27c5945acdddb5
Branch: main
Author: Meet-Miyani
Refactor reference docs and add writing standards
v4.0.0
Commit: 6543789685c25bfb2a9e4c2240a7fb1e651354c0
Branch: main
Author: Meet-Miyani
Minor upgrades
v3.0.0
Commit: 091c4ace859c1282bb72c1aea6dfca38b82bd3ed
Branch: main
Author: Meet-Miyani
Optimize skill token budget and split oversized reference files
v2.2.0
Commit: 899efac181bca0ca29d845117d5b2b2ebadea886
Branch: main
Author: Meet-Miyani
Add guidance to avoid inline fully-qualified package paths and prefer top-of-file imports with aliases. Updated SKILL.md with checklist items about importing types/functions at the file top and using import ... as ... for name clashes; added an anti-pattern row in references/anti-patterns.md noting inline FQNs harm readability; and added a new Import Hygiene section in references/clean-code.md with BAD/GOLD examples and alias naming recommendations (Db/Domain/Ui/Api/Dto).