本文へ移動
cccskills
無料GitHub で公開

xaml-ui

Build localized client XAML controls with correct lifecycle, culture refresh, resource references, ownership, and validation.

インストール方法を見る

含まれるファイル(3)

  • SKILL.md2.6 KB
  • agents/openai.yaml238 B
  • references/xaml-structure.md424 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

XAML is client presentation. Keep authority and protected validation out of code-behind.

Structure

  • Keep static layout and styling in XAML. Build controls in code only for genuinely dynamic content or reusable custom controls.
  • Keep named controls limited to elements code-behind actually accesses. Prefer existing containers, styles, and UI patterns over manual positioning or rebuilding static layout in code.
  • Keep code-behind responsible for view state, presentation-only transformations, and translating input into a typed event or request. Do not make the window a second owner of authoritative or replicated state. Put reusable game behavior in its owning system, not the window.
  • Let a BUI/EUI adapter own open/close lifecycle, message transport, and applying incoming state. The window should not call server services or decide whether an action is authorized.
  • Treat client validation as user feedback. The server validates security-sensitive and authoritative requests.
  • Find a nearby control using the same UI framework. Verify generated names, control types, constructors, and lifecycle APIs before relying on them.

Lifecycle and localization

  • Subscribe once. Unsubscribe when the window closes or disposes if the event source can outlive the window; prevent duplicate subscriptions after reopen.
  • If an asynchronous result or deferred callback can arrive after close/rebind, cancel it when supported or verify that the window still owns the result before changing controls.
  • Refresh localized labels when culture changes if the window can remain open. Do not cache resolved text beyond the culture in which it was created.
  • Localize visible labels, tooltips, placeholders, feedback, and generated rows. Use en-US by default; update ru-RU only when explicitly requested.
  • Check long translated strings and culture refresh when Russian is in scope; otherwise verify the English UI states affected by the change.

Verify owner paths and edit-marker requirements before changing inherited files. Do not add markers to owner-local module paths. For code-behind boundaries see .agents/rules/architecture-and-ownership.md; for BUI contracts and message flow see .agents/skills/bound-user-interface/SKILL.md.

Choose the smallest build or UI behavior check that covers the changed surface and follow root AGENTS.md and .agents/skills/testing/references/testing-matrix.md. Documentation-only changes need diff checks; do not run a full build or every integration test by default.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

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

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月12日 更新

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

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月12日 更新

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

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月12日 更新

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

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月12日 更新

atmos

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月12日 更新

audio

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月12日 更新

ArcaneSS14 のスキルをすべて見る

このスキルの問題を報告する