Skip to content

Releases

v6.3.0

Choose a tag to compare

@Meet-Miyani Meet-Miyani released this 08 Nov 12:24
5841d1e

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 says not run and why.
  • Targets covered:
    • Android, with the android CLI or plain adb;
    • desktop, through the Compose Hot Reload MCP server;
    • iOS, through xcodebuild and simctl;
    • browser, when the agent already has a browser tool.
  • Safe by default. It uses an emulator or simulator unless you name a physical device, and it installs nothing without your yes.
  • android preview limit. The command fails on shared KMP modules, so the reference says to run the app instead.
  • Router and checklists. The compose entry skill and the compose-feature and compose-ui checklists 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 styles skill, which no longer exists.
  • The Hot Reload MCP server is marked experimental.
  • version-catalog.md points 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 and make 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 commonMain for JVM and iOS.
  • android run, layout, screen capture, input and 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.conf changes. 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, run gh skill update --unpin --all once: gh skill update skips pinned skills.
  • Claude Code plugin: claude plugin marketplace update compose-kit, then claude 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

Choose a tag to compare

@Meet-Miyani Meet-Miyani released this 23 Oct 04:14
45e00d2

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>Layout value.
    • 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) and isTablet checks 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 WindowSizeClass constants;
    • 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 compose entry tree sends tablet, foldable and window-size tasks to that reference.

Targets recorded when a project starts (#29)

  • compose-project bootstrap (default). ## Project decisions records 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 var with any annotations or modifiers before it (lateinit, @Volatile, visibility, actual);
    • a top-level val created as a mutable holder: MutableStateFlow, MutableSharedFlow, mutableStateOf and its variants, mutable collections, Channel;
    • either form as a direct member of an object or companion object.

    Before, it checked only navigation/ and presentation/. Test source sets, strings and comments are skipped.

  • check-contract-shape.sh skips annotations on the declaration's own line. So @Immutable data class …UiState passes, and a one-line @Serializable enum class counts 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/NotesTabletScreen with an isTablet check, 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) and isTablet or 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.
  • compose-ui/references/adaptive-and-insets.md is gone. It is split into adaptive-layouts.md and edge-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-state can 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 @Single and inject it.

  • .composekit.conf is unchanged, and no setting is new.

Upgrade

  1. Update the skills:
    • npx skills: npx skills update.
    • gh skill: gh skill update --all. If you installed with --pin, run gh skill update --unpin --all once: gh skill update skips pinned skills.
    • Claude Code plugin: claude plugin marketplace update compose-kit, then claude plugin update compose-kit@compose-kit, then restart Claude Code.
    • Codex plugin: codex plugin marketplace upgrade.
  2. Update the installed guards in each project: run the compose-architecture skill's scripts/install-guards.sh <project-root>. Your .composekit.conf is kept. To check, grep -c module-level scripts/composekit/check-file-level-state.sh prints 1 or more; the v6.1.1 copy prints 0. Then run run-checks.sh and fix any new check-file-level-state findings as above.
  3. Record your targets: add one line to ## Project decisions in the project's AGENTS.md/CLAUDE.md, for example Targets: 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

Choose a tag to compare

@Meet-Miyani Meet-Miyani released this 11 Oct 16:52
75c5e89

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.conf as shell code. Every check-*.sh loaded 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 sed program. In check-layering.sh, a crafted BASE_PACKAGE could make sed write 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.sh reads only the 9 known KEY=value settings and checks each value:
    • BASE_PACKAGE is a package name (dot-separated identifiers, so a typo like com.example. is caught);
    • folder settings are paths inside the project;
    • UI_MODEL is always, when-needed or 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.sh reports 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.sh matches imports as plain text instead of building a sed program.
  • new-feature.sh reads UI_MODEL in 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.sh flags guards installed before this release as installed, 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's scripts/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, as KEY="item1 item2".

Upgrade

  1. Update the skills:
    • npx skills: npx skills update.
    • gh skill: gh skill update --unpin --all. --unpin is needed once if you installed with --pin, as our install docs said until now: gh skill update skips pinned skills. After that, gh skill update --all is enough.
  2. Update the installed guards in each project: run the compose-architecture skill's scripts/install-guards.sh <project-root>. Your .composekit.conf is kept.
  3. Check: audit-project.sh <project-root> should no longer report OUTDATED. run-checks.sh should 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

Choose a tag to compare

@Meet-Miyani Meet-Miyani released this 05 Oct 11:36
da64dd3

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

v6.0.0-preview.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 01 Oct 11:33
afb7d9e

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

Choose a tag to compare

@github-actions github-actions released this 06 Apr 17:04
982c240

Commit: 982c240e47718b3b0525c5bbe85bf19ff0bb7bec
Branch: main
Author: Meet-Miyani

Restrict compose-skill activation

v5.0.0

Choose a tag to compare

@github-actions github-actions released this 25 Mar 18:34
3692839

Commit: 369283901c9ca27b681fb724ad27c5945acdddb5
Branch: main
Author: Meet-Miyani

Refactor reference docs and add writing standards

v4.0.0

Choose a tag to compare

@github-actions github-actions released this 25 Mar 16:17
6543789

Commit: 6543789685c25bfb2a9e4c2240a7fb1e651354c0
Branch: main
Author: Meet-Miyani

Minor upgrades

v3.0.0

Choose a tag to compare

@github-actions github-actions released this 25 Mar 14:22
091c4ac

Commit: 091c4ace859c1282bb72c1aea6dfca38b82bd3ed
Branch: main
Author: Meet-Miyani

Optimize skill token budget and split oversized reference files

v2.2.0

Choose a tag to compare

@github-actions github-actions released this 22 Mar 05:34

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).

⌂ 换网址