compose-ui-architecture
Skill by JetBrains
Guides authoring and review of Compose Desktop UI code, covering state, effects and presenter boundaries. Published by JetBrains for developers building IntelliJ-style desktop surfaces.
Install compose-ui-architecture
Built from the published package, never by AI.
git clone --depth 1 https://github.com/JetBrains/intellij-community /tmp/intellij-community && mkdir -p ~/.claude/skills && cp -r /tmp/intellij-community/.claude/skills/compose-ui-architecture ~/.claude/skills/compose-ui-architectureRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install compose-ui-architecture in Claude Code
git clone --depth 1 https://github.com/JetBrains/intellij-community /tmp/intellij-community && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/intellij-community/.claude/skills/compose-ui-architecture ~/.gemini/antigravity-cli/skills/compose-ui-architectureAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install compose-ui-architecture in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill sets rules for writing Compose Desktop UI code. Composables may hold ephemeral visual state such as hover, focus and expansion toggles. App state, persistence, RPC, parsing and policy decisions belong in presenters or coordinators that expose ready-to-render view models to the UI.
Before returning Compose code, the assistant runs a short checklist covering boundaries, state, effects, modifiers, lazy-list keys, performance, animation and API shape. Detailed rules live in reference files for state, effects, animation, component APIs and desktop seams. The skill is for developers working on Compose Desktop UI. It points systemic codebase assessments to a separate compose-ui-audit skill and defers Jewel component choice and Swing interop to other skills.
Written from the project's SKILL.md and checked against it.
What it can do
- Presenter boundariesDecides which logic belongs in presenters or coordinators and which stays in composables.
- State ownershipChecks whether local state is truly ephemeral or mirrors app, session or project settings.
- Effect rulesCovers remember, LaunchedEffect, DisposableEffect, snapshotFlow and effect keys.
- Modifier contractsChecks that reusable composables accept and forward modifier to the outermost layout.
- Lazy list keysChecks that movable or heterogeneous lazy-list items set stable key and contentType values.
- Animation guidanceRecommends declarative animation APIs and reading per-frame values in layout or draw phase.
- Desktop seamsCovers dialogs, popups, shortcuts, clipboard, URI opening and window state.
- File-grounded review outputFormats review findings per file with an issue, reason and fix, ending with the top three fixes.
What you need
- A Compose Desktop project
Try asking
- Review this Compose Desktop screen for state held in composables
- Check my LaunchedEffect keys in the settings panel
- Check my lazy list items for stable keys and contentType
Good to know
- Does not replace project architecture docs, which take precedence when they conflict
- Covers individual changes only, not whole-codebase assessments
- Android ViewModel, Hilt, Koin and Navigation guidance is excluded unless the project uses them
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/compose-ui-architecture/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to compose-ui-architecture
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
compose-ui-architecture: common questions
When should I use this skill instead of compose-ui-audit?
Use this skill for authoring and reviewing individual changes. The source says compose-ui-audit is for a systemic UI architecture assessment across a whole codebase.
Does this skill cover Jewel components and icons?
No. The source says component choice, icons, theme wrappers and typography are handled by the jewel-ui skill.
Does it explain how to host Compose in Swing?
No. The source defers ComposePanel, popup forwarding and LocalComponent setup to the jewel-swing-interop skill.
How do I install compose-ui-architecture?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is compose-ui-architecture free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is compose-ui-architecture safe to use?
It scores 78 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to compose-ui-architecture?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
