본문으로 건너뛰기
cccskills
무료GitHub에 공개

bound-user-interface

Implement BUI contracts, server validation, localized client windows, lifecycle cleanup, and state refresh.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(3)

  • SKILL.md2.9 KB
  • agents/openai.yaml279 B
  • references/bui-flow.md351 B

SKILL.md(원문)

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

A BUI adapts an entity-owned interface to gameplay state. Keep its responsibilities split across the layers that own them.

Layer responsibilities

  • Shared defines only the UI key and serializable intent/state contracts needed across the network. Messages express requested actions, not trusted results. Keep state minimal and exclude hidden or server-only data.
  • Server validates every request when it is handled against the current actor, entity lifecycle, range, permissions, and current gameplay state; then it applies authoritative mutation and publishes refreshed state. Verify which actor, range, and lifecycle checks the BUI framework performs, and enforce any remaining checks in the server path. Never trust a client-supplied result, permission, or stale state snapshot.
  • Client BUI creates and closes the window, applies incoming state, and forwards typed intent. Keep gameplay policy out of the adapter.
  • The XAML window owns controls and view state. It reports input through events or narrow methods; it does not authorize actions or commit gameplay outcomes.

Keep payloads as small as practical. Prefer typed state localized by the client over resolved strings sent over the network. If a Shared handler also runs predictively, keep its effects deterministic and safe to reconcile.

Lifecycle and state flow

  • Create the window on open and release references on close. Subscribe once per window lifetime; unsubscribe from longer-lived publishers and prevent duplicate subscriptions after reopen.
  • Handle owner deletion, range loss, multiple viewers, stale state, and reopen according to the actual UI framework lifecycle.
  • Choose one source for displayed state. Refresh controls from the latest replicated component or BUI state; avoid a second stale copy in the adapter or window.
  • Ensure a delayed response or callback cannot update a window after it has closed or rebound to another owner. Follow the framework's session/window identity and cancellation pattern.
  • Keep per-viewer presentation state separate from shared entity state. A window's local selection or filter must not become authoritative gameplay state unless the feature contract explicitly requires it.
  • Long-lived windows must refresh localized text on culture changes without discarding authoritative state. Every visible string requires en-US localization; add Russian only when explicitly requested.

Use repository ownership rules for edit markers. Do not mark owner-local module or underscore paths.

Verify the affected contract and lifecycle with the narrowest checks supported by the owning projects. Select only the lifecycle cases affected by the change, using .agents/skills/testing/references/testing-matrix.md and root AGENTS.md; do not restore dependencies or run every integration test by default.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Implement actions, cooldowns, DoAfter flows, interruption, cancellation, and authoritative completion safely.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ArcaneSS14/arcane-new52026년 10월 19일 업데이트

Implement privileged commands, admin UI, role checks, audit logs, and safe operational controls.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ArcaneSS14/arcane-new52026년 10월 19일 업데이트

Plan, verify, implement, and deliver repository work through evidence-backed ownership and quality gates.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ArcaneSS14/arcane-new52026년 10월 19일 업데이트

Implement replicated appearance data, GenericVisualizer mappings, sprite layers, overlays, and client visual systems.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ArcaneSS14/arcane-new52026년 10월 19일 업데이트

atmos

무료

Modify atmos simulation, gases, fire, pressure, pipes, devices, UI, and hot paths safely.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ArcaneSS14/arcane-new52026년 10월 19일 업데이트

audio

무료

Add data-driven audio with correct prediction, audience, resources, attribution, and verification.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ArcaneSS14/arcane-new52026년 10월 19일 업데이트

ArcaneSS14의 스킬 모두 보기

이 스킬의 문제 신고