본문으로 건너뛰기
cccskills
무료GitHub에 공개한국어 소개

compose-ui-architecture

Compose Desktop 화면을 구성할 때 컴포저블은 렌더링을 맡고 프레젠터나 코디네이터는 앱 결정을 맡도록 구조를 정리합니다. 상태 소유권, Effect, 재사용 컴포넌트 API, 지연 목록 키, 애니메이션과 성능을 개별 UI 변경에 맞춰 살펴봅니다.

원문원문 설명 보기

Write Compose Desktop UI state, effects, and presenter boundaries.

JetBrains/intellij-community스타 20,684(GitHub 20,684 + cccskills 0)

실행 점수 미검증

설치 방법 보기

이럴 때 유용합니다

  • 화면 렌더링과 프레젠터 판단 분리
  • UI 상태를 둘 위치 정리
  • Effect 키와 코루틴 사용 검토
  • 재사용 컴포넌트와 지연 목록 설계

한국어 소개

할 수 있는 일

Compose Desktop 화면을 수정할 때 컴포저블, 프레젠터나 코디네이터, 상태 소유 계층의 역할을 정리합니다. 기본 원칙은 화면은 렌더링하고 프레젠터는 판단하는 것입니다. 호버와 포커스처럼 표시만을 위한 임시 상태는 화면에 둘 수 있지만, 앱 상태와 영속화, 통신, 파일 작업, 권한 및 업무 판단은 상태를 소유하는 계층에 맡깁니다. remember와 Effect 키, 재사용 컴포넌트의 Modifier, 불변 데이터와 이벤트 콜백, 지연 목록의 안정 키와 contentType, 애니메이션, 재구성 비용도 점검합니다.

이럴 때 유용합니다

Compose 화면에 기능을 추가하면서 화면에 상태나 업무 로직이 지나치게 들어갔는지 확인할 때 활용할 수 있습니다. Effect 의존성, 재사용 컴포넌트 API, 목록이나 애니메이션 구현을 정리할 때도 적합합니다. 이 기술은 개별 UI 변경을 다루며 코드베이스 전체의 체계적인 평가는 별도 기술을 사용하도록 안내합니다.

사용 예시

  • “이 화면의 상태를 컴포저블과 프레젠터에 적절히 나눠 주세요.”
  • “이 LaunchedEffect의 키와 처리 범위를 검토해 주세요.”
  • “재사용 가능한 목록 항목의 API와 안정 키를 정리해 주세요.”

주의 사항

프로젝트에 아키텍처 문서가 있고 내용이 이 지침과 다르면 프로젝트 문서를 따릅니다. Jewel 컴포넌트 선택과 Swing/AWT 연동은 관련 기술의 범위입니다.

이 소개문은 공개된 SKILL.md를 바탕으로 AI(OpenAI Codex)가 작성했습니다. 정확한 사양은 아래 원문을 확인하세요.

문서 점검

AI가 SKILL.md의 내용에서 주의가 필요한 작업과 도입 전제를 확인했습니다. 점수는 실제로 실행한 결과(실행 검증)만으로 매깁니다.

안전성전송·삭제·명령 실행 등을 명시하고 있는가
A양호화면 설계 지침이며 외부 전송이나 파괴적 작업을 지시하지 않습니다.
도입의 용이성필요한 도구나 API 키가 적고 적혀 있는가
A양호추가 도구나 API 키가 필요하다는 내용은 없습니다.

점수에는 넣지 않았습니다. 2026년 10월 28일 기준으로 AI(OpenAI Codex)가 판정했습니다. 참고용이므로 설치 전에 원문도 확인해 주세요.

평가가 다르다고 생각되면 재검토를 요청하기

어느 항목이 왜 다르다고 생각하는지 적어 주세요. 로그인은 필요 없습니다. SKILL.md와 대조해 평가를 다시 만들고 이곳에 반영합니다.

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

포함된 파일(8)

  • SKILL.md5.7 KB
  • evals/evals.json6.5 KB
  • references/animation.md11.3 KB
  • references/component-api-lists-performance.md4.1 KB
  • references/desktop-seams-review-output.md1.5 KB
  • references/effects.md1.7 KB
  • references/state-boundaries.md5.4 KB
  • skill-source.json2.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

<!-- Generated by community/.ai/render-guides.mjs; edit community/.agents/skills/compose-ui-architecture/SKILL.md -->

Compose UI Architecture

Use this skill to keep Compose Desktop UI code architecturally correct while editing IntelliJ-style desktop surfaces. This skill provides authoring and review guardrails for individual changes. When the user asks for a systemic Compose UI architecture assessment across a codebase, use compose-ui-audit instead.

For general post-change review or cleanup, use the review subagents available in the current harness instead of stretching this skill beyond UI architecture. If subagent delegation is unavailable, run those review passes sequentially yourself.

Do not use this skill to replace project docs. If the project has architecture docs, treat them as authoritative when details conflict.

Pair With / Defer To

Pair it with:

  • Pair this skill with jewel-ui when selecting Jewel components, theme wrappers, icons, typography, and IntelliJ-style controls.
  • Pair this skill with jewel-swing-interop when configuring Swing/AWT hosting, ComposePanel, LocalComponent, popups, and bridge theme mechanics.

Defer these adjacent tasks instead of stretching this skill:

  • Use jewel-ui for component choice, label rules, icons, theme wrappers, typography, and Jewel visual style.
  • Use jewel-swing-interop for ComposePanel, AWT popup forwarding, LocalComponent, and host Swing component access.
  • Use configured review or refactoring subagents for general post-change code review or cleanup, or run those passes sequentially yourself if delegation is unavailable.
  • Use compose-ui-audit for a whole-surface systemic Compose UI architecture assessment.

Desktop Compose Terminology

Be precise with names:

  • In Android docs, ViewModel roughly maps to a desktop UI presenter/coordinator layer.
  • In desktop Compose code, a view model may also mean a view-layer data model / screen projection, such as ScreenState, RowModel, or SurfaceModel. Avoid ambiguity by naming whether you mean lifecycle owner or render model.
  • Do not introduce Android ViewModel, Hilt/Koin, Android lifecycle, or Navigation guidance into desktop Compose UI unless the project already uses those concepts.

Core Rule

Compositions render. Presenters decide.

Composables may own ephemeral visual state: hover, focus, animation progress, expansion toggles, tooltip visibility, and layout wiring. They must not own app state, persistence, RPC, file/process/network work, JSON parsing, model selection, permission policy, review workflow decisions, or workspace/config lookup.

Route those through presenters/coordinators or equivalent state-owning layers and expose ready-to-render view models to UI.

Fast Guardrail Pass

Before returning Compose UI code, silently check these questions:

  1. Boundary: does the composable render inputs, or does it decide business/app behavior?
  2. State: is local state truly ephemeral? If state mirrors app/session/project settings, move it up.
  3. Projection: should several values be combined into one presenter-owned screen state before UI sees them?
  4. Effects: does every effect stay minimal and key on the values that should restart it?
  5. Modifier: do reusable composables accept and forward modifier: Modifier = Modifier to the outermost layout?
  6. Lists: do movable and heterogeneous lazy-list items pass a stable key = parameter and a matching contentType = parameter?
  7. Performance: does composition avoid expensive transforms, object churn, and broad state reads?
  8. Animation: does the animation code use declarative APIs where possible, wrap stateful animation objects in remember, and read per-frame values in the layout or draw phase?
  9. API shape: do reusable components accept immutable data and event callbacks instead of presenter instances or mutable state objects?

If an answer is no, fix the shape before writing more code rather than documenting the violation.

Also check for false positives. Local hover state, focus requesters, text-field state, expansion toggles, scroll commands, and one-shot UI labels are usually fine in composition when they do not shadow app/session state.

Progressive Reference Files

Read only the reference files needed for the current task:

  • Read references/state-boundaries.md for rules on presenter/coordinator vs. state-holder vs. composition boundaries, desktop lifecycle, flow collection, CompositionLocal guardrails, and testing ownership.
  • Read references/effects.md for rules on remember, LaunchedEffect, DisposableEffect, snapshotFlow, coroutine scopes, and effect keys.
  • Read references/animation.md when choosing animation APIs, remembering Animatable state, launching target-driven effects, deferring animated reads, or using AnimatedContent, infinite transitions, and gesture-driven motion.
  • Read references/component-api-lists-performance.md for rules on reusable composable API shape, modifier contracts, lazy-list keys and content types, recomposition and performance smells, and healthy patterns to preserve.
  • Read references/desktop-seams-review-output.md for guidance on desktop dialogs, popups, shortcuts, clipboard and URI opening, window state, protocol and runtime seams, and the file-grounded review output format.

Review Output

When reviewing code with this skill, keep output short and file-grounded:

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

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

actions

무료요약 있음

IntelliJ `AnAction` 클래스를 구현하거나 수정하고 `plugin.xml`에 등록하도록 안내합니다. 표시 이름과 설명은 메시지 번들에 두고, 필요하면 아이콘을 설정하며, 이벤트 코루틴 범위에서 중단 함수를 실행해 동기식 처리로 IDE가 멈추는 일을 방지합니다.

  • IDE 메뉴에 새 동작 추가
  • 동작 등록이나 아이콘 변경
  • 동작 이름과 설명 정리
JetBrains/intellij-community2.1만2026년 10월 29일 업데이트

bazel-test-migration

무료요약 있음

IntelliJ JPS 테스트 모듈을 Bazel로 옮기고 Bazel에서만 발생하는 실패를 조사하는 안내서입니다. 의존성, 플러그인, 테스트 데이터와 runfiles 문제를 확인하고 생성된 대상과 이전된 테스트를 검증합니다.

  • 기존 JPS 테스트 모듈을 Bazel로 이전할 때
  • Bazel에서만 실패하는 테스트를 조사할 때
  • 테스트 의존성과 데이터 설정을 확인할 때
JetBrains/intellij-community2.1만2026년 10월 29일 업데이트

code-style

무료요약 있음

IntelliJ 프로젝트 규칙에 맞춰 Kotlin과 Java 코드를 작성하거나 검토합니다. 언어 선택, 서식, 봉인 타입, 스레드 주석, 제어 흐름 예외 처리를 확인합니다.

  • IntelliJ 규칙에 맞는 Kotlin 작성
  • Java 코드 검토
  • 예외 처리와 봉인 타입 분기 확인
JetBrains/intellij-community2.1만2026년 10월 29일 업데이트

commits

무료요약 있음

이 가이드는 IntelliJ 프로젝트의 변경 사항을 목적별로 나누고 프로젝트 형식에 맞는 커밋 메시지를 작성하도록 돕습니다. 티켓이 있으면 번호와 변경 설명을, 없으면 레이블과 하위 시스템명을 사용하며 필요에 따라 이유와 판단을 본문에 담습니다.

  • 티켓이 있는 변경의 프로젝트 형식 메시지 작성
  • 테스트나 문서 커밋에 적절한 레이블 적용
  • 기존 커밋 메시지를 규칙에 맞게 수정
JetBrains/intellij-community2.1만2026년 10월 29일 업데이트

compare-python-typecheckers

무료요약 있음

여러 Python 타입 검사기로 코드 조각이나 파일의 타입 추론과 오류 판정을 비교합니다. 도구별 결과, 실행 시간, 진단 내용을 Markdown 보고서로 모아 저장할 수 있습니다.

  • 검사기별 타입 추론 비교
  • 코드가 타입 오류로 판정되는지 확인
  • 여러 도구의 진단 결과 비교
JetBrains/intellij-community2.1만2026년 10월 29일 업데이트

compose-ui-audit

무료요약 있음

Compose Desktop UI 코드의 구조와 런타임 문제를 감사합니다. 상태 소유권, 부수 효과, 코루틴, 지연 목록, 애니메이션, 재구성을 살펴보고 우선순위별 결과를 제시합니다.

  • Compose 화면의 상태 소유권 감사
  • 부수 효과와 코루틴 사용 점검
  • 지연 목록이나 재구성 성능 조사
JetBrains/intellij-community2.1만2026년 10월 29일 업데이트

JetBrains의 스킬 모두 보기

이 스킬의 문제 신고