JetBrains/intellij-community / .agents/skills/compose-ui
compose-ui
VerifiedWrite or audit Compose Desktop UI state, effects, and boundaries.
architecture/references/desktop-seams-review-output.md
View on GitHub# Desktop Seams And Review Output
Use this reference when UI work touches desktop-specific integration points or when preparing review output for this
skill.
## Desktop Surface Checklist
When touching desktop-specific UI surfaces, check these extra seams:
- **Dialogs and file pickers:** composition may show/request them, but selected paths/settings mutations go through
callbacks and presenter APIs.
- **Popups:** Jewel popups can involve real AWT windows; keep click-through or host-component mechanics isolated and
documented with the `jewel` skill ([swing-interop](../../../jewel/swing-interop/GUIDE.md) guide) patterns.
- **Keyboard shortcuts:** bind at the shell/screen level, route intent through presenter/app state, and keep platform
differences explicit.
- **Clipboard/open URI:** access through a small environment/callback seam so tests can fake it.
- **Window state:** size, split panes, scroll position, focus, and hover are UI-local; persisted session/window policy
is presenter/app state.
- **Protocol/runtime-backed surfaces:** UI renders presenter-projected snapshots and sends callbacks upward; protocol
decode, validation, compilation, subprocess/runtime ownership, and persistence stay outside composition.
## Review Output
When reviewing code with this skill, keep output short and file-grounded:
```markdown
### path/to/File.kt
- Issue: [rule name]
- Why it matters: [one sentence]
- Fix: [specific direction or tiny before/after]
```
End with the top three fixes, highest impact first. Do not list clean files.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |